Home
last modified time | relevance | path

Searched refs:SZ_SG_HEADER (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/scsi/
H A Dsg.c199 #define SZ_SG_HEADER sizeof(struct sg_header) macro
413 if (count >= SZ_SG_HEADER) { in get_sg_io_pack_id()
485 old_hdr = kzalloc(SZ_SG_HEADER, GFP_KERNEL); in sg_read()
531 if (count >= SZ_SG_HEADER) { in sg_read()
532 if (copy_to_user(buf, old_hdr, SZ_SG_HEADER)) { in sg_read()
536 buf += SZ_SG_HEADER; in sg_read()
539 if (count > SZ_SG_HEADER) { in sg_read()
540 if (sg_read_oxfer(srp, buf, count - SZ_SG_HEADER)) { in sg_read()
623 if (count < SZ_SG_HEADER) in sg_write()
625 if (copy_from_user(&old_hdr, buf, SZ_SG_HEADER)) in sg_write()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/
H A Dsg.c204 #define SZ_SG_HEADER sizeof(struct sg_header) macro
413 if (count >= SZ_SG_HEADER) { in get_sg_io_pack_id()
485 old_hdr = kzalloc(SZ_SG_HEADER, GFP_KERNEL); in sg_read()
533 if (count >= SZ_SG_HEADER) { in sg_read()
534 if (copy_to_user(buf, old_hdr, SZ_SG_HEADER)) { in sg_read()
538 buf += SZ_SG_HEADER; in sg_read()
541 if (count > SZ_SG_HEADER) { in sg_read()
542 if (sg_read_oxfer(srp, buf, count - SZ_SG_HEADER)) { in sg_read()
626 if (count < SZ_SG_HEADER) in sg_write()
628 if (copy_from_user(&old_hdr, buf, SZ_SG_HEADER)) in sg_write()
[all...]

Completed in 5 milliseconds