Lines Matching refs:lgp
1518 nfs4_lgopen_release(p->lgp); in nfs4_opendata_free()
3181 pnfs_parse_lgopen(state->inode, opendata->lgp, ctx); in _nfs4_open_and_get_state()
3192 if (opendata->lgp) { in _nfs4_open_and_get_state()
3193 nfs4_lgopen_release(opendata->lgp); in _nfs4_open_and_get_state()
3194 opendata->lgp = NULL; in _nfs4_open_and_get_state()
9801 struct nfs4_layoutget *lgp = calldata; in nfs4_layoutget_prepare() local
9802 struct nfs_server *server = NFS_SERVER(lgp->args.inode); in nfs4_layoutget_prepare()
9804 nfs4_setup_sequence(server->nfs_client, &lgp->args.seq_args, in nfs4_layoutget_prepare()
9805 &lgp->res.seq_res, task); in nfs4_layoutget_prepare()
9810 struct nfs4_layoutget *lgp = calldata; in nfs4_layoutget_done() local
9812 nfs41_sequence_process(task, &lgp->res.seq_res); in nfs4_layoutget_done()
9817 struct nfs4_layoutget *lgp, struct nfs4_exception *exception) in nfs4_layoutget_handle_exception() argument
9819 struct inode *inode = lgp->args.inode; in nfs4_layoutget_handle_exception()
9821 struct pnfs_layout_hdr *lo = lgp->lo; in nfs4_layoutget_handle_exception()
9828 nfs4_sequence_free_slot(&lgp->res.seq_res); in nfs4_layoutget_handle_exception()
9861 if (lgp->args.minlength == 0) { in nfs4_layoutget_handle_exception()
9879 !nfs4_stateid_match_other(&lgp->args.stateid, &lo->plh_stateid)) { in nfs4_layoutget_handle_exception()
9881 exception->state = lgp->args.ctx->state; in nfs4_layoutget_handle_exception()
9882 exception->stateid = &lgp->args.stateid; in nfs4_layoutget_handle_exception()
9916 struct nfs4_layoutget *lgp = calldata; in nfs4_layoutget_release() local
9918 nfs4_sequence_free_slot(&lgp->res.seq_res); in nfs4_layoutget_release()
9919 pnfs_layoutget_free(lgp); in nfs4_layoutget_release()
9929 nfs4_proc_layoutget(struct nfs4_layoutget *lgp, in nfs4_proc_layoutget() argument
9932 struct inode *inode = lgp->args.inode; in nfs4_proc_layoutget()
9937 .rpc_argp = &lgp->args, in nfs4_proc_layoutget()
9938 .rpc_resp = &lgp->res, in nfs4_proc_layoutget()
9939 .rpc_cred = lgp->cred, in nfs4_proc_layoutget()
9945 .callback_data = lgp, in nfs4_proc_layoutget()
9952 nfs4_init_sequence(&lgp->args.seq_args, &lgp->res.seq_res, 0, 0); in nfs4_proc_layoutget()
9965 status = nfs4_layoutget_handle_exception(task, lgp, exception); in nfs4_proc_layoutget()
9966 } else if (lgp->res.layoutp->len == 0) { in nfs4_proc_layoutget()
9971 lseg = pnfs_layout_process(lgp); in nfs4_proc_layoutget()
9973 trace_nfs4_layoutget(lgp->args.ctx, in nfs4_proc_layoutget()
9974 &lgp->args.range, in nfs4_proc_layoutget()
9975 &lgp->res.range, in nfs4_proc_layoutget()
9976 &lgp->res.stateid, in nfs4_proc_layoutget()