/linux-6.6.21/tools/power/cpupower/utils/idle_monitor/ |
D | mperf_monitor.c | 345 is_valid = calloc(cpu_count, sizeof(int)); in mperf_register() 346 mperf_previous_count = calloc(cpu_count, sizeof(unsigned long long)); in mperf_register() 347 aperf_previous_count = calloc(cpu_count, sizeof(unsigned long long)); in mperf_register() 348 mperf_current_count = calloc(cpu_count, sizeof(unsigned long long)); in mperf_register() 349 aperf_current_count = calloc(cpu_count, sizeof(unsigned long long)); in mperf_register() 350 tsc_at_measure_start = calloc(cpu_count, sizeof(unsigned long long)); in mperf_register() 351 tsc_at_measure_end = calloc(cpu_count, sizeof(unsigned long long)); in mperf_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 | 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 | 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.6.21/tools/net/ynl/generated/ |
D | devlink-user.h | 87 return calloc(1, sizeof(struct devlink_get_req)); in devlink_get_req_alloc() 160 return calloc(1, sizeof(struct devlink_port_get_req)); in devlink_port_get_req_alloc() 226 return calloc(1, sizeof(struct devlink_port_get_req_dump)); in devlink_port_get_req_dump_alloc() 290 return calloc(1, sizeof(struct devlink_sb_get_req)); in devlink_sb_get_req_alloc() 355 return calloc(1, sizeof(struct devlink_sb_get_req_dump)); in devlink_sb_get_req_dump_alloc() 409 return calloc(1, sizeof(struct devlink_sb_pool_get_req)); in devlink_sb_pool_get_req_alloc() 484 return calloc(1, sizeof(struct devlink_sb_pool_get_req_dump)); in devlink_sb_pool_get_req_dump_alloc() 542 return calloc(1, sizeof(struct devlink_sb_port_pool_get_req)); in devlink_sb_port_pool_get_req_alloc() 629 return calloc(1, sizeof(struct devlink_sb_port_pool_get_req_dump)); in devlink_sb_port_pool_get_req_dump_alloc() 690 return calloc(1, sizeof(struct devlink_sb_tc_pool_bind_get_req)); in devlink_sb_tc_pool_bind_get_req_alloc() [all …]
|
D | ethtool-user.h | 225 return calloc(1, sizeof(struct ethtool_strset_get_req)); in ethtool_strset_get_req_alloc() 303 return calloc(1, sizeof(struct ethtool_strset_get_req_dump)); in ethtool_strset_get_req_dump_alloc() 372 return calloc(1, sizeof(struct ethtool_linkinfo_get_req)); in ethtool_linkinfo_get_req_alloc() 441 return calloc(1, sizeof(struct ethtool_linkinfo_get_req_dump)); in ethtool_linkinfo_get_req_dump_alloc() 518 return calloc(1, sizeof(struct ethtool_linkinfo_set_req)); in ethtool_linkinfo_set_req_alloc() 603 return calloc(1, sizeof(struct ethtool_linkmodes_get_req)); in ethtool_linkmodes_get_req_alloc() 681 return calloc(1, sizeof(struct ethtool_linkmodes_get_req_dump)); in ethtool_linkmodes_get_req_dump_alloc() 766 return calloc(1, sizeof(struct ethtool_linkmodes_set_req)); in ethtool_linkmodes_set_req_alloc() 911 return calloc(1, sizeof(struct ethtool_linkstate_get_req)); in ethtool_linkstate_get_req_alloc() 983 return calloc(1, sizeof(struct ethtool_linkstate_get_req_dump)); in ethtool_linkstate_get_req_dump_alloc() [all …]
|
D | handshake-user.h | 47 return calloc(1, sizeof(struct handshake_accept_req)); in handshake_accept_req_alloc() 114 return calloc(1, sizeof(struct handshake_done_req)); in handshake_done_req_alloc()
|
D | fou-user.h | 52 return calloc(1, sizeof(struct fou_add_req)); in fou_add_req_alloc() 152 return calloc(1, sizeof(struct fou_del_req)); in fou_del_req_alloc() 242 return calloc(1, sizeof(struct fou_get_req)); in fou_get_req_alloc()
|
D | handshake-user.c | 216 dst->certificate = calloc(n_certificate, sizeof(*dst->certificate)); in handshake_accept_rsp_parse() 230 dst->peer_identity = calloc(n_peer_identity, sizeof(*dst->peer_identity)); in handshake_accept_rsp_parse() 259 rsp = calloc(1, sizeof(*rsp)); in handshake_accept()
|
D | devlink-user.c | 259 dst->reload_stats_entry = calloc(n_reload_stats_entry, sizeof(*dst->reload_stats_entry)); in devlink_dl_reload_act_stats_parse() 313 dst->reload_action_stats = calloc(n_reload_action_stats, sizeof(*dst->reload_action_stats)); in devlink_dl_reload_act_info_parse() 362 dst->reload_action_info = calloc(n_reload_action_info, sizeof(*dst->reload_action_info)); in devlink_dl_reload_stats_parse() 515 rsp = calloc(1, sizeof(*rsp)); in devlink_get() 651 rsp = calloc(1, sizeof(*rsp)); in devlink_port_get() 838 rsp = calloc(1, sizeof(*rsp)); in devlink_sb_get() 987 rsp = calloc(1, sizeof(*rsp)); in devlink_sb_pool_get() 1147 rsp = calloc(1, sizeof(*rsp)); in devlink_sb_port_pool_get() 1316 rsp = calloc(1, sizeof(*rsp)); in devlink_sb_tc_pool_bind_get() 1468 rsp = calloc(1, sizeof(*rsp)); in devlink_param_get() [all …]
|
/linux-6.6.21/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.6.21/tools/testing/selftests/alsa/ |
D | test-pcmtest-driver.c | 175 samples = calloc(self->params.sec_buf_len * self->params.time, 1); in TEST_F() 214 samples = calloc(self->params.sec_buf_len * self->params.time, 1); in TEST_F() 244 chan_samples = calloc(CH_NUM, sizeof(*chan_samples)); in TEST_F() 256 chan_samples[i] = calloc(params.sec_buf_len * params.time, 1); in TEST_F() 279 chan_samples = calloc(CH_NUM, sizeof(*chan_samples)); in TEST_F() 291 chan_samples[i] = calloc(params.sec_buf_len * params.time, 1); in TEST_F()
|
/linux-6.6.21/tools/perf/bench/ |
D | breakpoint.c | 91 threads = calloc(thread_params.nthreads, sizeof(threads[0])); in breakpoint_thread() 124 breakpoints = calloc(thread_params.nbreakpoints, sizeof(breakpoints[0])); in bench_breakpoint_thread() 125 parallel = calloc(thread_params.nparallel, sizeof(parallel[0])); in bench_breakpoint_thread() 220 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()
|
/linux-6.6.21/tools/tracing/rtla/src/ |
D | timerlat_aa.c | 834 taa_data->prev_irqs_seq = calloc(1, sizeof(*taa_data->prev_irqs_seq)); in timerlat_aa_init_seqs() 840 taa_data->nmi_seq = calloc(1, sizeof(*taa_data->nmi_seq)); in timerlat_aa_init_seqs() 846 taa_data->irqs_seq = calloc(1, sizeof(*taa_data->irqs_seq)); in timerlat_aa_init_seqs() 852 taa_data->softirqs_seq = calloc(1, sizeof(*taa_data->softirqs_seq)); in timerlat_aa_init_seqs() 858 taa_data->threads_seq = calloc(1, sizeof(*taa_data->threads_seq)); in timerlat_aa_init_seqs() 864 taa_data->stack_seq = calloc(1, sizeof(*taa_data->stack_seq)); in timerlat_aa_init_seqs() 1014 taa_ctx = calloc(1, sizeof(*taa_ctx)); in timerlat_aa_init() 1024 taa_ctx->taa_data = calloc(nr_cpus, sizeof(*taa_ctx->taa_data)); in timerlat_aa_init()
|
/linux-6.6.21/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.6.21/tools/mm/ |
D | page_owner_sort.c | 269 char **ret = calloc(++count, sizeof(char *)); in explode() 273 ret[j] = calloc(i - lastindex, sizeof(char)); in explode() 279 ret[j] = calloc(len - lastindex, sizeof(char)); in explode() 575 sc.signs = calloc(1, sizeof(int)); in set_single_cmp() 578 sc.cmps = calloc(1, sizeof(int *)); in set_single_cmp() 595 sc.signs = calloc(size, sizeof(int)); in parse_sort_args() 596 sc.cmps = calloc(size, sizeof(int *)); in parse_sort_args() 640 int *list = calloc(size, sizeof(int)); in parse_nums_list()
|
/linux-6.6.21/tools/perf/arch/x86/util/ |
D | iostat.c | 87 struct iio_root_port *p = calloc(1, sizeof(*p)); in iio_root_port_new() 208 tmp_list = calloc(1, sizeof(*tmp_list)); in iio_root_ports_scan() 256 struct iio_root_ports_list *tmp_list = calloc(1, sizeof(*tmp_list)); in iio_root_ports_list_filter() 311 char *iostat_cmd = calloc(len_template, 1); in iostat_event_group()
|
/linux-6.6.21/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.6.21/tools/lib/ |
D | zalloc.c | 8 return calloc(1, size); in zalloc()
|
/linux-6.6.21/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.6.21/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.6.21/tools/objtool/ |
D | elf.c | 329 elf->section_data = calloc(sections_nr, sizeof(*sec)); in read_sections() 465 elf->symbol_data = calloc(symbols_nr, sizeof(*sym)); in read_symbols() 652 buf = calloc(num, entsize); in elf_update_symbol() 667 buf = calloc(num, sizeof(Elf32_Word)); in elf_update_symbol() 796 struct symbol *sym = calloc(1, sizeof(*sym)); in elf_create_section_symbol() 824 struct symbol *sym = calloc(1, sizeof(*sym)); in elf_create_prefix_symbol() 961 rsec->relocs = calloc(sec_num_entries(rsec), sizeof(*reloc)); in read_relocs() 1197 rsec->relocs = calloc(sec_num_entries(rsec), sizeof(struct reloc)); in elf_create_rela_section()
|