/linux-6.1.9/tools/power/cpupower/utils/idle_monitor/ |
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()
|
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()
|
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()
|
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()
|
/linux-6.1.9/tools/testing/selftests/bpf/map_tests/ |
D | map_in_map_batch_ops.c | 131 fetched_keys = calloc(max_entries, value_size); in fetch_and_validate() 132 fetched_values = calloc(max_entries, value_size); in fetch_and_validate() 197 outer_map_keys = calloc(max_entries, value_size); in _map_in_map_batch_ops() 198 inner_map_fds = calloc(max_entries, value_size); in _map_in_map_batch_ops()
|
D | array_map_batch_ops.c | 92 keys = calloc(max_entries, sizeof(*keys)); in __test_map_lookup_and_update_batch() 93 values = calloc(max_entries, value_size); in __test_map_lookup_and_update_batch() 94 visited = calloc(max_entries, sizeof(*visited)); in __test_map_lookup_and_update_batch()
|
/linux-6.1.9/tools/perf/bench/ |
D | breakpoint.c | 85 threads = calloc(thread_params.nthreads, sizeof(threads[0])); in breakpoint_thread() 118 breakpoints = calloc(thread_params.nbreakpoints, sizeof(breakpoints[0])); in bench_breakpoint_thread() 119 parallel = calloc(thread_params.nparallel, sizeof(parallel[0])); in bench_breakpoint_thread() 202 threads = calloc(nthreads, sizeof(threads[0])); in bench_breakpoint_enable()
|
D | epoll-wait.c | 166 aux = calloc(1, size); in shuffle() 249 epollfdp = calloc(nested, sizeof(*epollfdp)); in nest_epollfd() 330 w->fdmap = calloc(nfds, sizeof(int)); in do_threads() 471 worker = calloc(nthreads, sizeof(*worker)); in bench_epoll_wait()
|
D | epoll-ctl.c | 109 epollfdp = calloc(nested, sizeof(int)); in nest_epollfd() 244 w->fdmap = calloc(nfds, sizeof(int)); in do_threads() 352 worker = calloc(nthreads, sizeof(*worker)); in bench_epoll_ctl()
|
D | futex-hash.c | 158 worker = calloc(params.nthreads, sizeof(*worker)); in bench_futex_hash() 184 worker[i].futex = calloc(params.nfutexes, sizeof(*worker[i].futex)); in bench_futex_hash()
|
D | futex-lock-pi.c | 139 worker[i].futex = calloc(1, sizeof(u_int32_t)); in create_threads() 190 worker = calloc(params.nthreads, sizeof(*worker)); in bench_futex_lock_pi()
|
/linux-6.1.9/tools/power/acpi/os_specific/service_layers/ |
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()
|
/linux-6.1.9/tools/vm/ |
D | page_owner_sort.c | 268 char **ret = calloc(++count, sizeof(char *)); in explode() 272 ret[j] = calloc(i - lastindex, sizeof(char)); in explode() 278 ret[j] = calloc(len - lastindex, sizeof(char)); in explode() 573 sc.signs = calloc(1, sizeof(int)); in set_single_cmp() 576 sc.cmps = calloc(1, sizeof(int *)); in set_single_cmp() 593 sc.signs = calloc(size, sizeof(int)); in parse_sort_args() 594 sc.cmps = calloc(size, sizeof(int *)); in parse_sort_args() 638 int *list = calloc(size, sizeof(int)); in parse_nums_list()
|
/linux-6.1.9/tools/perf/arch/x86/util/ |
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-6.1.9/tools/testing/selftests/sync/ |
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-6.1.9/tools/lib/ |
D | zalloc.c | 8 return calloc(1, size); in zalloc()
|
D | argv_split.c | 66 char **argv = calloc(argc + 1, sizeof(*argv)); in argv_split()
|
/linux-6.1.9/tools/virtio/ringtest/ |
D | ring.c | 87 event = calloc(1, sizeof(*event)); in alloc_ring() 104 data = calloc(ring_size, sizeof(*data)); in alloc_ring()
|
/linux-6.1.9/tools/bpf/bpftool/ |
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-6.1.9/tools/tracing/rtla/src/ |
D | timerlat_hist.c | 101 data = calloc(1, sizeof(*data)); in timerlat_alloc_histogram() 110 data->hist = calloc(1, sizeof(*data->hist) * nr_cpus); in timerlat_alloc_histogram() 116 data->hist[cpu].irq = calloc(1, sizeof(*data->hist->irq) * (entries + 1)); in timerlat_alloc_histogram() 119 data->hist[cpu].thread = calloc(1, sizeof(*data->hist->thread) * (entries + 1)); in timerlat_alloc_histogram() 493 params = calloc(1, sizeof(*params)); in timerlat_hist_parse_args()
|
/linux-6.1.9/tools/virtio/virtio-trace/ |
D | trace-agent.h | 65 return calloc(1, size); in zalloc()
|
/linux-6.1.9/tools/perf/ |
D | builtin-mem.c | 103 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in __cmd_record() 110 rec_tmp = calloc(rec_argc + 1, sizeof(char *)); in __cmd_record() 355 rep_argv = calloc(rep_argc + 1, sizeof(char *)); in report_events()
|
/linux-6.1.9/tools/perf/util/ |
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()
|
/linux-6.1.9/tools/perf/arch/arm/tests/ |
D | dwarf-unwind.c | 51 buf = calloc(1, sizeof(u64) * PERF_REGS_MAX); in test__arch_unwind_sample()
|
/linux-6.1.9/tools/perf/arch/powerpc/tests/ |
D | dwarf-unwind.c | 51 buf = calloc(1, sizeof(u64) * PERF_REGS_MAX); in test__arch_unwind_sample()
|