Searched refs:new_arr (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/tools/perf/util/ |
D | util.c | 515 void *new_arr; in do_realloc_array_as_needed() local 526 new_arr = calloc(new_sz, msz); in do_realloc_array_as_needed() 527 if (!new_arr) in do_realloc_array_as_needed() 530 memcpy(new_arr, *arr, *arr_sz * msz); in do_realloc_array_as_needed() 533 memcpy(new_arr + (i * msz), init_val, msz); in do_realloc_array_as_needed() 535 *arr = new_arr; in do_realloc_array_as_needed()
|
/Linux-v6.6/drivers/scsi/lpfc/ |
D | lpfc_sli.c | 2113 struct lpfc_iocbq **new_arr; in lpfc_sli_next_iotag() local 2131 new_arr = kcalloc(new_len, sizeof(struct lpfc_iocbq *), in lpfc_sli_next_iotag() 2133 if (new_arr) { in lpfc_sli_next_iotag() 2138 kfree(new_arr); in lpfc_sli_next_iotag() 2151 memcpy(new_arr, old_arr, in lpfc_sli_next_iotag() 2154 psli->iocbq_lookup = new_arr; in lpfc_sli_next_iotag()
|
/Linux-v6.6/kernel/bpf/ |
D | verifier.c | 1579 void *new_arr; in realloc_array() local 1585 new_arr = krealloc(arr, alloc_size, GFP_KERNEL); in realloc_array() 1586 if (!new_arr) { in realloc_array() 1590 arr = new_arr; in realloc_array()
|