Searched refs:smb2_lock_element (Results 1 – 6 of 6) sorted by relevance
194 struct smb2_lock_element *buf, *cur; in smb2_unlock_range()206 if (max_buf < sizeof(struct smb2_lock_element)) in smb2_unlock_range()209 BUILD_BUG_ON(sizeof(struct smb2_lock_element) > PAGE_SIZE); in smb2_unlock_range()211 max_num = max_buf / sizeof(struct smb2_lock_element); in smb2_unlock_range()212 buf = kcalloc(max_num, sizeof(struct smb2_lock_element), GFP_KERNEL); in smb2_unlock_range()292 struct smb2_lock_element *buf, unsigned int max_num) in smb2_push_mand_fdlocks()298 struct smb2_lock_element *cur = buf; in smb2_push_mand_fdlocks()336 struct smb2_lock_element *buf; in smb2_push_mandatory_locks()347 if (max_buf < sizeof(struct smb2_lock_element)) { in smb2_push_mandatory_locks()352 BUILD_BUG_ON(sizeof(struct smb2_lock_element) > PAGE_SIZE); in smb2_push_mandatory_locks()[all …]
271 struct smb2_lock_element *buf);
6104 const __u32 num_lock, struct smb2_lock_element *buf) in smb2_lockv()6139 count = num_lock * sizeof(struct smb2_lock_element); in smb2_lockv()6142 iov[0].iov_len = total_len - sizeof(struct smb2_lock_element); in smb2_lockv()6179 struct smb2_lock_element lock; in SMB2_lock()
176 *len = sizeof(struct smb2_lock_element) * lock_count; in smb2_get_data_area_len()230 *len -= sizeof(struct smb2_lock_element); in smb2_calc_size()418 req_struct_size -= sizeof(struct smb2_lock_element); in ksmbd_smb2_check_message()
7191 struct smb2_lock_element *lock_ele; in smb2_lock()
833 struct smb2_lock_element { struct853 struct smb2_lock_element lock; argument854 DECLARE_FLEX_ARRAY(struct smb2_lock_element, locks);