Home
last modified time | relevance | path

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

/Linux-v5.4/fs/cifs/
Dcifsglob.h212 struct cifsFileInfo;
230 bool (*compare_fids)(struct cifsFileInfo *, struct cifsFileInfo *);
319 struct cifsFileInfo *, __u64, bool);
324 struct cifsFileInfo *);
365 void (*set_fid)(struct cifsFileInfo *, struct cifs_fid *, __u32);
409 int (*mand_lock)(const unsigned int, struct cifsFileInfo *, __u64,
412 int (*mand_unlock_range)(struct cifsFileInfo *, struct file_lock *,
415 int (*push_mand_locks)(struct cifsFileInfo *);
425 struct cifsFileInfo *src_file);
427 struct cifsFileInfo *src_file, void __user *);
[all …]
Dfile.c291 struct cifsFileInfo *
298 struct cifsFileInfo *cfile; in cifs_new_fileinfo()
303 cfile = kzalloc(sizeof(struct cifsFileInfo), GFP_KERNEL); in cifs_new_fileinfo()
369 struct cifsFileInfo *
370 cifsFileInfo_get(struct cifsFileInfo *cifs_file) in cifsFileInfo_get()
383 void cifsFileInfo_put(struct cifsFileInfo *cifs_file) in cifsFileInfo_put()
401 void _cifsFileInfo_put(struct cifsFileInfo *cifs_file, bool wait_oplock_handler) in _cifsFileInfo_put()
500 struct cifsFileInfo *cfile = NULL; in cifs_open()
617 static int cifs_push_posix_locks(struct cifsFileInfo *cfile);
624 cifs_relock_file(struct cifsFileInfo *cfile) in cifs_relock_file()
[all …]
Dcifsproto.h136 extern struct cifsFileInfo *find_writable_file(struct cifsInodeInfo *, bool);
139 struct cifsFileInfo **ret_file);
141 struct cifsFileInfo **ret_file);
142 extern struct cifsFileInfo *find_readable_file(struct cifsInodeInfo *, bool);
144 struct cifsFileInfo **ret_file);
169 extern int cifs_unlock_range(struct cifsFileInfo *cfile,
171 extern int cifs_push_mandatory_locks(struct cifsFileInfo *cfile);
174 extern struct cifsFileInfo *cifs_new_fileinfo(struct cifs_fid *fid,
234 extern bool cifs_find_lock_conflict(struct cifsFileInfo *cfile, __u64 offset,
352 struct cifsFileInfo *cfile, __u64 size,
Dreaddir.c46 struct cifsFileInfo *cf; in dump_cifs_file_struct()
272 struct cifsFileInfo *cifsFile; in initiate_cifs_search()
283 cifsFile = kzalloc(sizeof(struct cifsFileInfo), GFP_KERNEL); in initiate_cifs_search()
549 struct cifsFileInfo *file_info) in cifs_save_resume_key()
580 struct cifsFileInfo *cfile = file->private_data; in find_cifs_entry()
706 struct cifsFileInfo *file_info = file->private_data; in cifs_filldir()
794 struct cifsFileInfo *cifsFile = NULL; in cifs_readdir()
Dsmb2file.c117 smb2_unlock_range(struct cifsFileInfo *cfile, struct file_lock *flock, in smb2_unlock_range()
220 struct cifsFileInfo *cfile = fdlocks->cfile; in smb2_push_mand_fdlocks()
256 smb2_push_mandatory_locks(struct cifsFileInfo *cfile) in smb2_push_mandatory_locks()
Dsmb2inode.c55 struct cifsFileInfo *cfile) in smb2_compound_op()
447 struct cifsFileInfo *cfile; in smb2_query_path_info()
520 struct cifsFileInfo *cfile; in smb2_mkdir_setinfo()
559 struct cifsFileInfo *cfile) in smb2_set_path_attr()
582 struct cifsFileInfo *cfile; in smb2_rename_path()
Dsmb2misc.c519 struct cifsFileInfo *cfile; in smb2_tcon_has_lease()
528 cfile = list_entry(tmp, struct cifsFileInfo, tlist); in smb2_tcon_has_lease()
655 struct cifsFileInfo *cfile; in smb2_is_valid_oplock_break()
682 cfile = list_entry(tmp2, struct cifsFileInfo, in smb2_is_valid_oplock_break()
Dsmb1ops.c65 cifs_compare_fids(struct cifsFileInfo *ob1, struct cifsFileInfo *ob2) in cifs_compare_fids()
713 cifs_set_fid(struct cifsFileInfo *cfile, struct cifs_fid *fid, __u32 oplock) in cifs_set_fid()
763 struct cifsFileInfo *open_file; in smb_set_file_info()
831 struct cifsFileInfo *cfile) in cifs_set_compression()
908 cifs_mand_lock(const unsigned int xid, struct cifsFileInfo *cfile, __u64 offset, in cifs_mand_lock()
1012 cifs_dir_needs_close(struct cifsFileInfo *cfile) in cifs_dir_needs_close()
Dsmb2ops.c1307 smb2_set_fid(struct cifsFileInfo *cfile, struct cifs_fid *fid, __u32 oplock) in smb2_set_fid()
1580 struct cifsFileInfo *srcfile, in smb2_copychunk_range()
1581 struct cifsFileInfo *trgtfile, u64 src_off, in smb2_copychunk_range()
1757 struct cifsFileInfo *cfile, struct inode *inode, __u8 setsparse) in smb2_set_sparse()
1804 struct cifsFileInfo *cfile, __u64 size, bool set_alloc) in smb2_set_file_size()
1828 struct cifsFileInfo *srcfile, in smb2_duplicate_extents()
1829 struct cifsFileInfo *trgtfile, u64 src_off, in smb2_duplicate_extents()
1872 struct cifsFileInfo *cfile) in smb2_set_compression()
1880 struct cifsFileInfo *cfile) in smb3_set_integrity()
1911 struct cifsFileInfo *cfile, void __user *ioc_buf) in smb3_enum_snapshots()
[all …]
Dcifsfs.c934 struct cifsFileInfo *cfile = file->private_data; in cifs_llseek()
985 struct cifsFileInfo *cfile = file->private_data; in cifs_setlease()
1066 struct cifsFileInfo *smb_file_src = src_file->private_data; in cifs_remap_file_range()
1067 struct cifsFileInfo *smb_file_target; in cifs_remap_file_range()
1127 struct cifsFileInfo *smb_file_src; in cifs_file_copychunk_range()
1128 struct cifsFileInfo *smb_file_target; in cifs_file_copychunk_range()
Dsmb2proto.h113 extern int smb2_unlock_range(struct cifsFileInfo *cfile,
115 extern int smb2_push_mandatory_locks(struct cifsFileInfo *cfile);
Dmisc.c407 struct cifsFileInfo *netfile; in is_valid_oplock_break()
480 netfile = list_entry(tmp2, struct cifsFileInfo, in is_valid_oplock_break()
619 void cifs_queue_oplock_break(struct cifsFileInfo *cfile) in cifs_queue_oplock_break()
Dinode.c348 struct cifsFileInfo *cfile = filp->private_data;
675 struct cifsFileInfo *cfile = filp->private_data;
1994 struct cifsFileInfo *cfile = (struct cifsFileInfo *) filp->private_data;
2138 struct cifsFileInfo *cfile;
2203 struct cifsFileInfo *open_file;
2281 struct cifsFileInfo *open_file;
2423 struct cifsFileInfo *wfile;
Dioctl.c170 struct cifsFileInfo *pSMBFile = filep->private_data; in cifs_ioctl()
Dcifs_debug.c149 struct cifsFileInfo *cfile; in cifs_debug_files_proc_show()
169 cfile = list_entry(tmp2, struct cifsFileInfo, in cifs_debug_files_proc_show()
Ddir.c477 struct cifsFileInfo *file_info; in cifs_atomic_open()
Dcifsacl.c1104 struct cifsFileInfo *open_file = NULL; in get_cifs_acl()
Dcifssmb.c100 struct cifsFileInfo *open_file = NULL; in cifs_mark_open_files_invalid()
107 open_file = list_entry(tmp, struct cifsFileInfo, tlist); in cifs_mark_open_files_invalid()
5675 struct cifsFileInfo *cfile, __u64 size, bool set_allocation) in CIFSSMBSetFileSize()