Searched refs:old_hdr (Results 1 – 1 of 1) sorted by relevance
410 struct sg_header __user *old_hdr = buf; in get_sg_io_pack_id() local415 if (get_user(reply_len, &old_hdr->reply_len)) in get_sg_io_pack_id()419 return get_user(*pack_id, &old_hdr->pack_id); in get_sg_io_pack_id()449 struct sg_header *old_hdr; in sg_read() local485 old_hdr = kzalloc(SZ_SG_HEADER, GFP_KERNEL); in sg_read()486 if (!old_hdr) in sg_read()489 old_hdr->reply_len = (int) hp->timeout; in sg_read()490 old_hdr->pack_len = old_hdr->reply_len; /* old, strange behaviour */ in sg_read()491 old_hdr->pack_id = hp->pack_id; in sg_read()492 old_hdr->twelve_byte = in sg_read()[all …]