Home
last modified time | relevance | path

Searched refs:old_n (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_svm.c898 uint64_t old_start, uint64_t old_n, in svm_range_split_array()
915 old = svm_range_copy_array(pold, size, old_n, d); in svm_range_split_array()
897 svm_range_split_array(void *ppnew, void *ppold, size_t size, uint64_t old_start, uint64_t old_n, uint64_t new_start, uint64_t new_n) svm_range_split_array() argument
/kernel/linux/linux-6.6/kernel/bpf/
H A Dverifier.c1583 /* resize an array from old_n items to new_n items. the array is reallocated if it's too
1588 static void *realloc_array(void *arr, size_t old_n, size_t new_n, size_t size) in realloc_array() argument
1593 if (!new_n || old_n == new_n) in realloc_array()
1604 if (new_n > old_n) in realloc_array()
1605 memset(arr + old_n * size, 0, (new_n - old_n) * size); in realloc_array()
1651 size_t old_n = state->allocated_stack / BPF_REG_SIZE, n = size / BPF_REG_SIZE; in grow_stack_state() local
1653 if (old_n >= n) in grow_stack_state()
1656 state->stack = realloc_array(state->stack, old_n, n, sizeof(struct bpf_stack_state)); in grow_stack_state()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c3586 struct neighbour *n, *old_n = neigh_entry->key.n; in mlxsw_sp_nexthop_dead_neigh_replace() local
3618 neigh_release(old_n); in mlxsw_sp_nexthop_dead_neigh_replace()
3629 neigh_entry->key.n = old_n; in mlxsw_sp_nexthop_dead_neigh_replace()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c4177 struct neighbour *n, *old_n = neigh_entry->key.n; in mlxsw_sp_nexthop_dead_neigh_replace() local
4210 neigh_release(old_n); in mlxsw_sp_nexthop_dead_neigh_replace()
4221 neigh_entry->key.n = old_n; in mlxsw_sp_nexthop_dead_neigh_replace()

Completed in 55 milliseconds