Lines Matching refs:hdr
206 struct nfs_pgio_header *hdr; in bl_read_cleanup() local
209 hdr = container_of(task, struct nfs_pgio_header, task); in bl_read_cleanup()
210 pnfs_ld_read_done(hdr); in bl_read_cleanup()
216 struct nfs_pgio_header *hdr = data; in bl_end_par_io_read() local
218 hdr->task.tk_status = hdr->pnfs_error; in bl_end_par_io_read()
219 INIT_WORK(&hdr->task.u.tk_work, bl_read_cleanup); in bl_end_par_io_read()
220 schedule_work(&hdr->task.u.tk_work); in bl_end_par_io_read()
337 struct nfs_pgio_header *hdr = in bl_write_cleanup() local
342 if (likely(!hdr->pnfs_error)) { in bl_write_cleanup()
343 struct pnfs_block_layout *bl = BLK_LSEG2EXT(hdr->lseg); in bl_write_cleanup()
344 u64 start = hdr->args.offset & (loff_t)PAGE_MASK; in bl_write_cleanup()
345 u64 end = (hdr->args.offset + hdr->args.count + in bl_write_cleanup()
347 u64 lwb = hdr->args.offset + hdr->args.count; in bl_write_cleanup()
353 pnfs_ld_write_done(hdr); in bl_write_cleanup()
359 struct nfs_pgio_header *hdr = data; in bl_end_par_io_write() local
361 hdr->task.tk_status = hdr->pnfs_error; in bl_end_par_io_write()
362 hdr->verf.committed = NFS_FILE_SYNC; in bl_end_par_io_write()
363 INIT_WORK(&hdr->task.u.tk_work, bl_write_cleanup); in bl_end_par_io_write()
364 schedule_work(&hdr->task.u.tk_work); in bl_end_par_io_write()