Home
last modified time | relevance | path

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

/Linux-v4.19/fs/cifs/
Dsmb2file.c114 struct smb2_lock_element *buf, *cur; in smb2_unlock_range()
131 max_num = max_buf / sizeof(struct smb2_lock_element); in smb2_unlock_range()
132 buf = kcalloc(max_num, sizeof(struct smb2_lock_element), GFP_KERNEL); in smb2_unlock_range()
207 struct smb2_lock_element *buf, unsigned int max_num) in smb2_push_mand_fdlocks()
213 struct smb2_lock_element *cur = buf; in smb2_push_mand_fdlocks()
251 struct smb2_lock_element *buf; in smb2_push_mandatory_locks()
262 if (max_buf < sizeof(struct smb2_lock_element)) { in smb2_push_mandatory_locks()
267 max_num = max_buf / sizeof(struct smb2_lock_element); in smb2_push_mandatory_locks()
268 buf = kcalloc(max_num, sizeof(struct smb2_lock_element), GFP_KERNEL); in smb2_push_mandatory_locks()
Dsmb2proto.h225 struct smb2_lock_element *buf);
Dsmb2pdu.h1064 struct smb2_lock_element { struct
1079 struct smb2_lock_element locks[1]; argument
Dsmb2pdu.c4270 const __u32 num_lock, struct smb2_lock_element *buf) in smb2_lockv()
4297 count = num_lock * sizeof(struct smb2_lock_element); in smb2_lockv()
4300 iov[0].iov_len = total_len - sizeof(struct smb2_lock_element); in smb2_lockv()
4329 struct smb2_lock_element lock; in SMB2_lock()