/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | xdp_adjust_tail.c | 165 buf = malloc(9000); 229 buf = malloc(16384);
|
/linux-master/tools/power/acpi/tools/pfrut/ |
H A D | pfrut.c | 171 uuid = malloc(37); 409 log_buf = malloc(max_data_sz + 1);
|
/linux-master/tools/bpf/bpftool/ |
H A D | json_writer.c | 15 #include <malloc.h> 92 json_writer_t *self = malloc(sizeof(*self));
|
H A D | map.c | 65 return malloc(round_up(info->value_size, 8) * 68 return malloc(info->value_size); 637 fds = malloc(sizeof(int)); 831 key = malloc(info->key_size); 907 fds = malloc(sizeof(int)); 968 *key = malloc(info->key_size); 1134 key = malloc(info.key_size); 1135 nextkey = malloc(info.key_size); 1205 key = malloc(info.key_size);
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | json_writer.c | 15 #include <malloc.h> 92 json_writer_t *self = malloc(sizeof(*self));
|
/linux-master/scripts/basic/ |
H A D | fixdep.c | 134 struct item *aux = malloc(sizeof(*aux) + len); 137 perror("fixdep:malloc"); 231 buf = malloc(st.st_size + 1); 233 perror("fixdep: malloc");
|
/linux-master/tools/testing/selftests/mm/ |
H A D | migration.c | 51 self->threads = malloc(self->nthreads * sizeof(*self->threads)); 53 self->pids = malloc(self->nthreads * sizeof(*self->pids));
|
H A D | pagemap_ioctl.c | 8 #include <malloc.h> 211 vec = malloc(sizeof(struct page_region) * vec_size); 247 vec = malloc(sizeof(struct page_region) * vec_size); 251 vec2 = malloc(sizeof(struct page_region) * vec_size); 436 vec = malloc(sizeof(struct page_region) * vec_size); 491 vec = malloc(sizeof(struct page_region) * vec_size); 541 vec = malloc(sizeof(struct page_region) * vec_size); 694 vec = malloc(sizeof(struct page_region) * vec_size); 695 vec2 = malloc(sizeof(struct page_region) * vec_size); 806 vec = malloc(sizeo [all...] |
/linux-master/tools/perf/util/ |
H A D | string.c | 221 char *expr = malloc(size); 327 new_s = malloc(strlen(haystack) + (num * (replace_len - 1) + 1));
|
/linux-master/tools/testing/selftests/kvm/ |
H A D | demand_paging_test.c | 144 guest_data_prototype = malloc(demand_paging_size); 158 uffd_descs = malloc(nr_vcpus * sizeof(struct uffd_desc *));
|
/linux-master/samples/seccomp/ |
H A D | user-trap.c | 302 req = malloc(sizes.seccomp_notif); 306 resp = malloc(sizes.seccomp_notif_resp);
|
/linux-master/lib/ |
H A D | inflate.c | 167 "uch *slide;" and then malloc'ed in the latter case. The definition 238 /* A trivial malloc implementation, adapted from 239 * malloc by Hannu Savolainen 1993 and Matthias Urlichs 1994 245 static void *malloc(int size) function 273 #define malloc(a) kmalloc(a, GFP_KERNEL) macro 364 stk = malloc(sizeof(*stk)); 488 if ((q = (struct huft *)malloc((z + 1)*sizeof(struct huft))) == 570 /* Free the malloc'ed tables built by huft_build(), which makes a linked 779 l = malloc(sizeof(*l) * 288); 852 ll = malloc(sizeo [all...] |
H A D | decompress_bunzip2.c | 642 bd = *bdp = malloc(i); 691 outbuf = malloc(BZIP2_IOBUF_SIZE); 700 inbuf = malloc(BZIP2_IOBUF_SIZE);
|
/linux-master/tools/testing/vsock/ |
H A D | vsock_test.c | 392 buf = malloc(buf_size); 395 perror("malloc"); 462 iov.iov_base = malloc(iov.iov_len); 464 perror("malloc"); 656 data = malloc(sock_buf_size); 658 perror("malloc"); 701 buf1 = malloc(buf_size); 703 perror("'malloc()' for 'buf1'"); 707 buf2 = malloc(buf_size); 709 perror("'malloc()' fo [all...] |
/linux-master/tools/perf/jvmti/ |
H A D | libjvmti.c | 101 *tab = malloc(nr_total * sizeof(**tab)); 195 *buffer = malloc((len + 1) * sizeof(char)); 265 line_file_names = malloc(sizeof(char*) * nr_lines);
|
/linux-master/samples/bpf/ |
H A D | test_lru_dist.c | 108 lru->free_nodes = malloc(lru_size * sizeof(struct pfect_lru_node)); 178 b = malloc(fst.st_size); 189 retkeys = malloc(counts * sizeof(unsigned long long));
|
/linux-master/scripts/ |
H A D | sorttable.h | 144 idxs = (int *)malloc(*orc_ip_size); 146 snprintf(g_err, ERRSTR_MAXSZ, "malloc idxs: %s", 151 tmp_orc_ip_table = (int *)malloc(*orc_ip_size); 153 snprintf(g_err, ERRSTR_MAXSZ, "malloc tmp_orc_ip_table: %s", 158 tmp_orc_table = (struct orc_entry *)malloc(orc_size); 160 snprintf(g_err, ERRSTR_MAXSZ, "malloc tmp_orc_table: %s",
|
/linux-master/tools/arch/x86/kcpuid/ |
H A D | kcpuid.c | 156 func->leafs = malloc(sizeof(struct subleaf)); 158 perror("malloc func leaf"); 225 range = malloc(sizeof(struct cpuid_range)); 227 perror("malloc range"); 234 range->funcs = malloc(sizeof(struct cpuid_func) * idx_func); 236 perror("malloc range->funcs");
|
/linux-master/tools/lib/perf/ |
H A D | cpumap.c | 21 RC_STRUCT(perf_cpu_map) *cpus = malloc(sizeof(*cpus) + sizeof(struct perf_cpu) * nr_cpus); 431 tmp_cpus = malloc(tmp_len * sizeof(struct perf_cpu)); 473 tmp_cpus = malloc(tmp_len * sizeof(struct perf_cpu));
|
/linux-master/tools/testing/selftests/powerpc/mm/ |
H A D | subpage_prot.c | 99 map = malloc(pages * 4); 177 printf("allocated malloc block of 0x%lx bytes at %p\n", 180 printf("testing malloc block...\n");
|
/linux-master/tools/virtio/ringtest/ |
H A D | ptr_ring.c | 8 #include <malloc.h>
|
/linux-master/arch/powerpc/boot/ |
H A D | libfdt-wrapper.c | 175 buf = malloc(bufsize); 177 fatal("malloc failed. can't relocate the device tree\n\r");
|
H A D | oflib.c | 189 p = malloc(size);
|
/linux-master/tools/wmi/ |
H A D | dell-smbios-example.c | 168 buffer = malloc(value);
|
/linux-master/tools/perf/arch/s390/util/ |
H A D | header.c | 142 char *buf = malloc(128);
|