Searched refs:SZ_SG_IO_HDR (Results 1 – 1 of 1) sorted by relevance
/linux-4.1.27/drivers/scsi/ |
D | sg.c | 217 #define SZ_SG_IO_HDR sizeof(sg_io_hdr_t) macro 425 if (count >= SZ_SG_IO_HDR) { in sg_read() 427 new_hdr = kmalloc(SZ_SG_IO_HDR, GFP_KERNEL); in sg_read() 433 (new_hdr, buf, SZ_SG_IO_HDR); in sg_read() 552 if (count < SZ_SG_IO_HDR) { in sg_new_read() 573 if (copy_to_user(buf, hp, SZ_SG_IO_HDR)) { in sg_new_read() 702 if (count < SZ_SG_IO_HDR) in sg_new_write() 715 if (__copy_from_user(hp, buf, SZ_SG_IO_HDR)) { in sg_new_write() 855 if (!access_ok(VERIFY_WRITE, p, SZ_SG_IO_HDR)) in sg_ioctl() 857 result = sg_new_write(sfp, filp, p, SZ_SG_IO_HDR, in sg_ioctl() [all …]
|