Lines Matching refs:nfs4_file
83 static bool check_for_locks(struct nfs4_file *fp, struct nfs4_lockowner *lowner);
583 struct nfs4_file *fp = container_of(rcu, struct nfs4_file, fi_rcu); in nfsd4_free_file_rcu()
589 put_nfs4_file(struct nfs4_file *fi) in put_nfs4_file()
603 __nfs4_get_fd(struct nfs4_file *f, int oflag) in __nfs4_get_fd()
611 find_writeable_file_locked(struct nfs4_file *f) in find_writeable_file_locked()
624 find_writeable_file(struct nfs4_file *f) in find_writeable_file()
636 find_readable_file_locked(struct nfs4_file *f) in find_readable_file_locked()
649 find_readable_file(struct nfs4_file *f) in find_readable_file()
661 find_any_file(struct nfs4_file *f) in find_any_file()
678 static struct nfsd_file *find_any_file_locked(struct nfs4_file *f) in find_any_file_locked()
691 static struct nfsd_file *find_deleg_file_locked(struct nfs4_file *f) in find_deleg_file_locked()
751 nfs4_resolve_deny_conflicts_locked(struct nfs4_file *fp, bool new_stp, in nfs4_resolve_deny_conflicts_locked()
786 __nfs4_file_get_access(struct nfs4_file *fp, u32 access) in __nfs4_file_get_access()
797 nfs4_file_get_access(struct nfs4_file *fp, u32 access) in nfs4_file_get_access()
813 static __be32 nfs4_file_check_deny(struct nfs4_file *fp, u32 deny) in nfs4_file_check_deny()
832 static void __nfs4_file_put_access(struct nfs4_file *fp, int oflag) in __nfs4_file_put_access()
851 static void nfs4_file_put_access(struct nfs4_file *fp, u32 access) in nfs4_file_put_access()
884 struct nfs4_file *fp = co->co_file; in hash_clnt_odstate_locked()
900 struct nfs4_file *fp; in put_clnt_odstate()
916 find_or_hash_clnt_odstate(struct nfs4_file *fp, struct nfs4_clnt_odstate *new) in find_or_hash_clnt_odstate()
1162 alloc_init_deleg(struct nfs4_client *clp, struct nfs4_file *fp, in alloc_init_deleg()
1205 struct nfs4_file *fp = s->sc_file; in nfs4_put_stid()
1234 static void put_deleg_file(struct nfs4_file *fp) in put_deleg_file()
1249 struct nfs4_file *fp = dp->dl_stid.sc_file; in nfs4_unlock_deleg_lease()
1280 nfs4_delegation_exists(struct nfs4_client *clp, struct nfs4_file *fp) in nfs4_delegation_exists()
1311 hash_delegation_locked(struct nfs4_delegation *dp, struct nfs4_file *fp) in hash_delegation_locked()
1335 struct nfs4_file *fp = dp->dl_stid.sc_file; in unhash_delegation_locked()
1399 recalculate_deny_mode(struct nfs4_file *fp) in recalculate_deny_mode()
1433 struct nfs4_file *fp = stp->st_stid.sc_file; in release_all_access()
1472 struct nfs4_file *fp = stp->st_stid.sc_file; in unhash_ol_stateid()
1577 struct nfs4_file *fp; in free_ol_stateid_reaplist()
2618 struct nfs4_file *nf; in nfs4_show_open()
2662 struct nfs4_file *nf; in nfs4_show_lock()
2700 struct nfs4_file *nf; in nfs4_show_deleg()
4273 static struct nfs4_file *nfsd4_alloc_file(void) in nfsd4_alloc_file()
4280 struct nfs4_file *fp) in nfsd4_init_file()
4332 sizeof(struct nfs4_file), 0, 0, NULL); in nfsd4_init_slabs()
4494 nfsd4_find_existing_open(struct nfs4_file *fp, struct nfsd4_open *open) in nfsd4_find_existing_open()
4549 nfsd4_find_and_lock_existing_open(struct nfs4_file *fp, struct nfsd4_open *open) in nfsd4_find_and_lock_existing_open()
4595 init_open_stateid(struct nfs4_file *fp, struct nfsd4_open *open) in init_open_stateid()
4687 static struct nfs4_file *
4690 struct nfs4_file *fp; in find_file_locked()
4702 static struct nfs4_file *insert_file(struct nfs4_file *new, struct svc_fh *fh, in insert_file()
4705 struct nfs4_file *fp; in insert_file()
4706 struct nfs4_file *ret = NULL; in insert_file()
4727 static struct nfs4_file * find_file(struct svc_fh *fh) in find_file()
4729 struct nfs4_file *fp; in find_file()
4738 static struct nfs4_file *
4739 find_or_add_file(struct nfs4_file *new, struct svc_fh *fh) in find_or_add_file()
4741 struct nfs4_file *fp; in find_or_add_file()
4760 struct nfs4_file *fp; in nfs4_share_conflict()
4891 struct nfs4_file *fp = dp->dl_stid.sc_file; in nfsd_break_deleg_cb()
5158 static __be32 nfs4_get_vfs_file(struct svc_rqst *rqstp, struct nfs4_file *fp, in nfs4_get_vfs_file()
5246 nfs4_upgrade_open(struct svc_rqst *rqstp, struct nfs4_file *fp, in nfs4_upgrade_open()
5314 struct nfs4_file *fp) in nfsd4_check_conflicting_opens()
5378 nfsd4_verify_deleg_dentry(struct nfsd4_open *open, struct nfs4_file *fp, in nfsd4_verify_deleg_dentry()
5423 struct nfs4_file *fp = stp->st_stid.sc_file; in nfs4_set_delegation()
5647 struct nfs4_file *fp = NULL; in nfsd4_process_open2()
5931 struct nfs4_file *nf; in nfs4_lockowner_has_blockers()
7180 struct nfs4_file *fp, struct inode *inode, in init_lock_stateid()
7226 find_or_create_lock_stateid(struct nfs4_lockowner *lo, struct nfs4_file *fi, in find_or_create_lock_stateid()
7266 struct nfs4_file *fp = lock_stp->st_stid.sc_file; in get_lock_access()
7283 struct nfs4_file *fi = ost->st_stid.sc_file; in lookup_or_create_lock_state()
7330 struct nfs4_file *fp; in nfsd4_lock()
7734 check_for_locks(struct nfs4_file *fp, struct nfs4_lockowner *lowner) in check_for_locks()