Home
last modified time | relevance | path

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

/linux-6.12.1/fs/smb/client/
Dsmb2file.c194 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 …]
Dsmb2proto.h271 struct smb2_lock_element *buf);
Dsmb2pdu.c6104 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()
/linux-6.12.1/fs/smb/server/
Dsmb2misc.c176 *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()
Dsmb2pdu.c7191 struct smb2_lock_element *lock_ele; in smb2_lock()
/linux-6.12.1/fs/smb/common/
Dsmb2pdu.h833 struct smb2_lock_element { struct
853 struct smb2_lock_element lock; argument
854 DECLARE_FLEX_ARRAY(struct smb2_lock_element, locks);