Home
last modified time | relevance | path

Searched refs:ksmbd_file (Results 1 – 10 of 10) sorted by relevance

/linux-6.6.21/fs/smb/server/
Dvfs_cache.h69 struct ksmbd_file { struct
129 static inline bool ksmbd_stream_fd(struct ksmbd_file *fp) in ksmbd_stream_fd() argument
137 struct ksmbd_file *ksmbd_lookup_fd_fast(struct ksmbd_work *work, u64 id);
138 struct ksmbd_file *ksmbd_lookup_foreign_fd(struct ksmbd_work *work, u64 id);
139 struct ksmbd_file *ksmbd_lookup_fd_slow(struct ksmbd_work *work, u64 id,
141 void ksmbd_fd_put(struct ksmbd_work *work, struct ksmbd_file *fp);
144 struct ksmbd_file *ksmbd_lookup_durable_fd(unsigned long long id);
145 struct ksmbd_file *ksmbd_lookup_fd_cguid(char *cguid);
146 struct ksmbd_file *ksmbd_lookup_fd_inode(struct dentry *dentry);
147 unsigned int ksmbd_open_durable_fd(struct ksmbd_file *fp);
[all …]
Dvfs_cache.c85 static struct ksmbd_inode *ksmbd_inode_lookup(struct ksmbd_file *fp) in ksmbd_inode_lookup()
118 bool ksmbd_inode_pending_delete(struct ksmbd_file *fp) in ksmbd_inode_pending_delete()
123 void ksmbd_set_inode_pending_delete(struct ksmbd_file *fp) in ksmbd_set_inode_pending_delete()
128 void ksmbd_clear_inode_pending_delete(struct ksmbd_file *fp) in ksmbd_clear_inode_pending_delete()
133 void ksmbd_fd_set_delete_on_close(struct ksmbd_file *fp, in ksmbd_fd_set_delete_on_close()
159 static int ksmbd_inode_init(struct ksmbd_inode *ci, struct ksmbd_file *fp) in ksmbd_inode_init()
173 static struct ksmbd_inode *ksmbd_inode_get(struct ksmbd_file *fp) in ksmbd_inode_get()
246 static void __ksmbd_inode_close(struct ksmbd_file *fp) in __ksmbd_inode_close()
277 static void __ksmbd_remove_durable_fd(struct ksmbd_file *fp) in __ksmbd_remove_durable_fd()
287 static void __ksmbd_remove_fd(struct ksmbd_file_table *ft, struct ksmbd_file *fp) in __ksmbd_remove_fd()
[all …]
Doplock.h66 struct ksmbd_file *o_fp;
99 u64 pid, struct ksmbd_file *fp, __u16 tid,
102 struct ksmbd_file *fp, int is_trunc);
107 void close_id_del_oplock(struct ksmbd_file *fp);
108 void smb_break_all_oplock(struct ksmbd_work *work, struct ksmbd_file *fp);
109 struct oplock_info *opinfo_get(struct ksmbd_file *fp);
120 void create_durable_v2_rsp_buf(char *cc, struct ksmbd_file *fp);
123 void create_posix_rsp_buf(char *cc, struct ksmbd_file *fp);
130 void smb_send_parent_lease_break_noti(struct ksmbd_file *fp,
132 void smb_lazy_parent_lease_break_close(struct ksmbd_file *fp);
Dvfs.h37 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,
126 int ksmbd_vfs_empty_dir(struct ksmbd_file *fp);
128 int ksmbd_vfs_zero_data(struct ksmbd_work *work, struct ksmbd_file *fp,
131 int ksmbd_vfs_fqar_lseek(struct ksmbd_file *fp, loff_t start, loff_t length,
Doplock.c138 struct oplock_info *opinfo_get(struct ksmbd_file *fp) in opinfo_get()
228 static unsigned long opinfo_count(struct ksmbd_file *fp) in opinfo_count()
236 static void opinfo_count_inc(struct ksmbd_file *fp) in opinfo_count_inc()
244 static void opinfo_count_dec(struct ksmbd_file *fp) in opinfo_count_dec()
395 void close_id_del_oplock(struct ksmbd_file *fp) in close_id_del_oplock()
642 struct ksmbd_file *fp; in __smb2_oplock_break_noti()
1094 void smb_send_parent_lease_break_noti(struct ksmbd_file *fp, in smb_send_parent_lease_break_noti()
1136 void smb_lazy_parent_lease_break_close(struct ksmbd_file *fp) in smb_lazy_parent_lease_break_close()
1190 struct ksmbd_file *fp, __u16 tid, in smb_grant_oplock()
1322 struct ksmbd_file *fp, int is_trunc) in smb_break_all_write_oplock()
[all …]
Dsmb_common.c426 struct ksmbd_file *dir, in ksmbd_populate_dot_dotdot_entries()
629 static void smb_shared_mode_error(int error, struct ksmbd_file *prev_fp, in smb_shared_mode_error()
630 struct ksmbd_file *curr_fp) in smb_shared_mode_error()
637 int ksmbd_smb_check_shared_mode(struct file *filp, struct ksmbd_file *curr_fp) in ksmbd_smb_check_shared_mode()
640 struct ksmbd_file *prev_fp; in ksmbd_smb_check_shared_mode()
Dvfs.c284 static int ksmbd_vfs_stream_read(struct ksmbd_file *fp, char *buf, loff_t *pos, in ksmbd_vfs_stream_read()
370 int ksmbd_vfs_read(struct ksmbd_work *work, struct ksmbd_file *fp, size_t count, in ksmbd_vfs_read()
413 static int ksmbd_vfs_stream_write(struct ksmbd_file *fp, char *buf, loff_t *pos, in ksmbd_vfs_stream_write()
486 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()
688 struct ksmbd_file *parent_fp; in ksmbd_vfs_rename()
804 struct ksmbd_file *fp, loff_t size) in ksmbd_vfs_truncate()
975 int ksmbd_vfs_zero_data(struct ksmbd_work *work, struct ksmbd_file *fp, in ksmbd_vfs_zero_data()
989 int ksmbd_vfs_fqar_lseek(struct ksmbd_file *fp, loff_t start, loff_t length, in ksmbd_vfs_fqar_lseek()
1110 int ksmbd_vfs_empty_dir(struct ksmbd_file *fp) in ksmbd_vfs_empty_dir()
[all …]
Dmisc.h12 struct ksmbd_file;
Dsmb2pdu.c2426 struct ksmbd_file *fp, in smb2_set_stream_name_xattr()
2517 struct ksmbd_file *fp) in smb2_new_xattrs()
2538 const struct path *path, struct ksmbd_file *fp) in smb2_update_xattrs()
2660 struct ksmbd_file *fp = NULL; in smb2_open()
3777 struct ksmbd_file *dir_fp;
3783 static void lock_dir(struct ksmbd_file *dir_fp) in lock_dir()
3790 static void unlock_dir(struct ksmbd_file *dir_fp) in unlock_dir()
4034 struct ksmbd_file *dir_fp = NULL; in smb2_query_dir()
4313 static int smb2_get_ea(struct ksmbd_work *work, struct ksmbd_file *fp, in smb2_get_ea()
4467 struct ksmbd_file *fp, void *rsp_org) in get_file_access_info()
[all …]
Dsmb_common.h435 struct ksmbd_file *dir,
449 int ksmbd_smb_check_shared_mode(struct file *filp, struct ksmbd_file *curr_fp);