Searched refs:new_arr (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/tools/perf/util/ |
D | util.c | 513 void *new_arr; in do_realloc_array_as_needed() local 524 new_arr = calloc(new_sz, msz); in do_realloc_array_as_needed() 525 if (!new_arr) in do_realloc_array_as_needed() 527 memcpy(new_arr, *arr, *arr_sz * msz); in do_realloc_array_as_needed() 530 memcpy(new_arr + (i * msz), init_val, msz); in do_realloc_array_as_needed() 532 *arr = new_arr; in do_realloc_array_as_needed()
|
/linux-6.1.9/drivers/scsi/lpfc/ |
D | lpfc_sli.c | 2097 struct lpfc_iocbq **new_arr; in lpfc_sli_next_iotag() local 2115 new_arr = kcalloc(new_len, sizeof(struct lpfc_iocbq *), in lpfc_sli_next_iotag() 2117 if (new_arr) { in lpfc_sli_next_iotag() 2122 kfree(new_arr); in lpfc_sli_next_iotag() 2135 memcpy(new_arr, old_arr, in lpfc_sli_next_iotag() 2138 psli->iocbq_lookup = new_arr; in lpfc_sli_next_iotag()
|
/linux-6.1.9/kernel/bpf/ |
D | verifier.c | 1033 void *new_arr; in realloc_array() local 1039 new_arr = krealloc(arr, alloc_size, GFP_KERNEL); in realloc_array() 1040 if (!new_arr) { in realloc_array() 1044 arr = new_arr; in realloc_array()
|