Home
last modified time | relevance | path

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

/linux-6.1.9/fs/cifs/
Dsmb2file.c193 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 …]
Dsmb2proto.h245 struct smb2_lock_element *buf);
Dsmb2pdu.c5539 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()
/linux-6.1.9/fs/ksmbd/
Dsmb2misc.c161 *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()
Dsmb2pdu.c6813 struct smb2_lock_element *lock_ele; in smb2_lock()
/linux-6.1.9/fs/smbfs_common/
Dsmb2pdu.h796 struct smb2_lock_element { struct
815 struct smb2_lock_element locks[1]; argument