Home
last modified time | relevance | path

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

/linux/fs/smb/client/
H A Dfile.c53 struct cifsFileInfo *open_file = req->cfile; in cifs_prepare_write() local
63 server = cifs_pick_channel(tlink_tcon(open_file->tlink)->ses); in cifs_prepare_write()
71 if (open_file->invalidHandle) { in cifs_prepare_write()
72 rc = cifs_reopen_file(open_file, false); in cifs_prepare_write()
274 struct cifsFileInfo *open_file = NULL; in cifs_init_request() local
281 open_file = file->private_data; in cifs_init_request()
283 req->cfile = cifsFileInfo_get(open_file); in cifs_init_request()
377 struct cifsFileInfo *open_file = NULL; in cifs_mark_open_files_invalid() local
396 open_file = list_entry(tmp, struct cifsFileInfo, tlist); in cifs_mark_open_files_invalid()
397 open_file in cifs_mark_open_files_invalid()
1546 struct cifsFileInfo *open_file, *tmp; cifs_reopen_persistent_handles() local
2224 struct cifsFileInfo *open_file = NULL; cifs_get_hardlink_path() local
2656 struct cifsFileInfo *open_file = NULL; __find_readable_file() local
2698 struct cifsFileInfo *open_file, *inv_file = NULL; __cifs_get_writable_file() local
3247 struct cifsFileInfo *open_file; is_inode_writable() local
[all...]
H A Dinode.c3105 const char *full_path, struct cifsFileInfo *open_file,
3126 if (open_file && (OPEN_FMODE(open_file->f_flags) & FMODE_WRITE)) {
3127 tcon = tlink_tcon(open_file->tlink);
3130 open_file,
3134 open_file = find_writable_file(cifsInode, FIND_FSUID_ONLY);
3135 if (open_file) {
3136 tcon = tlink_tcon(open_file->tlink);
3139 open_file,
3142 cifsFileInfo_put(open_file);
3098 cifs_file_set_size(const unsigned int xid,struct dentry * dentry,const char * full_path,struct cifsFileInfo * open_file,loff_t size) global() argument
3181 struct cifsFileInfo *open_file = NULL; global() local
[all...]
H A Dcifsacl.c1665 struct cifsFileInfo *open_file = NULL; in get_cifs_acl() local
1668 open_file = find_readable_file(CIFS_I(inode), FIND_FSUID_ONLY); in get_cifs_acl()
1669 if (!open_file) in get_cifs_acl()
1672 pntsd = get_cifs_acl_by_fid(cifs_sb, &open_file->fid, pacllen, info); in get_cifs_acl()
1673 cifsFileInfo_put(open_file); in get_cifs_acl()
H A Dsmb2ops.c3495 struct cifsFileInfo *open_file = NULL; in get_smb2_acl()
3498 open_file = find_readable_file(CIFS_I(inode), FIND_FSUID_ONLY); in get_smb2_acl()
3499 if (!open_file || (info & SACL_SECINFO)) in get_smb2_acl()
3502 pntsd = get_smb2_acl_by_fid(cifs_sb, &open_file->fid, pacllen, info); in get_smb2_acl()
3503 cifsFileInfo_put(open_file); in get_smb2_acl()
3493 struct cifsFileInfo *open_file = NULL; get_smb2_acl() local
H A Dcifsglob.h1528 const char *full_path, struct cifsFileInfo *open_file,
/linux/fs/hostfs/
H A Dhostfs_user_exp.c6 EXPORT_SYMBOL_GPL(open_file);
H A Dhostfs.h42 extern int open_file(char *path, int r, int w, int append);
/linux/tools/perf/util/
H A Ddata.c312 static int open_file(struct perf_data *data) in open_file_dup()
334 return open_file(data); in open_dir()
353 ret = open_file(data); in perf_data__open()
292 static int open_file(struct perf_data *data) open_file() function
/linux/fs/nfsd/
H A Dfilecache.c1225 goto open_file; in nfsd_file_do_acquire()
1263 open_file: in nfsd_file_do_acquire()
/linux/tools/testing/selftests/mm/
H A Dguard-regions.c201 static int open_file(const char *prefix, char *path) in open_file() function
322 self->fd = open_file("", self->path); in FIXTURE_SETUP()