Lines Matching refs:nfs4_ol_stateid

595 static struct nfs4_ol_stateid * nfs4_alloc_open_stateid(struct nfs4_client *clp)  in nfs4_alloc_open_stateid()
598 struct nfs4_ol_stateid *stp; in nfs4_alloc_open_stateid()
945 set_access(u32 access, struct nfs4_ol_stateid *stp) in set_access()
955 clear_access(u32 access, struct nfs4_ol_stateid *stp) in clear_access()
965 test_access(u32 access, struct nfs4_ol_stateid *stp) in test_access()
974 set_deny(u32 deny, struct nfs4_ol_stateid *stp) in set_deny()
984 clear_deny(u32 deny, struct nfs4_ol_stateid *stp) in clear_deny()
994 test_deny(u32 deny, struct nfs4_ol_stateid *stp) in test_deny()
1022 struct nfs4_ol_stateid *stp; in recalculate_deny_mode()
1032 reset_union_bmap_deny(u32 deny, struct nfs4_ol_stateid *stp) in reset_union_bmap_deny()
1051 release_all_access(struct nfs4_ol_stateid *stp) in release_all_access()
1085 static bool unhash_ol_stateid(struct nfs4_ol_stateid *stp) in unhash_ol_stateid()
1103 struct nfs4_ol_stateid *stp = openlockstateid(stid); in nfs4_free_ol_stateid()
1114 struct nfs4_ol_stateid *stp = openlockstateid(stid); in nfs4_free_lock_stateid()
1129 static void put_ol_stateid_locked(struct nfs4_ol_stateid *stp, in put_ol_stateid_locked()
1148 static bool unhash_lock_stateid(struct nfs4_ol_stateid *stp) in unhash_lock_stateid()
1159 static void release_lock_stateid(struct nfs4_ol_stateid *stp) in release_lock_stateid()
1187 struct nfs4_ol_stateid *stp; in free_ol_stateid_reaplist()
1193 stp = list_first_entry(reaplist, struct nfs4_ol_stateid, in free_ol_stateid_reaplist()
1206 struct nfs4_ol_stateid *stp; in release_lockowner()
1215 struct nfs4_ol_stateid, st_perstateowner); in release_lockowner()
1224 static void release_open_stateid_locks(struct nfs4_ol_stateid *open_stp, in release_open_stateid_locks()
1227 struct nfs4_ol_stateid *stp; in release_open_stateid_locks()
1233 struct nfs4_ol_stateid, st_locks); in release_open_stateid_locks()
1239 static bool unhash_open_stateid(struct nfs4_ol_stateid *stp, in unhash_open_stateid()
1251 static void release_open_stateid(struct nfs4_ol_stateid *stp) in release_open_stateid()
1276 struct nfs4_ol_stateid *s; in release_last_closed_stateid()
1291 struct nfs4_ol_stateid *stp; in release_openowner()
1301 struct nfs4_ol_stateid, st_perstateowner); in release_openowner()
3291 sizeof(struct nfs4_ol_stateid), 0, 0, NULL); in nfsd4_init_slabs()
3395 static struct nfs4_ol_stateid *
3398 struct nfs4_ol_stateid *local, *ret = NULL; in nfsd4_find_existing_open()
3447 static struct nfs4_ol_stateid *
3448 init_open_stateid(struct nfs4_ol_stateid *stp, struct nfs4_file *fp, in init_open_stateid()
3453 struct nfs4_ol_stateid *retstp = NULL; in init_open_stateid()
3486 move_to_close_lru(struct nfs4_ol_stateid *s, struct net *net) in move_to_close_lru()
3488 struct nfs4_ol_stateid *last; in move_to_close_lru()
3915 struct svc_fh *cur_fh, struct nfs4_ol_stateid *stp, in nfs4_get_vfs_file()
3980 …svc_rqst *rqstp, struct nfs4_file *fp, struct svc_fh *cur_fh, struct nfs4_ol_stateid *stp, struct … in nfs4_upgrade_open()
4180 struct nfs4_ol_stateid *stp) in nfs4_open_delegation()
4272 struct nfs4_ol_stateid *stp = NULL; in nfsd4_process_open2()
4273 struct nfs4_ol_stateid *swapstp = NULL; in nfsd4_process_open2()
4464 struct nfs4_ol_stateid *stp; in nfs4_laundromat()
4562 access_permit_read(struct nfs4_ol_stateid *stp) in access_permit_read()
4570 access_permit_write(struct nfs4_ol_stateid *stp) in access_permit_write()
4577 __be32 nfs4_check_openmode(struct nfs4_ol_stateid *stp, int flags) in nfs4_check_openmode()
4654 static __be32 nfsd4_check_openowner_confirmed(struct nfs4_ol_stateid *ols) in nfsd4_check_openowner_confirmed()
4755 nfs4_check_olstateid(struct svc_fh *fhp, struct nfs4_ol_stateid *ols, int flags) in nfs4_check_olstateid()
4882 struct nfs4_ol_stateid *stp; in nfsd4_free_stateid()
4936 …ks(struct nfsd4_compound_state *cstate, stateid_t *stateid, u32 seqid, struct nfs4_ol_stateid *stp) in nfs4_seqid_op_checks()
4968 struct nfs4_ol_stateid **stpp, in nfs4_preprocess_seqid_op()
4973 struct nfs4_ol_stateid *stp = NULL; in nfs4_preprocess_seqid_op()
4994 stateid_t *stateid, struct nfs4_ol_stateid **stpp, struct nfsd_net *nn) in nfs4_preprocess_confirmed_seqid_op()
4998 struct nfs4_ol_stateid *stp; in nfs4_preprocess_confirmed_seqid_op()
5020 struct nfs4_ol_stateid *stp; in nfsd4_open_confirm()
5056 static inline void nfs4_stateid_downgrade_bit(struct nfs4_ol_stateid *stp, u32 access) in nfs4_stateid_downgrade_bit()
5064 static inline void nfs4_stateid_downgrade(struct nfs4_ol_stateid *stp, u32 to_access) in nfs4_stateid_downgrade()
5088 struct nfs4_ol_stateid *stp; in nfsd4_open_downgrade()
5126 static void nfsd4_close_open_stateid(struct nfs4_ol_stateid *s) in nfsd4_close_open_stateid()
5157 struct nfs4_ol_stateid *stp; in nfsd4_close()
5355 struct nfs4_ol_stateid *open_stp, in alloc_init_lock_stateowner()
5381 init_lock_stateid(struct nfs4_ol_stateid *stp, struct nfs4_lockowner *lo, in init_lock_stateid()
5383 struct nfs4_ol_stateid *open_stp) in init_lock_stateid()
5406 static struct nfs4_ol_stateid *
5409 struct nfs4_ol_stateid *lst; in find_lock_stateid()
5423 static struct nfs4_ol_stateid *
5425 struct inode *inode, struct nfs4_ol_stateid *ost, in find_or_create_lock_stateid()
5429 struct nfs4_ol_stateid *lst; in find_or_create_lock_stateid()
5463 static void get_lock_access(struct nfs4_ol_stateid *lock_stp, u32 access) in get_lock_access()
5477 struct nfs4_ol_stateid *ost, in lookup_or_create_lock_state()
5479 struct nfs4_ol_stateid **lst, bool *new) in lookup_or_create_lock_state()
5523 struct nfs4_ol_stateid *lock_stp = NULL; in nfsd4_lock()
5524 struct nfs4_ol_stateid *open_stp = NULL; in nfsd4_lock()
5798 struct nfs4_ol_stateid *stp; in nfsd4_locku()
5908 struct nfs4_ol_stateid *stp; in nfsd4_release_lockowner()
6165 nfsd_inject_add_lock_to_list(struct nfs4_ol_stateid *lst, in nfsd_inject_add_lock_to_list()
6182 bool (*func)(struct nfs4_ol_stateid *)) in nfsd_foreach_client_lock() argument
6185 struct nfs4_ol_stateid *stp, *st_next; in nfsd_foreach_client_lock()
6186 struct nfs4_ol_stateid *lst, *lst_next; in nfsd_foreach_client_lock()
6258 struct nfs4_ol_stateid *stp, *next; in nfsd_reap_locks()