Lines Matching defs:file

81 /* file attributes which can be mapped to nfs attributes */
2656 * checking if we just created a new file (POSIX open() semantics).
3335 /* Servers should only apply open mode checks for file size changes */
3416 "changing file size.\n",
3740 * It is possible for data to be read/written from a mem-mapped file
3742 * This means that we can't safely call nfsv4 close on a file until
3744 * NFSv4 citizens - we do not indicate to the server to update the file's
4214 * nfs4_proc_get_rootfh - get file handle for server's pseudoroot
4216 * @fhandle: we fill in the pseudo-fs root file handle
4366 * The file is not closed if it is opened due to the a request to change
4367 * the size of the file. The open call will not be needed once the
4371 * If we haven't opened the file for O_WRONLY, we
4376 * possible that we opened a different file by the same
4406 /* Search for an existing open(O_WRITE) file */
5693 static int _nfs4_proc_commit(struct file *dst, struct nfs_commitargs *args,
5709 int nfs4_proc_commit(struct file *dst, __u64 offset, __u32 count, struct nfs_commitres *res)
6889 /* Ensure we don't close file until we're done freeing locks! */
7544 nfs4_proc_lock(struct file *filp, int cmd, struct file_lock *request)
7577 * Don't rely on the VFS having checked the file open mode,
7597 static int nfs4_delete_lease(struct file *file, void **priv)
7599 return generic_setlease(file, F_UNLCK, NULL, priv);
7602 static int nfs4_add_lease(struct file *file, int arg, struct file_lease **lease,
7605 struct inode *inode = file_inode(file);
7612 ret = generic_setlease(file, arg, lease, priv);
7616 nfs4_delete_lease(file, priv);
7620 int nfs4_proc_setlease(struct file *file, int arg, struct file_lease **lease,
7626 return nfs4_add_lease(file, arg, lease, priv);
7628 return nfs4_delete_lease(file, priv);
7871 * file read/write permissions.
8182 * @fhandle: pointer to the kernel NFS client file handle
9667 * on the file. set tk_status to -ENODATA to tell upper layer to