Searched refs:malloc (Results 251 - 275 of 410) sorted by relevance

<<11121314151617

/linux-master/scripts/mod/
H A Dmodpost.c120 buf = NOFAIL(malloc(st.st_size + 1));
178 mod = NOFAIL(malloc(sizeof(*mod) + namelen + 1));
242 struct symbol *s = NOFAIL(malloc(sizeof(*s) + strlen(name) + 1));
319 ns_entry = NOFAIL(malloc(sizeof(*ns_entry) +
2011 tmp = NOFAIL(malloc(b->pos));
2197 dl = NOFAIL(malloc(sizeof(*dl)));
/linux-master/tools/bpf/bpftool/
H A Dprog.c277 value = malloc(map_info->value_size);
607 fds = malloc(sizeof(int));
903 fds = malloc(sizeof(int));
1143 *data_ptr = malloc(block_size);
1555 char *type = malloc(strlen(*argv) + 2);
1879 log_buf = malloc(log_buf_sz);
H A Djit_disasm.c241 ctx->info = malloc(sizeof(struct disassemble_info));
/linux-master/tools/usb/
H A Dffs-test.c295 out = malloc(length);
381 t->buf = malloc(t->buf_size);
382 die_on(!t->buf, "malloc");
/linux-master/drivers/scsi/aic7xxx/aicasm/
H A Daicasm_symbol.c67 new_symbol = (symbol_t *)malloc(sizeof(symbol_t));
227 newnode = (symbol_node_t *)malloc(sizeof(symbol_node_t));
229 stop("symlist_add: Unable to malloc symbol_node", EX_SOFTWARE);
/linux-master/tools/testing/selftests/bpf/
H A Dtest_loader.c318 name = malloc(descr_len + strlen(suffix) + 1);
342 spec->unpriv.expect_msgs = malloc(sz);
H A Dnetlink_helpers.c122 buf = malloc(len);
124 fprintf(stderr, "malloc error: not enough buffer\n");
/linux-master/tools/virtio/
H A Dvhost_net_test.c218 dev->buf = malloc(dev->buf_size);
238 dev->mem = malloc(offsetof(struct vhost_memory, regions) +
/linux-master/tools/testing/selftests/mm/
H A Duffd-common.c330 count_verify = malloc(nr_pages * sizeof(unsigned long long));
368 pipefd = malloc(sizeof(int) * nr_cpus * 2);
/linux-master/tools/testing/selftests/x86/
H A Dtest_shadow_stack.c577 cur = malloc(sizeof(*cur));
626 cur = malloc(sizeof(*cur));
/linux-master/scripts/
H A Dkallsyms.c176 sym = malloc(sizeof(*sym) + len + 1);
423 markers = malloc(sizeof(unsigned int) * ((table_cnt + 255) / 256));
H A Dasn1_compiler.c423 tokens[tix].content = malloc(tokens[tix].size + 1);
463 tokens[tix].content = malloc(tokens[tix].size + 1);
605 if (!(buffer = malloc(st.st_size + 1))) {
1088 action = malloc(sizeof(struct action));
/linux-master/tools/perf/util/
H A Dparse-events.y36 list = malloc(sizeof(*list));
598 struct parse_events_terms *head = malloc(sizeof(*head));
/linux-master/tools/testing/radix-tree/
H A Dtag_check.c277 thrash_state = malloc(THRASH_SIZE);
/linux-master/tools/testing/selftests/mqueue/
H A Dmq_open_tests.c256 queue_path = malloc(strlen(argv[1]) + 2);
258 perror("malloc()");
/linux-master/tools/usb/usbip/libsrc/
H A Dvhci_driver.c198 buffer = malloc(buffer_len);
/linux-master/tools/bootconfig/
H A Dmain.c138 *buf = malloc(size + 1);
/linux-master/tools/testing/selftests/arm64/mte/
H A Dmte_common_util.c133 return malloc(entire_size) + range_before;
/linux-master/tools/power/cpupower/utils/idle_monitor/
H A Dcpupower-monitor.c84 temp = malloc(sizeof(char) * (n+1));
/linux-master/tools/testing/selftests/powerpc/nx-gzip/
H A Dgzfht_test.c219 assert(NULL != (outbuf = (char *)malloc(outlen)));
/linux-master/tools/testing/selftests/bpf/benchs/
H A Dbench_bloom_filter_map.c137 val = malloc(val_size);
/linux-master/tools/testing/selftests/net/tcp_ao/
H A Dbench-lookups.c217 test_ips = malloc(nr_keys[i] * sizeof(union tcp_addr));
219 test_error("malloc()");
/linux-master/tools/lib/subcmd/
H A Dhelp.c18 struct cmdname *ent = malloc(sizeof(*ent) + len + 1);
/linux-master/tools/testing/selftests/kvm/
H A Dget-reg-list.c68 c->name = malloc(len);
/linux-master/tools/testing/selftests/sched/
H A Dcs_prctl_test.c141 child_stack = malloc(STACK_SIZE);

Completed in 597 milliseconds

<<11121314151617