Searched refs:open_file (Results 1 – 9 of 9) sorted by relevance
/linux-4.4.14/fs/cifs/ |
D | file.c | 1634 cifs_write(struct cifsFileInfo *open_file, __u32 pid, const char *write_data, in cifs_write() argument 1644 struct dentry *dentry = open_file->dentry; in cifs_write() 1653 tcon = tlink_tcon(open_file->tlink); in cifs_write() 1668 if (open_file->invalidHandle) { in cifs_write() 1673 rc = cifs_reopen_file(open_file, false); in cifs_write() 1687 rc = server->ops->sync_write(xid, &open_file->fid, in cifs_write() 1721 struct cifsFileInfo *open_file = NULL; in find_readable_file() local 1732 list_for_each_entry(open_file, &cifs_inode->openFileList, flist) { in find_readable_file() 1733 if (fsuid_only && !uid_eq(open_file->uid, current_fsuid())) in find_readable_file() 1735 if (OPEN_FMODE(open_file->f_flags) & FMODE_READ) { in find_readable_file() [all …]
|
D | smb1ops.c | 773 struct cifsFileInfo *open_file; in smb_set_file_info() local 780 open_file = find_writable_file(cinode, true); in smb_set_file_info() 781 if (open_file) { in smb_set_file_info() 782 fid.netfid = open_file->fid.netfid; in smb_set_file_info() 783 netpid = open_file->pid; in smb_set_file_info() 784 tcon = tlink_tcon(open_file->tlink); in smb_set_file_info() 829 if (open_file == NULL) in smb_set_file_info() 832 cifsFileInfo_put(open_file); in smb_set_file_info()
|
D | inode.c | 2031 struct cifsFileInfo *open_file; local 2047 open_file = find_writable_file(cifsInode, true); 2048 if (open_file) { 2049 tcon = tlink_tcon(open_file->tlink); 2052 rc = server->ops->set_file_size(xid, tcon, open_file, 2056 cifsFileInfo_put(open_file); 2109 struct cifsFileInfo *open_file; local 2192 open_file = find_writable_file(cifsInode, true); 2193 if (open_file) { 2194 u16 nfid = open_file->fid.netfid; [all …]
|
D | cifsacl.c | 941 struct cifsFileInfo *open_file = NULL; in get_cifs_acl() local 944 open_file = find_readable_file(CIFS_I(inode), true); in get_cifs_acl() 945 if (!open_file) in get_cifs_acl() 948 pntsd = get_cifs_acl_by_fid(cifs_sb, &open_file->fid, pacllen); in get_cifs_acl() 949 cifsFileInfo_put(open_file); in get_cifs_acl()
|
D | cifssmb.c | 96 struct cifsFileInfo *open_file = NULL; in cifs_mark_open_files_invalid() local 103 open_file = list_entry(tmp, struct cifsFileInfo, tlist); in cifs_mark_open_files_invalid() 104 open_file->invalidHandle = true; in cifs_mark_open_files_invalid() 105 open_file->oplock_break_cancelled = true; in cifs_mark_open_files_invalid()
|
/linux-4.4.14/tools/perf/util/ |
D | data.c | 107 static int open_file(struct perf_data_file *file) in open_file() function 126 return open_file(file); in perf_data_file__open()
|
/linux-4.4.14/fs/hostfs/ |
D | hostfs.h | 67 extern int open_file(char *path, int r, int w, int append);
|
D | hostfs_user.c | 70 int open_file(char *path, int r, int w, int append) in open_file() function
|
D | hostfs_kern.c | 330 fd = open_file(name, r, w, append); in hostfs_open()
|