Lines Matching defs:file
64 " - marking file deleted and stale");
77 int afs_write_begin(struct file *file, struct address_space *mapping,
81 struct afs_vnode *vnode = AFS_FS_I(file_inode(file));
83 struct key *key = afs_file_key(file);
126 /* If the file is being filled locally, allow inter-write
162 int afs_write_end(struct file *file, struct address_space *mapping,
166 struct afs_vnode *vnode = AFS_FS_I(file_inode(file));
167 struct key *key = afs_file_key(file);
399 struct afs_vnode *vnode = op->file[0].vnode;
401 op->ctime = op->file[0].scb.status.mtime_client;
402 afs_vnode_commit_status(op, &op->file[0]);
420 * write to a file
451 op->file[0].dv_delta = 1;
453 op->file[0].modification = true;
701 * back from swapper_space to tmpfs file mapping
789 * write to an AFS file
802 "AFS: Attempt to write to active swap file!\n");
820 int afs_fsync(struct file *file, loff_t start, loff_t end, int datasync)
822 struct inode *inode = file_inode(file);
826 vnode->fid.vid, vnode->fid.vnode, file,
829 return file_write_and_wait_range(file, start, end);
838 struct file *file = vmf->vma->vm_file;
839 struct inode *inode = file_inode(file);
876 file_update_time(file);