Home
last modified time | relevance | path

Searched refs:cifsFileInfo (Results 1 – 18 of 18) sorted by relevance

/linux-6.1.9/fs/cifs/
Dcifsglob.h227 struct cifsFileInfo;
245 bool (*compare_fids)(struct cifsFileInfo *, struct cifsFileInfo *);
330 struct cifsFileInfo *cfile, struct cifs_open_info_data *data);
344 struct cifsFileInfo *, __u64, bool);
349 struct cifsFileInfo *);
390 void (*set_fid)(struct cifsFileInfo *, struct cifs_fid *, __u32);
396 struct cifsFileInfo *pfile_info);
437 int (*mand_lock)(const unsigned int, struct cifsFileInfo *, __u64,
440 int (*mand_unlock_range)(struct cifsFileInfo *, struct file_lock *,
443 int (*push_mand_locks)(struct cifsFileInfo *);
[all …]
Dfile.c46 struct cifsFileInfo *open_file = NULL; in cifs_mark_open_files_invalid()
62 open_file = list_entry(tmp, struct cifsFileInfo, tlist); in cifs_mark_open_files_invalid()
319 struct cifsFileInfo *cifs_new_fileinfo(struct cifs_fid *fid, struct file *file, in cifs_new_fileinfo()
326 struct cifsFileInfo *cfile; in cifs_new_fileinfo()
331 cfile = kzalloc(sizeof(struct cifsFileInfo), GFP_KERNEL); in cifs_new_fileinfo()
410 struct cifsFileInfo *
411 cifsFileInfo_get(struct cifsFileInfo *cifs_file) in cifsFileInfo_get()
419 static void cifsFileInfo_put_final(struct cifsFileInfo *cifs_file) in cifsFileInfo_put_final()
449 struct cifsFileInfo *cifs_file = container_of(work, in cifsFileInfo_put_work()
450 struct cifsFileInfo, put); in cifsFileInfo_put_work()
[all …]
Dcifsproto.h144 extern struct cifsFileInfo *find_writable_file(struct cifsInodeInfo *, int);
147 struct cifsFileInfo **ret_file);
150 struct cifsFileInfo **ret_file);
151 extern struct cifsFileInfo *find_readable_file(struct cifsInodeInfo *, bool);
153 struct cifsFileInfo **ret_file);
180 extern int cifs_unlock_range(struct cifsFileInfo *cfile,
182 extern int cifs_push_mandatory_locks(struct cifsFileInfo *cfile);
185 struct cifsFileInfo *cifs_new_fileinfo(struct cifs_fid *fid, struct file *file,
249 extern bool cifs_find_lock_conflict(struct cifsFileInfo *cfile, __u64 offset,
261 extern bool cifs_is_deferred_close(struct cifsFileInfo *cfile,
[all …]
Dsmb2inode.c61 umode_t mode, void *ptr, int command, struct cifsFileInfo *cfile, in smb2_compound_op()
515 struct cifsFileInfo *cfile; in smb2_query_path_info()
594 struct cifsFileInfo *cfile; in smb311_posix_query_path_info()
656 struct cifsFileInfo *cfile; in smb2_mkdir_setinfo()
696 struct cifsFileInfo *cfile) in smb2_set_path_attr()
719 struct cifsFileInfo *cfile; in smb2_rename_path()
744 struct cifsFileInfo *cfile; in smb2_set_path_size()
759 struct cifsFileInfo *cfile; in smb2_set_file_info()
Dmisc.c407 struct cifsFileInfo *netfile; in is_valid_oplock_break()
608 void cifs_queue_oplock_break(struct cifsFileInfo *cfile) in cifs_queue_oplock_break()
676 cifs_is_deferred_close(struct cifsFileInfo *cfile, struct cifs_deferred_close **pdclose) in cifs_is_deferred_close()
695 cifs_add_deferred_close(struct cifsFileInfo *cfile, struct cifs_deferred_close *dclose) in cifs_add_deferred_close()
717 cifs_del_deferred_close(struct cifsFileInfo *cfile) in cifs_del_deferred_close()
732 struct cifsFileInfo *cfile = NULL; in cifs_close_deferred_file()
766 struct cifsFileInfo *cfile; in cifs_close_all_deferred_files()
796 struct cifsFileInfo *cfile; in cifs_close_deferred_file_under_dentry()
Dsmb1ops.c67 cifs_compare_fids(struct cifsFileInfo *ob1, struct cifsFileInfo *ob2) in cifs_compare_fids()
620 struct cifsFileInfo *cfile, struct cifs_open_info_data *data) in cifs_query_file_info()
744 cifs_set_fid(struct cifsFileInfo *cfile, struct cifs_fid *fid, __u32 oplock) in cifs_set_fid()
794 struct cifsFileInfo *open_file; in smb_set_file_info()
862 struct cifsFileInfo *cfile) in cifs_set_compression()
939 cifs_mand_lock(const unsigned int xid, struct cifsFileInfo *cfile, __u64 offset, in cifs_mand_lock()
1042 cifs_dir_needs_close(struct cifsFileInfo *cfile) in cifs_dir_needs_close()
Dsmb2file.c188 smb2_unlock_range(struct cifsFileInfo *cfile, struct file_lock *flock, in smb2_unlock_range()
296 struct cifsFileInfo *cfile = fdlocks->cfile; in smb2_push_mand_fdlocks()
332 smb2_push_mandatory_locks(struct cifsFileInfo *cfile) in smb2_push_mandatory_locks()
Dreaddir.c36 struct cifsFileInfo *cf; in dump_cifs_file_struct()
377 struct cifsFileInfo *cifsFile; in _initiate_cifs_search()
388 cifsFile = kzalloc(sizeof(struct cifsFileInfo), GFP_KERNEL); in _initiate_cifs_search()
690 struct cifsFileInfo *file_info) in cifs_save_resume_key()
722 struct cifsFileInfo *cfile = file->private_data; in find_cifs_entry()
964 struct cifsFileInfo *file_info = file->private_data; in cifs_filldir()
1064 struct cifsFileInfo *cifsFile; in cifs_readdir()
Dsmb2ops.c865 struct cifsFileInfo *cfile, struct cifs_open_info_data *data) in smb2_query_file_info()
1285 smb2_set_fid(struct cifsFileInfo *cfile, struct cifs_fid *fid, __u32 oplock) in smb2_set_fid()
1311 struct cifsFileInfo *cfile) in smb2_close_getattr()
1623 struct cifsFileInfo *srcfile, in smb2_copychunk_range()
1624 struct cifsFileInfo *trgtfile, u64 src_off, in smb2_copychunk_range()
1800 struct cifsFileInfo *cfile, struct inode *inode, __u8 setsparse) in smb2_set_sparse()
1846 struct cifsFileInfo *cfile, __u64 size, bool set_alloc) in smb2_set_file_size()
1870 struct cifsFileInfo *srcfile, in smb2_duplicate_extents()
1871 struct cifsFileInfo *trgtfile, u64 src_off, in smb2_duplicate_extents()
1925 struct cifsFileInfo *cfile) in smb2_set_compression()
[all …]
Dcifsfs.c1030 struct cifsFileInfo *cfile = file->private_data; in cifs_llseek()
1081 struct cifsFileInfo *cfile = file->private_data; in cifs_setlease()
1188 struct cifsFileInfo *smb_file_src = src_file->private_data; in cifs_remap_file_range()
1189 struct cifsFileInfo *smb_file_target; in cifs_remap_file_range()
1249 struct cifsFileInfo *smb_file_src; in cifs_file_copychunk_range()
1250 struct cifsFileInfo *smb_file_target; in cifs_file_copychunk_range()
1335 struct cifsFileInfo *cfile = dst_file->private_data; in cifs_copy_file_range()
Dsmb2proto.h97 extern int smb2_unlock_range(struct cifsFileInfo *cfile,
99 extern int smb2_push_mandatory_locks(struct cifsFileInfo *cfile);
Dinode.c359 struct cifsFileInfo *cfile = filp->private_data;
786 struct cifsFileInfo *cfile = filp->private_data;
2407 struct cifsFileInfo *cfile = (struct cifsFileInfo *) filp->private_data;
2575 struct cifsFileInfo *cfile;
2643 struct cifsFileInfo *open_file;
2740 struct cifsFileInfo *open_file;
2885 struct cifsFileInfo *wfile;
Dsmb2misc.c550 struct cifsFileInfo *cfile; in smb2_tcon_has_lease()
683 struct cifsFileInfo *cfile; in smb2_is_valid_oplock_break()
Dioctl.c319 struct cifsFileInfo *pSMBFile = filep->private_data; in cifs_ioctl()
Ddir.c419 struct cifsFileInfo *file_info;
Dcifs_debug.c174 struct cifsFileInfo *cfile; in cifs_debug_files_proc_show()
Dcifsacl.c1456 struct cifsFileInfo *open_file = NULL; in get_cifs_acl()
Dcifssmb.c5101 struct cifsFileInfo *cfile, __u64 size, bool set_allocation) in CIFSSMBSetFileSize()