Lines Matching refs:st_stid
605 stp->st_stid.sc_free = nfs4_free_ol_stateid; in nfs4_alloc_open_stateid()
1046 recalculate_deny_mode(stp->st_stid.sc_file); in reset_union_bmap_deny()
1054 struct nfs4_file *fp = stp->st_stid.sc_file; in release_all_access()
1061 nfs4_file_put_access(stp->st_stid.sc_file, i); in release_all_access()
1087 struct nfs4_file *fp = stp->st_stid.sc_file; in unhash_ol_stateid()
1118 file = find_any_file(stp->st_stid.sc_file); in nfs4_free_lock_stateid()
1132 struct nfs4_stid *s = &stp->st_stid; in put_ol_stateid_locked()
1155 nfs4_unhash_stid(&stp->st_stid); in unhash_lock_stateid()
1168 nfs4_put_stid(&stp->st_stid); in release_lock_stateid()
1196 fp = stp->st_stid.sc_file; in free_ol_stateid_reaplist()
1197 stp->st_stid.sc_free(&stp->st_stid); in free_ol_stateid_reaplist()
1229 lockdep_assert_held(&open_stp->st_stid.sc_client->cl_lock); in release_open_stateid_locks()
1244 lockdep_assert_held(&stp->st_stid.sc_client->cl_lock); in unhash_open_stateid()
1255 spin_lock(&stp->st_stid.sc_client->cl_lock); in release_open_stateid()
1258 spin_unlock(&stp->st_stid.sc_client->cl_lock); in release_open_stateid()
1286 nfs4_put_stid(&s->st_stid); in release_last_closed_stateid()
3409 atomic_inc(&ret->st_stid.sc_count); in nfsd4_find_existing_open()
3461 atomic_inc(&stp->st_stid.sc_count); in init_open_stateid()
3462 stp->st_stid.sc_type = NFS4_OPEN_STID; in init_open_stateid()
3466 stp->st_stid.sc_file = fp; in init_open_stateid()
3490 struct nfsd_net *nn = net_generic(s->st_stid.sc_client->net, in move_to_close_lru()
3504 wait_event(close_wq, atomic_read(&s->st_stid.sc_count) == 2); in move_to_close_lru()
3507 if (s->st_stid.sc_file) { in move_to_close_lru()
3508 put_nfs4_file(s->st_stid.sc_file); in move_to_close_lru()
3509 s->st_stid.sc_file = NULL; in move_to_close_lru()
3519 nfs4_put_stid(&last->st_stid); in move_to_close_lru()
4184 struct nfs4_client *clp = stp->st_stid.sc_client; in nfs4_open_delegation()
4223 dp = nfs4_set_delegation(clp, fh, stp->st_stid.sc_file, stp->st_clnt_odstate); in nfs4_open_delegation()
4314 nfs4_put_stid(&stp->st_stid); in nfsd4_process_open2()
4339 nfs4_inc_and_copy_stateid(&open->op_stateid, &stp->st_stid); in nfsd4_process_open2()
4359 STATEID_VAL(&stp->st_stid.sc_stateid)); in nfsd4_process_open2()
4380 nfs4_put_stid(&stp->st_stid); in nfsd4_process_open2()
4397 nfs4_put_stid(&open->op_stp->st_stid); in nfsd4_cleanup_open_state()
4528 nfs4_put_stid(&stp->st_stid); in nfs4_laundromat()
4906 if (check_for_locks(stp->st_stid.sc_file, in nfsd4_free_stateid()
4945 if (stp->st_stid.sc_type == NFS4_CLOSED_STID in nfs4_seqid_op_checks()
4946 || stp->st_stid.sc_type == NFS4_REVOKED_DELEG_STID) in nfs4_seqid_op_checks()
4954 status = check_stateid_generation(stateid, &stp->st_stid.sc_stateid, nfsd4_has_session(cstate)); in nfs4_seqid_op_checks()
4956 status = nfs4_check_fh(current_fh, &stp->st_stid); in nfs4_seqid_op_checks()
4989 nfs4_put_stid(&stp->st_stid); in nfs4_preprocess_seqid_op()
5007 nfs4_put_stid(&stp->st_stid); in nfs4_preprocess_confirmed_seqid_op()
5042 nfs4_inc_and_copy_stateid(&oc->oc_resp_stateid, &stp->st_stid); in nfsd4_open_confirm()
5045 __func__, oc->oc_seqid, STATEID_VAL(&stp->st_stid.sc_stateid)); in nfsd4_open_confirm()
5050 nfs4_put_stid(&stp->st_stid); in nfsd4_open_confirm()
5060 nfs4_file_put_access(stp->st_stid.sc_file, access); in nfs4_stateid_downgrade_bit()
5116 nfs4_inc_and_copy_stateid(&od->od_stateid, &stp->st_stid); in nfsd4_open_downgrade()
5120 nfs4_put_stid(&stp->st_stid); in nfsd4_open_downgrade()
5128 struct nfs4_client *clp = s->st_stid.sc_client; in nfsd4_close_open_stateid()
5132 s->st_stid.sc_type = NFS4_CLOSED_STID; in nfsd4_close_open_stateid()
5171 nfs4_inc_and_copy_stateid(&close->cl_stateid, &stp->st_stid); in nfsd4_close()
5177 nfs4_put_stid(&stp->st_stid); in nfsd4_close()
5389 atomic_inc(&stp->st_stid.sc_count); in init_lock_stateid()
5390 stp->st_stid.sc_type = NFS4_LOCK_STID; in init_lock_stateid()
5393 stp->st_stid.sc_file = fp; in init_lock_stateid()
5394 stp->st_stid.sc_free = nfs4_free_lock_stateid; in init_lock_stateid()
5415 if (lst->st_stid.sc_file == fp) { in find_lock_stateid()
5416 atomic_inc(&lst->st_stid.sc_count); in find_lock_stateid()
5465 struct nfs4_file *fp = lock_stp->st_stid.sc_file; in get_lock_access()
5482 struct nfs4_file *fi = ost->st_stid.sc_file; in lookup_or_create_lock_state()
5606 fp = lock_stp->st_stid.sc_file; in nfsd4_lock()
5654 nfs4_inc_and_copy_stateid(&lock->lk_resp_stateid, &lock_stp->st_stid); in nfsd4_lock()
5689 nfs4_put_stid(&lock_stp->st_stid); in nfsd4_lock()
5692 nfs4_put_stid(&open_stp->st_stid); in nfsd4_lock()
5817 filp = find_any_file(stp->st_stid.sc_file); in nfsd4_locku()
5846 nfs4_inc_and_copy_stateid(&locku->lu_stateid, &stp->st_stid); in nfsd4_locku()
5851 nfs4_put_stid(&stp->st_stid); in nfsd4_locku()
5934 if (check_for_locks(stp->st_stid.sc_file, lo)) { in nfsd4_release_lockowner()
6168 struct nfs4_client *clp = lst->st_stid.sc_client; in nfsd_inject_add_lock_to_list()
6262 clp = stp->st_stid.sc_client; in nfsd_reap_locks()
6263 nfs4_put_stid(&stp->st_stid); in nfsd_reap_locks()