Lines Matching refs:st_stid

767 		clp = st->st_stid.sc_client;
774 clp = stp->st_stid.sc_client;
1423 recalculate_deny_mode(stp->st_stid.sc_file);
1431 struct nfs4_file *fp = stp->st_stid.sc_file;
1438 nfs4_file_put_access(stp->st_stid.sc_file, i);
1470 struct nfs4_file *fp = stp->st_stid.sc_file;
1502 nf = find_any_file(stp->st_stid.sc_file);
1519 struct nfs4_stid *s = &stp->st_stid;
1537 lockdep_assert_held(&stp->st_stid.sc_client->cl_lock);
1542 nfs4_unhash_stid(&stp->st_stid);
1548 struct nfs4_client *clp = stp->st_stid.sc_client;
1555 nfs4_put_stid(&stp->st_stid);
1583 fp = stp->st_stid.sc_file;
1584 stp->st_stid.sc_free(&stp->st_stid);
1595 lockdep_assert_held(&open_stp->st_stid.sc_client->cl_lock);
1608 lockdep_assert_held(&stp->st_stid.sc_client->cl_lock);
1620 spin_lock(&stp->st_stid.sc_client->cl_lock);
1623 spin_unlock(&stp->st_stid.sc_client->cl_lock);
1651 nfs4_put_stid(&s->st_stid);
4533 if (local->st_stid.sc_type == NFS4_OPEN_STID) {
4535 refcount_inc(&ret->st_stid.sc_count);
4568 ret = nfsd4_verify_open_stid(&stp->st_stid);
4584 nfs4_put_stid(&stp->st_stid);
4642 refcount_inc(&stp->st_stid.sc_count);
4643 stp->st_stid.sc_type = NFS4_OPEN_STID;
4647 stp->st_stid.sc_file = fp;
4660 nfs4_put_stid(&retstp->st_stid);
4680 struct nfsd_net *nn = net_generic(s->st_stid.sc_client->net,
4694 wait_event(close_wq, refcount_read(&s->st_stid.sc_count) == 2);
4697 if (s->st_stid.sc_file) {
4698 put_nfs4_file(s->st_stid.sc_file);
4699 s->st_stid.sc_file = NULL;
4709 nfs4_put_stid(&last->st_stid);
5393 st->st_stid.sc_client != clp) {
5458 struct nfs4_client *clp = stp->st_stid.sc_client;
5459 struct nfs4_file *fp = stp->st_stid.sc_file;
5632 struct nfs4_client *clp = stp->st_stid.sc_client;
5776 stp->st_stid.sc_type = NFS4_CLOSED_STID;
5788 nfs4_inc_and_copy_stateid(&open->op_stateid, &stp->st_stid);
5806 trace_nfsd_open(&stp->st_stid.sc_stateid);
5829 nfs4_put_stid(&stp->st_stid);
5846 nfs4_put_stid(&open->op_stp->st_stid);
6017 nf = stp->st_stid.sc_file;
6189 nfs4_put_stid(&stp->st_stid);
6730 if (check_for_locks(stp->st_stid.sc_file,
6812 status = check_stateid_generation(stateid, &stp->st_stid.sc_stateid, nfsd4_has_session(cstate));
6814 status = nfs4_check_fh(current_fh, &stp->st_stid);
6856 nfs4_put_stid(&stp->st_stid);
6874 nfs4_put_stid(&stp->st_stid);
6910 nfs4_inc_and_copy_stateid(&oc->oc_resp_stateid, &stp->st_stid);
6912 trace_nfsd_open_confirm(oc->oc_seqid, &stp->st_stid.sc_stateid);
6916 nfs4_put_stid(&stp->st_stid);
6926 nfs4_file_put_access(stp->st_stid.sc_file, access);
6982 nfs4_inc_and_copy_stateid(&od->od_stateid, &stp->st_stid);
6986 nfs4_put_stid(&stp->st_stid);
6994 struct nfs4_client *clp = s->st_stid.sc_client;
7007 nfs4_free_cpntf_statelist(clp->net, &stp->st_stid);
7041 stp->st_stid.sc_type = NFS4_CLOSED_STID;
7049 nfs4_inc_and_copy_stateid(&close->cl_stateid, &stp->st_stid);
7064 nfs4_put_stid(&stp->st_stid);
7319 lockdep_assert_held(&ost->st_stid.sc_client->cl_lock);
7325 refcount_inc(&lst->st_stid.sc_count);
7349 refcount_inc(&stp->st_stid.sc_count);
7350 stp->st_stid.sc_type = NFS4_LOCK_STID;
7353 stp->st_stid.sc_file = fp;
7367 nfs4_put_stid(&retstp->st_stid);
7396 nfs4_put_stid(&lst->st_stid);
7420 struct nfs4_file *fp = lock_stp->st_stid.sc_file;
7437 struct nfs4_file *fi = ost->st_stid.sc_file;
7558 fp = lock_stp->st_stid.sc_file;
7641 nfs4_inc_and_copy_stateid(&lock->lk_resp_stateid, &lock_stp->st_stid);
7697 nfs4_put_stid(&lock_stp->st_stid);
7700 nfs4_put_stid(&open_stp->st_stid);
7836 nf = find_any_file(stp->st_stid.sc_file);
7865 nfs4_inc_and_copy_stateid(&locku->lu_stateid, &stp->st_stid);
7870 nfs4_put_stid(&stp->st_stid);
7967 if (check_for_locks(stp->st_stid.sc_file, lo)) {