Searched refs:ksmbd_file (Results 1 – 8 of 8) sorted by relevance
| /linux/fs/smb/server/ |
| H A D | vfs_cache.h | 71 struct ksmbd_file { struct 137 static inline bool ksmbd_stream_fd(struct ksmbd_file *fp) in ksmbd_stream_fd() argument 145 struct ksmbd_file *ksmbd_lookup_fd_fast(struct ksmbd_work *work, u64 id); 146 struct ksmbd_file *ksmbd_lookup_foreign_fd(struct ksmbd_work *work, u64 id); 147 struct ksmbd_file *ksmbd_lookup_fd_slow(struct ksmbd_work *work, u64 id, 149 void ksmbd_fd_put(struct ksmbd_work *work, struct ksmbd_file *fp); 152 struct ksmbd_file *ksmbd_lookup_global_fd(unsigned long long id); 153 struct ksmbd_file *ksmbd_lookup_durable_fd(unsigned long long id); 154 void ksmbd_put_durable_fd(struct ksmbd_file *fp); 155 struct ksmbd_file *ksmbd_lookup_fd_cguid(char *cguid); [all …]
|
| H A D | vfs_cache.c | 71 struct ksmbd_file *fp = NULL; in proc_show_files() 185 static struct ksmbd_inode *ksmbd_inode_lookup(struct ksmbd_file *fp) in ksmbd_inode_lookup() 223 bool ksmbd_inode_pending_delete(struct ksmbd_file *fp) in ksmbd_inode_pending_delete() 235 void ksmbd_set_inode_pending_delete(struct ksmbd_file *fp) in ksmbd_set_inode_pending_delete() 244 void ksmbd_clear_inode_pending_delete(struct ksmbd_file *fp) in ksmbd_clear_inode_pending_delete() 253 void ksmbd_fd_set_delete_on_close(struct ksmbd_file *fp, in ksmbd_fd_set_delete_on_close() 281 static int ksmbd_inode_init(struct ksmbd_inode *ci, struct ksmbd_file *fp) in ksmbd_inode_init() 295 static struct ksmbd_inode *ksmbd_inode_get(struct ksmbd_file *fp) in ksmbd_inode_get() 368 static void __ksmbd_inode_close(struct ksmbd_file *fp) in __ksmbd_inode_close() 414 static void __ksmbd_remove_durable_fd(struct ksmbd_file *fp) in __ksmbd_remove_durable_fd() [all …]
|
| H A D | oplock.h | 59 struct ksmbd_file *o_fp; 91 u64 pid, struct ksmbd_file *fp, __u16 tid, 94 struct ksmbd_file *fp, int is_trunc); 99 void close_id_del_oplock(struct ksmbd_file *fp); 100 void smb_break_all_oplock(struct ksmbd_work *work, struct ksmbd_file *fp); 101 struct oplock_info *opinfo_get(struct ksmbd_file *fp); 112 void create_durable_v2_rsp_buf(char *cc, struct ksmbd_file *fp); 115 void create_posix_rsp_buf(char *cc, struct ksmbd_file *fp); 122 void smb_send_parent_lease_break_noti(struct ksmbd_file *fp, 124 void smb_lazy_parent_lease_break_close(struct ksmbd_file *fp); [all …]
|
| H A D | oplock.c | 152 struct oplock_info *opinfo_get(struct ksmbd_file *fp) in opinfo_get() 199 static void opinfo_add(struct oplock_info *opinfo, struct ksmbd_file *fp) 222 static unsigned long opinfo_count(struct ksmbd_file *fp) in opinfo_count_inc() 230 static void opinfo_count_inc(struct ksmbd_file *fp) in opinfo_count_dec() 238 static void opinfo_count_dec(struct ksmbd_file *fp) 389 void close_id_del_oplock(struct ksmbd_file *fp) in close_id_del_oplock() 648 struct ksmbd_file *fp; in __smb2_oplock_break_noti() 1093 void smb_send_parent_lease_break_noti(struct ksmbd_file *fp, in smb_send_parent_lease_break_noti() 1132 void smb_lazy_parent_lease_break_close(struct ksmbd_file *fp) in smb_lazy_parent_lease_break_close() 1186 struct ksmbd_file *f in smb_grant_oplock() [all...] |
| H A D | vfs.c | 254 static int ksmbd_vfs_stream_read(struct ksmbd_file *fp, char *buf, loff_t *pos, in ksmbd_vfs_stream_read() 344 int ksmbd_vfs_read(struct ksmbd_work *work, struct ksmbd_file *fp, size_t count, in ksmbd_vfs_read() 388 static int ksmbd_vfs_stream_write(struct ksmbd_file *fp, char *buf, loff_t *pos, in ksmbd_vfs_stream_write() 466 int ksmbd_vfs_write(struct ksmbd_work *work, struct ksmbd_file *fp, in ksmbd_vfs_write() 555 struct ksmbd_file *fp; in ksmbd_vfs_fsync() 670 struct ksmbd_file *parent_fp; in ksmbd_vfs_rename() 749 struct ksmbd_file *fp, loff_t size) in ksmbd_vfs_truncate() 919 int ksmbd_vfs_zero_data(struct ksmbd_work *work, struct ksmbd_file *fp, in ksmbd_vfs_zero_data() 933 int ksmbd_vfs_fqar_lseek(struct ksmbd_file *fp, loff_t start, loff_t length, in ksmbd_vfs_fqar_lseek() 1059 int ksmbd_vfs_empty_dir(struct ksmbd_file *fp) in ksmbd_vfs_empty_dir() [all …]
|
| H A D | smb_common.c | 454 struct ksmbd_file *dir, in ksmbd_populate_dot_dotdot_entries() 660 static void smb_shared_mode_error(int error, struct ksmbd_file *prev_fp, in smb_shared_mode_error() 661 struct ksmbd_file *curr_fp) in smb_shared_mode_error() 668 int ksmbd_smb_check_shared_mode(struct file *filp, struct ksmbd_file *curr_fp) in ksmbd_smb_check_shared_mode() 671 struct ksmbd_file *prev_fp; in ksmbd_smb_check_shared_mode()
|
| H A D | smb_common.h | 183 struct ksmbd_file *dir, 197 int ksmbd_smb_check_shared_mode(struct file *filp, struct ksmbd_file *curr_fp);
|
| H A D | smb2pdu.c | 2479 struct ksmbd_file *fp, in smb2_set_stream_name_xattr() 2570 struct ksmbd_file *fp) in smb2_new_xattrs() 2591 const struct path *path, struct ksmbd_file *fp) in smb2_update_xattrs() 2706 struct ksmbd_file *fp; 2898 struct ksmbd_file *fp = NULL; in smb2_open() 4141 struct ksmbd_file *dir_fp; in process_query_dir_entries() 4389 struct ksmbd_file *dir_fp = NULL; in smb2_query_dir() 4681 * @fp: ksmbd_file pointer in smb2_get_ea() 4688 static int smb2_get_ea(struct ksmbd_work *work, struct ksmbd_file *fp, in smb2_get_ea() 4844 struct ksmbd_file *f in get_file_access_info() [all...] |