Searched refs:ksmbd_file (Results 1 – 10 of 10) sorted by relevance
| /Linux-v6.6/fs/smb/server/ |
| D | vfs_cache.h | 69 struct ksmbd_file { struct 128 static inline bool ksmbd_stream_fd(struct ksmbd_file *fp) in ksmbd_stream_fd() argument 136 struct ksmbd_file *ksmbd_lookup_fd_fast(struct ksmbd_work *work, u64 id); 137 struct ksmbd_file *ksmbd_lookup_foreign_fd(struct ksmbd_work *work, u64 id); 138 struct ksmbd_file *ksmbd_lookup_fd_slow(struct ksmbd_work *work, u64 id, 140 void ksmbd_fd_put(struct ksmbd_work *work, struct ksmbd_file *fp); 141 struct ksmbd_file *ksmbd_lookup_durable_fd(unsigned long long id); 142 struct ksmbd_file *ksmbd_lookup_fd_cguid(char *cguid); 143 struct ksmbd_file *ksmbd_lookup_fd_inode(struct inode *inode); 144 unsigned int ksmbd_open_durable_fd(struct ksmbd_file *fp); [all …]
|
| D | vfs_cache.c | 85 static struct ksmbd_inode *ksmbd_inode_lookup(struct ksmbd_file *fp) in ksmbd_inode_lookup() 117 bool ksmbd_inode_pending_delete(struct ksmbd_file *fp) in ksmbd_inode_pending_delete() 122 void ksmbd_set_inode_pending_delete(struct ksmbd_file *fp) in ksmbd_set_inode_pending_delete() 127 void ksmbd_clear_inode_pending_delete(struct ksmbd_file *fp) in ksmbd_clear_inode_pending_delete() 132 void ksmbd_fd_set_delete_on_close(struct ksmbd_file *fp, in ksmbd_fd_set_delete_on_close() 158 static int ksmbd_inode_init(struct ksmbd_inode *ci, struct ksmbd_file *fp) in ksmbd_inode_init() 172 static struct ksmbd_inode *ksmbd_inode_get(struct ksmbd_file *fp) in ksmbd_inode_get() 245 static void __ksmbd_inode_close(struct ksmbd_file *fp) in __ksmbd_inode_close() 276 static void __ksmbd_remove_durable_fd(struct ksmbd_file *fp) in __ksmbd_remove_durable_fd() 286 static void __ksmbd_remove_fd(struct ksmbd_file_table *ft, struct ksmbd_file *fp) in __ksmbd_remove_fd() [all …]
|
| D | oplock.h | 63 struct ksmbd_file *o_fp; 96 u64 pid, struct ksmbd_file *fp, __u16 tid, 99 struct ksmbd_file *fp, int is_trunc); 104 void close_id_del_oplock(struct ksmbd_file *fp); 105 void smb_break_all_oplock(struct ksmbd_work *work, struct ksmbd_file *fp); 106 struct oplock_info *opinfo_get(struct ksmbd_file *fp); 117 void create_durable_v2_rsp_buf(char *cc, struct ksmbd_file *fp); 120 void create_posix_rsp_buf(char *cc, struct ksmbd_file *fp);
|
| 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, 124 int ksmbd_vfs_empty_dir(struct ksmbd_file *fp); 126 int ksmbd_vfs_zero_data(struct ksmbd_work *work, struct ksmbd_file *fp, 129 int ksmbd_vfs_fqar_lseek(struct ksmbd_file *fp, loff_t start, loff_t length,
|
| D | oplock.c | 137 struct oplock_info *opinfo_get(struct ksmbd_file *fp) in opinfo_get() 227 static unsigned long opinfo_count(struct ksmbd_file *fp) in opinfo_count() 235 static void opinfo_count_inc(struct ksmbd_file *fp) in opinfo_count_inc() 243 static void opinfo_count_dec(struct ksmbd_file *fp) in opinfo_count_dec() 394 void close_id_del_oplock(struct ksmbd_file *fp) in close_id_del_oplock() 635 struct ksmbd_file *fp; in __smb2_oplock_break_noti() 1096 struct ksmbd_file *fp, __u16 tid, in smb_grant_oplock() 1226 struct ksmbd_file *fp, int is_trunc) in smb_break_all_write_oplock() 1252 void smb_break_all_levII_oplock(struct ksmbd_work *work, struct ksmbd_file *fp, in smb_break_all_levII_oplock() 1320 void smb_break_all_oplock(struct ksmbd_work *work, struct ksmbd_file *fp) in smb_break_all_oplock() [all …]
|
| D | smb_common.c | 411 struct ksmbd_file *dir, in ksmbd_populate_dot_dotdot_entries() 614 static void smb_shared_mode_error(int error, struct ksmbd_file *prev_fp, in smb_shared_mode_error() 615 struct ksmbd_file *curr_fp) in smb_shared_mode_error() 622 int ksmbd_smb_check_shared_mode(struct file *filp, struct ksmbd_file *curr_fp) in ksmbd_smb_check_shared_mode() 625 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() 489 int ksmbd_vfs_write(struct ksmbd_work *work, struct ksmbd_file *fp, in ksmbd_vfs_write() 573 struct ksmbd_file *fp; in ksmbd_vfs_fsync() 698 struct ksmbd_file *parent_fp; in ksmbd_vfs_rename() 814 struct ksmbd_file *fp, loff_t size) in ksmbd_vfs_truncate() 980 int ksmbd_vfs_zero_data(struct ksmbd_work *work, struct ksmbd_file *fp, in ksmbd_vfs_zero_data() 994 int ksmbd_vfs_fqar_lseek(struct ksmbd_file *fp, loff_t start, loff_t length, in ksmbd_vfs_fqar_lseek() 1115 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 | 2415 struct ksmbd_file *fp, in smb2_set_stream_name_xattr() 2506 struct ksmbd_file *fp) in smb2_new_xattrs() 2527 const struct path *path, struct ksmbd_file *fp) in smb2_update_xattrs() 2649 struct ksmbd_file *fp = NULL; in smb2_open() 3754 struct ksmbd_file *dir_fp; 3760 static void lock_dir(struct ksmbd_file *dir_fp) in lock_dir() 3767 static void unlock_dir(struct ksmbd_file *dir_fp) in unlock_dir() 4011 struct ksmbd_file *dir_fp = NULL; in smb2_query_dir() 4290 static int smb2_get_ea(struct ksmbd_work *work, struct ksmbd_file *fp, in smb2_get_ea() 4444 struct ksmbd_file *fp, void *rsp_org) in get_file_access_info() [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);
|