/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/mm/ |
H A D | tlbie_test.c | 571 void *tmp = malloc(size); in mem_snapshot_fn()
|
/kernel/linux/linux-6.6/tools/testing/selftests/x86/ |
H A D | amx.c | 796 finfo = malloc(sizeof(*finfo) * ctxtswtest_config.num_threads); in test_context_switch() 798 fatal_error("malloc()"); in test_context_switch()
|
H A D | sigreturn.c | 772 .ss_sp = malloc(sizeof(char) * SIGSTKSZ), in main()
|
H A D | test_shadow_stack.c | 577 cur = malloc(sizeof(*cur)); in test_guard_gap()
|
/kernel/linux/linux-6.6/usr/ |
H A D | gen_init_cpio.c | 453 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 D | recordmcount.c | 153 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 D | xdp_hw_metadata.c | 429 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 D | execveat.c | 121 char *result = malloc(strlen(left) + strlen(right) + 1); in concat()
|
/kernel/linux/linux-6.6/tools/testing/vsock/ |
H A D | vsock_diag_test.c | 241 st = malloc(sizeof(*st)); in add_vsock_stat() 243 perror("malloc"); in add_vsock_stat()
|
/kernel/liteos_a/testsuites/unittest/common/include/ |
H A D | osTest.h | 133 extern void *malloc(size_t size);
|
/kernel/liteos_m/components/net/lwip-2.1/porting/src/ |
H A D | api_shell.c | 344 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 D | net_socket_test_011.c | 283 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 D | cmsis_func_test.c | 68 void *stackAddr = malloc(OS_TSK_TEST_STACK_SIZE);
|
/kernel/linux/linux-6.6/tools/hv/ |
H A D | hv_kvp_daemon.c | 215 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 D | mei-amt-version.c | 388 *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 D | posix_pthread_test.cpp | 169 g_scenarii[i].bottom = malloc(minstacksize + pagesize); in ScenarInit()
|
/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-inject.c | 326 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 D | userfaultfd.c | 1251 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 D | data-convert-bt.c | 959 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 D | protection_keys.c | 13 * 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 D | data-convert-bt.c | 965 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 D | latency-collector.c | 241 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 D | vfs_shellcmd.c | 602 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 D | sockets.c | 1606 ifc.ifc_buf = malloc(nbytes); 1673 argp = malloc(nbytes);
|
/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-timechart.c | 1081 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()
|