Home
last modified time | relevance | path

Searched refs:reallocarray (Results 1 – 19 of 19) sorted by relevance

/linux/tools/build/feature/
H A Dtest-reallocarray.c7 return !!reallocarray(NULL, 1, 1); in main()
H A DMakefile20 test-reallocarray.bin \
291 $(OUTPUT)test-reallocarray.bin:
/linux/tools/include/tools/
H A Dlibc_compat.h11 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 Dproc.c81 type->counters = reallocarray(type->counters, in netstat_read_type()
133 type->counters = reallocarray(type->counters, i + 1, in snmp6_read()
H A Dftrace-tcp.c96 tmp = reallocarray(exp_tps, exp_tps_size, sizeof(exp_tps[0])); in __trace_event_expect()
/linux/tools/perf/util/
H A Dbpf-trace-summary.c190 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 Dcomm.c156 tmp = reallocarray(comm_strs->strs, in comm_strs__findnew()
H A Ddrm_pmu.c145 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 Dhashmap.c19 #pragma GCC poison reallocarray
H A Dcs-etm.c705 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 Dheader.c1416 reallocarray(nodes, cnt + 4, sizeof(*nodes)); in build_mem_topology()
/linux/tools/lib/bpf/
H A Dhashmap.c19 #pragma GCC poison reallocarray
/linux/tools/build/
H A DMakefile.feature91 reallocarray \
/linux/tools/testing/selftests/vDSO/
H A Dvdso_test_getrandom.c76 new_states = reallocarray(vgrnd.states, new_cap, sizeof(*vgrnd.states)); in vgetrandom_get_state()
/linux/tools/testing/selftests/net/tcp_ao/
H A Dkey-management.c501 collection.keys = reallocarray(collection.keys, nr_keys, key_sz); in init_default_key_collection()
/linux/tools/perf/
H A DMakefile.config503 ifeq ($(feature-reallocarray), 0)
H A Dbuiltin-trace.c2544 tmp = reallocarray(trace->syscalls.table, trace->syscalls.table_size + 1, in trace__find_syscall()
/linux/tools/testing/selftests/bpf/
H A Dveristat.c1658 tmp = reallocarray(preset->atoms, i + 1, sizeof(*preset->atoms)); in append_preset_atom()
/linux/tools/power/x86/turbostat/
H A Dturbostat.c1723 …new_mem = (struct pmt_domain_info *)reallocarray(pcounter->domains, new_size, sizeof(*pcounter->do… in pmt_counter_resize_()