Home
last modified time | relevance | path

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

/linux-6.6.21/fs/smb/client/
Dcifsglob.h248 struct cifsFileInfo;
266 bool (*compare_fids)(struct cifsFileInfo *, struct cifsFileInfo *);
353 struct cifsFileInfo *cfile, struct cifs_open_info_data *data);
370 struct cifsFileInfo *, __u64, bool);
375 struct cifsFileInfo *);
423 void (*set_fid)(struct cifsFileInfo *, struct cifs_fid *, __u32);
429 struct cifsFileInfo *pfile_info);
470 int (*mand_lock)(const unsigned int, struct cifsFileInfo *, __u64,
473 int (*mand_unlock_range)(struct cifsFileInfo *, struct file_lock *,
476 int (*push_mand_locks)(struct cifsFileInfo *);
[all …]
Dfile.c172 struct cifsFileInfo *open_file = NULL; in cifs_mark_open_files_invalid()
191 open_file = list_entry(tmp, struct cifsFileInfo, tlist); in cifs_mark_open_files_invalid()
449 struct cifsFileInfo *cifs_new_fileinfo(struct cifs_fid *fid, struct file *file, in cifs_new_fileinfo()
456 struct cifsFileInfo *cfile; in cifs_new_fileinfo()
461 cfile = kzalloc(sizeof(struct cifsFileInfo), GFP_KERNEL); in cifs_new_fileinfo()
540 struct cifsFileInfo *
541 cifsFileInfo_get(struct cifsFileInfo *cifs_file) in cifsFileInfo_get()
549 static void cifsFileInfo_put_final(struct cifsFileInfo *cifs_file) in cifsFileInfo_put_final()
579 struct cifsFileInfo *cifs_file = container_of(work, in cifsFileInfo_put_work()
580 struct cifsFileInfo, put); in cifsFileInfo_put_work()
[all …]
Dcifsproto.h150 extern struct cifsFileInfo *find_writable_file(struct cifsInodeInfo *, int);
153 struct cifsFileInfo **ret_file);
156 struct cifsFileInfo **ret_file);
157 extern struct cifsFileInfo *find_readable_file(struct cifsInodeInfo *, bool);
159 struct cifsFileInfo **ret_file);
186 extern int cifs_unlock_range(struct cifsFileInfo *cfile,
188 extern int cifs_push_mandatory_locks(struct cifsFileInfo *cfile);
191 struct cifsFileInfo *cifs_new_fileinfo(struct cifs_fid *fid, struct file *file,
269 extern bool cifs_find_lock_conflict(struct cifsFileInfo *cfile, __u64 offset,
281 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()
581 struct cifsFileInfo *cfile; in smb2_query_path_info()
668 struct cifsFileInfo *cfile; in smb311_posix_query_path_info()
760 struct cifsFileInfo *cfile; in smb2_mkdir_setinfo()
800 int command, struct cifsFileInfo *cfile) in smb2_set_path_attr()
824 struct cifsFileInfo *cfile; in smb2_rename_path()
853 struct cifsFileInfo *cfile; in smb2_set_path_size()
868 struct cifsFileInfo *cfile; in smb2_set_file_info()
Dmisc.c425 struct cifsFileInfo *netfile; in is_valid_oplock_break()
626 void cifs_queue_oplock_break(struct cifsFileInfo *cfile) in cifs_queue_oplock_break()
694 cifs_is_deferred_close(struct cifsFileInfo *cfile, struct cifs_deferred_close **pdclose) in cifs_is_deferred_close()
713 cifs_add_deferred_close(struct cifsFileInfo *cfile, struct cifs_deferred_close *dclose) in cifs_add_deferred_close()
735 cifs_del_deferred_close(struct cifsFileInfo *cfile) in cifs_del_deferred_close()
750 struct cifsFileInfo *cfile = NULL; in cifs_close_deferred_file()
786 struct cifsFileInfo *cfile; in cifs_close_all_deferred_files()
818 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()
624 struct cifsFileInfo *cfile, struct cifs_open_info_data *data) in cifs_query_file_info()
748 cifs_set_fid(struct cifsFileInfo *cfile, struct cifs_fid *fid, __u32 oplock) in cifs_set_fid()
798 struct cifsFileInfo *open_file; in smb_set_file_info()
867 struct cifsFileInfo *cfile) in cifs_set_compression()
943 cifs_mand_lock(const unsigned int xid, struct cifsFileInfo *cfile, __u64 offset, in cifs_mand_lock()
1023 cifs_dir_needs_close(struct cifsFileInfo *cfile) in cifs_dir_needs_close()
Dreaddir.c36 struct cifsFileInfo *cf; in dump_cifs_file_struct()
374 struct cifsFileInfo *cifsFile; in _initiate_cifs_search()
385 cifsFile = kzalloc(sizeof(struct cifsFileInfo), GFP_KERNEL); in _initiate_cifs_search()
687 struct cifsFileInfo *file_info) in cifs_save_resume_key()
719 struct cifsFileInfo *cfile = file->private_data; in find_cifs_entry()
961 struct cifsFileInfo *file_info = file->private_data; in cifs_filldir()
1060 struct cifsFileInfo *cifsFile; in cifs_readdir()
Dsmb2file.c189 smb2_unlock_range(struct cifsFileInfo *cfile, struct file_lock *flock, in smb2_unlock_range()
297 struct cifsFileInfo *cfile = fdlocks->cfile; in smb2_push_mand_fdlocks()
333 smb2_push_mandatory_locks(struct cifsFileInfo *cfile) in smb2_push_mandatory_locks()
Dcifsfs.c1042 struct cifsFileInfo *cfile = file->private_data; in cifs_llseek()
1093 struct cifsFileInfo *cfile = file->private_data; in cifs_setlease()
1206 struct cifsFileInfo *writeable_srcfile; in cifs_precopy_set_eof()
1273 struct cifsFileInfo *smb_file_src = src_file->private_data; in cifs_remap_file_range()
1274 struct cifsFileInfo *smb_file_target = dst_file->private_data; in cifs_remap_file_range()
1381 struct cifsFileInfo *smb_file_src; in cifs_file_copychunk_range()
1382 struct cifsFileInfo *smb_file_target; in cifs_file_copychunk_range()
1496 struct cifsFileInfo *cfile = dst_file->private_data; in cifs_copy_file_range()
Dsmb2ops.c957 struct cifsFileInfo *cfile, struct cifs_open_info_data *data) in smb2_query_file_info()
1378 smb2_set_fid(struct cifsFileInfo *cfile, struct cifs_fid *fid, __u32 oplock) in smb2_set_fid()
1404 struct cifsFileInfo *cfile) in smb2_close_getattr()
1709 struct cifsFileInfo *srcfile, in smb2_copychunk_range()
1710 struct cifsFileInfo *trgtfile, u64 src_off, in smb2_copychunk_range()
1886 struct cifsFileInfo *cfile, struct inode *inode, __u8 setsparse) in smb2_set_sparse()
1932 struct cifsFileInfo *cfile, __u64 size, bool set_alloc) in smb2_set_file_size()
1956 struct cifsFileInfo *srcfile, in smb2_duplicate_extents()
1957 struct cifsFileInfo *trgtfile, u64 src_off, in smb2_duplicate_extents()
2011 struct cifsFileInfo *cfile) in smb2_set_compression()
[all …]
Dsmb2proto.h103 extern int smb2_unlock_range(struct cifsFileInfo *cfile,
105 extern int smb2_push_mandatory_locks(struct cifsFileInfo *cfile);
Dinode.c383 struct cifsFileInfo *cfile = filp->private_data; in cifs_get_file_info_unix()
886 struct cifsFileInfo *cfile = filp->private_data; in cifs_get_file_info()
2537 struct cifsFileInfo *cfile = (struct cifsFileInfo *) filp->private_data;
2705 struct cifsFileInfo *cfile;
2773 struct cifsFileInfo *open_file;
2870 struct cifsFileInfo *open_file;
3015 struct cifsFileInfo *wfile;
Dsmb2misc.c544 struct cifsFileInfo *cfile; in smb2_tcon_has_lease()
677 struct cifsFileInfo *cfile; in smb2_is_valid_oplock_break()
Dioctl.c333 struct cifsFileInfo *pSMBFile = filep->private_data; in cifs_ioctl()
Ddir.c429 struct cifsFileInfo *file_info;
Dcifs_debug.c240 struct cifsFileInfo *cfile; in cifs_debug_files_proc_show()
Dcifsacl.c1462 struct cifsFileInfo *open_file = NULL; in get_cifs_acl()
Dcifssmb.c5074 struct cifsFileInfo *cfile, __u64 size, bool set_allocation) in CIFSSMBSetFileSize()