Searched refs:old_hdr (Results 1 – 1 of 1) sorted by relevance
416 struct sg_header *old_hdr = NULL; in sg_read() local435 old_hdr = kmalloc(SZ_SG_HEADER, GFP_KERNEL); in sg_read()436 if (!old_hdr) in sg_read()438 if (__copy_from_user(old_hdr, buf, SZ_SG_HEADER)) { in sg_read()442 if (old_hdr->reply_len < 0) { in sg_read()460 req_pack_id = old_hdr->pack_id; in sg_read()490 if (old_hdr == NULL) { in sg_read()491 old_hdr = kmalloc(SZ_SG_HEADER, GFP_KERNEL); in sg_read()492 if (! old_hdr) { in sg_read()497 memset(old_hdr, 0, SZ_SG_HEADER); in sg_read()[all …]