Home
last modified time | relevance | path

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

/linux-6.15/fs/smb/server/
H A Dvfs_cache.h70 struct ksmbd_file { struct
134 static inline bool ksmbd_stream_fd(struct ksmbd_file *fp) in ksmbd_stream_fd() argument
151 void ksmbd_put_durable_fd(struct ksmbd_file *fp);
152 struct ksmbd_file *ksmbd_lookup_fd_cguid(char *cguid);
153 struct ksmbd_file *ksmbd_lookup_fd_inode(struct dentry *dentry);
154 unsigned int ksmbd_open_durable_fd(struct ksmbd_file *fp);
180 bool ksmbd_inode_pending_delete(struct ksmbd_file *fp);
181 void ksmbd_set_inode_pending_delete(struct ksmbd_file *fp);
182 void ksmbd_clear_inode_pending_delete(struct ksmbd_file *fp);
183 void ksmbd_fd_set_delete_on_close(struct ksmbd_file *fp,
[all …]
H A Dvfs_cache.c351 static struct ksmbd_file *ksmbd_fp_get(struct ksmbd_file *fp) in ksmbd_fp_get()
364 struct ksmbd_file *fp; in __ksmbd_lookup_fd()
398 struct ksmbd_file *fp; in ksmbd_close_fd()
465 struct ksmbd_file *fp; in ksmbd_lookup_fd_slow()
491 struct ksmbd_file *fp; in ksmbd_lookup_durable_fd()
515 struct ksmbd_file *fp = NULL; in ksmbd_lookup_fd_cguid()
534 struct ksmbd_file *lfp; in ksmbd_lookup_fd_inode()
605 struct ksmbd_file *fp; in ksmbd_open_fd()
664 struct ksmbd_file *fp; in __close_file_table_ids()
750 struct ksmbd_file *fp; in ksmbd_scavenger_dispose_dh()
[all …]
H A Doplock.h59 struct ksmbd_file *o_fp;
90 u64 pid, struct ksmbd_file *fp, __u16 tid,
93 struct ksmbd_file *fp, int is_trunc);
98 void close_id_del_oplock(struct ksmbd_file *fp);
99 void smb_break_all_oplock(struct ksmbd_work *work, struct ksmbd_file *fp);
100 struct oplock_info *opinfo_get(struct ksmbd_file *fp);
111 void create_durable_v2_rsp_buf(char *cc, struct ksmbd_file *fp);
114 void create_posix_rsp_buf(char *cc, struct ksmbd_file *fp);
121 void smb_send_parent_lease_break_noti(struct ksmbd_file *fp,
123 void smb_lazy_parent_lease_break_close(struct ksmbd_file *fp);
[all …]
H A Dvfs.h37 struct ksmbd_file;
80 int ksmbd_vfs_read(struct ksmbd_work *work, struct ksmbd_file *fp, size_t count,
82 int ksmbd_vfs_write(struct ksmbd_work *work, struct ksmbd_file *fp,
93 struct ksmbd_file *fp, loff_t size);
96 struct ksmbd_file *src_fp,
97 struct ksmbd_file *dst_fp,
128 int ksmbd_vfs_empty_dir(struct ksmbd_file *fp);
130 int ksmbd_vfs_zero_data(struct ksmbd_work *work, struct ksmbd_file *fp,
133 int ksmbd_vfs_fqar_lseek(struct ksmbd_file *fp, loff_t start, loff_t length,
H A Doplock.c132 struct oplock_info *opinfo_get(struct ksmbd_file *fp) in opinfo_get()
202 static unsigned long opinfo_count(struct ksmbd_file *fp) in opinfo_count()
210 static void opinfo_count_inc(struct ksmbd_file *fp) in opinfo_count_inc()
218 static void opinfo_count_dec(struct ksmbd_file *fp) in opinfo_count_dec()
369 void close_id_del_oplock(struct ksmbd_file *fp) in close_id_del_oplock()
628 struct ksmbd_file *fp; in __smb2_oplock_break_noti()
1080 void smb_send_parent_lease_break_noti(struct ksmbd_file *fp, in smb_send_parent_lease_break_noti()
1166 struct ksmbd_file *fp, __u16 tid, in smb_grant_oplock()
1299 struct ksmbd_file *fp, int is_trunc) in smb_break_all_write_oplock()
1688 void create_posix_rsp_buf(char *cc, struct ksmbd_file *fp) in create_posix_rsp_buf()
[all …]
H A Dsmb_common.c430 struct ksmbd_file *dir, in ksmbd_populate_dot_dotdot_entries()
636 static void smb_shared_mode_error(int error, struct ksmbd_file *prev_fp, in smb_shared_mode_error()
637 struct ksmbd_file *curr_fp) in smb_shared_mode_error()
644 int ksmbd_smb_check_shared_mode(struct file *filp, struct ksmbd_file *curr_fp) in ksmbd_smb_check_shared_mode()
647 struct ksmbd_file *prev_fp; in ksmbd_smb_check_shared_mode()
H A Dvfs.c271 static int ksmbd_vfs_stream_read(struct ksmbd_file *fp, char *buf, loff_t *pos, in ksmbd_vfs_stream_read()
357 int ksmbd_vfs_read(struct ksmbd_work *work, struct ksmbd_file *fp, size_t count, in ksmbd_vfs_read()
478 int ksmbd_vfs_write(struct ksmbd_work *work, struct ksmbd_file *fp, in ksmbd_vfs_write()
565 struct ksmbd_file *fp; in ksmbd_vfs_fsync()
682 struct ksmbd_file *parent_fp; in ksmbd_vfs_rename()
807 struct ksmbd_file *fp, loff_t size) in ksmbd_vfs_truncate()
977 int ksmbd_vfs_zero_data(struct ksmbd_work *work, struct ksmbd_file *fp, in ksmbd_vfs_zero_data()
991 int ksmbd_vfs_fqar_lseek(struct ksmbd_file *fp, loff_t start, loff_t length, in ksmbd_vfs_fqar_lseek()
1118 int ksmbd_vfs_empty_dir(struct ksmbd_file *fp) in ksmbd_vfs_empty_dir()
1771 struct ksmbd_file *src_fp, in ksmbd_vfs_copy_file_ranges()
[all …]
H A Dmisc.h12 struct ksmbd_file;
H A Dsmb2pdu.c2677 struct ksmbd_file *fp;
4968 struct ksmbd_file *fp, in get_file_stream_info()
5278 struct ksmbd_file *fp; in smb2_get_info_file()
5612 struct ksmbd_file *fp; in smb2_get_info_sec()
5799 struct ksmbd_file *fp; in smb2_close()
7932 struct ksmbd_file *fp; in fsctl_query_allocated_ranges()
8007 struct ksmbd_file *fp; in fsctl_set_sparse()
8050 struct ksmbd_file *fp; in fsctl_request_resume_key()
8235 struct ksmbd_file *fp; in smb2_ioctl()
8298 struct ksmbd_file *fp; in smb2_ioctl()
[all …]
H A Dsmb_common.h437 struct ksmbd_file *dir,
451 int ksmbd_smb_check_shared_mode(struct file *filp, struct ksmbd_file *curr_fp);