Searched refs:max_num (Results 1 – 3 of 3) sorted by relevance
| /fs/smb/client/ |
| A D | smb2file.c | 261 unsigned int max_num, num = 0, max_buf; in smb2_unlock_range() local 279 max_num = max_buf / sizeof(struct smb2_lock_element); in smb2_unlock_range() 280 buf = kcalloc(max_num, sizeof(struct smb2_lock_element), GFP_KERNEL); in smb2_unlock_range() 317 if (++num == max_num) { in smb2_unlock_range() 360 struct smb2_lock_element *buf, unsigned int max_num) in smb2_push_mand_fdlocks() argument 374 if (++num == max_num) { in smb2_push_mand_fdlocks() 403 unsigned int max_num, max_buf; in smb2_push_mandatory_locks() local 422 max_num = max_buf / sizeof(struct smb2_lock_element); in smb2_push_mandatory_locks() 423 buf = kcalloc(max_num, sizeof(struct smb2_lock_element), GFP_KERNEL); in smb2_push_mandatory_locks() 430 stored_rc = smb2_push_mand_fdlocks(fdlocks, xid, buf, max_num); in smb2_push_mandatory_locks()
|
| A D | file.c | 1751 unsigned int num, max_num, max_buf; in cifs_push_mandatory_locks() local 1776 max_num = (max_buf - sizeof(struct smb_hdr)) / in cifs_push_mandatory_locks() 1778 buf = kcalloc(max_num, sizeof(LOCKING_ANDX_RANGE), GFP_KERNEL); in cifs_push_mandatory_locks() 1795 if (++num == max_num) { in cifs_push_mandatory_locks() 2132 unsigned int max_num, num, max_buf; in cifs_unlock_range() local 2152 max_num = (max_buf - sizeof(struct smb_hdr)) / in cifs_unlock_range() 2154 buf = kcalloc(max_num, sizeof(LOCKING_ANDX_RANGE), GFP_KERNEL); in cifs_unlock_range() 2192 if (++num == max_num) { in cifs_unlock_range()
|
| /fs/btrfs/ |
| A D | compression.c | 1315 u64 max_num; in radix_sort() local 1328 max_num = array[0].count; in radix_sort() 1331 if (buf_num > max_num) in radix_sort() 1332 max_num = buf_num; in radix_sort() 1335 buf_num = ilog2(max_num); in radix_sort()
|
Completed in 13 milliseconds