Lines Matching refs:nfs4_ol_stateid

716 static struct nfs4_ol_stateid * nfs4_alloc_open_stateid(struct nfs4_client *clp)  in nfs4_alloc_open_stateid()
1068 set_access(u32 access, struct nfs4_ol_stateid *stp) in set_access()
1078 clear_access(u32 access, struct nfs4_ol_stateid *stp) in clear_access()
1088 test_access(u32 access, struct nfs4_ol_stateid *stp) in test_access()
1097 set_deny(u32 deny, struct nfs4_ol_stateid *stp) in set_deny()
1107 clear_deny(u32 deny, struct nfs4_ol_stateid *stp) in clear_deny()
1117 test_deny(u32 deny, struct nfs4_ol_stateid *stp) in test_deny()
1145 struct nfs4_ol_stateid *stp; in recalculate_deny_mode()
1155 reset_union_bmap_deny(u32 deny, struct nfs4_ol_stateid *stp) in reset_union_bmap_deny()
1174 release_all_access(struct nfs4_ol_stateid *stp) in release_all_access()
1208 static bool unhash_ol_stateid(struct nfs4_ol_stateid *stp) in unhash_ol_stateid()
1226 struct nfs4_ol_stateid *stp = openlockstateid(stid); in nfs4_free_ol_stateid()
1237 struct nfs4_ol_stateid *stp = openlockstateid(stid); in nfs4_free_lock_stateid()
1252 static void put_ol_stateid_locked(struct nfs4_ol_stateid *stp, in put_ol_stateid_locked()
1271 static bool unhash_lock_stateid(struct nfs4_ol_stateid *stp) in unhash_lock_stateid()
1280 static void release_lock_stateid(struct nfs4_ol_stateid *stp) in release_lock_stateid()
1308 struct nfs4_ol_stateid *stp; in free_ol_stateid_reaplist()
1314 stp = list_first_entry(reaplist, struct nfs4_ol_stateid, in free_ol_stateid_reaplist()
1324 static void release_open_stateid_locks(struct nfs4_ol_stateid *open_stp, in release_open_stateid_locks()
1327 struct nfs4_ol_stateid *stp; in release_open_stateid_locks()
1333 struct nfs4_ol_stateid, st_locks); in release_open_stateid_locks()
1339 static bool unhash_open_stateid(struct nfs4_ol_stateid *stp, in unhash_open_stateid()
1351 static void release_open_stateid(struct nfs4_ol_stateid *stp) in release_open_stateid()
1376 struct nfs4_ol_stateid *s; in release_last_closed_stateid()
1391 struct nfs4_ol_stateid *stp; in release_openowner()
1401 struct nfs4_ol_stateid, st_perstateowner); in release_openowner()
3512 sizeof(struct nfs4_ol_stateid), 0, 0, NULL); in nfsd4_init_slabs()
3618 static struct nfs4_ol_stateid *
3621 struct nfs4_ol_stateid *local, *ret = NULL; in nfsd4_find_existing_open()
3662 nfsd4_lock_ol_stateid(struct nfs4_ol_stateid *stp) in nfsd4_lock_ol_stateid()
3673 static struct nfs4_ol_stateid *
3676 struct nfs4_ol_stateid *stp; in nfsd4_find_and_lock_existing_open()
3719 static struct nfs4_ol_stateid *
3724 struct nfs4_ol_stateid *retstp = NULL; in init_open_stateid()
3725 struct nfs4_ol_stateid *stp; in init_open_stateid()
3775 move_to_close_lru(struct nfs4_ol_stateid *s, struct net *net) in move_to_close_lru()
3777 struct nfs4_ol_stateid *last; in move_to_close_lru()
4195 struct svc_fh *cur_fh, struct nfs4_ol_stateid *stp, in nfs4_get_vfs_file()
4260 …svc_rqst *rqstp, struct nfs4_file *fp, struct svc_fh *cur_fh, struct nfs4_ol_stateid *stp, struct … in nfs4_upgrade_open()
4428 struct nfs4_ol_stateid *stp) in nfs4_open_delegation()
4520 struct nfs4_ol_stateid *stp = NULL; in nfsd4_process_open2()
4727 struct nfs4_ol_stateid *stp; in nfs4_laundromat()
4865 access_permit_read(struct nfs4_ol_stateid *stp) in access_permit_read()
4873 access_permit_write(struct nfs4_ol_stateid *stp) in access_permit_write()
4880 __be32 nfs4_check_openmode(struct nfs4_ol_stateid *stp, int flags) in nfs4_check_openmode()
4963 static __be32 nfsd4_check_openowner_confirmed(struct nfs4_ol_stateid *ols) in nfsd4_check_openowner_confirmed()
5082 nfs4_check_olstateid(struct svc_fh *fhp, struct nfs4_ol_stateid *ols, int flags) in nfs4_check_olstateid()
5205 struct nfs4_ol_stateid *stp = openlockstateid(s); in nfsd4_free_lock_stateid()
5287 …ks(struct nfsd4_compound_state *cstate, stateid_t *stateid, u32 seqid, struct nfs4_ol_stateid *stp) in nfs4_seqid_op_checks()
5313 struct nfs4_ol_stateid **stpp, in nfs4_preprocess_seqid_op()
5318 struct nfs4_ol_stateid *stp = NULL; in nfs4_preprocess_seqid_op()
5339 stateid_t *stateid, struct nfs4_ol_stateid **stpp, struct nfsd_net *nn) in nfs4_preprocess_confirmed_seqid_op()
5343 struct nfs4_ol_stateid *stp; in nfs4_preprocess_confirmed_seqid_op()
5366 struct nfs4_ol_stateid *stp; in nfsd4_open_confirm()
5402 static inline void nfs4_stateid_downgrade_bit(struct nfs4_ol_stateid *stp, u32 access) in nfs4_stateid_downgrade_bit()
5410 static inline void nfs4_stateid_downgrade(struct nfs4_ol_stateid *stp, u32 to_access) in nfs4_stateid_downgrade()
5434 struct nfs4_ol_stateid *stp; in nfsd4_open_downgrade()
5472 static void nfsd4_close_open_stateid(struct nfs4_ol_stateid *s) in nfsd4_close_open_stateid()
5503 struct nfs4_ol_stateid *stp; in nfsd4_close()
5744 struct nfs4_ol_stateid *open_stp, in alloc_init_lock_stateowner()
5770 static struct nfs4_ol_stateid *
5773 struct nfs4_ol_stateid *lst; in find_lock_stateid()
5789 static struct nfs4_ol_stateid *
5790 init_lock_stateid(struct nfs4_ol_stateid *stp, struct nfs4_lockowner *lo, in init_lock_stateid()
5792 struct nfs4_ol_stateid *open_stp) in init_lock_stateid()
5795 struct nfs4_ol_stateid *retstp; in init_lock_stateid()
5832 static struct nfs4_ol_stateid *
5834 struct inode *inode, struct nfs4_ol_stateid *ost, in find_or_create_lock_stateid()
5838 struct nfs4_ol_stateid *lst; in find_or_create_lock_stateid()
5871 static void get_lock_access(struct nfs4_ol_stateid *lock_stp, u32 access) in get_lock_access()
5885 struct nfs4_ol_stateid *ost, in lookup_or_create_lock_state()
5887 struct nfs4_ol_stateid **plst, bool *new) in lookup_or_create_lock_state()
5895 struct nfs4_ol_stateid *lst; in lookup_or_create_lock_state()
5935 struct nfs4_ol_stateid *lock_stp = NULL; in nfsd4_lock()
5936 struct nfs4_ol_stateid *open_stp = NULL; in nfsd4_lock()
6243 struct nfs4_ol_stateid *stp; in nfsd4_locku()
6354 struct nfs4_ol_stateid *stp; in nfsd4_release_lockowner()
6399 struct nfs4_ol_stateid, in nfsd4_release_lockowner()
6627 nfsd_inject_add_lock_to_list(struct nfs4_ol_stateid *lst, in nfsd_inject_add_lock_to_list()
6644 bool (*func)(struct nfs4_ol_stateid *)) in nfsd_foreach_client_lock() argument
6647 struct nfs4_ol_stateid *stp, *st_next; in nfsd_foreach_client_lock()
6648 struct nfs4_ol_stateid *lst, *lst_next; in nfsd_foreach_client_lock()
6720 struct nfs4_ol_stateid *stp, *next; in nfsd_reap_locks()