Searched refs:old_n (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/gpu/drm/amd/amdkfd/ |
| H A D | kfd_svm.c | 954 uint64_t old_start, uint64_t old_n, in svm_range_split_array() argument 972 old = svm_range_copy_array(pold, size, old_n, d, NULL); in svm_range_split_array()
|
| /linux/kernel/bpf/ |
| H A D | verifier.c | 1407 static void *realloc_array(void *arr, size_t old_n, size_t new_n, size_t size) in realloc_array() argument 1412 if (!new_n || old_n == new_n) in realloc_array() 1423 if (new_n > old_n) in realloc_array() 1424 memset(arr + old_n * size, 0, (new_n - old_n) * size); in realloc_array() 1476 size_t old_n = state->allocated_stack / BPF_REG_SIZE, n; in grow_stack_state() local 1482 if (old_n >= n) in grow_stack_state() 1485 state->stack = realloc_array(state->stack, old_n, n, sizeof(struct bpf_stack_state)); in grow_stack_state()
|