Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/scsi/
Dsg.c205 #define SZ_SG_IO_HDR sizeof(sg_io_hdr_t) macro
448 if (count >= SZ_SG_IO_HDR) { in sg_read()
450 new_hdr = kmalloc(SZ_SG_IO_HDR, GFP_KERNEL); in sg_read()
456 (new_hdr, buf, SZ_SG_IO_HDR); in sg_read()
576 if (count < SZ_SG_IO_HDR) { in sg_new_read()
597 if (copy_to_user(buf, hp, SZ_SG_IO_HDR)) { in sg_new_read()
730 if (count < SZ_SG_IO_HDR) in sg_new_write()
743 if (__copy_from_user(hp, buf, SZ_SG_IO_HDR)) { in sg_new_write()
925 if (!access_ok(VERIFY_WRITE, p, SZ_SG_IO_HDR)) in sg_ioctl()
927 result = sg_new_write(sfp, filp, p, SZ_SG_IO_HDR, in sg_ioctl()
[all …]