| /linux/kernel/bpf/preload/iterators/ |
| A D | iterators.skel.h | 50 obj = (struct iterators_bpf *)calloc(1, sizeof(*obj)); in iterators_bpf__open_opts() 108 s = (struct bpf_object_skeleton *)calloc(1, sizeof(*s)); in iterators_bpf__create_skeleton() 120 s->maps = (struct bpf_map_skeleton *)calloc(s->map_cnt, s->map_skel_sz); in iterators_bpf__create_skeleton() 131 s->progs = (struct bpf_prog_skeleton *)calloc(s->prog_cnt, s->prog_skel_sz); in iterators_bpf__create_skeleton()
|
| /linux/tools/power/cpupower/utils/idle_monitor/ |
| A D | mperf_monitor.c | 351 is_valid = calloc(cpu_count, sizeof(int)); in mperf_register() 352 mperf_previous_count = calloc(cpu_count, sizeof(unsigned long long)); in mperf_register() 353 aperf_previous_count = calloc(cpu_count, sizeof(unsigned long long)); in mperf_register() 354 mperf_current_count = calloc(cpu_count, sizeof(unsigned long long)); in mperf_register() 355 aperf_current_count = calloc(cpu_count, sizeof(unsigned long long)); in mperf_register()
|
| A D | hsw_ext_idle.c | 161 is_valid = calloc(cpu_count, sizeof(int)); in hsw_ext_register() 163 previous_count[num] = calloc(cpu_count, in hsw_ext_register() 165 current_count[num] = calloc(cpu_count, in hsw_ext_register()
|
| A D | snb_idle.c | 166 is_valid = calloc(cpu_count, sizeof(int)); in snb_register() 168 previous_count[num] = calloc(cpu_count, in snb_register() 170 current_count[num] = calloc(cpu_count, in snb_register()
|
| A D | nhm_idle.c | 180 is_valid = calloc(cpu_count, sizeof(int)); in intel_nhm_register() 182 previous_count[num] = calloc(cpu_count, in intel_nhm_register() 184 current_count[num] = calloc(cpu_count, in intel_nhm_register()
|
| A D | amd_fam14h_idle.c | 294 previous_count[num] = calloc(cpu_count, in amd_fam14h_register() 296 current_count[num] = calloc(cpu_count, in amd_fam14h_register()
|
| /linux/tools/testing/selftests/bpf/map_tests/ |
| A D | array_map_batch_ops.c | 98 keys = calloc(max_entries, sizeof(*keys)); in __test_map_lookup_and_update_batch() 99 values = calloc(max_entries, value_size); in __test_map_lookup_and_update_batch() 100 visited = calloc(max_entries, sizeof(*visited)); in __test_map_lookup_and_update_batch()
|
| /linux/tools/power/acpi/os_specific/service_layers/ |
| A D | osunixdir.c | 54 external_info = calloc(1, sizeof(struct external_find_info)); in acpi_os_open_directory() 109 temp_str = calloc(str_len, 1); in acpi_os_get_next_filename()
|
| A D | oslinuxtbl.c | 185 local_table = calloc(1, table_length); in acpi_os_get_table_by_address() 284 new_info = calloc(1, sizeof(struct osl_table_info)); in osl_add_table_to_list() 967 local_table = calloc(1, table_length); in osl_get_bios_table() 1257 local_table = calloc(1, table_length); in osl_read_table_from_file()
|
| /linux/tools/perf/arch/x86/util/ |
| A D | iostat.c | 86 struct iio_root_port *p = calloc(1, sizeof(*p)); in iio_root_port_new() 207 tmp_list = calloc(1, sizeof(*tmp_list)); in iio_root_ports_scan() 255 struct iio_root_ports_list *tmp_list = calloc(1, sizeof(*tmp_list)); in iio_root_ports_list_filter() 310 char *iostat_cmd = calloc(len_template, 1); in iostat_event_group()
|
| /linux/tools/perf/bench/ |
| A D | epoll-wait.c | 165 aux = calloc(1, size); in shuffle() 248 epollfdp = calloc(nested, sizeof(*epollfdp)); in nest_epollfd() 322 w->fdmap = calloc(nfds, sizeof(int)); in do_threads() 457 worker = calloc(nthreads, sizeof(*worker)); in bench_epoll_wait()
|
| A D | epoll-ctl.c | 108 epollfdp = calloc(nested, sizeof(int)); in nest_epollfd() 236 w->fdmap = calloc(nfds, sizeof(int)); in do_threads() 338 worker = calloc(nthreads, sizeof(*worker)); in bench_epoll_ctl()
|
| A D | futex-hash.c | 155 worker = calloc(params.nthreads, sizeof(*worker)); in bench_futex_hash() 175 worker[i].futex = calloc(params.nfutexes, sizeof(*worker[i].futex)); in bench_futex_hash()
|
| A D | futex-lock-pi.c | 132 worker[i].futex = calloc(1, sizeof(u_int32_t)); in create_threads() 178 worker = calloc(params.nthreads, sizeof(*worker)); in bench_futex_lock_pi()
|
| /linux/tools/testing/selftests/sync/ |
| A D | sync.c | 90 info = calloc(1, sizeof(*info)); in sync_file_info() 106 fence_info = calloc(num_fences, sizeof(*fence_info)); in sync_file_info()
|
| /linux/tools/bpf/bpftool/ |
| A D | cfg.c | 75 new_func = calloc(1, sizeof(*new_func)); in cfg_append_func() 101 new_bb = calloc(1, sizeof(*new_bb)); in func_append_bb() 118 bb = calloc(1, sizeof(*bb)); in func_insert_dummy_bb() 261 e = calloc(1, sizeof(*e)); in new_edge()
|
| /linux/tools/virtio/ringtest/ |
| A D | ring.c | 87 event = calloc(1, sizeof(*event)); in alloc_ring() 104 data = calloc(ring_size, sizeof(*data)); in alloc_ring()
|
| /linux/tools/perf/util/ |
| A D | mmap.c | 153 map->aio.aiocb = calloc(map->aio.nr_cblocks, sizeof(struct aiocb *)); in perf_mmap__aio_mmap() 158 map->aio.cblocks = calloc(map->aio.nr_cblocks, sizeof(struct aiocb)); in perf_mmap__aio_mmap() 163 map->aio.data = calloc(map->aio.nr_cblocks, sizeof(void *)); in perf_mmap__aio_mmap()
|
| A D | namespaces.c | 142 nsi = calloc(1, sizeof(*nsi)); in nsinfo__new() 169 nnsi = calloc(1, sizeof(*nnsi)); in nsinfo__copy()
|
| /linux/tools/lib/ |
| A D | zalloc.c | 8 return calloc(1, size); in zalloc()
|
| /linux/tools/perf/ |
| A D | builtin-mem.c | 99 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in __cmd_record() 106 rec_tmp = calloc(rec_argc + 1, sizeof(char *)); in __cmd_record() 345 rep_argv = calloc(rep_argc + 1, sizeof(char *)); in report_events()
|
| /linux/tools/bpf/ |
| A D | bpf_exp.y | 615 labels = calloc(BPF_MAXINSNS, sizeof(*labels)); in bpf_init() 617 labels_jt = calloc(BPF_MAXINSNS, sizeof(*labels_jt)); in bpf_init() 619 labels_jf = calloc(BPF_MAXINSNS, sizeof(*labels_jf)); in bpf_init() 621 labels_k = calloc(BPF_MAXINSNS, sizeof(*labels_k)); in bpf_init()
|
| /linux/tools/testing/selftests/bpf/ |
| A D | bench.c | 421 state.producers = calloc(env.producer_cnt, sizeof(*state.producers)); in setup_benchmark() 422 state.consumers = calloc(env.consumer_cnt, sizeof(*state.consumers)); in setup_benchmark() 423 state.results = calloc(env.duration_sec + env.warmup_sec + 2, in setup_benchmark()
|
| /linux/tools/testing/selftests/mincore/ |
| A D | mincore_selftest.c | 203 vec = calloc(vec_size, sizeof(unsigned char)); in TEST() 300 vec = calloc(vec_size, sizeof(unsigned char)); in TEST()
|
| /linux/tools/virtio/virtio-trace/ |
| A D | trace-agent.h | 65 return calloc(1, size); in zalloc()
|