Lines Matching refs:ksmbd_file

84 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()
302 static void __ksmbd_close_fd(struct ksmbd_file_table *ft, struct ksmbd_file *fp) in __ksmbd_close_fd()
336 static struct ksmbd_file *ksmbd_fp_get(struct ksmbd_file *fp) in ksmbd_fp_get()
343 static struct ksmbd_file *__ksmbd_lookup_fd(struct ksmbd_file_table *ft, in __ksmbd_lookup_fd()
346 struct ksmbd_file *fp; in __ksmbd_lookup_fd()
359 static void __put_fd_final(struct ksmbd_work *work, struct ksmbd_file *fp) in __put_fd_final()
365 static void set_close_state_blocked_works(struct ksmbd_file *fp) in set_close_state_blocked_works()
381 struct ksmbd_file *fp; in ksmbd_close_fd()
405 void ksmbd_fd_put(struct ksmbd_work *work, struct ksmbd_file *fp) in ksmbd_fd_put()
415 static bool __sanity_check(struct ksmbd_tree_connect *tcon, struct ksmbd_file *fp) in __sanity_check()
424 struct ksmbd_file *ksmbd_lookup_foreign_fd(struct ksmbd_work *work, u64 id) in ksmbd_lookup_foreign_fd()
429 struct ksmbd_file *ksmbd_lookup_fd_fast(struct ksmbd_work *work, u64 id) in ksmbd_lookup_fd_fast()
431 struct ksmbd_file *fp = __ksmbd_lookup_fd(&work->sess->file_table, id); in ksmbd_lookup_fd_fast()
440 struct ksmbd_file *ksmbd_lookup_fd_slow(struct ksmbd_work *work, u64 id, in ksmbd_lookup_fd_slow()
443 struct ksmbd_file *fp; in ksmbd_lookup_fd_slow()
462 struct ksmbd_file *ksmbd_lookup_durable_fd(unsigned long long id) in ksmbd_lookup_durable_fd()
467 struct ksmbd_file *ksmbd_lookup_fd_cguid(char *cguid) in ksmbd_lookup_fd_cguid()
469 struct ksmbd_file *fp = NULL; in ksmbd_lookup_fd_cguid()
486 struct ksmbd_file *ksmbd_lookup_fd_inode(struct inode *inode) in ksmbd_lookup_fd_inode()
488 struct ksmbd_file *lfp; in ksmbd_lookup_fd_inode()
512 static void __open_id_set(struct ksmbd_file *fp, u64 id, int type) in __open_id_set()
520 static int __open_id(struct ksmbd_file_table *ft, struct ksmbd_file *fp, in __open_id()
548 unsigned int ksmbd_open_durable_fd(struct ksmbd_file *fp) in ksmbd_open_durable_fd()
554 struct ksmbd_file *ksmbd_open_fd(struct ksmbd_work *work, struct file *filp) in ksmbd_open_fd()
556 struct ksmbd_file *fp; in ksmbd_open_fd()
601 struct ksmbd_file *fp)) in __close_file_table_ids()
604 struct ksmbd_file *fp; in __close_file_table_ids()
622 struct ksmbd_file *fp) in tree_conn_fd_check()
628 struct ksmbd_file *fp) in session_fd_check()
658 struct ksmbd_file *fp = NULL; in ksmbd_free_global_file_table()
694 sizeof(struct ksmbd_file), 0, in ksmbd_init_file_cache()