Searched refs:SZ_SG_IO_HDR (Results 1 – 1 of 1) sorted by relevance
| /Linux-v5.4/drivers/scsi/ |
| D | sg.c | 200 #define SZ_SG_IO_HDR sizeof(sg_io_hdr_t) macro 443 if (count >= SZ_SG_IO_HDR) { in sg_read() 445 new_hdr = kmalloc(SZ_SG_IO_HDR, GFP_KERNEL); in sg_read() 451 (new_hdr, buf, SZ_SG_IO_HDR); in sg_read() 571 if (count < SZ_SG_IO_HDR) { in sg_new_read() 592 if (copy_to_user(buf, hp, SZ_SG_IO_HDR)) { in sg_new_read() 725 if (count < SZ_SG_IO_HDR) in sg_new_write() 738 if (__copy_from_user(hp, buf, SZ_SG_IO_HDR)) { in sg_new_write() 920 if (!access_ok(p, SZ_SG_IO_HDR)) in sg_ioctl() 922 result = sg_new_write(sfp, filp, p, SZ_SG_IO_HDR, in sg_ioctl() [all …]
|