Lines Matching refs:st_stid
1293 recalculate_deny_mode(stp->st_stid.sc_file); in reset_union_bmap_deny()
1301 struct nfs4_file *fp = stp->st_stid.sc_file; in release_all_access()
1308 nfs4_file_put_access(stp->st_stid.sc_file, i); in release_all_access()
1340 struct nfs4_file *fp = stp->st_stid.sc_file; in unhash_ol_stateid()
1372 nf = find_any_file(stp->st_stid.sc_file); in nfs4_free_lock_stateid()
1389 struct nfs4_stid *s = &stp->st_stid; in put_ol_stateid_locked()
1407 lockdep_assert_held(&stp->st_stid.sc_client->cl_lock); in unhash_lock_stateid()
1412 nfs4_unhash_stid(&stp->st_stid); in unhash_lock_stateid()
1418 struct nfs4_client *clp = stp->st_stid.sc_client; in release_lock_stateid()
1425 nfs4_put_stid(&stp->st_stid); in release_lock_stateid()
1453 fp = stp->st_stid.sc_file; in free_ol_stateid_reaplist()
1454 stp->st_stid.sc_free(&stp->st_stid); in free_ol_stateid_reaplist()
1465 lockdep_assert_held(&open_stp->st_stid.sc_client->cl_lock); in release_open_stateid_locks()
1478 lockdep_assert_held(&stp->st_stid.sc_client->cl_lock); in unhash_open_stateid()
1490 spin_lock(&stp->st_stid.sc_client->cl_lock); in release_open_stateid()
1493 spin_unlock(&stp->st_stid.sc_client->cl_lock); in release_open_stateid()
1521 nfs4_put_stid(&s->st_stid); in release_last_closed_stateid()
4256 if (local->st_stid.sc_type == NFS4_OPEN_STID) { in nfsd4_find_existing_open()
4258 refcount_inc(&ret->st_stid.sc_count); in nfsd4_find_existing_open()
4291 ret = nfsd4_verify_open_stid(&stp->st_stid); in nfsd4_lock_ol_stateid()
4307 nfs4_put_stid(&stp->st_stid); in nfsd4_find_and_lock_existing_open()
4365 refcount_inc(&stp->st_stid.sc_count); in init_open_stateid()
4366 stp->st_stid.sc_type = NFS4_OPEN_STID; in init_open_stateid()
4370 stp->st_stid.sc_file = fp; in init_open_stateid()
4383 nfs4_put_stid(&retstp->st_stid); in init_open_stateid()
4403 struct nfsd_net *nn = net_generic(s->st_stid.sc_client->net, in move_to_close_lru()
4417 wait_event(close_wq, refcount_read(&s->st_stid.sc_count) == 2); in move_to_close_lru()
4420 if (s->st_stid.sc_file) { in move_to_close_lru()
4421 put_nfs4_file(s->st_stid.sc_file); in move_to_close_lru()
4422 s->st_stid.sc_file = NULL; in move_to_close_lru()
4432 nfs4_put_stid(&last->st_stid); in move_to_close_lru()
5093 struct nfs4_client *clp = stp->st_stid.sc_client; in nfs4_open_delegation()
5132 dp = nfs4_set_delegation(clp, fh, stp->st_stid.sc_file, stp->st_clnt_odstate); in nfs4_open_delegation()
5225 stp->st_stid.sc_type = NFS4_CLOSED_STID; in nfsd4_process_open2()
5237 nfs4_inc_and_copy_stateid(&open->op_stateid, &stp->st_stid); in nfsd4_process_open2()
5255 trace_nfsd_open(&stp->st_stid.sc_stateid); in nfsd4_process_open2()
5278 nfs4_put_stid(&stp->st_stid); in nfsd4_process_open2()
5295 nfs4_put_stid(&open->op_stp->st_stid); in nfsd4_cleanup_open_state()
5465 nfs4_put_stid(&stp->st_stid); in nfs4_laundromat()
5955 if (check_for_locks(stp->st_stid.sc_file, in nfsd4_free_lock_stateid()
6037 status = check_stateid_generation(stateid, &stp->st_stid.sc_stateid, nfsd4_has_session(cstate)); in nfs4_seqid_op_checks()
6039 status = nfs4_check_fh(current_fh, &stp->st_stid); in nfs4_seqid_op_checks()
6071 nfs4_put_stid(&stp->st_stid); in nfs4_preprocess_seqid_op()
6089 nfs4_put_stid(&stp->st_stid); in nfs4_preprocess_confirmed_seqid_op()
6125 nfs4_inc_and_copy_stateid(&oc->oc_resp_stateid, &stp->st_stid); in nfsd4_open_confirm()
6127 trace_nfsd_open_confirm(oc->oc_seqid, &stp->st_stid.sc_stateid); in nfsd4_open_confirm()
6131 nfs4_put_stid(&stp->st_stid); in nfsd4_open_confirm()
6141 nfs4_file_put_access(stp->st_stid.sc_file, access); in nfs4_stateid_downgrade_bit()
6197 nfs4_inc_and_copy_stateid(&od->od_stateid, &stp->st_stid); in nfsd4_open_downgrade()
6201 nfs4_put_stid(&stp->st_stid); in nfsd4_open_downgrade()
6209 struct nfs4_client *clp = s->st_stid.sc_client; in nfsd4_close_open_stateid()
6222 nfs4_free_cpntf_statelist(clp->net, &stp->st_stid); in nfsd4_close_open_stateid()
6256 stp->st_stid.sc_type = NFS4_CLOSED_STID; in nfsd4_close()
6264 nfs4_inc_and_copy_stateid(&close->cl_stateid, &stp->st_stid); in nfsd4_close()
6279 nfs4_put_stid(&stp->st_stid); in nfsd4_close()
6513 lockdep_assert_held(&ost->st_stid.sc_client->cl_lock); in find_lock_stateid()
6519 refcount_inc(&lst->st_stid.sc_count); in find_lock_stateid()
6543 refcount_inc(&stp->st_stid.sc_count); in init_lock_stateid()
6544 stp->st_stid.sc_type = NFS4_LOCK_STID; in init_lock_stateid()
6547 stp->st_stid.sc_file = fp; in init_lock_stateid()
6561 nfs4_put_stid(&retstp->st_stid); in init_lock_stateid()
6590 nfs4_put_stid(&lst->st_stid); in find_or_create_lock_stateid()
6614 struct nfs4_file *fp = lock_stp->st_stid.sc_file; in get_lock_access()
6631 struct nfs4_file *fi = ost->st_stid.sc_file; in lookup_or_create_lock_state()
6753 fp = lock_stp->st_stid.sc_file; in nfsd4_lock()
6825 nfs4_inc_and_copy_stateid(&lock->lk_resp_stateid, &lock_stp->st_stid); in nfsd4_lock()
6875 nfs4_put_stid(&lock_stp->st_stid); in nfsd4_lock()
6878 nfs4_put_stid(&open_stp->st_stid); in nfsd4_lock()
7014 nf = find_any_file(stp->st_stid.sc_file); in nfsd4_locku()
7043 nfs4_inc_and_copy_stateid(&locku->lu_stateid, &stp->st_stid); in nfsd4_locku()
7048 nfs4_put_stid(&stp->st_stid); in nfsd4_locku()