Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/fs/cifs/
H A Dsmb2file.c121 struct smb2_lock_element *buf, *cur; in smb2_unlock_range()
135 if (max_buf < sizeof(struct smb2_lock_element)) in smb2_unlock_range()
138 BUILD_BUG_ON(sizeof(struct smb2_lock_element) > PAGE_SIZE); in smb2_unlock_range()
140 max_num = max_buf / sizeof(struct smb2_lock_element); in smb2_unlock_range()
141 buf = kcalloc(max_num, sizeof(struct smb2_lock_element), GFP_KERNEL); in smb2_unlock_range()
221 struct smb2_lock_element *buf, unsigned int max_num) in smb2_push_mand_fdlocks()
227 struct smb2_lock_element *cur = buf; in smb2_push_mand_fdlocks()
265 struct smb2_lock_element *buf; in smb2_push_mandatory_locks()
276 if (max_buf < sizeof(struct smb2_lock_element)) { in smb2_push_mandatory_locks()
281 BUILD_BUG_ON(sizeof(struct smb2_lock_element) > PAGE_SIZE); in smb2_push_mandatory_locks()
[all …]
H A Dsmb2proto.h266 struct smb2_lock_element *buf);
H A Dsmb2pdu.h1382 struct smb2_lock_element { struct
1397 struct smb2_lock_element locks[1]; argument
H A Dsmb2pdu.c5294 const __u32 num_lock, struct smb2_lock_element *buf) in smb2_lockv()
5323 count = num_lock * sizeof(struct smb2_lock_element); in smb2_lockv()
5326 iov[0].iov_len = total_len - sizeof(struct smb2_lock_element); in smb2_lockv()
5356 struct smb2_lock_element lock; in SMB2_lock()