Lines Matching refs:nfs4_ol_stateid

833 static struct nfs4_ol_stateid * nfs4_alloc_open_stateid(struct nfs4_client *clp)  in nfs4_alloc_open_stateid()
1192 set_access(u32 access, struct nfs4_ol_stateid *stp) in set_access()
1202 clear_access(u32 access, struct nfs4_ol_stateid *stp) in clear_access()
1212 test_access(u32 access, struct nfs4_ol_stateid *stp) in test_access()
1221 set_deny(u32 deny, struct nfs4_ol_stateid *stp) in set_deny()
1231 clear_deny(u32 deny, struct nfs4_ol_stateid *stp) in clear_deny()
1241 test_deny(u32 deny, struct nfs4_ol_stateid *stp) in test_deny()
1269 struct nfs4_ol_stateid *stp; in recalculate_deny_mode()
1279 reset_union_bmap_deny(u32 deny, struct nfs4_ol_stateid *stp) in reset_union_bmap_deny()
1298 release_all_access(struct nfs4_ol_stateid *stp) in release_all_access()
1333 nfs4_ol_stateid_unhashed(const struct nfs4_ol_stateid *stp) in nfs4_ol_stateid_unhashed()
1338 static bool unhash_ol_stateid(struct nfs4_ol_stateid *stp) in unhash_ol_stateid()
1356 struct nfs4_ol_stateid *stp = openlockstateid(stid); in nfs4_free_ol_stateid()
1368 struct nfs4_ol_stateid *stp = openlockstateid(stid); in nfs4_free_lock_stateid()
1386 static void put_ol_stateid_locked(struct nfs4_ol_stateid *stp, in put_ol_stateid_locked()
1405 static bool unhash_lock_stateid(struct nfs4_ol_stateid *stp) in unhash_lock_stateid()
1416 static void release_lock_stateid(struct nfs4_ol_stateid *stp) in release_lock_stateid()
1444 struct nfs4_ol_stateid *stp; in free_ol_stateid_reaplist()
1450 stp = list_first_entry(reaplist, struct nfs4_ol_stateid, in free_ol_stateid_reaplist()
1460 static void release_open_stateid_locks(struct nfs4_ol_stateid *open_stp, in release_open_stateid_locks()
1463 struct nfs4_ol_stateid *stp; in release_open_stateid_locks()
1469 struct nfs4_ol_stateid, st_locks); in release_open_stateid_locks()
1475 static bool unhash_open_stateid(struct nfs4_ol_stateid *stp, in unhash_open_stateid()
1486 static void release_open_stateid(struct nfs4_ol_stateid *stp) in release_open_stateid()
1511 struct nfs4_ol_stateid *s; in release_last_closed_stateid()
1526 struct nfs4_ol_stateid *stp; in release_openowner()
1536 struct nfs4_ol_stateid, st_perstateowner); in release_openowner()
2454 struct nfs4_ol_stateid *ols; in nfs4_show_open()
2496 struct nfs4_ol_stateid *ols; in nfs4_show_lock()
4138 sizeof(struct nfs4_ol_stateid), 0, 0, NULL); in nfsd4_init_slabs()
4242 static struct nfs4_ol_stateid *
4245 struct nfs4_ol_stateid *local, *ret = NULL; in nfsd4_find_existing_open()
4286 nfsd4_lock_ol_stateid(struct nfs4_ol_stateid *stp) in nfsd4_lock_ol_stateid()
4297 static struct nfs4_ol_stateid *
4300 struct nfs4_ol_stateid *stp; in nfsd4_find_and_lock_existing_open()
4343 static struct nfs4_ol_stateid *
4348 struct nfs4_ol_stateid *retstp = NULL; in init_open_stateid()
4349 struct nfs4_ol_stateid *stp; in init_open_stateid()
4399 move_to_close_lru(struct nfs4_ol_stateid *s, struct net *net) in move_to_close_lru()
4401 struct nfs4_ol_stateid *last; in move_to_close_lru()
4852 struct svc_fh *cur_fh, struct nfs4_ol_stateid *stp, in nfs4_get_vfs_file()
4922 …svc_rqst *rqstp, struct nfs4_file *fp, struct svc_fh *cur_fh, struct nfs4_ol_stateid *stp, struct … in nfs4_upgrade_open()
5089 struct nfs4_ol_stateid *stp) in nfs4_open_delegation()
5180 struct nfs4_ol_stateid *stp = NULL; in nfsd4_process_open2()
5387 struct nfs4_ol_stateid *stp; in nfs4_laundromat()
5530 access_permit_read(struct nfs4_ol_stateid *stp) in access_permit_read()
5538 access_permit_write(struct nfs4_ol_stateid *stp) in access_permit_write()
5545 __be32 nfs4_check_openmode(struct nfs4_ol_stateid *stp, int flags) in nfs4_check_openmode()
5628 static __be32 nfsd4_check_openowner_confirmed(struct nfs4_ol_stateid *ols) in nfsd4_check_openowner_confirmed()
5740 nfs4_check_olstateid(struct nfs4_ol_stateid *ols, int flags) in nfs4_check_olstateid()
5943 struct nfs4_ol_stateid *stp = openlockstateid(s); in nfsd4_free_lock_stateid()
6025 …ks(struct nfsd4_compound_state *cstate, stateid_t *stateid, u32 seqid, struct nfs4_ol_stateid *stp) in nfs4_seqid_op_checks()
6051 struct nfs4_ol_stateid **stpp, in nfs4_preprocess_seqid_op()
6056 struct nfs4_ol_stateid *stp = NULL; in nfs4_preprocess_seqid_op()
6076 stateid_t *stateid, struct nfs4_ol_stateid **stpp, struct nfsd_net *nn) in nfs4_preprocess_confirmed_seqid_op()
6080 struct nfs4_ol_stateid *stp; in nfs4_preprocess_confirmed_seqid_op()
6103 struct nfs4_ol_stateid *stp; in nfsd4_open_confirm()
6137 static inline void nfs4_stateid_downgrade_bit(struct nfs4_ol_stateid *stp, u32 access) in nfs4_stateid_downgrade_bit()
6145 static inline void nfs4_stateid_downgrade(struct nfs4_ol_stateid *stp, u32 to_access) in nfs4_stateid_downgrade()
6169 struct nfs4_ol_stateid *stp; in nfsd4_open_downgrade()
6207 static void nfsd4_close_open_stateid(struct nfs4_ol_stateid *s) in nfsd4_close_open_stateid()
6212 struct nfs4_ol_stateid *stp; in nfsd4_close_open_stateid()
6241 struct nfs4_ol_stateid *stp; in nfsd4_close()
6481 struct nfs4_ol_stateid *open_stp, in alloc_init_lock_stateowner()
6507 static struct nfs4_ol_stateid *
6509 const struct nfs4_ol_stateid *ost) in find_lock_stateid()
6511 struct nfs4_ol_stateid *lst; in find_lock_stateid()
6526 static struct nfs4_ol_stateid *
6527 init_lock_stateid(struct nfs4_ol_stateid *stp, struct nfs4_lockowner *lo, in init_lock_stateid()
6529 struct nfs4_ol_stateid *open_stp) in init_lock_stateid()
6532 struct nfs4_ol_stateid *retstp; in init_lock_stateid()
6573 static struct nfs4_ol_stateid *
6575 struct inode *inode, struct nfs4_ol_stateid *ost, in find_or_create_lock_stateid()
6579 struct nfs4_ol_stateid *lst; in find_or_create_lock_stateid()
6612 static void get_lock_access(struct nfs4_ol_stateid *lock_stp, u32 access) in get_lock_access()
6626 struct nfs4_ol_stateid *ost, in lookup_or_create_lock_state()
6628 struct nfs4_ol_stateid **plst, bool *new) in lookup_or_create_lock_state()
6636 struct nfs4_ol_stateid *lst; in lookup_or_create_lock_state()
6676 struct nfs4_ol_stateid *lock_stp = NULL; in nfsd4_lock()
6677 struct nfs4_ol_stateid *open_stp = NULL; in nfsd4_lock()
6995 struct nfs4_ol_stateid *stp; in nfsd4_locku()
7106 struct nfs4_ol_stateid *stp; in nfsd4_release_lockowner()
7147 struct nfs4_ol_stateid, in nfsd4_release_lockowner()