Searched refs:malloc (Results 226 - 250 of 410) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/net/
H A Dso_incoming_cpu.c96 self->servers = malloc(sizeof(int) * nr_server);
/linux-master/tools/testing/selftests/rseq/
H A Dbasic_percpu_ops_test.c294 node = malloc(sizeof(*node));
H A Dparam_test.c735 node = malloc(sizeof(*node));
919 malloc(sizeof(*buffer.c[i].array) * CPU_SETSIZE *
935 node = malloc(sizeof(*node));
1130 malloc(sizeof(*buffer.c[i].array) * CPU_SETSIZE *
1274 node = malloc(sizeof(*node));
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Diters.c8 #include <malloc.h>
H A Dbloom_filter_map.c164 rand_vals = malloc(sizeof(*rand_vals) * map_size);
/linux-master/tools/testing/vsock/
H A Dvsock_test_zerocopy.c262 data = malloc(data_len);
264 perror("malloc");
H A Dvsock_uring_test.c131 data = malloc(data_len);
133 perror("malloc");
/linux-master/tools/testing/selftests/move_mount_set_group/
H A Dmove_mount_set_group_test.c272 stack = malloc(__STACK_SIZE);
/linux-master/tools/testing/selftests/net/tcp_ao/lib/
H A Dsetup.c85 p = malloc(sizeof(struct dlist_t));
87 test_error("malloc() failed");
H A Dproc.c43 ret = malloc(sizeof(struct netstat));
45 test_error("malloc()");
/linux-master/arch/x86/tools/
H A Drelocs.c480 sec->strtab = malloc(sec->shdr.sh_size);
482 die("malloc of %" FMT " bytes for strtab failed\n", sec->shdr.sh_size);
502 sec->xsymtab = malloc(sec->shdr.sh_size);
504 die("malloc of %" FMT " bytes for xsymtab failed\n", sec->shdr.sh_size);
518 sec->symtab = malloc(sec->shdr.sh_size);
520 die("malloc of %" FMT " bytes for symtab failed\n", sec->shdr.sh_size);
556 sec->reltab = malloc(sec->shdr.sh_size);
558 die("malloc of %" FMT " bytes for relocs failed\n", sec->shdr.sh_size);
/linux-master/tools/bpf/bpftool/
H A Dpids.c70 refs->refs = malloc(sizeof(*refs->refs));
/linux-master/tools/testing/selftests/mm/
H A Dmkdirty.c279 src = malloc(pagesize);
H A Dgup_test.c258 tid = malloc(sizeof(pthread_t) * nthreads);
/linux-master/tools/testing/selftests/ipc/
H A Dmsgque.c151 msgque->messages = malloc(sizeof(struct msg1) * ds.msg_qnum);
/linux-master/tools/testing/selftests/kvm/lib/
H A Duserfaultfd_util.c119 uffd_desc = malloc(sizeof(struct uffd_desc));
120 TEST_ASSERT(uffd_desc, "Failed to malloc uffd descriptor");
/linux-master/mm/
H A Dzbud.c424 .malloc = zbud_zpool_malloc,
/linux-master/samples/landlock/
H A Dsandboxer.c71 *path_list = malloc(num_paths * sizeof(**path_list));
/linux-master/tools/testing/selftests/memfd/
H A Dfuse_test.c205 stack = malloc(STACK_SIZE);
207 printf("malloc(STACK_SIZE) failed: %m\n");
/linux-master/tools/perf/util/
H A Dmaps.c363 maps_by_name = malloc(RC_CHK_ACCESS(maps)->nr_maps_allocated *
885 malloc(nr_maps_allocated * sizeof(struct map *));
893 malloc(nr_maps_allocated * sizeof(struct map *));
1164 merged_maps_by_address = malloc(merged_nr_maps_allocated * sizeof(*merged_maps_by_address));
H A Dcomm.c81 cs = malloc(sizeof(*cs) + strlen(str) + 1);
H A Dsynthetic-events.c865 comm_event = malloc(sizeof(comm_event->comm) + machine->id_hdr_size);
869 mmap_event = malloc(sizeof(mmap_event->mmap2) + machine->id_hdr_size);
873 fork_event = malloc(sizeof(fork_event->fork) + machine->id_hdr_size);
877 namespaces_event = malloc(sizeof(namespaces_event->namespaces) +
948 comm_event = malloc(sizeof(comm_event->comm) + machine->id_hdr_size);
952 mmap_event = malloc(sizeof(mmap_event->mmap2) + machine->id_hdr_size);
956 fork_event = malloc(sizeof(fork_event->fork) + machine->id_hdr_size);
960 namespaces_event = malloc(sizeof(namespaces_event->namespaces) +
2305 ff.buf = malloc(sz);
/linux-master/arch/um/os-Linux/
H A Dstart_up.c327 new = malloc(sizeof(*new));
/linux-master/tools/testing/selftests/cachestat/
H A Dtest_cachestat.c49 data = malloc(filesize);
/linux-master/tools/objtool/
H A Delf.c652 WARN("malloc");
667 WARN("malloc");
797 perror("malloc");
824 char *name = malloc(namelen);
827 perror("malloc");
1001 elf = malloc(sizeof(*elf));
1003 perror("malloc");
1095 sec = malloc(sizeof(*sec));
1097 perror("malloc");
1128 sec->data->d_buf = malloc(siz
[all...]

Completed in 475 milliseconds

1234567891011>>