• Home
  • Raw
  • Download

Lines Matching refs:hdr

232 	struct nfs_pgio_header *hdr;  in _rpc_read_complete()  local
236 hdr = container_of(task, struct nfs_pgio_header, task); in _rpc_read_complete()
238 pnfs_ld_read_done(hdr); in _rpc_read_complete()
244 struct nfs_pgio_header *hdr = oir->rpcdata; in objlayout_read_done() local
246 oir->status = hdr->task.tk_status = status; in objlayout_read_done()
248 hdr->res.count = status; in objlayout_read_done()
250 hdr->pnfs_error = status; in objlayout_read_done()
255 status, hdr->res.eof, sync); in objlayout_read_done()
258 pnfs_ld_read_done(hdr); in objlayout_read_done()
260 INIT_WORK(&hdr->task.u.tk_work, _rpc_read_complete); in objlayout_read_done()
261 schedule_work(&hdr->task.u.tk_work); in objlayout_read_done()
269 objlayout_read_pagelist(struct nfs_pgio_header *hdr) in objlayout_read_pagelist() argument
271 struct inode *inode = hdr->inode; in objlayout_read_pagelist()
272 loff_t offset = hdr->args.offset; in objlayout_read_pagelist()
273 size_t count = hdr->args.count; in objlayout_read_pagelist()
281 hdr->res.count = 0; in objlayout_read_pagelist()
282 hdr->res.eof = 1; in objlayout_read_pagelist()
289 hdr->res.eof = (offset + count) >= eof; in objlayout_read_pagelist()
290 _fix_verify_io_params(hdr->lseg, &hdr->args.pages, in objlayout_read_pagelist()
291 &hdr->args.pgbase, in objlayout_read_pagelist()
292 hdr->args.offset, hdr->args.count); in objlayout_read_pagelist()
295 __func__, inode->i_ino, offset, count, hdr->res.eof); in objlayout_read_pagelist()
297 err = objio_read_pagelist(hdr); in objlayout_read_pagelist()
300 hdr->pnfs_error = err; in objlayout_read_pagelist()
314 struct nfs_pgio_header *hdr; in _rpc_write_complete() local
318 hdr = container_of(task, struct nfs_pgio_header, task); in _rpc_write_complete()
320 pnfs_ld_write_done(hdr); in _rpc_write_complete()
326 struct nfs_pgio_header *hdr = oir->rpcdata; in objlayout_write_done() local
328 oir->status = hdr->task.tk_status = status; in objlayout_write_done()
330 hdr->res.count = status; in objlayout_write_done()
331 hdr->verf.committed = oir->committed; in objlayout_write_done()
333 hdr->pnfs_error = status; in objlayout_write_done()
339 status, hdr->verf.committed, sync); in objlayout_write_done()
342 pnfs_ld_write_done(hdr); in objlayout_write_done()
344 INIT_WORK(&hdr->task.u.tk_work, _rpc_write_complete); in objlayout_write_done()
345 schedule_work(&hdr->task.u.tk_work); in objlayout_write_done()
353 objlayout_write_pagelist(struct nfs_pgio_header *hdr, int how) in objlayout_write_pagelist() argument
357 _fix_verify_io_params(hdr->lseg, &hdr->args.pages, in objlayout_write_pagelist()
358 &hdr->args.pgbase, in objlayout_write_pagelist()
359 hdr->args.offset, hdr->args.count); in objlayout_write_pagelist()
361 err = objio_write_pagelist(hdr, how); in objlayout_write_pagelist()
363 hdr->pnfs_error = err; in objlayout_write_pagelist()