Home
last modified time | relevance | path

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

/linux-6.15/fs/smb/client/
H A Dfile.c67 if (open_file->invalidHandle) { in cifs_prepare_write()
268 open_file = file->private_data; in cifs_init_request()
379 open_file->invalidHandle = true; in cifs_mark_open_files_invalid()
1429 if (!open_file->invalidHandle) in cifs_reopen_persistent_handles()
1431 cifsFileInfo_get(open_file); in cifs_reopen_persistent_handles()
1440 cifsFileInfo_put(open_file); in cifs_reopen_persistent_handles()
2468 cifsFileInfo_get(open_file); in find_readable_file()
2470 return open_file; in find_readable_file()
2529 cifsFileInfo_get(open_file); in cifs_get_writable_file()
2531 *ret_file = open_file; in cifs_get_writable_file()
[all …]
H A Dsmb1ops.c898 struct cifsFileInfo *open_file; in smb_set_file_info() local
910 if (open_file) { in smb_set_file_info()
911 fid.netfid = open_file->fid.netfid; in smb_set_file_info()
912 netpid = open_file->pid; in smb_set_file_info()
937 if (open_file) { in smb_set_file_info()
938 cifsFileInfo_put(open_file); in smb_set_file_info()
939 open_file = NULL; in smb_set_file_info()
959 if (open_file) in smb_set_file_info()
1034 if (open_file == NULL) in smb_set_file_info()
1037 cifsFileInfo_put(open_file); in smb_set_file_info()
[all …]
H A Dinode.c2931 struct cifsFileInfo *open_file; local
2948 if (open_file) {
2949 tcon = tlink_tcon(open_file->tlink);
2952 rc = server->ops->set_file_size(xid, tcon, open_file,
2956 cifsFileInfo_put(open_file);
3026 struct cifsFileInfo *open_file; local
3115 if (open_file) {
3116 u16 nfid = open_file->fid.netfid;
3117 u32 npid = open_file->pid;
3118 pTcon = tlink_tcon(open_file->tlink);
[all …]
H A Dcifsacl.c1492 struct cifsFileInfo *open_file = NULL; in get_cifs_acl() local
1495 open_file = find_readable_file(CIFS_I(inode), true); in get_cifs_acl()
1496 if (!open_file) in get_cifs_acl()
1499 pntsd = get_cifs_acl_by_fid(cifs_sb, &open_file->fid, pacllen, info); in get_cifs_acl()
1500 cifsFileInfo_put(open_file); in get_cifs_acl()
H A Dsmb2ops.c3202 struct cifsFileInfo *open_file = NULL; in get_smb2_acl() local
3205 open_file = find_readable_file(CIFS_I(inode), true); in get_smb2_acl()
3206 if (!open_file || (info & SACL_SECINFO)) in get_smb2_acl()
3209 pntsd = get_smb2_acl_by_fid(cifs_sb, &open_file->fid, pacllen, info); in get_smb2_acl()
3210 cifsFileInfo_put(open_file); in get_smb2_acl()
/linux-6.15/fs/hostfs/
H A Dhostfs_user_exp.c6 EXPORT_SYMBOL_GPL(open_file);
H A Dhostfs.h74 extern int open_file(char *path, int r, int w, int append);
H A Dhostfs_user.c81 int open_file(char *path, int r, int w, int append) in open_file() function
H A Dhostfs_kern.c321 fd = open_file(name, r, w, append); in hostfs_open()
/linux-6.15/tools/perf/util/
H A Ddata.c301 static int open_file(struct perf_data *data) in open_file() function
323 return open_file(data); in open_file_dup()
341 ret = open_file(data); in open_dir()
/linux-6.15/fs/nfsd/
H A Dfilecache.c1102 goto open_file; in nfsd_file_do_acquire()
1140 open_file: in nfsd_file_do_acquire()
/linux-6.15/tools/testing/selftests/mm/
H A Dguard-regions.c205 static int open_file(const char *prefix, char *path) in open_file() function
278 self->fd = open_file("", self->path); in FIXTURE_SETUP()