Searched refs:ksmbd_file (Results 1 – 10 of 10) sorted by relevance
| /Linux-v5.15/fs/ksmbd/ |
| D | vfs_cache.h | 63 struct ksmbd_file { struct 132 static inline bool ksmbd_stream_fd(struct ksmbd_file *fp) in ksmbd_stream_fd() argument 140 struct ksmbd_file *ksmbd_lookup_fd_fast(struct ksmbd_work *work, u64 id); 141 struct ksmbd_file *ksmbd_lookup_foreign_fd(struct ksmbd_work *work, u64 id); 142 struct ksmbd_file *ksmbd_lookup_fd_slow(struct ksmbd_work *work, u64 id, 144 void ksmbd_fd_put(struct ksmbd_work *work, struct ksmbd_file *fp); 145 struct ksmbd_file *ksmbd_lookup_durable_fd(unsigned long long id); 146 struct ksmbd_file *ksmbd_lookup_fd_cguid(char *cguid); 147 struct ksmbd_file *ksmbd_lookup_fd_inode(struct inode *inode); 148 unsigned int ksmbd_open_durable_fd(struct ksmbd_file *fp); [all …]
|
| D | vfs_cache.c | 84 static struct ksmbd_inode *ksmbd_inode_lookup(struct ksmbd_file *fp) in ksmbd_inode_lookup() 116 bool ksmbd_inode_pending_delete(struct ksmbd_file *fp) in ksmbd_inode_pending_delete() 121 void ksmbd_set_inode_pending_delete(struct ksmbd_file *fp) in ksmbd_set_inode_pending_delete() 126 void ksmbd_clear_inode_pending_delete(struct ksmbd_file *fp) in ksmbd_clear_inode_pending_delete() 131 void ksmbd_fd_set_delete_on_close(struct ksmbd_file *fp, in ksmbd_fd_set_delete_on_close() 157 static int ksmbd_inode_init(struct ksmbd_inode *ci, struct ksmbd_file *fp) in ksmbd_inode_init() 171 static struct ksmbd_inode *ksmbd_inode_get(struct ksmbd_file *fp) in ksmbd_inode_get() 244 static void __ksmbd_inode_close(struct ksmbd_file *fp) in __ksmbd_inode_close() 278 static void __ksmbd_remove_durable_fd(struct ksmbd_file *fp) in __ksmbd_remove_durable_fd() 288 static void __ksmbd_remove_fd(struct ksmbd_file_table *ft, struct ksmbd_file *fp) in __ksmbd_remove_fd() [all …]
|
| D | oplock.h | 65 struct ksmbd_file *o_fp; 98 u64 pid, struct ksmbd_file *fp, __u16 tid, 101 struct ksmbd_file *fp, int is_trunc); 106 void close_id_del_oplock(struct ksmbd_file *fp); 107 void smb_break_all_oplock(struct ksmbd_work *work, struct ksmbd_file *fp); 108 struct oplock_info *opinfo_get(struct ksmbd_file *fp); 119 void create_durable_v2_rsp_buf(char *cc, struct ksmbd_file *fp); 122 void create_posix_rsp_buf(char *cc, struct ksmbd_file *fp); 129 int smb2_check_durable_oplock(struct ksmbd_file *fp,
|
| D | vfs.h | 75 struct ksmbd_file; 117 int ksmbd_vfs_read(struct ksmbd_work *work, struct ksmbd_file *fp, 119 int ksmbd_vfs_write(struct ksmbd_work *work, struct ksmbd_file *fp, 127 int ksmbd_vfs_fp_rename(struct ksmbd_work *work, struct ksmbd_file *fp, 130 struct ksmbd_file *fp, loff_t size); 133 struct ksmbd_file *src_fp, 134 struct ksmbd_file *dst_fp, 162 int ksmbd_vfs_empty_dir(struct ksmbd_file *fp); 164 int ksmbd_vfs_zero_data(struct ksmbd_work *work, struct ksmbd_file *fp, 167 int ksmbd_vfs_fqar_lseek(struct ksmbd_file *fp, loff_t start, loff_t length,
|
| D | smb_common.c | 297 struct ksmbd_file *dir, in ksmbd_populate_dot_dotdot_entries() 499 static void smb_shared_mode_error(int error, struct ksmbd_file *prev_fp, in smb_shared_mode_error() 500 struct ksmbd_file *curr_fp) in smb_shared_mode_error() 507 int ksmbd_smb_check_shared_mode(struct file *filp, struct ksmbd_file *curr_fp) in ksmbd_smb_check_shared_mode() 510 struct ksmbd_file *prev_fp; in ksmbd_smb_check_shared_mode()
|
| D | oplock.c | 136 struct oplock_info *opinfo_get(struct ksmbd_file *fp) in opinfo_get() 197 static unsigned long opinfo_count(struct ksmbd_file *fp) in opinfo_count() 205 static void opinfo_count_inc(struct ksmbd_file *fp) in opinfo_count_inc() 213 static void opinfo_count_dec(struct ksmbd_file *fp) in opinfo_count_dec() 364 void close_id_del_oplock(struct ksmbd_file *fp) in close_id_del_oplock() 615 struct ksmbd_file *fp; in __smb2_oplock_break_noti() 1084 struct ksmbd_file *fp, __u16 tid, in smb_grant_oplock() 1212 struct ksmbd_file *fp, int is_trunc) in smb_break_all_write_oplock() 1238 void smb_break_all_levII_oplock(struct ksmbd_work *work, struct ksmbd_file *fp, in smb_break_all_levII_oplock() 1299 void smb_break_all_oplock(struct ksmbd_work *work, struct ksmbd_file *fp) in smb_break_all_oplock() [all …]
|
| D | vfs.c | 280 static int ksmbd_vfs_stream_read(struct ksmbd_file *fp, char *buf, loff_t *pos, in ksmbd_vfs_stream_read() 365 int ksmbd_vfs_read(struct ksmbd_work *work, struct ksmbd_file *fp, size_t count, in ksmbd_vfs_read() 411 static int ksmbd_vfs_stream_write(struct ksmbd_file *fp, char *buf, loff_t *pos, in ksmbd_vfs_stream_write() 482 int ksmbd_vfs_write(struct ksmbd_work *work, struct ksmbd_file *fp, in ksmbd_vfs_write() 568 struct ksmbd_file *fp; in ksmbd_vfs_fsync() 701 struct ksmbd_file *child_fp; in ksmbd_validate_entry_in_use() 777 int ksmbd_vfs_fp_rename(struct ksmbd_work *work, struct ksmbd_file *fp, in ksmbd_vfs_fp_rename() 850 struct ksmbd_file *fp, loff_t size) in ksmbd_vfs_truncate() 1012 int ksmbd_vfs_zero_data(struct ksmbd_work *work, struct ksmbd_file *fp, in ksmbd_vfs_zero_data() 1024 int ksmbd_vfs_fqar_lseek(struct ksmbd_file *fp, loff_t start, loff_t length, in ksmbd_vfs_fqar_lseek() [all …]
|
| D | misc.h | 12 struct ksmbd_file;
|
| D | smb2pdu.c | 2237 struct ksmbd_file *fp, in smb2_set_stream_name_xattr() 2329 struct ksmbd_file *fp) in smb2_new_xattrs() 2351 struct path *path, struct ksmbd_file *fp) in smb2_update_xattrs() 2469 struct ksmbd_file *fp = NULL; in smb2_open() 3564 struct ksmbd_file *dir_fp; 3570 static void lock_dir(struct ksmbd_file *dir_fp) in lock_dir() 3577 static void unlock_dir(struct ksmbd_file *dir_fp) in unlock_dir() 3821 struct ksmbd_file *dir_fp = NULL; in smb2_query_dir() 4097 static int smb2_get_ea(struct ksmbd_work *work, struct ksmbd_file *fp, in smb2_get_ea() 4252 struct ksmbd_file *fp, void *rsp_org) in get_file_access_info() [all …]
|
| D | smb_common.h | 501 struct ksmbd_file *dir, 515 int ksmbd_smb_check_shared_mode(struct file *filp, struct ksmbd_file *curr_fp);
|