Home
last modified time | relevance | path

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

/linux-6.1.9/fs/cifs/
Dfile.c46 struct cifsFileInfo *open_file = NULL; in cifs_mark_open_files_invalid() local
62 open_file = list_entry(tmp, struct cifsFileInfo, tlist); in cifs_mark_open_files_invalid()
63 open_file->invalidHandle = true; in cifs_mark_open_files_invalid()
64 open_file->oplock_break_cancelled = true; in cifs_mark_open_files_invalid()
995 struct cifsFileInfo *open_file, *tmp; in cifs_reopen_persistent_handles() local
1008 list_for_each_entry(open_file, &tcon->openFileList, tlist) { in cifs_reopen_persistent_handles()
1009 if (!open_file->invalidHandle) in cifs_reopen_persistent_handles()
1011 cifsFileInfo_get(open_file); in cifs_reopen_persistent_handles()
1012 list_add_tail(&open_file->rlist, &tmp_list); in cifs_reopen_persistent_handles()
1016 list_for_each_entry_safe(open_file, tmp, &tmp_list, rlist) { in cifs_reopen_persistent_handles()
[all …]
Dsmb1ops.c794 struct cifsFileInfo *open_file; in smb_set_file_info() local
801 open_file = find_writable_file(cinode, FIND_WR_FSUID_ONLY); in smb_set_file_info()
802 if (open_file) { in smb_set_file_info()
803 fid.netfid = open_file->fid.netfid; in smb_set_file_info()
804 netpid = open_file->pid; in smb_set_file_info()
805 tcon = tlink_tcon(open_file->tlink); in smb_set_file_info()
850 if (open_file == NULL) in smb_set_file_info()
853 cifsFileInfo_put(open_file); in smb_set_file_info()
Dinode.c2643 struct cifsFileInfo *open_file; local
2659 open_file = find_writable_file(cifsInode, FIND_WR_FSUID_ONLY);
2660 if (open_file) {
2661 tcon = tlink_tcon(open_file->tlink);
2664 rc = server->ops->set_file_size(xid, tcon, open_file,
2668 cifsFileInfo_put(open_file);
2740 struct cifsFileInfo *open_file; local
2828 open_file = find_writable_file(cifsInode, FIND_WR_FSUID_ONLY);
2829 if (open_file) {
2830 u16 nfid = open_file->fid.netfid;
[all …]
Dcifsacl.c1456 struct cifsFileInfo *open_file = NULL; in get_cifs_acl() local
1459 open_file = find_readable_file(CIFS_I(inode), true); in get_cifs_acl()
1460 if (!open_file) in get_cifs_acl()
1463 pntsd = get_cifs_acl_by_fid(cifs_sb, &open_file->fid, pacllen, info); in get_cifs_acl()
1464 cifsFileInfo_put(open_file); in get_cifs_acl()
Dsmb2ops.c3297 struct cifsFileInfo *open_file = NULL; in get_smb2_acl() local
3300 open_file = find_readable_file(CIFS_I(inode), true); in get_smb2_acl()
3301 if (!open_file || (info & SACL_SECINFO)) in get_smb2_acl()
3304 pntsd = get_smb2_acl_by_fid(cifs_sb, &open_file->fid, pacllen, info); in get_smb2_acl()
3305 cifsFileInfo_put(open_file); in get_smb2_acl()
/linux-6.1.9/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-6.1.9/fs/hostfs/
Dhostfs.h72 extern int open_file(char *path, int r, int w, int append);
Dhostfs_user.c70 int open_file(char *path, int r, int w, int append) in open_file() function
Dhostfs_kern.c324 fd = open_file(name, r, w, append); in hostfs_open()
/linux-6.1.9/fs/nfsd/
Dfilecache.c1107 goto open_file; in nfsd_file_do_acquire()
1151 open_file: in nfsd_file_do_acquire()