/linux-master/tools/lib/ |
H A D | zalloc.c | 8 return calloc(1, size);
|
H A D | argv_split.c | 66 char **argv = calloc(argc + 1, sizeof(*argv));
|
/linux-master/tools/testing/selftests/lsm/ |
H A D | lsm_set_self_attr_test.c | 27 struct lsm_ctx *ctx = calloc(page_size, 1); 43 struct lsm_ctx *ctx = calloc(page_size, 1); 59 char *ctx = calloc(page_size, 1);
|
H A D | lsm_list_modules_test.c | 21 __u64 *syscall_lsms = calloc(page_size, 1); 45 __u64 *syscall_lsms = calloc(page_size, 1); 60 __u64 *syscall_lsms = calloc(page_size, 1); 76 __u64 *syscall_lsms = calloc(page_size, 1); 77 char *sysfs_lsms = calloc(page_size, 1);
|
H A D | common.c | 27 path = calloc(len, 1); 72 char *names = calloc(sysconf(_SC_PAGESIZE), 1);
|
H A D | lsm_get_self_attr_test.c | 30 struct lsm_ctx *ctx = calloc(page_size, 1); 59 struct lsm_ctx *ctx = calloc(page_size, 1); 78 struct lsm_ctx *ctx = calloc(page_size, 1); 79 __u64 *syscall_lsms = calloc(page_size, 1); 119 struct lsm_ctx *ctx = calloc(page_size, 1); 144 struct lsm_ctx *ctx = calloc(page_size, 1); 146 __u64 *syscall_lsms = calloc(page_size, 1); 147 char *attr = calloc(page_size, 1);
|
/linux-master/tools/power/cpupower/utils/idle_monitor/ |
H A D | mperf_monitor.c | 345 is_valid = calloc(cpu_count, sizeof(int)); 346 mperf_previous_count = calloc(cpu_count, sizeof(unsigned long long)); 347 aperf_previous_count = calloc(cpu_count, sizeof(unsigned long long)); 348 mperf_current_count = calloc(cpu_count, sizeof(unsigned long long)); 349 aperf_current_count = calloc(cpu_count, sizeof(unsigned long long)); 350 tsc_at_measure_start = calloc(cpu_count, sizeof(unsigned long long)); 351 tsc_at_measure_end = calloc(cpu_count, sizeof(unsigned long long));
|
H A D | snb_idle.c | 166 is_valid = calloc(cpu_count, sizeof(int)); 168 previous_count[num] = calloc(cpu_count, 170 current_count[num] = calloc(cpu_count,
|
H A D | nhm_idle.c | 180 is_valid = calloc(cpu_count, sizeof(int)); 182 previous_count[num] = calloc(cpu_count, 184 current_count[num] = calloc(cpu_count,
|
H A D | hsw_ext_idle.c | 161 is_valid = calloc(cpu_count, sizeof(int)); 163 previous_count[num] = calloc(cpu_count, 165 current_count[num] = calloc(cpu_count,
|
/linux-master/tools/virtio/virtio-trace/ |
H A D | trace-agent.h | 65 return calloc(1, size);
|
/linux-master/tools/power/acpi/os_specific/service_layers/ |
H A D | osunixdir.c | 54 external_info = calloc(1, sizeof(struct external_find_info)); 109 temp_str = calloc(str_len, 1);
|
/linux-master/tools/testing/selftests/bpf/map_tests/ |
H A D | array_map_batch_ops.c | 92 keys = calloc(max_entries, sizeof(*keys)); 93 values = calloc(max_entries, value_size); 94 visited = calloc(max_entries, sizeof(*visited));
|
H A D | map_in_map_batch_ops.c | 131 fetched_keys = calloc(max_entries, value_size); 132 fetched_values = calloc(max_entries, value_size); 197 outer_map_keys = calloc(max_entries, value_size); 198 inner_map_fds = calloc(max_entries, value_size);
|
/linux-master/tools/verification/rv/src/ |
H A D | trace.c | 98 trace->seq = calloc(1, sizeof(*trace->seq));
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | fexit_stress.c | 13 fd = calloc(bpf_max_tramp_links * 2, sizeof(*fd));
|
/linux-master/tools/testing/selftests/bpf/benchs/ |
H A D | bench_count.c | 38 ctx->hits = calloc(env.producer_cnt, sizeof(*ctx->hits));
|
/linux-master/tools/lib/api/fs/ |
H A D | cgroup.c | 95 cached = calloc(1, sizeof(*cached));
|
/linux-master/tools/perf/arch/powerpc/tests/ |
H A D | dwarf-unwind.c | 51 buf = calloc(1, sizeof(u64) * PERF_REGS_MAX);
|
/linux-master/tools/perf/arch/arm64/tests/ |
H A D | dwarf-unwind.c | 51 buf = calloc(1, sizeof(u64) * PERF_REGS_MAX);
|
/linux-master/tools/perf/arch/arm/tests/ |
H A D | dwarf-unwind.c | 51 buf = calloc(1, sizeof(u64) * PERF_REGS_MAX);
|
/linux-master/tools/perf/bench/ |
H A D | breakpoint.c | 91 threads = calloc(thread_params.nthreads, sizeof(threads[0])); 93 exit((perror("calloc"), EXIT_FAILURE)); 124 breakpoints = calloc(thread_params.nbreakpoints, sizeof(breakpoints[0])); 125 parallel = calloc(thread_params.nparallel, sizeof(parallel[0])); 127 exit((perror("calloc"), EXIT_FAILURE)); 220 threads = calloc(nthreads, sizeof(threads[0])); 222 exit((perror("calloc"), EXIT_FAILURE));
|
/linux-master/arch/s390/tools/ |
H A D | gen_facilities.c | 126 array = calloc(1, 8);
|
/linux-master/tools/testing/selftests/alsa/ |
H A D | test-pcmtest-driver.c | 175 samples = calloc(self->params.sec_buf_len * self->params.time, 1); 214 samples = calloc(self->params.sec_buf_len * self->params.time, 1); 244 chan_samples = calloc(CH_NUM, sizeof(*chan_samples)); 256 chan_samples[i] = calloc(params.sec_buf_len * params.time, 1); 279 chan_samples = calloc(CH_NUM, sizeof(*chan_samples)); 291 chan_samples[i] = calloc(params.sec_buf_len * params.time, 1);
|
/linux-master/tools/virtio/ringtest/ |
H A D | ring.c | 87 event = calloc(1, sizeof(*event)); 104 data = calloc(ring_size, sizeof(*data));
|