Lines Matching refs:nfs4_ol_stateid

594 static struct nfs4_ol_stateid * nfs4_alloc_open_stateid(struct nfs4_client *clp)  in nfs4_alloc_open_stateid()
597 struct nfs4_ol_stateid *stp; in nfs4_alloc_open_stateid()
932 set_access(u32 access, struct nfs4_ol_stateid *stp) in set_access()
942 clear_access(u32 access, struct nfs4_ol_stateid *stp) in clear_access()
952 test_access(u32 access, struct nfs4_ol_stateid *stp) in test_access()
961 set_deny(u32 deny, struct nfs4_ol_stateid *stp) in set_deny()
971 clear_deny(u32 deny, struct nfs4_ol_stateid *stp) in clear_deny()
981 test_deny(u32 deny, struct nfs4_ol_stateid *stp) in test_deny()
1009 struct nfs4_ol_stateid *stp; in recalculate_deny_mode()
1019 reset_union_bmap_deny(u32 deny, struct nfs4_ol_stateid *stp) in reset_union_bmap_deny()
1038 release_all_access(struct nfs4_ol_stateid *stp) in release_all_access()
1067 static bool unhash_ol_stateid(struct nfs4_ol_stateid *stp) in unhash_ol_stateid()
1085 struct nfs4_ol_stateid *stp = openlockstateid(stid); in nfs4_free_ol_stateid()
1096 struct nfs4_ol_stateid *stp = openlockstateid(stid); in nfs4_free_lock_stateid()
1111 static void put_ol_stateid_locked(struct nfs4_ol_stateid *stp, in put_ol_stateid_locked()
1130 static bool unhash_lock_stateid(struct nfs4_ol_stateid *stp) in unhash_lock_stateid()
1141 static void release_lock_stateid(struct nfs4_ol_stateid *stp) in release_lock_stateid()
1169 struct nfs4_ol_stateid *stp; in free_ol_stateid_reaplist()
1175 stp = list_first_entry(reaplist, struct nfs4_ol_stateid, in free_ol_stateid_reaplist()
1188 struct nfs4_ol_stateid *stp; in release_lockowner()
1197 struct nfs4_ol_stateid, st_perstateowner); in release_lockowner()
1206 static void release_open_stateid_locks(struct nfs4_ol_stateid *open_stp, in release_open_stateid_locks()
1209 struct nfs4_ol_stateid *stp; in release_open_stateid_locks()
1215 struct nfs4_ol_stateid, st_locks); in release_open_stateid_locks()
1221 static bool unhash_open_stateid(struct nfs4_ol_stateid *stp, in unhash_open_stateid()
1233 static void release_open_stateid(struct nfs4_ol_stateid *stp) in release_open_stateid()
1258 struct nfs4_ol_stateid *s; in release_last_closed_stateid()
1273 struct nfs4_ol_stateid *stp; in release_openowner()
1283 struct nfs4_ol_stateid, st_perstateowner); in release_openowner()
3260 sizeof(struct nfs4_ol_stateid), 0, 0, NULL); in nfsd4_init_slabs()
3394 static void init_open_stateid(struct nfs4_ol_stateid *stp, struct nfs4_file *fp, struct nfsd4_open … in init_open_stateid()
3421 move_to_close_lru(struct nfs4_ol_stateid *s, struct net *net) in move_to_close_lru()
3423 struct nfs4_ol_stateid *last; in move_to_close_lru()
3820 static struct nfs4_ol_stateid *
3823 struct nfs4_ol_stateid *local, *ret = NULL; in nfsd4_find_existing_open()
3868 struct svc_fh *cur_fh, struct nfs4_ol_stateid *stp, in nfs4_get_vfs_file()
3933 …svc_rqst *rqstp, struct nfs4_file *fp, struct svc_fh *cur_fh, struct nfs4_ol_stateid *stp, struct … in nfs4_upgrade_open()
4140 struct nfs4_ol_stateid *stp) in nfs4_open_delegation()
4231 struct nfs4_ol_stateid *stp = NULL; in nfsd4_process_open2()
4408 struct nfs4_ol_stateid *stp; in nfs4_laundromat()
4508 access_permit_read(struct nfs4_ol_stateid *stp) in access_permit_read()
4516 access_permit_write(struct nfs4_ol_stateid *stp) in access_permit_write()
4523 __be32 nfs4_check_openmode(struct nfs4_ol_stateid *stp, int flags) in nfs4_check_openmode()
4600 static __be32 nfsd4_check_openowner_confirmed(struct nfs4_ol_stateid *ols) in nfsd4_check_openowner_confirmed()
4698 nfs4_check_olstateid(struct svc_fh *fhp, struct nfs4_ol_stateid *ols, int flags) in nfs4_check_olstateid()
4790 struct nfs4_ol_stateid *stp; in nfsd4_free_stateid()
4844 …ks(struct nfsd4_compound_state *cstate, stateid_t *stateid, u32 seqid, struct nfs4_ol_stateid *stp) in nfs4_seqid_op_checks()
4876 struct nfs4_ol_stateid **stpp, in nfs4_preprocess_seqid_op()
4881 struct nfs4_ol_stateid *stp = NULL; in nfs4_preprocess_seqid_op()
4902 stateid_t *stateid, struct nfs4_ol_stateid **stpp, struct nfsd_net *nn) in nfs4_preprocess_confirmed_seqid_op()
4906 struct nfs4_ol_stateid *stp; in nfs4_preprocess_confirmed_seqid_op()
4928 struct nfs4_ol_stateid *stp; in nfsd4_open_confirm()
4965 static inline void nfs4_stateid_downgrade_bit(struct nfs4_ol_stateid *stp, u32 access) in nfs4_stateid_downgrade_bit()
4973 static inline void nfs4_stateid_downgrade(struct nfs4_ol_stateid *stp, u32 to_access) in nfs4_stateid_downgrade()
4997 struct nfs4_ol_stateid *stp; in nfsd4_open_downgrade()
5038 static void nfsd4_close_open_stateid(struct nfs4_ol_stateid *s) in nfsd4_close_open_stateid()
5069 struct nfs4_ol_stateid *stp; in nfsd4_close()
5273 struct nfs4_ol_stateid *open_stp, in alloc_init_lock_stateowner()
5299 init_lock_stateid(struct nfs4_ol_stateid *stp, struct nfs4_lockowner *lo, in init_lock_stateid()
5301 struct nfs4_ol_stateid *open_stp) in init_lock_stateid()
5324 static struct nfs4_ol_stateid *
5327 struct nfs4_ol_stateid *lst; in find_lock_stateid()
5341 static struct nfs4_ol_stateid *
5343 struct inode *inode, struct nfs4_ol_stateid *ost, in find_or_create_lock_stateid()
5347 struct nfs4_ol_stateid *lst; in find_or_create_lock_stateid()
5381 static void get_lock_access(struct nfs4_ol_stateid *lock_stp, u32 access) in get_lock_access()
5395 struct nfs4_ol_stateid *ost, in lookup_or_create_lock_state()
5397 struct nfs4_ol_stateid **lst, bool *new) in lookup_or_create_lock_state()
5441 struct nfs4_ol_stateid *lock_stp = NULL; in nfsd4_lock()
5442 struct nfs4_ol_stateid *open_stp = NULL; in nfsd4_lock()
5719 struct nfs4_ol_stateid *stp; in nfsd4_locku()
5830 struct nfs4_ol_stateid *stp; in nfsd4_release_lockowner()
6087 nfsd_inject_add_lock_to_list(struct nfs4_ol_stateid *lst, in nfsd_inject_add_lock_to_list()
6104 bool (*func)(struct nfs4_ol_stateid *)) in nfsd_foreach_client_lock() argument
6107 struct nfs4_ol_stateid *stp, *st_next; in nfsd_foreach_client_lock()
6108 struct nfs4_ol_stateid *lst, *lst_next; in nfsd_foreach_client_lock()
6180 struct nfs4_ol_stateid *stp, *next; in nfsd_reap_locks()