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

/linux-master/fs/smb/server/
H A Dvfs_cache.h70 struct ksmbd_file { struct
133 static inline bool ksmbd_stream_fd(struct ksmbd_file *fp)
141 struct ksmbd_file *ksmbd_lookup_fd_fast(struct ksmbd_work *work, u64 id);
142 struct ksmbd_file *ksmbd_lookup_foreign_fd(struct ksmbd_work *work, u64 id);
143 struct ksmbd_file *ksmbd_lookup_fd_slow(struct ksmbd_work *work, u64 id,
145 void ksmbd_fd_put(struct ksmbd_work *work, struct ksmbd_file *fp);
148 struct ksmbd_file *ksmbd_lookup_global_fd(unsigned long long id);
149 struct ksmbd_file *ksmbd_lookup_durable_fd(unsigned long long id);
150 void ksmbd_put_durable_fd(struct ksmbd_file *fp);
151 struct ksmbd_file *ksmbd_lookup_fd_cgui
[all...]
H A 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 *f
[all...]
H A Dvfs_cache.c85 static struct ksmbd_inode *ksmbd_inode_lookup(struct ksmbd_file *fp)
118 bool ksmbd_inode_pending_delete(struct ksmbd_file *fp)
123 void ksmbd_set_inode_pending_delete(struct ksmbd_file *fp)
128 void ksmbd_clear_inode_pending_delete(struct ksmbd_file *fp)
133 void ksmbd_fd_set_delete_on_close(struct ksmbd_file *fp,
159 static int ksmbd_inode_init(struct ksmbd_inode *ci, struct ksmbd_file *fp)
173 static struct ksmbd_inode *ksmbd_inode_get(struct ksmbd_file *fp)
246 static void __ksmbd_inode_close(struct ksmbd_file *fp)
277 static void __ksmbd_remove_durable_fd(struct ksmbd_file *fp)
287 static void __ksmbd_remove_fd(struct ksmbd_file_table *ft, struct ksmbd_file *f
[all...]
H A 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,
H A Dmisc.h12 struct ksmbd_file;
H A Doplock.c138 struct oplock_info *opinfo_get(struct ksmbd_file *fp)
229 static unsigned long opinfo_count(struct ksmbd_file *fp)
237 static void opinfo_count_inc(struct ksmbd_file *fp)
245 static void opinfo_count_dec(struct ksmbd_file *fp)
396 void close_id_del_oplock(struct ksmbd_file *fp)
643 struct ksmbd_file *fp;
1095 void smb_send_parent_lease_break_noti(struct ksmbd_file *fp,
1137 void smb_lazy_parent_lease_break_close(struct ksmbd_file *fp)
1191 struct ksmbd_file *fp, __u16 tid,
1323 struct ksmbd_file *f
[all...]
H A Dsmb_common.c426 struct ksmbd_file *dir,
632 static void smb_shared_mode_error(int error, struct ksmbd_file *prev_fp,
633 struct ksmbd_file *curr_fp)
640 int ksmbd_smb_check_shared_mode(struct file *filp, struct ksmbd_file *curr_fp)
643 struct ksmbd_file *prev_fp;
H A Dvfs.c288 static int ksmbd_vfs_stream_read(struct ksmbd_file *fp, char *buf, loff_t *pos,
374 int ksmbd_vfs_read(struct ksmbd_work *work, struct ksmbd_file *fp, size_t count,
417 static int ksmbd_vfs_stream_write(struct ksmbd_file *fp, char *buf, loff_t *pos,
490 int ksmbd_vfs_write(struct ksmbd_work *work, struct ksmbd_file *fp,
576 struct ksmbd_file *fp;
693 struct ksmbd_file *parent_fp;
819 struct ksmbd_file *fp, loff_t size)
989 int ksmbd_vfs_zero_data(struct ksmbd_work *work, struct ksmbd_file *fp,
1003 int ksmbd_vfs_fqar_lseek(struct ksmbd_file *fp, loff_t start, loff_t length,
1124 int ksmbd_vfs_empty_dir(struct ksmbd_file *f
[all...]
H A Dsmb2pdu.c2411 struct ksmbd_file *fp,
2502 struct ksmbd_file *fp)
2523 const struct path *path, struct ksmbd_file *fp)
2638 struct ksmbd_file *fp;
2804 struct ksmbd_file *fp = NULL;
4013 struct ksmbd_file *dir_fp;
4019 static void lock_dir(struct ksmbd_file *dir_fp)
4026 static void unlock_dir(struct ksmbd_file *dir_fp)
4275 struct ksmbd_file *dir_fp = NULL;
4547 * @fp: ksmbd_file pointe
[all...]
H A Dsmb_common.h435 struct ksmbd_file *dir,
449 int ksmbd_smb_check_shared_mode(struct file *filp, struct ksmbd_file *curr_fp);

Completed in 170 milliseconds