Home
last modified time | relevance | path

Searched refs:open_file (Results 1 – 11 of 11) sorted by relevance

/Linux-v6.6/fs/smb/client/
Dfile.c172 struct cifsFileInfo *open_file = NULL; in cifs_mark_open_files_invalid() local
188 open_file = list_entry(tmp, struct cifsFileInfo, tlist); in cifs_mark_open_files_invalid()
189 open_file->invalidHandle = true; in cifs_mark_open_files_invalid()
190 open_file->oplock_break_cancelled = true; in cifs_mark_open_files_invalid()
1124 struct cifsFileInfo *open_file, *tmp; in cifs_reopen_persistent_handles() local
1137 list_for_each_entry(open_file, &tcon->openFileList, tlist) { in cifs_reopen_persistent_handles()
1138 if (!open_file->invalidHandle) in cifs_reopen_persistent_handles()
1140 cifsFileInfo_get(open_file); in cifs_reopen_persistent_handles()
1141 list_add_tail(&open_file->rlist, &tmp_list); in cifs_reopen_persistent_handles()
1145 list_for_each_entry_safe(open_file, tmp, &tmp_list, rlist) { in cifs_reopen_persistent_handles()
[all …]
Dsmb1ops.c798 struct cifsFileInfo *open_file; in smb_set_file_info() local
805 open_file = find_writable_file(cinode, FIND_WR_FSUID_ONLY); in smb_set_file_info()
806 if (open_file) { in smb_set_file_info()
807 fid.netfid = open_file->fid.netfid; in smb_set_file_info()
808 netpid = open_file->pid; in smb_set_file_info()
809 tcon = tlink_tcon(open_file->tlink); in smb_set_file_info()
855 if (open_file == NULL) in smb_set_file_info()
858 cifsFileInfo_put(open_file); in smb_set_file_info()
Dinode.c2721 struct cifsFileInfo *open_file; local
2737 open_file = find_writable_file(cifsInode, FIND_WR_FSUID_ONLY);
2738 if (open_file) {
2739 tcon = tlink_tcon(open_file->tlink);
2742 rc = server->ops->set_file_size(xid, tcon, open_file,
2746 cifsFileInfo_put(open_file);
2818 struct cifsFileInfo *open_file; local
2906 open_file = find_writable_file(cifsInode, FIND_WR_FSUID_ONLY);
2907 if (open_file) {
2908 u16 nfid = open_file->fid.netfid;
[all …]
Dcifsacl.c1462 struct cifsFileInfo *open_file = NULL; in get_cifs_acl() local
1465 open_file = find_readable_file(CIFS_I(inode), true); in get_cifs_acl()
1466 if (!open_file) in get_cifs_acl()
1469 pntsd = get_cifs_acl_by_fid(cifs_sb, &open_file->fid, pacllen, info); in get_cifs_acl()
1470 cifsFileInfo_put(open_file); in get_cifs_acl()
Dsmb2ops.c3265 struct cifsFileInfo *open_file = NULL; in get_smb2_acl() local
3268 open_file = find_readable_file(CIFS_I(inode), true); in get_smb2_acl()
3269 if (!open_file || (info & SACL_SECINFO)) in get_smb2_acl()
3272 pntsd = get_smb2_acl_by_fid(cifs_sb, &open_file->fid, pacllen, info); in get_smb2_acl()
3273 cifsFileInfo_put(open_file); in get_smb2_acl()
/Linux-v6.6/fs/hostfs/
Dhostfs_user_exp.c6 EXPORT_SYMBOL_GPL(open_file);
Dhostfs.h73 extern int open_file(char *path, int r, int w, int append);
Dhostfs_user.c71 int open_file(char *path, int r, int w, int append) in open_file() function
Dhostfs_kern.c320 fd = open_file(name, r, w, append); in hostfs_open()
/Linux-v6.6/tools/perf/util/
Ddata.c304 static int open_file(struct perf_data *data) in open_file() function
326 return open_file(data); in open_file_dup()
344 ret = open_file(data); in open_dir()
/Linux-v6.6/fs/nfsd/
Dfilecache.c1042 goto open_file; in nfsd_file_do_acquire()
1081 open_file: in nfsd_file_do_acquire()