Lines Matching refs:lgp
1451 nfs4_lgopen_release(p->lgp);
3085 pnfs_parse_lgopen(state->inode, opendata->lgp, ctx);
3100 if (opendata->lgp) {
3101 nfs4_lgopen_release(opendata->lgp);
3102 opendata->lgp = NULL;
9382 struct nfs4_layoutget *lgp = calldata;
9383 struct nfs_server *server = NFS_SERVER(lgp->args.inode);
9386 nfs4_setup_sequence(server->nfs_client, &lgp->args.seq_args,
9387 &lgp->res.seq_res, task);
9393 struct nfs4_layoutget *lgp = calldata;
9396 nfs41_sequence_process(task, &lgp->res.seq_res);
9402 struct nfs4_layoutget *lgp, struct nfs4_exception *exception)
9404 struct inode *inode = lgp->args.inode;
9413 nfs4_sequence_free_slot(&lgp->res.seq_res);
9429 * length lgp->args.minlength != 0 (see RFC5661 section 18.43.3).
9443 if (lgp->args.minlength == 0) {
9462 !nfs4_stateid_match_other(&lgp->args.stateid, &lo->plh_stateid)) {
9464 exception->state = lgp->args.ctx->state;
9465 exception->stateid = &lgp->args.stateid;
9500 struct nfs4_layoutget *lgp = calldata;
9503 nfs4_sequence_free_slot(&lgp->res.seq_res);
9504 pnfs_layoutget_free(lgp);
9515 nfs4_proc_layoutget(struct nfs4_layoutget *lgp, long *timeout)
9517 struct inode *inode = lgp->args.inode;
9522 .rpc_argp = &lgp->args,
9523 .rpc_resp = &lgp->res,
9524 .rpc_cred = lgp->cred,
9530 .callback_data = lgp,
9545 nfs4_init_sequence(&lgp->args.seq_args, &lgp->res.seq_res, 0, 0);
9554 status = nfs4_layoutget_handle_exception(task, lgp, &exception);
9556 } else if (lgp->res.layoutp->len == 0) {
9560 lseg = pnfs_layout_process(lgp);
9562 trace_nfs4_layoutget(lgp->args.ctx,
9563 &lgp->args.range,
9564 &lgp->res.range,
9565 &lgp->res.stateid,