Searched refs:open_file (Results 1 – 10 of 10) sorted by relevance
/Linux-v4.19/fs/cifs/ |
D | file.c | 782 struct cifsFileInfo *open_file; in cifs_reopen_persistent_handles() local 798 open_file = list_entry(tmp, struct cifsFileInfo, tlist); in cifs_reopen_persistent_handles() 799 if (!open_file->invalidHandle) in cifs_reopen_persistent_handles() 801 cifsFileInfo_get(open_file); in cifs_reopen_persistent_handles() 802 list_add_tail(&open_file->rlist, &tmp_list); in cifs_reopen_persistent_handles() 807 open_file = list_entry(tmp, struct cifsFileInfo, rlist); in cifs_reopen_persistent_handles() 808 if (cifs_reopen_file(open_file, false /* do not flush */)) in cifs_reopen_persistent_handles() 810 list_del_init(&open_file->rlist); in cifs_reopen_persistent_handles() 811 cifsFileInfo_put(open_file); in cifs_reopen_persistent_handles() 1705 cifs_write(struct cifsFileInfo *open_file, __u32 pid, const char *write_data, in cifs_write() argument [all …]
|
D | smb1ops.c | 772 struct cifsFileInfo *open_file; in smb_set_file_info() local 779 open_file = find_writable_file(cinode, true); in smb_set_file_info() 780 if (open_file) { in smb_set_file_info() 781 fid.netfid = open_file->fid.netfid; in smb_set_file_info() 782 netpid = open_file->pid; in smb_set_file_info() 783 tcon = tlink_tcon(open_file->tlink); in smb_set_file_info() 828 if (open_file == NULL) in smb_set_file_info() 831 cifsFileInfo_put(open_file); in smb_set_file_info()
|
D | inode.c | 2135 struct cifsFileInfo *open_file; local 2151 open_file = find_writable_file(cifsInode, true); 2152 if (open_file) { 2153 tcon = tlink_tcon(open_file->tlink); 2156 rc = server->ops->set_file_size(xid, tcon, open_file, 2160 cifsFileInfo_put(open_file); 2213 struct cifsFileInfo *open_file; local 2296 open_file = find_writable_file(cifsInode, true); 2297 if (open_file) { 2298 u16 nfid = open_file->fid.netfid; [all …]
|
D | cifsacl.c | 1064 struct cifsFileInfo *open_file = NULL; in get_cifs_acl() local 1067 open_file = find_readable_file(CIFS_I(inode), true); in get_cifs_acl() 1068 if (!open_file) in get_cifs_acl() 1071 pntsd = get_cifs_acl_by_fid(cifs_sb, &open_file->fid, pacllen); in get_cifs_acl() 1072 cifsFileInfo_put(open_file); in get_cifs_acl()
|
D | smb2ops.c | 2081 struct cifsFileInfo *open_file = NULL; in get_smb2_acl() local 2084 open_file = find_readable_file(CIFS_I(inode), true); in get_smb2_acl() 2085 if (!open_file) in get_smb2_acl() 2088 pntsd = get_smb2_acl_by_fid(cifs_sb, &open_file->fid, pacllen); in get_smb2_acl() 2089 cifsFileInfo_put(open_file); in get_smb2_acl()
|
D | cifssmb.c | 97 struct cifsFileInfo *open_file = NULL; in cifs_mark_open_files_invalid() local 104 open_file = list_entry(tmp, struct cifsFileInfo, tlist); in cifs_mark_open_files_invalid() 105 open_file->invalidHandle = true; in cifs_mark_open_files_invalid() 106 open_file->oplock_break_cancelled = true; in cifs_mark_open_files_invalid()
|
/Linux-v4.19/tools/perf/util/ |
D | data.c | 111 static int open_file(struct perf_data *data) in open_file() function 130 return open_file(data); in perf_data__open()
|
/Linux-v4.19/fs/hostfs/ |
D | hostfs.h | 68 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()
|