Searched refs:ksmbd_file (Results 1 – 8 of 8) sorted by relevance
| /linux/fs/smb/server/ |
| H A D | vfs_cache.h | 92 struct ksmbd_file { struct 191 static inline bool ksmbd_stream_fd(struct ksmbd_file *fp) in ksmbd_stream_fd() argument 199 struct ksmbd_file *ksmbd_lookup_fd_fast(struct ksmbd_work *work, u64 id); 200 struct ksmbd_file *ksmbd_lookup_foreign_fd(struct ksmbd_work *work, u64 id); 201 struct ksmbd_file *ksmbd_lookup_fd_slow(struct ksmbd_work *work, u64 id, 203 int ksmbd_vfs_set_durable_owner(struct ksmbd_file *fp, 205 struct ksmbd_file *ksmbd_file_get(struct ksmbd_file *fp); 206 void ksmbd_fd_put(struct ksmbd_work *work, struct ksmbd_file *fp); 210 struct ksmbd_file *ksmbd_lookup_global_fd(unsigned long long id); 211 struct ksmbd_file *ksmbd_lookup_durable_fd(unsigned long long id); [all …]
|
| H A D | oplock.h | 66 struct ksmbd_file *o_fp; 99 u64 pid, struct ksmbd_file *fp, __u16 tid, 102 struct ksmbd_file *fp, int is_trunc); 103 void smb_break_all_levII_oplock_rename(struct ksmbd_work *work, struct ksmbd_file *fp); 105 struct ksmbd_file *fp, int is_trunc); 107 struct ksmbd_file *fp); 112 void close_id_del_oplock(struct ksmbd_file *fp); 113 void smb_break_all_oplock(struct ksmbd_work *work, struct ksmbd_file *fp); 114 struct oplock_info *opinfo_get(struct ksmbd_file *fp); 126 void create_durable_v2_rsp_buf(char *cc, struct ksmbd_file *fp); [all …]
|
| H A D | vfs_cache.c | 41 static int ksmbd_mark_fp_closed(struct ksmbd_file *fp); 97 static unsigned int ksmbd_proc_file_flags(struct ksmbd_file *fp) in ksmbd_proc_file_flags() 120 struct ksmbd_file *fp = NULL; in proc_show_files() 256 static struct ksmbd_inode *ksmbd_inode_lookup(struct ksmbd_file *fp) in ksmbd_inode_lookup() 294 bool ksmbd_inode_pending_delete(struct ksmbd_file *fp) in ksmbd_inode_pending_delete() 312 void ksmbd_set_inode_pending_delete(struct ksmbd_file *fp) in ksmbd_set_inode_pending_delete() 321 void ksmbd_clear_inode_pending_delete(struct ksmbd_file *fp) in ksmbd_clear_inode_pending_delete() 330 bool ksmbd_has_stream_without_delete_share(struct ksmbd_file *fp) in ksmbd_has_stream_without_delete_share() 332 struct ksmbd_file *prev_fp; in ksmbd_has_stream_without_delete_share() 357 void ksmbd_fd_set_delete_on_close(struct ksmbd_file *fp, in ksmbd_fd_set_delete_on_close() [all …]
|
| H A D | ksmbd_work.h | 15 struct ksmbd_file; 110 struct ksmbd_file *request_open;
|
| H A D | oplock.c | 270 struct oplock_info *opinfo_get(struct ksmbd_file *fp) in opinfo_get() 290 struct ksmbd_file *skip_fp, in opinfo_get_list() 353 static void opinfo_add(struct oplock_info *opinfo, struct ksmbd_file *fp) in opinfo_add() 374 static unsigned long opinfo_count(struct ksmbd_file *fp) in opinfo_count() 382 static void opinfo_count_inc(struct ksmbd_file *fp) in opinfo_count_inc() 390 static void opinfo_count_dec(struct ksmbd_file *fp) in opinfo_count_dec() 536 void close_id_del_oplock(struct ksmbd_file *fp) in close_id_del_oplock() 870 struct ksmbd_file *fp; in __smb2_oplock_break_noti() 1446 void smb_send_parent_lease_break_noti(struct ksmbd_file *fp, in smb_send_parent_lease_break_noti() 1489 void smb_lazy_parent_lease_break_close(struct ksmbd_file *fp) in smb_lazy_parent_lease_break_close() [all …]
|
| H A D | vfs.c | 250 static int ksmbd_vfs_stream_read(struct ksmbd_file *fp, char *buf, loff_t *pos, in ksmbd_vfs_stream_read() 340 int ksmbd_vfs_read(struct ksmbd_work *work, struct ksmbd_file *fp, size_t count, in ksmbd_vfs_read() 384 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() 556 struct ksmbd_file *fp; in ksmbd_vfs_fsync() 667 struct ksmbd_file *parent_fp; in ksmbd_vfs_check_rename_share() 684 int ksmbd_vfs_rename(struct ksmbd_work *work, struct ksmbd_file *old_fp, in ksmbd_vfs_rename() 780 struct ksmbd_file *fp, loff_t size) in ksmbd_vfs_truncate() 950 int ksmbd_vfs_zero_data(struct ksmbd_work *work, struct ksmbd_file *fp, in ksmbd_vfs_zero_data() 1013 int ksmbd_vfs_zero_holes(struct ksmbd_file *fp) in ksmbd_vfs_zero_holes() [all …]
|
| H A D | smb2pdu.c | 679 struct ksmbd_file *fp, in smb3_verify_channel_sequence() 727 struct ksmbd_file *fp, in smb3_complete_channel_sequence() 748 static int smb2_set_request_open(struct ksmbd_work *work, struct ksmbd_file *fp, in smb2_set_request_open() 752 struct ksmbd_file *open; in smb2_set_request_open() 778 struct ksmbd_file *open = work->request_open; in smb2_complete_request_open() 793 struct ksmbd_file *fp) in smb2_lock_sequence_applicable() 802 struct ksmbd_file *fp, in smb2_verify_lock_sequence() 832 struct ksmbd_file *fp, in smb2_update_lock_sequence() 3368 struct ksmbd_file *fp, in smb2_set_stream_name_xattr() 3436 static loff_t ksmbd_stream_eof(struct ksmbd_file *fp) in ksmbd_stream_eof() [all …]
|
| /linux/fs/smb/server/mgmt/ |
| H A D | user_session.c | 92 struct ksmbd_file *fp; in session_open_file_count()
|