Lines Matching refs:nfs4_file
78 static bool check_for_locks(struct nfs4_file *fp, struct nfs4_lockowner *lowner);
276 struct nfs4_file *fp = container_of(rcu, struct nfs4_file, fi_rcu); in nfsd4_free_file_rcu()
282 put_nfs4_file(struct nfs4_file *fi) in put_nfs4_file()
296 __nfs4_get_fd(struct nfs4_file *f, int oflag) in __nfs4_get_fd()
304 find_writeable_file_locked(struct nfs4_file *f) in find_writeable_file_locked()
317 find_writeable_file(struct nfs4_file *f) in find_writeable_file()
328 static struct file *find_readable_file_locked(struct nfs4_file *f) in find_readable_file_locked()
341 find_readable_file(struct nfs4_file *f) in find_readable_file()
353 find_any_file(struct nfs4_file *f) in find_any_file()
405 __nfs4_file_get_access(struct nfs4_file *fp, u32 access) in __nfs4_file_get_access()
416 nfs4_file_get_access(struct nfs4_file *fp, u32 access) in nfs4_file_get_access()
432 static __be32 nfs4_file_check_deny(struct nfs4_file *fp, u32 deny) in nfs4_file_check_deny()
451 static void __nfs4_file_put_access(struct nfs4_file *fp, int oflag) in __nfs4_file_put_access()
470 static void nfs4_file_put_access(struct nfs4_file *fp, u32 access) in nfs4_file_put_access()
503 struct nfs4_file *fp = co->co_file; in hash_clnt_odstate_locked()
519 struct nfs4_file *fp; in put_clnt_odstate()
535 find_or_hash_clnt_odstate(struct nfs4_file *fp, struct nfs4_clnt_odstate *new) in find_or_hash_clnt_odstate()
735 struct nfs4_file *fp = s->sc_file; in nfs4_put_stid()
763 static void nfs4_put_deleg_lease(struct nfs4_file *fp) in nfs4_put_deleg_lease()
797 nfs4_get_existing_delegation(struct nfs4_client *clp, struct nfs4_file *fp) in nfs4_get_existing_delegation()
828 hash_delegation_locked(struct nfs4_delegation *dp, struct nfs4_file *fp) in hash_delegation_locked()
855 struct nfs4_file *fp = dp->dl_stid.sc_file; in unhash_delegation_locked()
1027 recalculate_deny_mode(struct nfs4_file *fp) in recalculate_deny_mode()
1061 struct nfs4_file *fp = stp->st_stid.sc_file; in release_all_access()
1094 struct nfs4_file *fp = stp->st_stid.sc_file; in unhash_ol_stateid()
1193 struct nfs4_file *fp; in free_ol_stateid_reaplist()
3224 static struct nfs4_file *nfsd4_alloc_file(void) in nfsd4_alloc_file()
3231 struct nfs4_file *fp) in nfsd4_init_file()
3276 sizeof(struct nfs4_file), 0, 0, NULL); in nfsd4_init_slabs()
3385 nfsd4_find_existing_open(struct nfs4_file *fp, struct nfsd4_open *open) in nfsd4_find_existing_open()
3439 nfsd4_find_and_lock_existing_open(struct nfs4_file *fp, struct nfsd4_open *open) in nfsd4_find_and_lock_existing_open()
3485 init_open_stateid(struct nfs4_file *fp, struct nfsd4_open *open) in init_open_stateid()
3577 static struct nfs4_file *
3580 struct nfs4_file *fp; in find_file_locked()
3591 struct nfs4_file *
3594 struct nfs4_file *fp; in find_file()
3603 static struct nfs4_file *
3604 find_or_add_file(struct nfs4_file *new, struct knfsd_fh *fh) in find_or_add_file()
3606 struct nfs4_file *fp; in find_or_add_file()
3633 struct nfs4_file *fp; in nfs4_share_conflict()
3729 struct nfs4_file *fp = (struct nfs4_file *)fl->fl_owner; in nfsd_break_deleg_cb()
3975 static __be32 nfs4_get_vfs_file(struct svc_rqst *rqstp, struct nfs4_file *fp, in nfs4_get_vfs_file()
4041 nfs4_upgrade_open(struct svc_rqst *rqstp, struct nfs4_file *fp, struct svc_fh *cur_fh, struct nfs4_… in nfs4_upgrade_open()
4081 static struct file_lock *nfs4_alloc_init_lease(struct nfs4_file *fp, int flag) in nfs4_alloc_init_lease()
4111 struct nfs4_file *fp = dp->dl_stid.sc_file; in nfs4_setlease()
4164 struct nfs4_file *fp, struct nfs4_clnt_odstate *odstate) in nfs4_set_delegation()
4332 struct nfs4_file *fp = NULL; in nfsd4_process_open2()
5467 struct nfs4_file *fp, struct inode *inode, in init_lock_stateid()
5491 find_lock_stateid(struct nfs4_lockowner *lo, struct nfs4_file *fp) in find_lock_stateid()
5508 find_or_create_lock_stateid(struct nfs4_lockowner *lo, struct nfs4_file *fi, in find_or_create_lock_stateid()
5549 struct nfs4_file *fp = lock_stp->st_stid.sc_file; in get_lock_access()
5566 struct nfs4_file *fi = ost->st_stid.sc_file; in lookup_or_create_lock_state()
5626 struct nfs4_file *fp; in nfsd4_lock()
5968 check_for_locks(struct nfs4_file *fp, struct nfs4_lockowner *lowner) in check_for_locks()