Home
last modified time | relevance | path

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

/openbmc/linux/fs/smb/client/
H A Dfile.c172 struct cifsFileInfo *open_file = NULL; in cifs_mark_open_files_invalid() local
191 open_file = list_entry(tmp, struct cifsFileInfo, tlist); in cifs_mark_open_files_invalid()
192 open_file->invalidHandle = true; in cifs_mark_open_files_invalid()
193 open_file->oplock_break_cancelled = true; in cifs_mark_open_files_invalid()
1220 struct cifsFileInfo *open_file, *tmp; in cifs_reopen_persistent_handles() local
1233 list_for_each_entry(open_file, &tcon->openFileList, tlist) { in cifs_reopen_persistent_handles()
1234 if (!open_file->invalidHandle) in cifs_reopen_persistent_handles()
1236 cifsFileInfo_get(open_file); in cifs_reopen_persistent_handles()
1237 list_add_tail(&open_file->rlist, &tmp_list); in cifs_reopen_persistent_handles()
1241 list_for_each_entry_safe(open_file, tmp, &tmp_list, rlist) { in cifs_reopen_persistent_handles()
[all …]
H A 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()
H A Dinode.c2854 struct cifsFileInfo *open_file; local
2870 open_file = find_writable_file(cifsInode, FIND_WR_FSUID_ONLY);
2871 if (open_file) {
2872 tcon = tlink_tcon(open_file->tlink);
2875 rc = server->ops->set_file_size(xid, tcon, open_file,
2879 cifsFileInfo_put(open_file);
2951 struct cifsFileInfo *open_file; local
3039 open_file = find_writable_file(cifsInode, FIND_WR_FSUID_ONLY);
3040 if (open_file) {
3041 u16 nfid = open_file->fid.netfid;
[all …]
H A Dcifsacl.c1473 struct cifsFileInfo *open_file = NULL; in get_cifs_acl() local
1476 open_file = find_readable_file(CIFS_I(inode), true); in get_cifs_acl()
1477 if (!open_file) in get_cifs_acl()
1480 pntsd = get_cifs_acl_by_fid(cifs_sb, &open_file->fid, pacllen, info); in get_cifs_acl()
1481 cifsFileInfo_put(open_file); in get_cifs_acl()
H A Dsmb2ops.c3165 struct cifsFileInfo *open_file = NULL; in get_smb2_acl() local
3168 open_file = find_readable_file(CIFS_I(inode), true); in get_smb2_acl()
3169 if (!open_file || (info & SACL_SECINFO)) in get_smb2_acl()
3172 pntsd = get_smb2_acl_by_fid(cifs_sb, &open_file->fid, pacllen, info); in get_smb2_acl()
3173 cifsFileInfo_put(open_file); in get_smb2_acl()
/openbmc/linux/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.c72 int open_file(char *path, int r, int w, int append) in open_file() function
H A Dhostfs_kern.c320 fd = open_file(name, r, w, append); in hostfs_open()
/openbmc/linux/tools/perf/util/
H A 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()
/openbmc/linux/fs/nfsd/
H A Dfilecache.c1045 goto open_file; in nfsd_file_do_acquire()
1083 open_file: in nfsd_file_do_acquire()
/openbmc/qemu/block/
H A Dvvfat.c1359 static int open_file(BDRVVVFATState* s,mapping_t* mapping) in open_file() function
1405 if(open_file(s,mapping)) in read_cluster()