Home
last modified time | relevance | path

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

/linux-6.1.9/fs/ksmbd/
Dvfs_cache.h63 struct ksmbd_file { struct
121 static inline bool ksmbd_stream_fd(struct ksmbd_file *fp) in ksmbd_stream_fd() argument
129 struct ksmbd_file *ksmbd_lookup_fd_fast(struct ksmbd_work *work, u64 id);
130 struct ksmbd_file *ksmbd_lookup_foreign_fd(struct ksmbd_work *work, u64 id);
131 struct ksmbd_file *ksmbd_lookup_fd_slow(struct ksmbd_work *work, u64 id,
133 void ksmbd_fd_put(struct ksmbd_work *work, struct ksmbd_file *fp);
134 struct ksmbd_file *ksmbd_lookup_durable_fd(unsigned long long id);
135 struct ksmbd_file *ksmbd_lookup_fd_cguid(char *cguid);
136 struct ksmbd_file *ksmbd_lookup_fd_inode(struct inode *inode);
137 unsigned int ksmbd_open_durable_fd(struct ksmbd_file *fp);
[all …]
Dvfs_cache.c84 static struct ksmbd_inode *ksmbd_inode_lookup(struct ksmbd_file *fp) in ksmbd_inode_lookup()
116 bool ksmbd_inode_pending_delete(struct ksmbd_file *fp) in ksmbd_inode_pending_delete()
121 void ksmbd_set_inode_pending_delete(struct ksmbd_file *fp) in ksmbd_set_inode_pending_delete()
126 void ksmbd_clear_inode_pending_delete(struct ksmbd_file *fp) in ksmbd_clear_inode_pending_delete()
131 void ksmbd_fd_set_delete_on_close(struct ksmbd_file *fp, in ksmbd_fd_set_delete_on_close()
157 static int ksmbd_inode_init(struct ksmbd_inode *ci, struct ksmbd_file *fp) in ksmbd_inode_init()
171 static struct ksmbd_inode *ksmbd_inode_get(struct ksmbd_file *fp) in ksmbd_inode_get()
244 static void __ksmbd_inode_close(struct ksmbd_file *fp) in __ksmbd_inode_close()
278 static void __ksmbd_remove_durable_fd(struct ksmbd_file *fp) in __ksmbd_remove_durable_fd()
288 static void __ksmbd_remove_fd(struct ksmbd_file_table *ft, struct ksmbd_file *fp) in __ksmbd_remove_fd()
[all …]
Doplock.h63 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);
Dvfs.h37 struct ksmbd_file;
81 int ksmbd_vfs_read(struct ksmbd_work *work, struct ksmbd_file *fp,
83 int ksmbd_vfs_write(struct ksmbd_work *work, struct ksmbd_file *fp,
91 int ksmbd_vfs_fp_rename(struct ksmbd_work *work, struct ksmbd_file *fp,
94 struct ksmbd_file *fp, loff_t size);
97 struct ksmbd_file *src_fp,
98 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,
Dsmb_common.c301 struct ksmbd_file *dir, in ksmbd_populate_dot_dotdot_entries()
507 static void smb_shared_mode_error(int error, struct ksmbd_file *prev_fp, in smb_shared_mode_error()
508 struct ksmbd_file *curr_fp) in smb_shared_mode_error()
515 int ksmbd_smb_check_shared_mode(struct file *filp, struct ksmbd_file *curr_fp) in ksmbd_smb_check_shared_mode()
518 struct ksmbd_file *prev_fp; in ksmbd_smb_check_shared_mode()
Doplock.c137 struct oplock_info *opinfo_get(struct ksmbd_file *fp) in opinfo_get()
198 static unsigned long opinfo_count(struct ksmbd_file *fp) in opinfo_count()
206 static void opinfo_count_inc(struct ksmbd_file *fp) in opinfo_count_inc()
214 static void opinfo_count_dec(struct ksmbd_file *fp) in opinfo_count_dec()
365 void close_id_del_oplock(struct ksmbd_file *fp) in close_id_del_oplock()
616 struct ksmbd_file *fp; in __smb2_oplock_break_noti()
1094 struct ksmbd_file *fp, __u16 tid, in smb_grant_oplock()
1222 struct ksmbd_file *fp, int is_trunc) in smb_break_all_write_oplock()
1248 void smb_break_all_levII_oplock(struct ksmbd_work *work, struct ksmbd_file *fp, in smb_break_all_levII_oplock()
1309 void smb_break_all_oplock(struct ksmbd_work *work, struct ksmbd_file *fp) in smb_break_all_oplock()
[all …]
Dvfs.c279 static int ksmbd_vfs_stream_read(struct ksmbd_file *fp, char *buf, loff_t *pos, in ksmbd_vfs_stream_read()
364 int ksmbd_vfs_read(struct ksmbd_work *work, struct ksmbd_file *fp, size_t count, in ksmbd_vfs_read()
408 static int ksmbd_vfs_stream_write(struct ksmbd_file *fp, char *buf, loff_t *pos, in ksmbd_vfs_stream_write()
479 int ksmbd_vfs_write(struct ksmbd_work *work, struct ksmbd_file *fp, in ksmbd_vfs_write()
563 struct ksmbd_file *fp; in ksmbd_vfs_fsync()
696 struct ksmbd_file *child_fp; in ksmbd_validate_entry_in_use()
772 int ksmbd_vfs_fp_rename(struct ksmbd_work *work, struct ksmbd_file *fp, in ksmbd_vfs_fp_rename()
845 struct ksmbd_file *fp, loff_t size) in ksmbd_vfs_truncate()
1006 int ksmbd_vfs_zero_data(struct ksmbd_work *work, struct ksmbd_file *fp, in ksmbd_vfs_zero_data()
1020 int ksmbd_vfs_fqar_lseek(struct ksmbd_file *fp, loff_t start, loff_t length, in ksmbd_vfs_fqar_lseek()
[all …]
Dmisc.h12 struct ksmbd_file;
Dsmb2pdu.c2279 struct ksmbd_file *fp, in smb2_set_stream_name_xattr()
2371 struct ksmbd_file *fp) in smb2_new_xattrs()
2393 const struct path *path, struct ksmbd_file *fp) in smb2_update_xattrs()
2514 struct ksmbd_file *fp = NULL; in smb2_open()
3613 struct ksmbd_file *dir_fp;
3619 static void lock_dir(struct ksmbd_file *dir_fp) in lock_dir()
3626 static void unlock_dir(struct ksmbd_file *dir_fp) in unlock_dir()
3870 struct ksmbd_file *dir_fp = NULL; in smb2_query_dir()
4155 static int smb2_get_ea(struct ksmbd_work *work, struct ksmbd_file *fp, in smb2_get_ea()
4310 struct ksmbd_file *fp, void *rsp_org) in get_file_access_info()
[all …]
Dsmb_common.h449 struct ksmbd_file *dir,
463 int ksmbd_smb_check_shared_mode(struct file *filp, struct ksmbd_file *curr_fp);