Home
last modified time | relevance | path

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

/drivers/scsi/
Dsg.c413 struct sg_header __user *old_hdr = buf; in get_sg_io_pack_id() local
418 if (get_user(reply_len, &old_hdr->reply_len)) in get_sg_io_pack_id()
422 return get_user(*pack_id, &old_hdr->pack_id); in get_sg_io_pack_id()
452 struct sg_header *old_hdr; in sg_read() local
488 old_hdr = kzalloc(SZ_SG_HEADER, GFP_KERNEL); in sg_read()
489 if (!old_hdr) in sg_read()
492 old_hdr->reply_len = (int) hp->timeout; in sg_read()
493 old_hdr->pack_len = old_hdr->reply_len; /* old, strange behaviour */ in sg_read()
494 old_hdr->pack_id = hp->pack_id; in sg_read()
495 old_hdr->twelve_byte = in sg_read()
[all …]