Home
last modified time | relevance | path

Searched refs:malloc (Results 526 - 550 of 820) sorted by relevance

1...<<21222324252627282930>>...33

/kernel/linux/linux-6.6/tools/usb/
H A Dffs-test.c295 out = malloc(length); in descs_to_legacy()
381 t->buf = malloc(t->buf_size); in init_thread()
382 die_on(!t->buf, "malloc"); in init_thread()
/kernel/liteos_a/fs/proc/src/
H A Dproc_file.c225 pn = (struct ProcDirEntry *)malloc(sizeof(struct ProcDirEntry)); in ProcAllocNode()
243 pn->pf = (struct ProcFile *)malloc(sizeof(struct ProcFile)); in ProcAllocNode()
/kernel/liteos_m/kal/posix/src/
H A Dpthread.c145 PthreadData *pthreadData = (PthreadData *)malloc(sizeof(PthreadData)); in PthreadCreateAttrInit()
726 key = (uintptr_t *)malloc(sizeof(uintptr_t) * PTHREAD_KEYS_MAX); in pthread_setspecific()
/kernel/linux/linux-6.6/tools/objtool/
H A Dcheck.c408 WARN("malloc failed"); in decode_instructions()
1739 orig_alt_group = malloc(sizeof(*orig_alt_group)); in handle_group_alt()
1741 WARN("malloc failed"); in handle_group_alt()
1775 new_alt_group = malloc(sizeof(*new_alt_group)); in handle_group_alt()
1777 WARN("malloc failed"); in handle_group_alt()
1789 nop = malloc(sizeof(*nop)); in handle_group_alt()
1791 WARN("malloc failed"); in handle_group_alt()
1975 alt = malloc(sizeof(*alt)); in add_special_section_alts()
1977 WARN("malloc failed"); in add_special_section_alts()
2039 alt = malloc(sizeo in add_jump_table()
[all...]
/kernel/linux/linux-5.10/tools/bpf/bpftool/
H A Dprog.c215 value = malloc(map_info->value_size); in find_metadata()
529 fds = malloc(sizeof(int)); in do_show_subset()
809 fds = malloc(sizeof(int)); in do_dump()
1038 *data_ptr = malloc(block_size); in get_run_data()
1401 type = malloc(strlen(*argv) + 2); in load_with_options()
/kernel/linux/linux-5.10/tools/lib/traceevent/
H A Dparse-filter.c75 *tok = malloc(3); in filter_read_token()
168 filter = malloc(sizeof(*filter)); in tep_filter_alloc()
231 list = malloc(sizeof(*list)); in add_event()
558 op->str.buffer = malloc(op->str.field->size + 1); in add_right()
1288 this_event = malloc(len + 1); in tep_filter_add_filter_str()
/kernel/linux/linux-6.6/tools/perf/util/
H A Dsymbol.c95 return malloc(sizeof(struct map_list_node)); in map_list_node__new()
460 result = malloc(sizeof(*result) * size); in symbols__sort_by_name()
1717 symbols = malloc(symbols_size); in dso__load_bfd_symbols()
1936 name = malloc(PATH_MAX); in dso__load()
2517 vmlinux_path = malloc(sizeof(char *) * (ARRAY_SIZE(vmlinux_paths) + in vmlinux_path__init()
/kernel/linux/linux-5.10/arch/um/os-Linux/
H A Dstart_up.c370 new = malloc(sizeof(*new)); in parse_iomem()
/kernel/linux/linux-5.10/arch/x86/boot/compressed/
H A Dmisc.c10 * malloc by Hannu Savolainen 1993 and Matthias Urlichs 1994
294 phdrs = malloc(sizeof(*phdrs) * ehdr.e_phnum); in parse_elf()
/kernel/linux/linux-5.10/tools/testing/selftests/openat2/
H A Dopenat2_test.c110 copy = malloc(misalign + sizeof(how_ext)); in test_openat2_struct()
/kernel/linux/linux-5.10/tools/testing/selftests/netfilter/
H A Dnf-queue.c279 buf = malloc(buflen); in mainloop()
281 perror("malloc"); in mainloop()
/kernel/linux/linux-5.10/tools/usb/usbip/libsrc/
H A Dvhci_driver.c198 buffer = malloc(buffer_len); in read_record()
/kernel/linux/linux-5.10/tools/testing/selftests/arm64/fp/
H A Dsve-ptrace.c247 new_sve = newsvebuf = malloc(newsvebufsz); in do_parent()
/kernel/linux/linux-5.10/tools/testing/selftests/arm64/mte/
H A Dmte_common_util.c133 return malloc(entire_size) + range_before; in __mte_allocate_memory_range()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
H A Dfexit_bpf2bpf.c17 result = malloc((prog_cnt + 32 /* spare */) * sizeof(__u64)); in check_data_map()
/kernel/linux/linux-5.10/tools/testing/selftests/capabilities/
H A Dtest_execve.c16 #include <malloc.h>
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/
H A Ddirty_log_perf_test.c129 vcpu_threads = malloc(nr_vcpus * sizeof(*vcpu_threads)); in run_test()
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/x86_64/
H A Dvmx_set_nested_state_test.c94 (struct kvm_nested_state *)malloc(state_sz); in test_vmx_nested_state()
/kernel/linux/linux-5.10/tools/testing/selftests/mqueue/
H A Dmq_open_tests.c256 queue_path = malloc(strlen(argv[1]) + 2); in main()
258 perror("malloc()"); in main()
/kernel/linux/linux-6.6/arch/um/os-Linux/
H A Dstart_up.c402 new = malloc(sizeof(*new)); in parse_iomem()
/kernel/linux/linux-6.6/arch/x86/boot/compressed/
H A Dmisc.c10 * malloc by Hannu Savolainen 1993 and Matthias Urlichs 1994
31 /* Define an externally visible malloc()/free(). */
301 phdrs = malloc(sizeof(*phdrs) * ehdr.e_phnum); in parse_elf()
/kernel/linux/linux-5.10/scripts/kconfig/lxdialog/
H A Dchecklist.c21 char *list_item = malloc(list_width + 1); in print_item()
/kernel/linux/linux-5.10/tools/lib/bpf/
H A Dlibbpf_probes.c161 raw_btf = malloc(btf_len); in libbpf__load_raw_btf()
/kernel/linux/linux-5.10/tools/lib/lockdep/
H A Dpreload.c140 * allocation path. This means that a call to malloc() would in alloc_lock()
159 return malloc(sizeof(struct lock_lookup)); in alloc_lock()
/kernel/linux/linux-5.10/tools/lib/subcmd/
H A Dhelp.c18 struct cmdname *ent = malloc(sizeof(*ent) + len + 1); in add_cmdname()

Completed in 26 milliseconds

1...<<21222324252627282930>>...33