Home
last modified time | relevance | path

Searched refs:opinfo (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/fs/smb/server/
H A Doplock.c23 * alloc_opinfo() - allocate a new opinfo object for oplock info
28 * Return: allocated opinfo object on success, otherwise NULL
35 struct oplock_info *opinfo; in alloc_opinfo() local
37 opinfo = kzalloc(sizeof(struct oplock_info), GFP_KERNEL); in alloc_opinfo()
38 if (!opinfo) in alloc_opinfo()
41 opinfo->sess = sess; in alloc_opinfo()
42 opinfo->conn = conn; in alloc_opinfo()
43 opinfo->level = SMB2_OPLOCK_LEVEL_NONE; in alloc_opinfo()
44 opinfo->op_state = OPLOCK_STATE_NONE; in alloc_opinfo()
45 opinfo in alloc_opinfo()
59 lease_add_list(struct oplock_info * opinfo) lease_add_list() argument
68 lease_del_list(struct oplock_info * opinfo) lease_del_list() argument
93 alloc_lease(struct oplock_info * opinfo,struct lease_ctx_info * lctx) alloc_lease() argument
116 free_lease(struct oplock_info * opinfo) free_lease() argument
124 free_opinfo(struct oplock_info * opinfo) free_opinfo() argument
135 struct oplock_info *opinfo; opinfo_free_rcu() local
143 struct oplock_info *opinfo; opinfo_get() local
156 struct oplock_info *opinfo; opinfo_get_list() local
181 opinfo_put(struct oplock_info * opinfo) opinfo_put() argument
192 opinfo_add(struct oplock_info * opinfo) opinfo_add() argument
201 opinfo_del(struct oplock_info * opinfo) opinfo_del() argument
245 opinfo_write_to_read(struct oplock_info * opinfo) opinfo_write_to_read() argument
269 opinfo_read_handle_to_read(struct oplock_info * opinfo) opinfo_read_handle_to_read() argument
284 opinfo_write_to_none(struct oplock_info * opinfo) opinfo_write_to_none() argument
307 opinfo_read_to_none(struct oplock_info * opinfo) opinfo_read_to_none() argument
329 lease_read_to_write(struct oplock_info * opinfo) lease_read_to_write() argument
354 lease_none_upgrade(struct oplock_info * opinfo,__le32 new_state) lease_none_upgrade() argument
384 struct oplock_info *opinfo; close_id_del_oplock() local
476 compare_guid_key(struct oplock_info * opinfo,const char * guid1,const char * key1) compare_guid_key() argument
505 struct oplock_info *opinfo; same_client_has_lease() local
562 wait_for_break_ack(struct oplock_info * opinfo) wait_for_break_ack() argument
580 wake_up_oplock_break(struct oplock_info * opinfo) wake_up_oplock_break() argument
588 oplock_break_pending(struct oplock_info * opinfo,int req_op_level) oplock_break_pending() argument
702 smb2_oplock_break_noti(struct oplock_info * opinfo) smb2_oplock_break_noti() argument
803 smb2_lease_break_noti(struct oplock_info * opinfo) smb2_lease_break_noti() argument
857 wait_lease_breaking(struct oplock_info * opinfo) wait_lease_breaking() argument
949 struct oplock_info *opinfo; destroy_lease_table() local
979 struct oplock_info *opinfo; find_same_lease_key() local
1044 add_lease_global_list(struct oplock_info * opinfo) add_lease_global_list() argument
1074 set_oplock_level(struct oplock_info * opinfo,int level,struct lease_ctx_info * lctx) set_oplock_level() argument
1094 struct oplock_info *opinfo; smb_send_parent_lease_break_noti() local
1130 struct oplock_info *opinfo; smb_lazy_parent_lease_break_close() local
1182 struct oplock_info *opinfo = NULL, *prev_opinfo = NULL; smb_grant_oplock() local
1760 struct oplock_info *opinfo = NULL, *ret_op = NULL; lookup_lease_in_table() local
1810 struct oplock_info *opinfo = opinfo_get(fp); smb2_check_durable_oplock() local
[all...]
H A Doplock.h102 int opinfo_write_to_read(struct oplock_info *opinfo);
103 int opinfo_read_handle_to_read(struct oplock_info *opinfo);
104 int opinfo_write_to_none(struct oplock_info *opinfo);
105 int opinfo_read_to_none(struct oplock_info *opinfo);
109 void opinfo_put(struct oplock_info *opinfo);
115 int lease_read_to_write(struct oplock_info *opinfo);
H A Dvfs_cache.c667 struct oplock_info *opinfo = opinfo_get(fp); in is_reconnectable() local
670 if (!opinfo) in is_reconnectable()
673 if (opinfo->op_state != OPLOCK_STATE_NONE) { in is_reconnectable()
674 opinfo_put(opinfo); in is_reconnectable()
680 else if (fp->is_durable && opinfo->is_lease && in is_reconnectable()
681 opinfo->o_lease->state & SMB2_LEASE_HANDLE_CACHING_LE) in is_reconnectable()
684 else if (fp->is_durable && opinfo->level == SMB2_OPLOCK_LEVEL_BATCH) in is_reconnectable()
687 opinfo_put(opinfo); in is_reconnectable()
H A Dsmb2pdu.c2838 struct oplock_info *opinfo; in smb2_open() local
3551 opinfo = rcu_dereference(fp->f_opinfo); in smb2_open()
3552 rsp->OplockLevel = opinfo != NULL ? opinfo->level : 0; in smb2_open()
3578 if (opinfo && opinfo->is_lease) { in smb2_open()
3582 name, opinfo->o_lease->state); in smb2_open()
3587 create_lease_buf(rsp->Buffer, opinfo->o_lease); in smb2_open()
8376 struct oplock_info *opinfo = NULL; in smb20_oplock_break_ack() local
8398 opinfo = opinfo_get(fp); in smb20_oplock_break_ack()
8399 if (!opinfo) { in smb20_oplock_break_ack()
8407 if (opinfo->level == SMB2_OPLOCK_LEVEL_NONE) { in smb20_oplock_break_ack()
[all …]