Lines Matching refs:st_stid
767 clp = st->st_stid.sc_client; in nfs4_resolve_deny_conflicts_locked()
774 clp = stp->st_stid.sc_client; in nfs4_resolve_deny_conflicts_locked()
1423 recalculate_deny_mode(stp->st_stid.sc_file); in reset_union_bmap_deny()
1431 struct nfs4_file *fp = stp->st_stid.sc_file; in release_all_access()
1438 nfs4_file_put_access(stp->st_stid.sc_file, i); in release_all_access()
1470 struct nfs4_file *fp = stp->st_stid.sc_file; in unhash_ol_stateid()
1502 nf = find_any_file(stp->st_stid.sc_file); in nfs4_free_lock_stateid()
1519 struct nfs4_stid *s = &stp->st_stid; in put_ol_stateid_locked()
1537 lockdep_assert_held(&stp->st_stid.sc_client->cl_lock); in unhash_lock_stateid()
1542 nfs4_unhash_stid(&stp->st_stid); in unhash_lock_stateid()
1548 struct nfs4_client *clp = stp->st_stid.sc_client; in release_lock_stateid()
1555 nfs4_put_stid(&stp->st_stid); in release_lock_stateid()
1583 fp = stp->st_stid.sc_file; in free_ol_stateid_reaplist()
1584 stp->st_stid.sc_free(&stp->st_stid); in free_ol_stateid_reaplist()
1595 lockdep_assert_held(&open_stp->st_stid.sc_client->cl_lock); in release_open_stateid_locks()
1608 lockdep_assert_held(&stp->st_stid.sc_client->cl_lock); in unhash_open_stateid()
1620 spin_lock(&stp->st_stid.sc_client->cl_lock); in release_open_stateid()
1623 spin_unlock(&stp->st_stid.sc_client->cl_lock); in release_open_stateid()
1651 nfs4_put_stid(&s->st_stid); in release_last_closed_stateid()
4533 if (local->st_stid.sc_type == NFS4_OPEN_STID) { in nfsd4_find_existing_open()
4535 refcount_inc(&ret->st_stid.sc_count); in nfsd4_find_existing_open()
4568 ret = nfsd4_verify_open_stid(&stp->st_stid); in nfsd4_lock_ol_stateid()
4584 nfs4_put_stid(&stp->st_stid); in nfsd4_find_and_lock_existing_open()
4642 refcount_inc(&stp->st_stid.sc_count); in init_open_stateid()
4643 stp->st_stid.sc_type = NFS4_OPEN_STID; in init_open_stateid()
4647 stp->st_stid.sc_file = fp; in init_open_stateid()
4660 nfs4_put_stid(&retstp->st_stid); in init_open_stateid()
4680 struct nfsd_net *nn = net_generic(s->st_stid.sc_client->net, in move_to_close_lru()
4694 wait_event(close_wq, refcount_read(&s->st_stid.sc_count) == 2); in move_to_close_lru()
4697 if (s->st_stid.sc_file) { in move_to_close_lru()
4698 put_nfs4_file(s->st_stid.sc_file); in move_to_close_lru()
4699 s->st_stid.sc_file = NULL; in move_to_close_lru()
4709 nfs4_put_stid(&last->st_stid); in move_to_close_lru()
5395 st->st_stid.sc_client != clp) { in nfsd4_check_conflicting_opens()
5460 struct nfs4_client *clp = stp->st_stid.sc_client; in nfs4_set_delegation()
5461 struct nfs4_file *fp = stp->st_stid.sc_file; in nfs4_set_delegation()
5633 struct nfs4_client *clp = stp->st_stid.sc_client; in nfs4_open_delegation()
5777 stp->st_stid.sc_type = NFS4_CLOSED_STID; in nfsd4_process_open2()
5789 nfs4_inc_and_copy_stateid(&open->op_stateid, &stp->st_stid); in nfsd4_process_open2()
5807 trace_nfsd_open(&stp->st_stid.sc_stateid); in nfsd4_process_open2()
5830 nfs4_put_stid(&stp->st_stid); in nfsd4_process_open2()
5847 nfs4_put_stid(&open->op_stp->st_stid); in nfsd4_cleanup_open_state()
6018 nf = stp->st_stid.sc_file; in nfs4_lockowner_has_blockers()
6190 nfs4_put_stid(&stp->st_stid); in nfs4_laundromat()
6731 if (check_for_locks(stp->st_stid.sc_file, in nfsd4_free_lock_stateid()
6813 status = check_stateid_generation(stateid, &stp->st_stid.sc_stateid, nfsd4_has_session(cstate)); in nfs4_seqid_op_checks()
6815 status = nfs4_check_fh(current_fh, &stp->st_stid); in nfs4_seqid_op_checks()
6857 nfs4_put_stid(&stp->st_stid); in nfs4_preprocess_seqid_op()
6875 nfs4_put_stid(&stp->st_stid); in nfs4_preprocess_confirmed_seqid_op()
6911 nfs4_inc_and_copy_stateid(&oc->oc_resp_stateid, &stp->st_stid); in nfsd4_open_confirm()
6913 trace_nfsd_open_confirm(oc->oc_seqid, &stp->st_stid.sc_stateid); in nfsd4_open_confirm()
6917 nfs4_put_stid(&stp->st_stid); in nfsd4_open_confirm()
6927 nfs4_file_put_access(stp->st_stid.sc_file, access); in nfs4_stateid_downgrade_bit()
6983 nfs4_inc_and_copy_stateid(&od->od_stateid, &stp->st_stid); in nfsd4_open_downgrade()
6987 nfs4_put_stid(&stp->st_stid); in nfsd4_open_downgrade()
6995 struct nfs4_client *clp = s->st_stid.sc_client; in nfsd4_close_open_stateid()
7008 nfs4_free_cpntf_statelist(clp->net, &stp->st_stid); in nfsd4_close_open_stateid()
7042 stp->st_stid.sc_type = NFS4_CLOSED_STID; in nfsd4_close()
7050 nfs4_inc_and_copy_stateid(&close->cl_stateid, &stp->st_stid); in nfsd4_close()
7065 nfs4_put_stid(&stp->st_stid); in nfsd4_close()
7320 lockdep_assert_held(&ost->st_stid.sc_client->cl_lock); in find_lock_stateid()
7326 refcount_inc(&lst->st_stid.sc_count); in find_lock_stateid()
7350 refcount_inc(&stp->st_stid.sc_count); in init_lock_stateid()
7351 stp->st_stid.sc_type = NFS4_LOCK_STID; in init_lock_stateid()
7354 stp->st_stid.sc_file = fp; in init_lock_stateid()
7368 nfs4_put_stid(&retstp->st_stid); in init_lock_stateid()
7397 nfs4_put_stid(&lst->st_stid); in find_or_create_lock_stateid()
7421 struct nfs4_file *fp = lock_stp->st_stid.sc_file; in get_lock_access()
7438 struct nfs4_file *fi = ost->st_stid.sc_file; in lookup_or_create_lock_state()
7559 fp = lock_stp->st_stid.sc_file; in nfsd4_lock()
7642 nfs4_inc_and_copy_stateid(&lock->lk_resp_stateid, &lock_stp->st_stid); in nfsd4_lock()
7698 nfs4_put_stid(&lock_stp->st_stid); in nfsd4_lock()
7701 nfs4_put_stid(&open_stp->st_stid); in nfsd4_lock()
7837 nf = find_any_file(stp->st_stid.sc_file); in nfsd4_locku()
7866 nfs4_inc_and_copy_stateid(&locku->lu_stateid, &stp->st_stid); in nfsd4_locku()
7871 nfs4_put_stid(&stp->st_stid); in nfsd4_locku()