Home
last modified time | relevance | path

Searched refs:open_file (Results 1 - 22 of 22) sorted by relevance

/kernel/linux/linux-6.6/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()
1128 struct cifsFileInfo *open_file, *tmp; in cifs_reopen_persistent_handles() local
1141 list_for_each_entry(open_file, &tcon->openFileList, tlist) { in cifs_reopen_persistent_handles()
1142 if (!open_file->invalidHandle) in cifs_reopen_persistent_handles()
1144 cifsFileInfo_get(open_file); in cifs_reopen_persistent_handles()
1145 list_add_tail(&open_file->rlist, &tmp_list); in cifs_reopen_persistent_handles()
1149 list_for_each_entry_safe(open_file, tm in cifs_reopen_persistent_handles()
2129 cifs_write(struct cifsFileInfo *open_file, __u32 pid, const char *write_data, size_t write_size, loff_t *offset) cifs_write() argument
2215 struct cifsFileInfo *open_file = NULL; find_readable_file() local
2251 struct cifsFileInfo *open_file, *inv_file = NULL; cifs_get_writable_file() local
2570 struct cifsFileInfo *open_file; cifs_partialpagewrite() local
3403 cifs_write_from_iter(loff_t fpos, size_t len, struct iov_iter *from, struct cifsFileInfo *open_file, struct cifs_sb_info *cifs_sb, struct list_head *wdata_list, struct cifs_aio_ctx *ctx) cifs_write_from_iter() argument
3942 cifs_send_async_read(loff_t fpos, size_t len, struct cifsFileInfo *open_file, struct cifs_sb_info *cifs_sb, struct list_head *rdata_list, struct cifs_aio_ctx *ctx) cifs_send_async_read() argument
4318 struct cifsFileInfo *open_file; cifs_read() local
4513 struct cifsFileInfo *open_file = ractl->file->private_data; cifs_readahead() local
4750 struct cifsFileInfo *open_file; is_inode_writable() local
[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.c2776 struct cifsFileInfo *open_file; local
2792 open_file = find_writable_file(cifsInode, FIND_WR_FSUID_ONLY);
2793 if (open_file) {
2794 tcon = tlink_tcon(open_file->tlink);
2797 rc = server->ops->set_file_size(xid, tcon, open_file,
2801 cifsFileInfo_put(open_file);
2873 struct cifsFileInfo *open_file; local
2961 open_file = find_writable_file(cifsInode, FIND_WR_FSUID_ONLY);
2962 if (open_file) {
2963 u16 nfid = open_file
[all...]
H A 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()
H A Dsmb2ops.c3295 struct cifsFileInfo *open_file = NULL; in get_smb2_acl() local
3298 open_file = find_readable_file(CIFS_I(inode), true); in get_smb2_acl()
3299 if (!open_file || (info & SACL_SECINFO)) in get_smb2_acl()
3302 pntsd = get_smb2_acl_by_fid(cifs_sb, &open_file->fid, pacllen, info); in get_smb2_acl()
3303 cifsFileInfo_put(open_file); in get_smb2_acl()
/kernel/linux/linux-5.10/fs/cifs/
H A Dfile.c854 struct cifsFileInfo *open_file; in cifs_reopen_persistent_handles() local
870 open_file = list_entry(tmp, struct cifsFileInfo, tlist); in cifs_reopen_persistent_handles()
871 if (!open_file->invalidHandle) in cifs_reopen_persistent_handles()
873 cifsFileInfo_get(open_file); in cifs_reopen_persistent_handles()
874 list_add_tail(&open_file->rlist, &tmp_list); in cifs_reopen_persistent_handles()
879 open_file = list_entry(tmp, struct cifsFileInfo, rlist); in cifs_reopen_persistent_handles()
880 if (cifs_reopen_file(open_file, false /* do not flush */)) in cifs_reopen_persistent_handles()
882 list_del_init(&open_file->rlist); in cifs_reopen_persistent_handles()
883 cifsFileInfo_put(open_file); in cifs_reopen_persistent_handles()
1845 cifs_write(struct cifsFileInfo *open_file, __u3 argument
1929 struct cifsFileInfo *open_file = NULL; find_readable_file() local
1965 struct cifsFileInfo *open_file, *inv_file = NULL; cifs_get_writable_file() local
2144 struct cifsFileInfo *open_file; cifs_partialpagewrite() local
2897 cifs_write_from_iter(loff_t offset, size_t len, struct iov_iter *from, struct cifsFileInfo *open_file, struct cifs_sb_info *cifs_sb, struct list_head *wdata_list, struct cifs_aio_ctx *ctx) cifs_write_from_iter() argument
3634 cifs_send_async_read(loff_t offset, size_t len, struct cifsFileInfo *open_file, struct cifs_sb_info *cifs_sb, struct list_head *rdata_list, struct cifs_aio_ctx *ctx) cifs_send_async_read() argument
4055 struct cifsFileInfo *open_file; cifs_read() local
4390 struct cifsFileInfo *open_file = file->private_data; cifs_readpages() local
4614 struct cifsFileInfo *open_file; is_inode_writable() local
[all...]
H A Dsmb1ops.c762 struct cifsFileInfo *open_file; in smb_set_file_info() local
769 open_file = find_writable_file(cinode, FIND_WR_FSUID_ONLY); in smb_set_file_info()
770 if (open_file) { in smb_set_file_info()
771 fid.netfid = open_file->fid.netfid; in smb_set_file_info()
772 netpid = open_file->pid; in smb_set_file_info()
773 tcon = tlink_tcon(open_file->tlink); in smb_set_file_info()
818 if (open_file == NULL) in smb_set_file_info()
821 cifsFileInfo_put(open_file); in smb_set_file_info()
H A Dinode.c2507 struct cifsFileInfo *open_file; local
2523 open_file = find_writable_file(cifsInode, FIND_WR_FSUID_ONLY);
2524 if (open_file) {
2525 tcon = tlink_tcon(open_file->tlink);
2528 rc = server->ops->set_file_size(xid, tcon, open_file,
2532 cifsFileInfo_put(open_file);
2602 struct cifsFileInfo *open_file; local
2690 open_file = find_writable_file(cifsInode, FIND_WR_FSUID_ONLY);
2691 if (open_file) {
2692 u16 nfid = open_file
[all...]
H A Dcifsacl.c1175 struct cifsFileInfo *open_file = NULL; in get_cifs_acl() local
1178 open_file = find_readable_file(CIFS_I(inode), true); in get_cifs_acl()
1179 if (!open_file) in get_cifs_acl()
1182 pntsd = get_cifs_acl_by_fid(cifs_sb, &open_file->fid, pacllen); in get_cifs_acl()
1183 cifsFileInfo_put(open_file); in get_cifs_acl()
H A Dsmb2ops.c3362 struct cifsFileInfo *open_file = NULL; in get_smb2_acl() local
3365 open_file = find_readable_file(CIFS_I(inode), true); in get_smb2_acl()
3366 if (!open_file) in get_smb2_acl()
3369 pntsd = get_smb2_acl_by_fid(cifs_sb, &open_file->fid, pacllen); in get_smb2_acl()
3370 cifsFileInfo_put(open_file); in get_smb2_acl()
H A Dcifssmb.c101 struct cifsFileInfo *open_file = NULL; in cifs_mark_open_files_invalid() local
108 open_file = list_entry(tmp, struct cifsFileInfo, tlist); in cifs_mark_open_files_invalid()
109 open_file->invalidHandle = true; in cifs_mark_open_files_invalid()
110 open_file->oplock_break_cancelled = true; in cifs_mark_open_files_invalid()
/kernel/linux/linux-6.6/fs/hostfs/
H A Dhostfs_user_exp.c6 EXPORT_SYMBOL_GPL(open_file); variable
H A Dhostfs.h73 extern int open_file(char *path, int r, int w, int append);
H A Dhostfs_user.c71 int open_file(char *path, int r, int w, int append) in open_file() function
81 else panic("Impossible mode in open_file"); in open_file()
H A Dhostfs_kern.c320 fd = open_file(name, r, w, append); in hostfs_open()
/kernel/linux/linux-5.10/fs/hostfs/
H A Dhostfs.h72 extern int open_file(char *path, int r, int w, int append);
H A Dhostfs_user.c70 int open_file(char *path, int r, int w, int append) in open_file() function
80 else panic("Impossible mode in open_file"); in open_file()
H A Dhostfs_kern.c321 fd = open_file(name, r, w, append); in hostfs_open()
/kernel/linux/linux-5.10/tools/perf/util/
H A Ddata.c285 static int open_file(struct perf_data *data) in open_file() function
307 return open_file(data); in open_file_dup()
325 ret = open_file(data); in open_dir()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/fs/nfsd/
H A Dfilecache.c972 goto open_file; in nfsd_file_acquire()
1017 open_file: in nfsd_file_acquire()
/kernel/linux/linux-6.6/fs/nfsd/
H A Dfilecache.c1041 goto open_file; in nfsd_file_do_acquire()
1080 open_file: in nfsd_file_do_acquire()

Completed in 48 milliseconds