Lines Matching refs:nfs4_ol_stateid
445 set_access(u32 access, struct nfs4_ol_stateid *stp) in set_access()
455 clear_access(u32 access, struct nfs4_ol_stateid *stp) in clear_access()
465 test_access(u32 access, struct nfs4_ol_stateid *stp) in test_access()
474 set_deny(u32 deny, struct nfs4_ol_stateid *stp) in set_deny()
484 clear_deny(u32 deny, struct nfs4_ol_stateid *stp) in clear_deny()
494 test_deny(u32 deny, struct nfs4_ol_stateid *stp) in test_deny()
516 access_permit_read(struct nfs4_ol_stateid *stp) in access_permit_read()
524 access_permit_write(struct nfs4_ol_stateid *stp) in access_permit_write()
739 struct nfs4_ol_stateid *stp, u32 access, bool share_access) in nfs4_resolve_deny_conflicts_locked()
741 struct nfs4_ol_stateid *st; in nfs4_resolve_deny_conflicts_locked()
1049 static struct nfs4_ol_stateid * nfs4_alloc_open_stateid(struct nfs4_client *clp) in nfs4_alloc_open_stateid()
1427 struct nfs4_ol_stateid *stp; in recalculate_deny_mode()
1442 reset_union_bmap_deny(u32 deny, struct nfs4_ol_stateid *stp) in reset_union_bmap_deny()
1461 release_all_access(struct nfs4_ol_stateid *stp) in release_all_access()
1496 nfs4_ol_stateid_unhashed(const struct nfs4_ol_stateid *stp) in nfs4_ol_stateid_unhashed()
1501 static bool unhash_ol_stateid(struct nfs4_ol_stateid *stp) in unhash_ol_stateid()
1519 struct nfs4_ol_stateid *stp = openlockstateid(stid); in nfs4_free_ol_stateid()
1531 struct nfs4_ol_stateid *stp = openlockstateid(stid); in nfs4_free_lock_stateid()
1549 static void put_ol_stateid_locked(struct nfs4_ol_stateid *stp, in put_ol_stateid_locked()
1570 static bool unhash_lock_stateid(struct nfs4_ol_stateid *stp) in unhash_lock_stateid()
1581 static void release_lock_stateid(struct nfs4_ol_stateid *stp) in release_lock_stateid()
1609 struct nfs4_ol_stateid *stp; in free_ol_stateid_reaplist()
1615 stp = list_first_entry(reaplist, struct nfs4_ol_stateid, in free_ol_stateid_reaplist()
1625 static void release_open_stateid_locks(struct nfs4_ol_stateid *open_stp, in release_open_stateid_locks()
1628 struct nfs4_ol_stateid *stp; in release_open_stateid_locks()
1634 struct nfs4_ol_stateid, st_locks); in release_open_stateid_locks()
1640 static bool unhash_open_stateid(struct nfs4_ol_stateid *stp, in unhash_open_stateid()
1651 static void release_open_stateid(struct nfs4_ol_stateid *stp) in release_open_stateid()
1677 struct nfs4_ol_stateid *s; in release_last_closed_stateid()
1692 struct nfs4_ol_stateid *stp; in release_openowner()
1700 struct nfs4_ol_stateid, st_perstateowner); in release_openowner()
1760 struct nfs4_ol_stateid *stp; in nfsd4_revoke_states()
2794 struct nfs4_ol_stateid *ols; in nfs4_show_open()
2839 struct nfs4_ol_stateid *ols; in nfs4_show_lock()
4631 stateid_slab = KMEM_CACHE(nfs4_ol_stateid, 0); in nfsd4_init_slabs()
4790 static struct nfs4_ol_stateid *
4793 struct nfs4_ol_stateid *local, *ret = NULL; in nfsd4_find_existing_open()
4819 struct nfs4_ol_stateid *stp; in nfsd4_drop_revoked_stid()
4888 nfsd4_lock_ol_stateid(struct nfs4_ol_stateid *stp) in nfsd4_lock_ol_stateid()
4903 static struct nfs4_ol_stateid *
4906 struct nfs4_ol_stateid *stp; in nfsd4_find_and_lock_existing_open()
4961 static struct nfs4_ol_stateid *
4966 struct nfs4_ol_stateid *retstp = NULL; in init_open_stateid()
4967 struct nfs4_ol_stateid *stp; in init_open_stateid()
5017 move_to_close_lru(struct nfs4_ol_stateid *s, struct net *net) in move_to_close_lru()
5019 struct nfs4_ol_stateid *last; in move_to_close_lru()
5536 struct svc_fh *cur_fh, struct nfs4_ol_stateid *stp, in nfs4_get_vfs_file()
5624 struct svc_fh *cur_fh, struct nfs4_ol_stateid *stp, in nfs4_upgrade_open()
5692 struct nfs4_ol_stateid *st; in nfsd4_check_conflicting_opens()
5794 nfs4_set_delegation(struct nfsd4_open *open, struct nfs4_ol_stateid *stp, in nfs4_set_delegation()
5992 nfs4_open_delegation(struct nfsd4_open *open, struct nfs4_ol_stateid *stp, in nfs4_open_delegation()
6103 struct nfs4_ol_stateid *stp = NULL; in nfsd4_process_open2()
6381 struct nfs4_ol_stateid *stp; in nfs4_lockowner_has_blockers()
6540 struct nfs4_ol_stateid *stp; in nfs4_laundromat()
6721 __be32 nfs4_check_openmode(struct nfs4_ol_stateid *stp, int flags) in nfs4_check_openmode()
6797 static __be32 nfsd4_check_openowner_confirmed(struct nfs4_ol_stateid *ols) in nfsd4_check_openowner_confirmed()
6920 nfs4_check_olstateid(struct nfs4_ol_stateid *ols, int flags) in nfs4_check_olstateid()
7135 struct nfs4_ol_stateid *stp = openlockstateid(s); in nfsd4_free_lock_stateid()
7225 …ks(struct nfsd4_compound_state *cstate, stateid_t *stateid, u32 seqid, struct nfs4_ol_stateid *stp) in nfs4_seqid_op_checks()
7263 struct nfs4_ol_stateid **stpp, in nfs4_preprocess_seqid_op()
7268 struct nfs4_ol_stateid *stp = NULL; in nfs4_preprocess_seqid_op()
7293 stateid_t *stateid, struct nfs4_ol_stateid **stpp, struct nfsd_net *nn) in nfs4_preprocess_confirmed_seqid_op()
7297 struct nfs4_ol_stateid *stp; in nfs4_preprocess_confirmed_seqid_op()
7320 struct nfs4_ol_stateid *stp; in nfsd4_open_confirm()
7354 static inline void nfs4_stateid_downgrade_bit(struct nfs4_ol_stateid *stp, u32 access) in nfs4_stateid_downgrade_bit()
7362 static inline void nfs4_stateid_downgrade(struct nfs4_ol_stateid *stp, u32 to_access) in nfs4_stateid_downgrade()
7386 struct nfs4_ol_stateid *stp; in nfsd4_open_downgrade()
7424 static bool nfsd4_close_open_stateid(struct nfs4_ol_stateid *s) in nfsd4_close_open_stateid()
7429 struct nfs4_ol_stateid *stp; in nfsd4_close_open_stateid()
7458 struct nfs4_ol_stateid *stp; in nfsd4_close()
7727 struct nfs4_ol_stateid *open_stp, in alloc_init_lock_stateowner()
7753 static struct nfs4_ol_stateid *
7755 const struct nfs4_ol_stateid *ost) in find_lock_stateid()
7757 struct nfs4_ol_stateid *lst; in find_lock_stateid()
7772 static struct nfs4_ol_stateid *
7773 init_lock_stateid(struct nfs4_ol_stateid *stp, struct nfs4_lockowner *lo, in init_lock_stateid()
7775 struct nfs4_ol_stateid *open_stp) in init_lock_stateid()
7778 struct nfs4_ol_stateid *retstp; in init_lock_stateid()
7819 static struct nfs4_ol_stateid *
7821 struct inode *inode, struct nfs4_ol_stateid *ost, in find_or_create_lock_stateid()
7825 struct nfs4_ol_stateid *lst; in find_or_create_lock_stateid()
7858 static void get_lock_access(struct nfs4_ol_stateid *lock_stp, u32 access) in get_lock_access()
7872 struct nfs4_ol_stateid *ost, in lookup_or_create_lock_state()
7874 struct nfs4_ol_stateid **plst, bool *new) in lookup_or_create_lock_state()
7882 struct nfs4_ol_stateid *lst; in lookup_or_create_lock_state()
7922 struct nfs4_ol_stateid *lock_stp = NULL; in nfsd4_lock()
7923 struct nfs4_ol_stateid *open_stp = NULL; in nfsd4_lock()
8278 struct nfs4_ol_stateid *stp; in nfsd4_locku()
8406 struct nfs4_ol_stateid *stp; in nfsd4_release_lockowner()
8437 struct nfs4_ol_stateid, in nfsd4_release_lockowner()