Lines Matching refs:lgp
1456 nfs4_lgopen_release(p->lgp);
3097 pnfs_parse_lgopen(state->inode, opendata->lgp, ctx);
3111 if (opendata->lgp) {
3112 nfs4_lgopen_release(opendata->lgp);
3113 opendata->lgp = NULL;
9603 struct nfs4_layoutget *lgp = calldata;
9604 struct nfs_server *server = NFS_SERVER(lgp->args.inode);
9606 nfs4_setup_sequence(server->nfs_client, &lgp->args.seq_args,
9607 &lgp->res.seq_res, task);
9612 struct nfs4_layoutget *lgp = calldata;
9614 nfs41_sequence_process(task, &lgp->res.seq_res);
9619 struct nfs4_layoutget *lgp, struct nfs4_exception *exception)
9621 struct inode *inode = lgp->args.inode;
9623 struct pnfs_layout_hdr *lo = lgp->lo;
9630 nfs4_sequence_free_slot(&lgp->res.seq_res);
9646 * length lgp->args.minlength != 0 (see RFC5661 section 18.43.3).
9660 if (lgp->args.minlength == 0) {
9678 !nfs4_stateid_match_other(&lgp->args.stateid, &lo->plh_stateid)) {
9680 exception->state = lgp->args.ctx->state;
9681 exception->stateid = &lgp->args.stateid;
9715 struct nfs4_layoutget *lgp = calldata;
9717 nfs4_sequence_free_slot(&lgp->res.seq_res);
9718 pnfs_layoutget_free(lgp);
9728 nfs4_proc_layoutget(struct nfs4_layoutget *lgp, long *timeout)
9730 struct inode *inode = lgp->args.inode;
9735 .rpc_argp = &lgp->args,
9736 .rpc_resp = &lgp->res,
9737 .rpc_cred = lgp->cred,
9743 .callback_data = lgp,
9754 nfs4_init_sequence(&lgp->args.seq_args, &lgp->res.seq_res, 0, 0);
9765 status = nfs4_layoutget_handle_exception(task, lgp, &exception);
9767 } else if (lgp->res.layoutp->len == 0) {
9771 lseg = pnfs_layout_process(lgp);
9773 trace_nfs4_layoutget(lgp->args.ctx,
9774 &lgp->args.range,
9775 &lgp->res.range,
9776 &lgp->res.stateid,