Searched refs:smb2_lock_element (Results 1 – 6 of 6) sorted by relevance
193 struct smb2_lock_element *buf, *cur; in smb2_unlock_range()207 if (max_buf < sizeof(struct smb2_lock_element)) in smb2_unlock_range()210 BUILD_BUG_ON(sizeof(struct smb2_lock_element) > PAGE_SIZE); in smb2_unlock_range()212 max_num = max_buf / sizeof(struct smb2_lock_element); in smb2_unlock_range()213 buf = kcalloc(max_num, sizeof(struct smb2_lock_element), GFP_KERNEL); in smb2_unlock_range()293 struct smb2_lock_element *buf, unsigned int max_num) in smb2_push_mand_fdlocks()299 struct smb2_lock_element *cur = buf; in smb2_push_mand_fdlocks()337 struct smb2_lock_element *buf; in smb2_push_mandatory_locks()348 if (max_buf < sizeof(struct smb2_lock_element)) { in smb2_push_mandatory_locks()353 BUILD_BUG_ON(sizeof(struct smb2_lock_element) > PAGE_SIZE); in smb2_push_mandatory_locks()[all …]
245 struct smb2_lock_element *buf);
5539 const __u32 num_lock, struct smb2_lock_element *buf) in smb2_lockv()5568 count = num_lock * sizeof(struct smb2_lock_element); in smb2_lockv()5571 iov[0].iov_len = total_len - sizeof(struct smb2_lock_element); in smb2_lockv()5601 struct smb2_lock_element lock; in SMB2_lock()
161 *len = sizeof(struct smb2_lock_element) * lock_count; in smb2_get_data_area_len()213 *len -= sizeof(struct smb2_lock_element); in smb2_calc_size()
6813 struct smb2_lock_element *lock_ele; in smb2_lock()
796 struct smb2_lock_element { struct815 struct smb2_lock_element locks[1]; argument