Home
last modified time | relevance | path

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

/openbmc/linux/fs/smb/server/
H A Dvfs_cache.h70 struct ksmbd_file { struct
133 static inline bool ksmbd_stream_fd(struct ksmbd_file *fp) in ksmbd_stream_fd() argument
150 void ksmbd_put_durable_fd(struct ksmbd_file *fp);
151 struct ksmbd_file *ksmbd_lookup_fd_cguid(char *cguid);
152 struct ksmbd_file *ksmbd_lookup_fd_inode(struct dentry *dentry);
153 unsigned int ksmbd_open_durable_fd(struct ksmbd_file *fp);
177 bool ksmbd_inode_pending_delete(struct ksmbd_file *fp);
178 void ksmbd_set_inode_pending_delete(struct ksmbd_file *fp);
179 void ksmbd_clear_inode_pending_delete(struct ksmbd_file *fp);
180 void ksmbd_fd_set_delete_on_close(struct ksmbd_file *fp,
[all …]
H A Dvfs_cache.c337 static struct ksmbd_file *ksmbd_fp_get(struct ksmbd_file *fp) in ksmbd_fp_get()
350 struct ksmbd_file *fp; in __ksmbd_lookup_fd()
384 struct ksmbd_file *fp; in ksmbd_close_fd()
451 struct ksmbd_file *fp; in ksmbd_lookup_fd_slow()
477 struct ksmbd_file *fp; in ksmbd_lookup_durable_fd()
498 struct ksmbd_file *fp = NULL; in ksmbd_lookup_fd_cguid()
517 struct ksmbd_file *lfp; in ksmbd_lookup_fd_inode()
588 struct ksmbd_file *fp; in ksmbd_open_fd()
648 struct ksmbd_file *fp; in __close_file_table_ids()
698 struct ksmbd_file *fp) in session_fd_check()
[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 *fp);
[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,
127 int ksmbd_vfs_empty_dir(struct ksmbd_file *fp);
129 int ksmbd_vfs_zero_data(struct ksmbd_work *work, struct ksmbd_file *fp,
132 int ksmbd_vfs_fqar_lseek(struct ksmbd_file *fp, loff_t start, loff_t length,
H A Doplock.c138 struct oplock_info *opinfo_get(struct ksmbd_file *fp) in opinfo_get()
229 static unsigned long opinfo_count(struct ksmbd_file *fp) in opinfo_count()
237 static void opinfo_count_inc(struct ksmbd_file *fp) in opinfo_count_inc()
245 static void opinfo_count_dec(struct ksmbd_file *fp) in opinfo_count_dec()
396 void close_id_del_oplock(struct ksmbd_file *fp) in close_id_del_oplock()
654 struct ksmbd_file *fp; in __smb2_oplock_break_noti()
1105 void smb_send_parent_lease_break_noti(struct ksmbd_file *fp, in smb_send_parent_lease_break_noti()
1197 struct ksmbd_file *fp, __u16 tid, in smb_grant_oplock()
1331 struct ksmbd_file *fp, int is_trunc) in smb_break_all_write_oplock()
1715 void create_posix_rsp_buf(char *cc, struct ksmbd_file *fp) in create_posix_rsp_buf()
[all …]
H A Dsmb_common.c426 struct ksmbd_file *dir, in ksmbd_populate_dot_dotdot_entries()
632 static void smb_shared_mode_error(int error, struct ksmbd_file *prev_fp, in smb_shared_mode_error()
633 struct ksmbd_file *curr_fp) in smb_shared_mode_error()
640 int ksmbd_smb_check_shared_mode(struct file *filp, struct ksmbd_file *curr_fp) in ksmbd_smb_check_shared_mode()
643 struct ksmbd_file *prev_fp; in ksmbd_smb_check_shared_mode()
H A Dmisc.h12 struct ksmbd_file;
H A Dvfs.c288 static int ksmbd_vfs_stream_read(struct ksmbd_file *fp, char *buf, loff_t *pos, in ksmbd_vfs_stream_read()
374 int ksmbd_vfs_read(struct ksmbd_work *work, struct ksmbd_file *fp, size_t count, in ksmbd_vfs_read()
490 int ksmbd_vfs_write(struct ksmbd_work *work, struct ksmbd_file *fp, in ksmbd_vfs_write()
576 struct ksmbd_file *fp; in ksmbd_vfs_fsync()
693 struct ksmbd_file *parent_fp; in ksmbd_vfs_rename()
814 struct ksmbd_file *fp, loff_t size) in ksmbd_vfs_truncate()
984 int ksmbd_vfs_zero_data(struct ksmbd_work *work, struct ksmbd_file *fp, in ksmbd_vfs_zero_data()
998 int ksmbd_vfs_fqar_lseek(struct ksmbd_file *fp, loff_t start, loff_t length, in ksmbd_vfs_fqar_lseek()
1124 int ksmbd_vfs_empty_dir(struct ksmbd_file *fp) in ksmbd_vfs_empty_dir()
1780 struct ksmbd_file *src_fp, in ksmbd_vfs_copy_file_ranges()
[all …]
H A Dsmb2pdu.c2645 struct ksmbd_file *fp;
4878 struct ksmbd_file *fp, in get_file_stream_info()
5168 struct ksmbd_file *fp; in smb2_get_info_file()
5497 struct ksmbd_file *fp; in smb2_get_info_sec()
5677 struct ksmbd_file *fp; in smb2_close()
7798 struct ksmbd_file *fp; in fsctl_query_allocated_ranges()
7873 struct ksmbd_file *fp; in fsctl_set_sparse()
7916 struct ksmbd_file *fp; in fsctl_request_resume_key()
8099 struct ksmbd_file *fp; in smb2_ioctl()
8162 struct ksmbd_file *fp; in smb2_ioctl()
[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);