Lines Matching refs:dl_stid

1179 	dp->dl_stid.sc_stateid.si_generation = 1;  in alloc_init_deleg()
1188 nfsd4_init_cb(&dp->dl_recall, dp->dl_stid.sc_client, in alloc_init_deleg()
1191 dp->dl_stid.sc_file = fp; in alloc_init_deleg()
1245 struct nfs4_file *fp = dp->dl_stid.sc_file; in nfs4_unlock_deleg_lease()
1258 nfs4_put_stid(&dp->dl_stid); in destroy_unhashed_deleg()
1285 searchclp = searchdp->dl_stid.sc_client; in nfs4_delegation_exists()
1309 struct nfs4_client *clp = dp->dl_stid.sc_client; in hash_delegation_locked()
1316 refcount_inc(&dp->dl_stid.sc_count); in hash_delegation_locked()
1317 dp->dl_stid.sc_type = NFS4_DELEG_STID; in hash_delegation_locked()
1331 struct nfs4_file *fp = dp->dl_stid.sc_file; in unhash_delegation_locked()
1338 dp->dl_stid.sc_type = NFS4_CLOSED_DELEG_STID; in unhash_delegation_locked()
1362 struct nfs4_client *clp = dp->dl_stid.sc_client; in revoke_delegation()
1366 trace_nfsd_stid_revoke(&dp->dl_stid); in revoke_delegation()
1370 dp->dl_stid.sc_type = NFS4_REVOKED_DELEG_STID; in revoke_delegation()
1371 refcount_inc(&dp->dl_stid.sc_count); in revoke_delegation()
2241 nfs4_put_stid(&dp->dl_stid); in __destroy_client()
4840 struct nfsd_net *nn = net_generic(dp->dl_stid.sc_client->net, in nfsd4_cb_recall_prepare()
4843 block_delegations(&dp->dl_stid.sc_file->fi_fhandle); in nfsd4_cb_recall_prepare()
4865 trace_nfsd_cb_recall_done(&dp->dl_stid.sc_stateid, task); in nfsd4_cb_recall_done()
4867 if (dp->dl_stid.sc_type == NFS4_CLOSED_DELEG_STID || in nfsd4_cb_recall_done()
4868 dp->dl_stid.sc_type == NFS4_REVOKED_DELEG_STID) in nfsd4_cb_recall_done()
4897 nfs4_put_stid(&dp->dl_stid); in nfsd4_cb_recall_release()
4915 refcount_inc(&dp->dl_stid.sc_count); in nfsd_break_one_deleg()
4924 struct nfs4_file *fp = dp->dl_stid.sc_file; in nfsd_break_deleg_cb()
4925 struct nfs4_client *clp = dp->dl_stid.sc_client; in nfsd_break_deleg_cb()
4928 trace_nfsd_cb_recall(&dp->dl_stid); in nfsd_break_deleg_cb()
4970 return dl->dl_stid.sc_client == clp; in nfsd_breaker_owns_lease()
4978 struct nfs4_client *clp = dp->dl_stid.sc_client; in nfsd_change_deleg_cb()
5140 if (deleg->dl_stid.sc_type == NFS4_REVOKED_DELEG_STID) { in nfs4_check_deleg()
5141 nfs4_put_stid(&deleg->dl_stid); in nfs4_check_deleg()
5149 nfs4_put_stid(&deleg->dl_stid); in nfs4_check_deleg()
5342 fl->fl_file = dp->dl_stid.sc_file->fi_deleg_file->nf_file; in nfs4_alloc_init_lease()
5572 nfs4_put_stid(&dp->dl_stid); in nfs4_set_delegation()
5665 memcpy(&open->op_delegate_stateid, &dp->dl_stid.sc_stateid, sizeof(dp->dl_stid.sc_stateid)); in nfs4_open_delegation()
5669 trace_nfsd_deleg_write(&dp->dl_stid.sc_stateid); in nfs4_open_delegation()
5672 trace_nfsd_deleg_read(&dp->dl_stid.sc_stateid); in nfs4_open_delegation()
5674 nfs4_put_stid(&dp->dl_stid); in nfs4_open_delegation()
5824 nfs4_put_stid(&dp->dl_stid); in nfsd4_process_open2()
7084 status = nfsd4_stid_check_stateid_generation(stateid, &dp->dl_stid, nfsd4_has_session(cstate)); in nfsd4_delegreturn()
7092 nfs4_put_stid(&dp->dl_stid); in nfsd4_delegreturn()