Lines Matching refs:nfs4_file
81 static bool check_for_locks(struct nfs4_file *fp, struct nfs4_lockowner *lowner);
415 struct nfs4_file *fp = container_of(rcu, struct nfs4_file, fi_rcu);
421 put_nfs4_file(struct nfs4_file *fi)
435 __nfs4_get_fd(struct nfs4_file *f, int oflag)
443 find_writeable_file_locked(struct nfs4_file *f)
456 find_writeable_file(struct nfs4_file *f)
468 find_readable_file_locked(struct nfs4_file *f)
481 find_readable_file(struct nfs4_file *f)
493 find_any_file(struct nfs4_file *f)
510 static struct nfsd_file *find_any_file_locked(struct nfs4_file *f)
523 static struct nfsd_file *find_deleg_file_locked(struct nfs4_file *f)
552 /* hash table for nfs4_file */
569 __nfs4_file_get_access(struct nfs4_file *fp, u32 access)
580 nfs4_file_get_access(struct nfs4_file *fp, u32 access)
596 static __be32 nfs4_file_check_deny(struct nfs4_file *fp, u32 deny)
615 static void __nfs4_file_put_access(struct nfs4_file *fp, int oflag)
634 static void nfs4_file_put_access(struct nfs4_file *fp, u32 access)
667 struct nfs4_file *fp = co->co_file;
683 struct nfs4_file *fp;
699 find_or_hash_clnt_odstate(struct nfs4_file *fp, struct nfs4_clnt_odstate *new)
939 alloc_init_deleg(struct nfs4_client *clp, struct nfs4_file *fp,
982 struct nfs4_file *fp = s->sc_file;
1011 static void put_deleg_file(struct nfs4_file *fp)
1026 struct nfs4_file *fp = dp->dl_stid.sc_file;
1050 * @fp: a pointer to the nfs4_file we're granting a delegation on
1057 nfs4_delegation_exists(struct nfs4_client *clp, struct nfs4_file *fp)
1077 * @fp: a pointer to the nfs4_file we're granting a delegation on
1083 * nfs4_client for this nfs4_file. Delegation is not hashed.
1088 hash_delegation_locked(struct nfs4_delegation *dp, struct nfs4_file *fp)
1112 struct nfs4_file *fp = dp->dl_stid.sc_file;
1278 recalculate_deny_mode(struct nfs4_file *fp)
1312 struct nfs4_file *fp = stp->st_stid.sc_file;
1351 struct nfs4_file *fp = stp->st_stid.sc_file;
1456 struct nfs4_file *fp;
2466 struct nfs4_file *nf;
2510 struct nfs4_file *nf;
2548 struct nfs4_file *nf;
4092 static struct nfs4_file *nfsd4_alloc_file(void)
4099 struct nfs4_file *fp)
4149 sizeof(struct nfs4_file), 0, 0, NULL);
4258 nfsd4_find_existing_open(struct nfs4_file *fp, struct nfsd4_open *open)
4313 nfsd4_find_and_lock_existing_open(struct nfs4_file *fp, struct nfsd4_open *open)
4359 init_open_stateid(struct nfs4_file *fp, struct nfsd4_open *open)
4451 static struct nfs4_file *
4454 struct nfs4_file *fp;
4466 struct nfs4_file *
4469 struct nfs4_file *fp;
4478 static struct nfs4_file *
4479 find_or_add_file(struct nfs4_file *new, struct knfsd_fh *fh)
4481 struct nfs4_file *fp;
4508 struct nfs4_file *fp;
4609 struct nfs4_file *fp = dp->dl_stid.sc_file;
4866 static __be32 nfs4_get_vfs_file(struct svc_rqst *rqstp, struct nfs4_file *fp,
4937 nfs4_upgrade_open(struct svc_rqst *rqstp, struct nfs4_file *fp, struct svc_fh *cur_fh, struct nfs4_ol_stateid *stp, struct nfsd4_open *open)
4997 struct nfs4_file *fp, struct nfs4_clnt_odstate *odstate)
5194 struct nfs4_file *fp = NULL;
5203 * If not found, create the nfs4_file struct
6541 struct nfs4_file *fp, struct inode *inode,
6587 find_or_create_lock_stateid(struct nfs4_lockowner *lo, struct nfs4_file *fi,
6627 struct nfs4_file *fp = lock_stp->st_stid.sc_file;
6644 struct nfs4_file *fi = ost->st_stid.sc_file;
6691 struct nfs4_file *fp;
7079 check_for_locks(struct nfs4_file *fp, struct nfs4_lockowner *lowner)