/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/rsyslog/librelp/ |
H A D | 0001-relp-fix-build-against-upcoming-gcc-14-Werror-calloc.patch | 5 (`-Werror=calloc-transposed-args`) 8 detected minor infelicity in `calloc()` API usage 12 …relp.c:101:39: error: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in th… 13 101 | CHKmalloc(epd = calloc(sizeof(epolld_t), 1)); 30 - CHKmalloc(epd = calloc(sizeof(epolld_t), 1)); 31 + CHKmalloc(epd = calloc(1, sizeof(epolld_t)));
|
/openbmc/linux/tools/power/cpupower/utils/idle_monitor/ |
H A 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()
|
H 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()
|
H 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()
|
H 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()
|
/openbmc/linux/tools/net/ynl/generated/ |
H A 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 …]
|
H A 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 …]
|
H A 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()
|
/openbmc/qemu/ebpf/ |
H A D | rss.bpf.skeleton.h | 56 obj = (struct rss_bpf *)calloc(1, sizeof(*obj)); in rss_bpf__open_opts() 127 s = (struct bpf_object_skeleton *)calloc(1, sizeof(*s)); in rss_bpf__create_skeleton() 140 s->maps = (struct bpf_map_skeleton *)calloc(s->map_cnt, s->map_skel_sz); in rss_bpf__create_skeleton() 158 s->progs = (struct bpf_prog_skeleton *)calloc(s->prog_cnt, s->prog_skel_sz); in rss_bpf__create_skeleton()
|
/openbmc/linux/tools/testing/selftests/bpf/map_tests/ |
H A 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()
|
H A 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()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/heaptrack/heaptrack/ |
H A D | 0003-heaptrack_preload-Make-noexcept-attribute-conditiona.patch | 60 -void* calloc(size_t num, size_t size) noexcept 61 +void* calloc(size_t num, size_t size) NOEXECPT 63 if (!hooks::calloc) { 65 @@ -235,7 +241,7 @@ void* calloc(size_t num, size_t size) noexcept
|
/openbmc/qemu/tests/tcg/multiarch/ |
H A D | threadcount.c | 44 threads = calloc(sizeof(pthread_t), max_threads); in main() 47 ThreadArg *arg = calloc(sizeof(ThreadArg), 1); in main()
|
H A D | signals.c | 77 threads = calloc(sizeof(pthread_t), max_threads); in spawn_threads() 80 ThreadJob *job = calloc(sizeof(ThreadJob), 1); in spawn_threads()
|
/openbmc/u-boot/lib/zlib/ |
H A D | zutil.c | 51 extern voidp calloc OF((uInt items, uInt size)); 61 (voidpf)calloc(items, size); in zcalloc()
|
/openbmc/linux/tools/testing/selftests/alsa/ |
H A 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()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/canonical-multitouch/geis/ |
H A D | 0001-provide-function-declaration-with-prototypes.patch | 132 Geis geis = calloc(1, sizeof(struct _Geis)); 144 CallbackInfoBag cbib = calloc(1, sizeof(struct CallbackInfoBag)); 153 GeisBackendMultiplexor mx = calloc(1, sizeof(struct _GeisBackendMultiplexor)); 179 GeisGestureClassBag bag = calloc(1, sizeof(struct _GeisGestureClassBag)); 205 GeisDeviceBag bag = calloc(1, sizeof(struct _GeisDeviceBag)); 231 GeisEventQueue queue = calloc(1, sizeof(struct _GeisEventQueue)); 257 GeisFilterBag bag = calloc(1, sizeof(struct _GeisFilterBag)); 283 FilterableAttributeBag bag = calloc(1, sizeof(struct FilterableAttributeBag)); 309 GeisFrameSet frameset = calloc(1, sizeof(struct _GeisFrameSet)); 335 GeisGroupSet groupset = calloc(1, sizeof(struct _GeisGroupSet)); [all …]
|
/openbmc/libmctp/tests/ |
H A D | test_astlpc.c | 205 ctx->lpc_mem = calloc(1, 1 * 1024 * 1024); in network_init() 449 lpc_mem = calloc(1, 1 * 1024 * 1024); in astlpc_test_version_host_fails_negotiation() 480 lpc_mem = calloc(1, 1 * 1024 * 1024); in astlpc_test_version_bmc_fails_negotiation() 518 lpc_mem = calloc(1, 1 * 1024 * 1024); in astlpc_test_simple_init() 562 ctx.lpc_mem = calloc(1, LPC_WIN_SIZE); in astlpc_test_simple_indirect_message_bmc_to_host() 683 lpc_mem = calloc(1, 1 * 1024 * 1024); in astlpc_test_poll_not_ready() 709 lpc_mem = calloc(1, 1 * 1024 * 1024); in astlpc_test_undefined_command() 865 lpc_mem = calloc(1, 1 * 1024 * 1024); in astlpc_test_buffers_bad_host_proposal() 904 lpc_mem = calloc(1, 1 * 1024 * 1024); in astlpc_test_buffers_bad_bmc_proposal() 938 lpc_mem = calloc(1, 1 * 1024 * 1024); in astlpc_test_buffers_bad_bmc_negotiation() [all …]
|
/openbmc/linux/tools/perf/bench/ |
H A 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()
|
/openbmc/linux/tools/tracing/rtla/src/ |
H A D | timerlat_aa.c | 851 taa_data->prev_irqs_seq = calloc(1, sizeof(*taa_data->prev_irqs_seq)); in timerlat_aa_init_seqs() 857 taa_data->nmi_seq = calloc(1, sizeof(*taa_data->nmi_seq)); in timerlat_aa_init_seqs() 863 taa_data->irqs_seq = calloc(1, sizeof(*taa_data->irqs_seq)); in timerlat_aa_init_seqs() 869 taa_data->softirqs_seq = calloc(1, sizeof(*taa_data->softirqs_seq)); in timerlat_aa_init_seqs() 875 taa_data->threads_seq = calloc(1, sizeof(*taa_data->threads_seq)); in timerlat_aa_init_seqs() 881 taa_data->stack_seq = calloc(1, sizeof(*taa_data->stack_seq)); in timerlat_aa_init_seqs() 1031 taa_ctx = calloc(1, sizeof(*taa_ctx)); in timerlat_aa_init() 1041 taa_ctx->taa_data = calloc(nr_cpus, sizeof(*taa_ctx->taa_data)); in timerlat_aa_init()
|
/openbmc/linux/tools/power/acpi/os_specific/service_layers/ |
H 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()
|
/openbmc/obmc-console/test/ |
H A D | test-config-resolve-console-id.c | 32 ctx = calloc(1, sizeof(*ctx)); in test_independence_cmdline_optarg() 75 ctx = calloc(1, sizeof(*ctx)); in test_independence_default()
|
/openbmc/linux/tools/mm/ |
H A 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()
|
/openbmc/libcper/ |
H A D | ir-parse.c | 31 (EFI_COMMON_ERROR_RECORD_HEADER *)calloc( in ir_to_cper() 43 descriptors[i] = (EFI_ERROR_SECTION_DESCRIPTOR *)calloc( in ir_to_cper() 258 (EFI_ERROR_SECTION_DESCRIPTOR *)calloc( in ir_single_section_to_cper()
|
/openbmc/obmc-console/ |
H A D | console-mux.c | 63 char *word = calloc(length + 1, 1); in extract_mux_gpio_name() 159 server->mux = calloc(1, sizeof(struct console_mux)); in console_server_mux_init() 165 server->mux->mux_gpios = calloc(ngpios, sizeof(struct console_gpio)); in console_server_mux_init()
|