Searched refs:reallocarray (Results 1 – 19 of 19) sorted by relevance
/linux/tools/build/feature/ |
H A D | test-reallocarray.c | 7 return !!reallocarray(NULL, 1, 1); in main()
|
H A D | Makefile | 20 test-reallocarray.bin \ 291 $(OUTPUT)test-reallocarray.bin:
|
/linux/tools/include/tools/ |
H A D | libc_compat.h | 11 static inline void *reallocarray(void *ptr, size_t nmemb, size_t size) in reallocarray() function
|
/linux/tools/testing/selftests/net/tcp_ao/lib/ |
H A D | proc.c | 81 type->counters = reallocarray(type->counters, in netstat_read_type() 133 type->counters = reallocarray(type->counters, i + 1, in snmp6_read()
|
H A D | ftrace-tcp.c | 96 tmp = reallocarray(exp_tps, exp_tps_size, sizeof(exp_tps[0])); in __trace_event_expect()
|
/linux/tools/perf/util/ |
H A D | bpf-trace-summary.c | 190 nodes = reallocarray(data->nodes, data->nr_nodes + 1, sizeof(*nodes)); in update_thread_stats() 323 nodes = reallocarray(data->nodes, data->nr_nodes + 1, sizeof(*nodes)); in update_cgroup_stats()
|
H A D | comm.c | 156 tmp = reallocarray(comm_strs->strs, in comm_strs__findnew()
|
H A D | drm_pmu.c | 145 tmp = reallocarray(*events, *num_events + 1, sizeof(struct drm_pmu_event)); in add_event() 443 unsigned int *tmp = reallocarray(minors->minors, minors->minors_len + 4, in for_each_drm_fdinfo_in_dir()
|
H A D | hashmap.c | 19 #pragma GCC poison reallocarray
|
H A D | cs-etm.c | 705 traceid_queues = reallocarray(traceid_queues, in cs_etm__etmq_get_traceid_queue() 710 * On failure reallocarray() returns NULL and the original block of in cs_etm__etmq_get_traceid_queue()
|
H A D | header.c | 1416 reallocarray(nodes, cnt + 4, sizeof(*nodes)); in build_mem_topology()
|
/linux/tools/lib/bpf/ |
H A D | hashmap.c | 19 #pragma GCC poison reallocarray
|
/linux/tools/build/ |
H A D | Makefile.feature | 91 reallocarray \
|
/linux/tools/testing/selftests/vDSO/ |
H A D | vdso_test_getrandom.c | 76 new_states = reallocarray(vgrnd.states, new_cap, sizeof(*vgrnd.states)); in vgetrandom_get_state()
|
/linux/tools/testing/selftests/net/tcp_ao/ |
H A D | key-management.c | 501 collection.keys = reallocarray(collection.keys, nr_keys, key_sz); in init_default_key_collection()
|
/linux/tools/perf/ |
H A D | Makefile.config | 503 ifeq ($(feature-reallocarray), 0)
|
H A D | builtin-trace.c | 2544 tmp = reallocarray(trace->syscalls.table, trace->syscalls.table_size + 1, in trace__find_syscall()
|
/linux/tools/testing/selftests/bpf/ |
H A D | veristat.c | 1658 tmp = reallocarray(preset->atoms, i + 1, sizeof(*preset->atoms)); in append_preset_atom()
|
/linux/tools/power/x86/turbostat/ |
H A D | turbostat.c | 1723 …new_mem = (struct pmt_domain_info *)reallocarray(pcounter->domains, new_size, sizeof(*pcounter->do… in pmt_counter_resize_()
|