Home
last modified time | relevance | path

Searched refs:malloc (Results 651 - 675 of 820) sorted by relevance

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

/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/mm/
H A Dtlbie_test.c571 void *tmp = malloc(size); in mem_snapshot_fn()
/kernel/linux/linux-6.6/tools/testing/selftests/x86/
H A Damx.c796 finfo = malloc(sizeof(*finfo) * ctxtswtest_config.num_threads); in test_context_switch()
798 fatal_error("malloc()"); in test_context_switch()
H A Dsigreturn.c772 .ss_sp = malloc(sizeof(char) * SIGSTKSZ), in main()
H A Dtest_shadow_stack.c577 cur = malloc(sizeof(*cur)); in test_guard_gap()
/kernel/linux/linux-6.6/usr/
H A Dgen_init_cpio.c453 char *dname = NULL; /* malloc'ed buffer for hard links */ in cpio_mkfile_line()
472 dname = malloc(strlen(line)); in cpio_mkfile_line()
/kernel/linux/linux-6.6/scripts/
H A Drecordmcount.c153 void *const addr = malloc(size); in umalloc()
155 fprintf(stderr, "malloc failed: %zu bytes\n", size); in umalloc()
165 * malloc+lseek+read+free of many pieces. If successful, then mmap
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Dxdp_hw_metadata.c429 rx_xsk = malloc(sizeof(struct xsk) * rxq); in main()
431 error(1, ENOMEM, "malloc"); in main()
/kernel/linux/linux-6.6/tools/testing/selftests/exec/
H A Dexecveat.c121 char *result = malloc(strlen(left) + strlen(right) + 1); in concat()
/kernel/linux/linux-6.6/tools/testing/vsock/
H A Dvsock_diag_test.c241 st = malloc(sizeof(*st)); in add_vsock_stat()
243 perror("malloc"); in add_vsock_stat()
/kernel/liteos_a/testsuites/unittest/common/include/
H A DosTest.h133 extern void *malloc(size_t size);
/kernel/liteos_m/components/net/lwip-2.1/porting/src/
H A Dapi_shell.c344 PRINTK("Ping: pbuf_resp malloc failed\n"); in OsPingFunc()
350 PRINTK("Ping: echo request malloc failed\n"); in OsPingFunc()
565 parg = (u32_t *)malloc(4 * sizeof(int)); /* 4: number of args */ in OsShellPing()
/kernel/liteos_m/components/net/test/
H A Dnet_socket_test_011.c283 btNetif = (struct netif *)malloc(sizeof(struct netif)); in CreateBtNetIf()
285 LogPrintln("%s fail : netif malloc fail!", __func__); in CreateBtNetIf()
286 LWIP_ASSERT("btNetif malloc fail.", 0); in CreateBtNetIf()
/kernel/liteos_m/testsuites/sample/cmsis/
H A Dcmsis_func_test.c68 void *stackAddr = malloc(OS_TSK_TEST_STACK_SIZE);
/kernel/linux/linux-6.6/tools/hv/
H A Dhv_kvp_daemon.c215 syslog(LOG_ERR, "malloc failed"); in kvp_update_mem_state()
257 kvp_file_info[i].records = malloc(alloc_unit); in kvp_file_init()
1657 lic_version = malloc(strlen(p) + 1); in main()
1663 syslog(LOG_ERR, "malloc failed"); in main()
/kernel/linux/linux-6.6/samples/mei/
H A Dmei-amt-version.c388 *read_buf = (uint8_t *)malloc(sizeof(uint8_t) * in_buf_sz); in amt_host_if_call()
/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/
H A Dposix_pthread_test.cpp169 g_scenarii[i].bottom = malloc(minstacksize + pagesize); in ScenarInit()
/kernel/linux/linux-6.6/tools/perf/
H A Dbuiltin-inject.c326 inject->event_copy = malloc(PERF_SAMPLE_MAX_SIZE); in perf_inject__cut_auxtrace_sample()
811 ent = malloc(event->header.size + sizeof(struct event_entry)); in perf_inject__sched_switch()
1384 buf = malloc(PERF_SAMPLE_MAX_SIZE); in guest_session__fetch()
1899 void *buf = malloc(sz); in feat_copy()
/kernel/linux/linux-5.10/tools/testing/selftests/vm/
H A Duserfaultfd.c1251 count_verify = malloc(nr_pages * sizeof(unsigned long long)); in userfaultfd_stress()
1271 pipefd = malloc(sizeof(int) * nr_cpus * 2); in userfaultfd_stress()
/kernel/linux/linux-5.10/tools/perf/util/
H A Ddata-convert-bt.c959 new_name = malloc(len); in change_name()
1192 priv = malloc(sizeof(*priv)); in add_event()
/kernel/linux/linux-6.6/tools/testing/selftests/mm/
H A Dprotection_keys.c13 * prefault pages in at malloc, or not
659 dprintf3("filling malloc record[%d/%p]: {%p, %ld}\n", in record_pkey_malloc()
1384 int *plain_ptr_unaligned = malloc(HPAGE_SIZE); in test_ptrace_of_child()
1593 xsave = (void *)malloc(xsave_size); in test_ptrace_modifies_pkru()
/kernel/linux/linux-6.6/tools/perf/util/
H A Ddata-convert-bt.c965 new_name = malloc(len); in change_name()
1198 priv = malloc(sizeof(*priv)); in add_event()
/kernel/linux/linux-6.6/tools/tracing/latency/
H A Dlatency-collector.c241 void *ptr = malloc(size); in malloc_or_die()
244 warn("malloc() failed"); in malloc_or_die()
252 void *ptr = malloc(size); in malloc_or_die_nocleanup()
255 err(0, "malloc() failed"); in malloc_or_die_nocleanup()
/kernel/liteos_a/fs/vfs/vfs_cmd/
H A Dvfs_shellcmd.c602 buf = (char *)malloc(CP_BUF_SIZE); in os_shell_cmd_do_cp()
763 fullpath = (char *)malloc(fullpath_buf_size); in os_shell_cmd_do_rmdir()
765 PRINTK("malloc failure!\n"); in os_shell_cmd_do_rmdir()
/kernel/liteos_a/net/lwip-2.1/porting/src/
H A Dsockets.c1606 ifc.ifc_buf = malloc(nbytes);
1673 argp = malloc(nbytes);
/kernel/linux/linux-5.10/tools/perf/
H A Dbuiltin-timechart.c1081 task_from = malloc(40); in draw_wakeups()
1085 task_to = malloc(40); in draw_wakeups()
1306 struct process_filter *filt = malloc(sizeof(*filt)); in add_process_filter()

Completed in 35 milliseconds

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