Home
last modified time | relevance | path

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

/linux-4.19.296/fs/cifs/
Dsmb2file.c114 struct smb2_lock_element *buf, *cur; in smb2_unlock_range()
128 if (max_buf < sizeof(struct smb2_lock_element)) in smb2_unlock_range()
131 BUILD_BUG_ON(sizeof(struct smb2_lock_element) > PAGE_SIZE); in smb2_unlock_range()
133 max_num = max_buf / sizeof(struct smb2_lock_element); in smb2_unlock_range()
134 buf = kcalloc(max_num, sizeof(struct smb2_lock_element), GFP_KERNEL); in smb2_unlock_range()
209 struct smb2_lock_element *buf, unsigned int max_num) in smb2_push_mand_fdlocks()
215 struct smb2_lock_element *cur = buf; in smb2_push_mand_fdlocks()
253 struct smb2_lock_element *buf; in smb2_push_mandatory_locks()
264 if (max_buf < sizeof(struct smb2_lock_element)) { in smb2_push_mandatory_locks()
269 BUILD_BUG_ON(sizeof(struct smb2_lock_element) > PAGE_SIZE); in smb2_push_mandatory_locks()
[all …]
Dsmb2proto.h228 struct smb2_lock_element *buf);
Dsmb2pdu.h1073 struct smb2_lock_element { struct
1088 struct smb2_lock_element locks[1]; argument
Dsmb2pdu.c4378 const __u32 num_lock, struct smb2_lock_element *buf) in smb2_lockv()
4405 count = num_lock * sizeof(struct smb2_lock_element); in smb2_lockv()
4408 iov[0].iov_len = total_len - sizeof(struct smb2_lock_element); in smb2_lockv()
4437 struct smb2_lock_element lock; in SMB2_lock()