Home
last modified time | relevance | path

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

/drivers/scsi/
Dsg.c200 #define SZ_SG_HEADER sizeof(struct sg_header) macro
414 if (count >= SZ_SG_HEADER) { in get_sg_io_pack_id()
486 old_hdr = kzalloc(SZ_SG_HEADER, GFP_KERNEL); in sg_read()
534 if (count >= SZ_SG_HEADER) { in sg_read()
535 if (copy_to_user(buf, old_hdr, SZ_SG_HEADER)) { in sg_read()
539 buf += SZ_SG_HEADER; in sg_read()
542 if (count > SZ_SG_HEADER) { in sg_read()
543 if (sg_read_oxfer(srp, buf, count - SZ_SG_HEADER)) { in sg_read()
627 if (count < SZ_SG_HEADER) in sg_write()
629 if (copy_from_user(&old_hdr, buf, SZ_SG_HEADER)) in sg_write()
[all …]