Searched refs:ksmbd_file (Results 1 – 10 of 10) sorted by relevance
/linux-6.12.1/fs/smb/server/ |
D | vfs_cache.h | 70 struct ksmbd_file { struct 134 static inline bool ksmbd_stream_fd(struct ksmbd_file *fp) in ksmbd_stream_fd() argument 142 struct ksmbd_file *ksmbd_lookup_fd_fast(struct ksmbd_work *work, u64 id); 143 struct ksmbd_file *ksmbd_lookup_foreign_fd(struct ksmbd_work *work, u64 id); 144 struct ksmbd_file *ksmbd_lookup_fd_slow(struct ksmbd_work *work, u64 id, 146 void ksmbd_fd_put(struct ksmbd_work *work, struct ksmbd_file *fp); 149 struct ksmbd_file *ksmbd_lookup_global_fd(unsigned long long id); 150 struct ksmbd_file *ksmbd_lookup_durable_fd(unsigned long long id); 151 void ksmbd_put_durable_fd(struct ksmbd_file *fp); 152 struct ksmbd_file *ksmbd_lookup_fd_cguid(char *cguid); [all …]
|
D | vfs_cache.c | 92 static struct ksmbd_inode *ksmbd_inode_lookup(struct ksmbd_file *fp) in ksmbd_inode_lookup() 125 bool ksmbd_inode_pending_delete(struct ksmbd_file *fp) in ksmbd_inode_pending_delete() 130 void ksmbd_set_inode_pending_delete(struct ksmbd_file *fp) in ksmbd_set_inode_pending_delete() 135 void ksmbd_clear_inode_pending_delete(struct ksmbd_file *fp) in ksmbd_clear_inode_pending_delete() 140 void ksmbd_fd_set_delete_on_close(struct ksmbd_file *fp, in ksmbd_fd_set_delete_on_close() 166 static int ksmbd_inode_init(struct ksmbd_inode *ci, struct ksmbd_file *fp) in ksmbd_inode_init() 180 static struct ksmbd_inode *ksmbd_inode_get(struct ksmbd_file *fp) in ksmbd_inode_get() 253 static void __ksmbd_inode_close(struct ksmbd_file *fp) in __ksmbd_inode_close() 285 static void __ksmbd_remove_durable_fd(struct ksmbd_file *fp) in __ksmbd_remove_durable_fd() 293 static void ksmbd_remove_durable_fd(struct ksmbd_file *fp) in ksmbd_remove_durable_fd() [all …]
|
D | oplock.h | 59 struct ksmbd_file *o_fp; 92 u64 pid, struct ksmbd_file *fp, __u16 tid, 95 struct ksmbd_file *fp, int is_trunc); 100 void close_id_del_oplock(struct ksmbd_file *fp); 101 void smb_break_all_oplock(struct ksmbd_work *work, struct ksmbd_file *fp); 102 struct oplock_info *opinfo_get(struct ksmbd_file *fp); 113 void create_durable_v2_rsp_buf(char *cc, struct ksmbd_file *fp); 116 void create_posix_rsp_buf(char *cc, struct ksmbd_file *fp); 123 void smb_send_parent_lease_break_noti(struct ksmbd_file *fp, 125 void smb_lazy_parent_lease_break_close(struct ksmbd_file *fp); [all …]
|
D | vfs.h | 37 struct ksmbd_file; 79 int ksmbd_vfs_read(struct ksmbd_work *work, struct ksmbd_file *fp, size_t count, 81 int ksmbd_vfs_write(struct ksmbd_work *work, struct ksmbd_file *fp, 92 struct ksmbd_file *fp, loff_t size); 95 struct ksmbd_file *src_fp, 96 struct ksmbd_file *dst_fp, 127 int ksmbd_vfs_empty_dir(struct ksmbd_file *fp); 129 int ksmbd_vfs_zero_data(struct ksmbd_work *work, struct ksmbd_file *fp, 132 int ksmbd_vfs_fqar_lseek(struct ksmbd_file *fp, loff_t start, loff_t length,
|
D | oplock.c | 141 struct oplock_info *opinfo_get(struct ksmbd_file *fp) in opinfo_get() 215 static unsigned long opinfo_count(struct ksmbd_file *fp) in opinfo_count() 223 static void opinfo_count_inc(struct ksmbd_file *fp) in opinfo_count_inc() 231 static void opinfo_count_dec(struct ksmbd_file *fp) in opinfo_count_dec() 382 void close_id_del_oplock(struct ksmbd_file *fp) in close_id_del_oplock() 640 struct ksmbd_file *fp; in __smb2_oplock_break_noti() 1091 void smb_send_parent_lease_break_noti(struct ksmbd_file *fp, in smb_send_parent_lease_break_noti() 1128 void smb_lazy_parent_lease_break_close(struct ksmbd_file *fp) in smb_lazy_parent_lease_break_close() 1177 struct ksmbd_file *fp, __u16 tid, in smb_grant_oplock() 1311 struct ksmbd_file *fp, int is_trunc) in smb_break_all_write_oplock() [all …]
|
D | smb_common.c | 430 struct ksmbd_file *dir, in ksmbd_populate_dot_dotdot_entries() 636 static void smb_shared_mode_error(int error, struct ksmbd_file *prev_fp, in smb_shared_mode_error() 637 struct ksmbd_file *curr_fp) in smb_shared_mode_error() 644 int ksmbd_smb_check_shared_mode(struct file *filp, struct ksmbd_file *curr_fp) in ksmbd_smb_check_shared_mode() 647 struct ksmbd_file *prev_fp; in ksmbd_smb_check_shared_mode()
|
D | vfs.c | 288 static int ksmbd_vfs_stream_read(struct ksmbd_file *fp, char *buf, loff_t *pos, in ksmbd_vfs_stream_read() 374 int ksmbd_vfs_read(struct ksmbd_work *work, struct ksmbd_file *fp, size_t count, in ksmbd_vfs_read() 417 static int ksmbd_vfs_stream_write(struct ksmbd_file *fp, char *buf, loff_t *pos, in ksmbd_vfs_stream_write() 490 int ksmbd_vfs_write(struct ksmbd_work *work, struct ksmbd_file *fp, in ksmbd_vfs_write() 576 struct ksmbd_file *fp; in ksmbd_vfs_fsync() 693 struct ksmbd_file *parent_fp; in ksmbd_vfs_rename() 819 struct ksmbd_file *fp, loff_t size) in ksmbd_vfs_truncate() 989 int ksmbd_vfs_zero_data(struct ksmbd_work *work, struct ksmbd_file *fp, in ksmbd_vfs_zero_data() 1003 int ksmbd_vfs_fqar_lseek(struct ksmbd_file *fp, loff_t start, loff_t length, in ksmbd_vfs_fqar_lseek() 1130 int ksmbd_vfs_empty_dir(struct ksmbd_file *fp) in ksmbd_vfs_empty_dir() [all …]
|
D | misc.h | 12 struct ksmbd_file;
|
D | smb2pdu.c | 2434 struct ksmbd_file *fp, in smb2_set_stream_name_xattr() 2525 struct ksmbd_file *fp) in smb2_new_xattrs() 2546 const struct path *path, struct ksmbd_file *fp) in smb2_update_xattrs() 2661 struct ksmbd_file *fp; 2827 struct ksmbd_file *fp = NULL; in smb2_open() 4029 struct ksmbd_file *dir_fp; 4035 static void lock_dir(struct ksmbd_file *dir_fp) in lock_dir() 4042 static void unlock_dir(struct ksmbd_file *dir_fp) in unlock_dir() 4291 struct ksmbd_file *dir_fp = NULL; in smb2_query_dir() 4571 static int smb2_get_ea(struct ksmbd_work *work, struct ksmbd_file *fp, in smb2_get_ea() [all …]
|
D | smb_common.h | 435 struct ksmbd_file *dir, 449 int ksmbd_smb_check_shared_mode(struct file *filp, struct ksmbd_file *curr_fp);
|