Searched refs:smb2_lock_element (Results 1 – 4 of 4) sorted by relevance
115 struct smb2_lock_element *buf, *cur; in smb2_unlock_range()129 if (max_buf < sizeof(struct smb2_lock_element)) in smb2_unlock_range()132 BUILD_BUG_ON(sizeof(struct smb2_lock_element) > PAGE_SIZE); in smb2_unlock_range()134 max_num = max_buf / sizeof(struct smb2_lock_element); in smb2_unlock_range()135 buf = kcalloc(max_num, sizeof(struct smb2_lock_element), GFP_KERNEL); in smb2_unlock_range()210 struct smb2_lock_element *buf, unsigned int max_num) in smb2_push_mand_fdlocks()216 struct smb2_lock_element *cur = buf; in smb2_push_mand_fdlocks()254 struct smb2_lock_element *buf; in smb2_push_mandatory_locks()265 if (max_buf < sizeof(struct smb2_lock_element)) { in smb2_push_mandatory_locks()270 BUILD_BUG_ON(sizeof(struct smb2_lock_element) > PAGE_SIZE); in smb2_push_mandatory_locks()[all …]
179 struct smb2_lock_element *buf);
879 struct smb2_lock_element { struct894 struct smb2_lock_element locks[1]; argument
2952 const __u32 num_lock, struct smb2_lock_element *buf) in smb2_lockv()2972 count = num_lock * sizeof(struct smb2_lock_element); in smb2_lockv()2973 inc_rfc1001_len(req, count - sizeof(struct smb2_lock_element)); in smb2_lockv()2997 struct smb2_lock_element lock; in SMB2_lock()