Searched refs:malloc (Results 276 - 300 of 404) sorted by relevance
<<11121314151617
/linux-master/tools/lib/bpf/ |
H A D | libbpf_probes.c | 241 raw_btf = malloc(btf_len);
|
/linux-master/tools/testing/selftests/landlock/ |
H A D | base_test.c | 27 char *const buf = malloc(page_size + 1);
|
/linux-master/arch/x86/boot/compressed/ |
H A D | misc.c | 10 * malloc by Hannu Savolainen 1993 and Matthias Urlichs 1994 31 /* Define an externally visible malloc()/free(). */ 315 phdrs = malloc(sizeof(*phdrs) * ehdr.e_phnum);
|
/linux-master/tools/perf/util/ |
H A D | metricgroup.c | 78 struct metric_event *me = malloc(sizeof(struct metric_event)); 414 struct mep *me = malloc(sizeof(struct mep)); 1635 expr = malloc(sizeof(struct metric_expr)); 1806 new_expr = malloc(sizeof(*new_expr));
|
H A D | time-utils.c | 343 str = malloc(len + 3);
|
H A D | ordered-events.c | 148 oe->buffer = malloc(size);
|
/linux-master/tools/testing/selftests/kvm/lib/x86_64/ |
H A D | processor.c | 928 list = malloc(sizeof(*list) + nmsrs.nmsrs * sizeof(list->indices[0])); 982 state->xsave = malloc(size); 985 state->xsave = malloc(sizeof(struct kvm_xsave)); 1013 state = malloc(sizeof(*state) + msr_list->nmsrs * sizeof(state->msrs.entries[0])); 1263 perror("malloc");
|
/linux-master/scripts/kconfig/lxdialog/ |
H A D | checklist.c | 21 char *list_item = malloc(list_width + 1);
|
/linux-master/lib/ |
H A D | bootconfig.c | 76 return malloc(size);
|
/linux-master/tools/testing/selftests/mm/ |
H A D | split_huge_page_test.c | 17 #include <malloc.h>
|
/linux-master/tools/bpf/bpftool/ |
H A D | common.c | 257 file = malloc(strlen(name) + 1); 873 fds = malloc(sizeof(int)); 1010 fds = malloc(sizeof(int));
|
/linux-master/tools/testing/selftests/cgroup/ |
H A D | test_memcontrol.c | 100 buf = malloc(size); 102 fprintf(stderr, "malloc() failed\n"); 218 buf = malloc(size); 220 fprintf(stderr, "malloc() failed\n"); 792 buf = malloc(size); 794 fprintf(stderr, "malloc() failed\n");
|
/linux-master/tools/testing/selftests/x86/ |
H A D | lam.c | 276 * Test lam feature through dereference pointer get from malloc. 288 ptr = (char *)malloc(MALLOC_LEN); 290 perror("malloc() failure\n"); 591 fi = malloc(sizeof(*fi) + sizeof(struct iovec) * blocks); 598 ring = malloc(sizeof(*ring)); 953 printf("\t\t0x1:malloc; 0x2:max_bits; 0x4:mmap; 0x8:syscall; 0x10:io_uring; 0x20:inherit;\n");
|
H A D | sigreturn.c | 772 .ss_sp = malloc(sizeof(char) * SIGSTKSZ),
|
H A D | test_shadow_stack.c | 577 cur = malloc(sizeof(*cur));
|
/linux-master/tools/testing/selftests/memfd/ |
H A D | memfd_test.c | 655 buf = malloc(mfd_def_size * 8); 657 printf("malloc(%zu) failed: %m\n", mfd_def_size * 8); 679 buf = malloc(mfd_def_size * 8); 681 printf("malloc(%zu) failed: %m\n", mfd_def_size * 8); 765 stack = malloc(STACK_SIZE); 767 printf("malloc(STACK_SIZE) failed: %m\n");
|
/linux-master/tools/testing/selftests/net/ |
H A D | tls.c | 422 buf = (char *)malloc(st.st_size); 603 void *mem = malloc(16384); 640 test_strs[i] = (char *)malloc(strlen(test_str) + 1); 650 buf = malloc(total_len); 677 test_strs[i] = (char *)malloc(strlen(test_str) + 1); 930 iov_base[i] = (char *)malloc(iov_len);
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | bpf_iter.c | 702 buf = malloc(expected_read_len); 703 if (!ASSERT_OK_PTR(buf, "malloc")) 872 val = malloc(8 * bpf_num_possible_cpus()); 873 if (!ASSERT_OK_PTR(val, "malloc")) 1050 val = malloc(8 * bpf_num_possible_cpus()); 1051 if (!ASSERT_OK_PTR(val, "malloc"))
|
H A D | fexit_bpf2bpf.c | 20 result = malloc((prog_cnt + 32 /* spare */) * sizeof(__u64));
|
/linux-master/scripts/ |
H A D | insert-sys-cert.c | 245 buf = malloc(*size);
|
/linux-master/tools/testing/selftests/powerpc/mm/ |
H A D | tlbie_test.c | 571 void *tmp = malloc(size);
|
/linux-master/samples/mei/ |
H A D | mei-amt-version.c | 388 *read_buf = (uint8_t *)malloc(sizeof(uint8_t) * in_buf_sz);
|
/linux-master/tools/perf/tests/ |
H A D | sample-parsing.c | 299 event = malloc(bufsz); 301 pr_debug("malloc failed\n");
|
/linux-master/tools/power/acpi/os_specific/service_layers/ |
H A D | osunixxf.c | 534 mem = (void *)malloc((size_t) size);
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | network_helpers.c | 161 fds = malloc(sizeof(*fds) * nr_listens); 445 if (!ASSERT_OK_PTR(token, "malloc token"))
|
Completed in 207 milliseconds
<<11121314151617