Home
last modified time | relevance | path

Searched refs:oplock_info (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/fs/smb/server/
Doplock.h55 struct oplock_info { struct
96 int opinfo_write_to_read(struct oplock_info *opinfo); argument
97 int opinfo_read_handle_to_read(struct oplock_info *opinfo);
98 int opinfo_write_to_none(struct oplock_info *opinfo);
99 int opinfo_read_to_none(struct oplock_info *opinfo);
102 struct oplock_info *opinfo_get(struct ksmbd_file *fp);
103 void opinfo_put(struct oplock_info *opinfo);
109 int lease_read_to_write(struct oplock_info *opinfo);
118 struct oplock_info *lookup_lease_in_table(struct ksmbd_conn *conn,
Doplock.c30 static struct oplock_info *alloc_opinfo(struct ksmbd_work *work, in alloc_opinfo()
35 struct oplock_info *opinfo; in alloc_opinfo()
37 opinfo = kzalloc(sizeof(struct oplock_info), GFP_KERNEL); in alloc_opinfo()
59 static void lease_add_list(struct oplock_info *opinfo) in lease_add_list()
68 static void lease_del_list(struct oplock_info *opinfo) in lease_del_list()
93 static int alloc_lease(struct oplock_info *opinfo, struct lease_ctx_info *lctx) in alloc_lease()
116 static void free_lease(struct oplock_info *opinfo) in free_lease()
124 static void free_opinfo(struct oplock_info *opinfo) in free_opinfo()
135 struct oplock_info *opinfo; in opinfo_free_rcu()
137 opinfo = container_of(rcu_head, struct oplock_info, rcu_head); in opinfo_free_rcu()
[all …]
Dvfs_cache.h60 struct oplock_info *m_opinfo;
79 struct oplock_info __rcu *f_opinfo;
Dvfs_cache.c684 struct oplock_info *opinfo = opinfo_get(fp); in is_reconnectable()
854 struct oplock_info *op; in session_fd_check()
949 struct oplock_info *op; in ksmbd_reopen_durable_fd()
Dsmb2pdu.c2834 struct oplock_info *opinfo; in smb2_open()
8319 struct oplock_info *opinfo = NULL; in smb20_oplock_break_ack()
8465 struct oplock_info *opinfo; in smb21_lease_break_ack()