Lines Matching refs:lrp
956 struct nfs4_layoutreturn *lrp; in pnfs_send_layoutreturn() local
959 lrp = kzalloc(sizeof(*lrp), GFP_NOFS); in pnfs_send_layoutreturn()
960 if (unlikely(lrp == NULL)) { in pnfs_send_layoutreturn()
969 lrp->args.stateid = stateid; in pnfs_send_layoutreturn()
970 lrp->args.layout_type = NFS_SERVER(ino)->pnfs_curr_ld->id; in pnfs_send_layoutreturn()
971 lrp->args.inode = ino; in pnfs_send_layoutreturn()
972 lrp->args.range.iomode = iomode; in pnfs_send_layoutreturn()
973 lrp->args.range.offset = 0; in pnfs_send_layoutreturn()
974 lrp->args.range.length = NFS4_MAX_UINT64; in pnfs_send_layoutreturn()
975 lrp->args.layout = lo; in pnfs_send_layoutreturn()
976 lrp->clp = NFS_SERVER(ino)->nfs_client; in pnfs_send_layoutreturn()
977 lrp->cred = lo->plh_lc_cred; in pnfs_send_layoutreturn()
979 status = nfs4_proc_layoutreturn(lrp, sync); in pnfs_send_layoutreturn()