Searched refs:sg_bytes (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/scsi/libfc/ |
H A D | fc_libfc.c | 108 size_t off, sg_bytes; in fc_copy_buffer_to_sglist() local 123 sg_bytes = min(remaining, sg->length - *offset); in fc_copy_buffer_to_sglist() 130 sg_bytes = min(sg_bytes, in fc_copy_buffer_to_sglist() 134 *crc = crc32(*crc, buf, sg_bytes); in fc_copy_buffer_to_sglist() 135 memcpy((char *)page_addr + (off & ~PAGE_MASK), buf, sg_bytes); in fc_copy_buffer_to_sglist() 137 buf += sg_bytes; in fc_copy_buffer_to_sglist() 138 *offset += sg_bytes; in fc_copy_buffer_to_sglist() 139 remaining -= sg_bytes; in fc_copy_buffer_to_sglist() 140 copy_len += sg_bytes; in fc_copy_buffer_to_sglist() [all...] |
H A D | fc_fcp.c | 611 size_t sg_bytes; in fc_fcp_send_data() local 684 sg_bytes = min(tlen, sg->length - offset); in fc_fcp_send_data() 685 sg_bytes = min(sg_bytes, in fc_fcp_send_data() 692 page, off & ~PAGE_MASK, sg_bytes); in fc_fcp_send_data() 693 fp_skb(fp)->data_len += sg_bytes; in fc_fcp_send_data() 694 fr_len(fp) += sg_bytes; in fc_fcp_send_data() 703 sg_bytes); in fc_fcp_send_data() local 705 data += sg_bytes; in fc_fcp_send_data() 707 offset += sg_bytes; in fc_fcp_send_data() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/libfc/ |
H A D | fc_libfc.c | 108 size_t off, sg_bytes; in fc_copy_buffer_to_sglist() local 123 sg_bytes = min(remaining, sg->length - *offset); in fc_copy_buffer_to_sglist() 130 sg_bytes = min(sg_bytes, in fc_copy_buffer_to_sglist() 134 *crc = crc32(*crc, buf, sg_bytes); in fc_copy_buffer_to_sglist() 135 memcpy((char *)page_addr + (off & ~PAGE_MASK), buf, sg_bytes); in fc_copy_buffer_to_sglist() 137 buf += sg_bytes; in fc_copy_buffer_to_sglist() 138 *offset += sg_bytes; in fc_copy_buffer_to_sglist() 139 remaining -= sg_bytes; in fc_copy_buffer_to_sglist() 140 copy_len += sg_bytes; in fc_copy_buffer_to_sglist() [all...] |
H A D | fc_fcp.c | 601 size_t sg_bytes; in fc_fcp_send_data() local 674 sg_bytes = min(tlen, sg->length - offset); in fc_fcp_send_data() 675 sg_bytes = min(sg_bytes, in fc_fcp_send_data() 682 page, off & ~PAGE_MASK, sg_bytes); in fc_fcp_send_data() 683 fp_skb(fp)->data_len += sg_bytes; in fc_fcp_send_data() 684 fr_len(fp) += sg_bytes; in fc_fcp_send_data() 693 sg_bytes); in fc_fcp_send_data() local 695 data += sg_bytes; in fc_fcp_send_data() 697 offset += sg_bytes; in fc_fcp_send_data() [all...] |
Completed in 4 milliseconds