Lines Matching refs:SZ_SG_IO_HDR
207 #define SZ_SG_IO_HDR sizeof(sg_io_hdr_t)
369 if (count >= SZ_SG_IO_HDR) {
371 new_hdr = kmalloc(SZ_SG_IO_HDR, GFP_KERNEL);
377 (new_hdr, buf, SZ_SG_IO_HDR);
501 if (count < SZ_SG_IO_HDR) {
522 if (copy_to_user(buf, hp, SZ_SG_IO_HDR)) {
654 if (count < SZ_SG_IO_HDR)
666 if (__copy_from_user(hp, buf, SZ_SG_IO_HDR)) {
797 if (!access_ok(VERIFY_WRITE, p, SZ_SG_IO_HDR))
800 sg_new_write(sfp, filp, p, SZ_SG_IO_HDR,
821 result = sg_new_read(sfp, p, SZ_SG_IO_HDR, srp);