/linux-4.4.14/include/linux/decompress/ |
D | mm.h | 33 static void *malloc(int size) in malloc() function 61 #define large_malloc(a) malloc(a) 80 #define malloc(a) kmalloc(a, GFP_KERNEL) macro
|
/linux-4.4.14/tools/perf/util/ |
D | levenshtein.c | 45 int *row0 = malloc(sizeof(int) * (len2 + 1)); in levenshtein() 46 int *row1 = malloc(sizeof(int) * (len2 + 1)); in levenshtein() 47 int *row2 = malloc(sizeof(int) * (len2 + 1)); in levenshtein()
|
D | values.c | 9 values->pid = malloc(values->threads_max * sizeof(*values->pid)); in perf_read_values_init() 10 values->tid = malloc(values->threads_max * sizeof(*values->tid)); in perf_read_values_init() 11 values->value = malloc(values->threads_max * sizeof(*values->value)); in perf_read_values_init() 17 values->counterrawid = malloc(values->counters_max in perf_read_values_init() 19 values->countername = malloc(values->counters_max in perf_read_values_init() 72 values->value[i] = malloc(values->counters_max * sizeof(**values->value)); in perf_read_values__findnew_thread() 137 counterwidth = malloc(values->counters * sizeof(*counterwidth)); in perf_read_values__display_pretty()
|
D | trace-event-read.c | 155 str = malloc(size); in read_string() 195 buf = malloc(size); in read_ftrace_printk() 227 header_page = malloc(size); in read_header_files() 265 buf = malloc(size); in read_ftrace_file() 284 buf = malloc(size); in read_event_file()
|
D | trace-event-scripting.c | 98 scripting_context = malloc(sizeof(struct scripting_context)); in register_python_scripting() 162 scripting_context = malloc(sizeof(struct scripting_context)); in register_perl_scripting()
|
D | intlist.c | 19 struct int_node *node = malloc(sizeof(*node)); in intlist__node_new() 112 struct intlist *ilist = malloc(sizeof(*ilist)); in intlist__new()
|
D | cpumap.c | 19 cpus = malloc(sizeof(*cpus) + nr_cpus * sizeof(int)); in cpu_map__default_new() 35 struct cpu_map *cpus = malloc(sizeof(*cpus) + payload_size); in cpu_map__trim_new() 195 struct cpu_map *cpus = malloc(sizeof(*cpus) + sizeof(int)); in cpu_map__dummy_new() 208 struct cpu_map *cpus = malloc(sizeof(*cpus) + sizeof(int) * nr); in cpu_map__empty_new()
|
D | strlist.c | 20 struct str_node *snode = malloc(sizeof(*snode)); in strlist__node_new() 156 struct strlist *slist = malloc(sizeof(*slist)); in strlist__new()
|
D | symbol-minimal.c | 122 buf = malloc(buf_size); in filename__read_build_id() 173 buf = malloc(buf_size); in filename__read_build_id() 234 buf = malloc(buf_size); in sysfs__read_build_id()
|
D | string.c | 354 p = malloc(len); in memdup() 371 char *expr = malloc(size); in asprintf_expr_inout_ints()
|
D | alias.c | 31 *argv = malloc(sizeof(char*) * size); in split_cmdline()
|
D | event.c | 494 comm_event = malloc(sizeof(comm_event->comm) + machine->id_hdr_size); in perf_event__synthesize_thread_map() 498 mmap_event = malloc(sizeof(mmap_event->mmap) + machine->id_hdr_size); in perf_event__synthesize_thread_map() 502 fork_event = malloc(sizeof(fork_event->fork) + machine->id_hdr_size); in perf_event__synthesize_thread_map() 568 comm_event = malloc(sizeof(comm_event->comm) + machine->id_hdr_size); in perf_event__synthesize_threads() 572 mmap_event = malloc(sizeof(mmap_event->mmap) + machine->id_hdr_size); in perf_event__synthesize_threads() 576 fork_event = malloc(sizeof(fork_event->fork) + machine->id_hdr_size); in perf_event__synthesize_threads()
|
D | exec_cmd.c | 107 nargv = malloc(sizeof(*nargv) * (argc + 2)); in prepare_perf_cmd()
|
D | parse-events.y | 26 list = malloc(sizeof(*list)); \ 498 struct list_head *head = malloc(sizeof(*head));
|
D | thread.c | 45 comm_str = malloc(32); in thread__new()
|
D | strfilter.c | 301 ret = malloc(len + 1); in strfilter__string()
|
D | srcline.c | 69 syms = malloc(storage); in slurp_symtab()
|
D | ordered-events.c | 110 oe->buffer = malloc(size); in alloc_event()
|
D | auxtrace.c | 207 p = malloc(size); in auxtrace_copy_data() 573 auxtrace_index = malloc(sizeof(struct auxtrace_index)); in auxtrace_index__alloc() 1356 return malloc(c->entry_size); in auxtrace_cache__alloc_entry()
|
D | help.c | 10 struct cmdname *ent = malloc(sizeof(*ent) + len + 1); in add_cmdname()
|
D | map.c | 149 struct map *map = malloc(sizeof(*map)); in map__new() 519 struct map_groups *mg = malloc(sizeof(*mg)); in map_groups__new()
|
D | trace-event-info.c | 496 tdata = malloc(sizeof(*tdata)); in tracing_data_get()
|
D | data-convert-bt.c | 633 new_name = malloc(len); in change_name() 832 priv = malloc(sizeof(*priv)); in add_event()
|
D | hist.c | 329 he->stat_acc = malloc(sizeof(he->stat)); in hist_entry__new() 347 he->branch_info = malloc(sizeof(*he->branch_info)); in hist_entry__new() 723 he_cache = malloc(sizeof(*he_cache) * (iter->max_stack + 1)); in iter_prepare_cumulative_entry()
|
D | symbol-elf.c | 1199 char *buf = malloc(page_size); in copy_bytes() 1565 buf_from = malloc(page_size); in kcore_copy__compare_fds() 1566 buf_to = malloc(page_size); in kcore_copy__compare_fds()
|
D | parse-events.c | 212 path->system = malloc(MAX_EVENT_LENGTH); in tracepoint_id_to_path() 217 path->name = malloc(MAX_EVENT_LENGTH); in tracepoint_id_to_path() 1296 perf_pmu_events_list = malloc(sizeof(struct perf_pmu_event_symbol) * len); in perf_pmu__parse_init()
|
D | util.c | 484 buf = malloc(strlen(arg) + 1); in parse_callchain_record()
|
D | svghelper.c | 790 topology_map = malloc(sizeof(int) * MAX_NR_CPUS); in svg_build_topology_map()
|
D | header.c | 120 buf = malloc(len); in do_read_string() 993 buf = malloc(sz); in read_event_desc() 2668 ev = malloc(size); in perf_event__synthesize_attr()
|
D | pmu.c | 215 alias = malloc(sizeof(*alias)); in __perf_pmu__new_alias()
|
D | symbol.c | 1454 name = malloc(PATH_MAX); in dso__load() 1869 vmlinux_path = malloc(sizeof(char *) * 6); in vmlinux_path__init()
|
D | machine.c | 71 struct machine *machine = malloc(sizeof(*machine)); in machine__new_host() 157 struct machine *pos, *machine = malloc(sizeof(*machine)); in machines__add()
|
D | dso.c | 348 char *name = malloc(PATH_MAX); in __open_dso()
|
D | probe-finder.c | 1766 *new_path = malloc((strlen(prefix) + strlen(raw_path) + 2)); in get_real_path()
|
D | sort.c | 1479 hse = malloc(sizeof(*hse)); in __sort_dimension__alloc_hpp()
|
D | session.c | 1437 buf = malloc(cur_size); in __perf_session__process_pipe_events()
|
D | intel-pt.c | 696 ptq->event_buf = malloc(PERF_SAMPLE_MAX_SIZE); in intel_pt_alloc_queue()
|
D | probe-event.c | 2523 syms = malloc(sizeof(struct symbol *) * probe_conf.max_probes); in find_probe_trace_events_from_map()
|
/linux-4.4.14/lib/ |
D | decompress_inflate.c | 50 out_buf = malloc(out_len); in __gunzip() 63 zbuf = malloc(GZIP_IOBUF_SIZE); in __gunzip() 71 strm = malloc(sizeof(*strm)); in __gunzip() 77 strm->workspace = malloc(flush ? zlib_inflate_workspacesize() : in __gunzip()
|
D | decompress_unxz.c | 157 #define kmalloc(size, flags) malloc(size) 159 #define vmalloc(size) malloc(size) 282 b.out = malloc(XZ_IOBUF_SIZE); in unxz() 289 in = malloc(XZ_IOBUF_SIZE); in unxz()
|
D | inflate.c | 244 static void *malloc(int size) in malloc() function 272 #define malloc(a) kmalloc(a, GFP_KERNEL) macro 363 stk = malloc(sizeof(*stk)); in huft_build() 487 if ((q = (struct huft *)malloc((z + 1)*sizeof(struct huft))) == in huft_build() 778 l = malloc(sizeof(*l) * 288); in inflate_fixed() 851 ll = malloc(sizeof(*ll) * (288+32)); /* literal/length and distance code lengths */ in inflate_dynamic() 853 ll = malloc(sizeof(*ll) * (286+30)); /* literal/length and distance code lengths */ in inflate_dynamic()
|
D | decompress_unlzo.c | 131 out_buf = malloc(LZO_BLOCK_SIZE); in unlzo() 147 in_buf = malloc(lzo1x_worst_compress(LZO_BLOCK_SIZE)); in unlzo()
|
D | decompress_bunzip2.c | 641 bd = *bdp = malloc(i); in start_bunzip() 690 outbuf = malloc(BZIP2_IOBUF_SIZE); in bunzip2() 699 inbuf = malloc(BZIP2_IOBUF_SIZE); in bunzip2()
|
D | decompress_unlzma.c | 563 inbuf = malloc(LZMA_IOBUF_SIZE); in unlzma()
|
/linux-4.4.14/tools/power/cpupower/lib/ |
D | sysfs.c | 251 policy = malloc(sizeof(struct cpufreq_policy)); in sysfs_get_freq_policy() 290 current->next = malloc(sizeof(*current)); in sysfs_get_freq_available_governors() 295 first = malloc(sizeof(*first)); in sysfs_get_freq_available_governors() 303 current->governor = malloc(i - pos + 1); in sysfs_get_freq_available_governors() 349 current->next = malloc(sizeof(*current)); in sysfs_get_available_frequencies() 354 first = malloc(sizeof(*first)); in sysfs_get_available_frequencies() 404 current->next = malloc(sizeof(*current)); in sysfs_get_cpu_list() 409 first = malloc(sizeof(*first)); in sysfs_get_cpu_list() 471 current->next = malloc(sizeof(*current)); in sysfs_get_freq_stats() 476 first = malloc(sizeof(*first)); in sysfs_get_freq_stats()
|
/linux-4.4.14/tools/power/cpupower/utils/idle_monitor/ |
D | cpuidle_sysfs.c | 162 previous_count = malloc(sizeof(long long *) * cpu_count); in cpuidle_register() 163 current_count = malloc(sizeof(long long *) * cpu_count); in cpuidle_register() 165 previous_count[num] = malloc(sizeof(long long) * in cpuidle_register() 167 current_count[num] = malloc(sizeof(long long) * in cpuidle_register()
|
/linux-4.4.14/tools/usb/ffs-aio-example/simple/device_app/ |
D | aio_simple.c | 227 ep_path = malloc(strlen(argv[1]) + 4 /* "/ep#" */ + 1 /* '\0' */); in main() 274 buf_in = malloc(BUF_LEN); in main() 275 buf_out = malloc(BUF_LEN); in main() 276 iocb_in = malloc(sizeof(*iocb_in)); in main() 277 iocb_out = malloc(sizeof(*iocb_out)); in main()
|
/linux-4.4.14/tools/vm/ |
D | page_owner_sort.c | 70 list[list_size].txt = malloc(len+1); in add_list() 109 list = malloc(max_size * sizeof(*list)); in main() 125 list2 = malloc(sizeof(*list) * list_size); in main()
|
/linux-4.4.14/tools/usb/ffs-aio-example/multibuff/device_app/ |
D | aio_multibuff.c | 211 iobuf->buf = malloc(n*sizeof(*iobuf->buf)); in init_bufs() 212 iobuf->iocb = malloc(n*sizeof(*iobuf->iocb)); in init_bufs() 217 iobuf->buf[i] = malloc(len*sizeof(**iobuf->buf)); in init_bufs() 218 iobuf->iocb[i] = malloc(sizeof(**iobuf->iocb)); in init_bufs() 256 ep_path = malloc(strlen(argv[1]) + 4 /* "/ep#" */ + 1 /* '\0' */); in main()
|
/linux-4.4.14/tools/lib/traceevent/ |
D | event-plugin.c | 124 name = malloc(strlen(op->name) + strlen(alias) + 2); in traceevent_plugin_list_options() 229 reg = malloc(sizeof(*reg)); in traceevent_plugin_add_options() 294 plugin = malloc(strlen(path) + strlen(file) + 2); in load_plugin() 322 list = malloc(sizeof(*list)); in load_plugin() 424 path = malloc(strlen(home) + strlen(LOCAL_PLUGIN_DIR) + 2); in load_plugins()
|
D | trace-seq.c | 60 s->buffer = malloc(s->buffer_size); in trace_seq_init()
|
D | parse-filter.c | 88 *tok = malloc(3); in read_token() 181 filter = malloc(sizeof(*filter)); in pevent_filter_alloc() 244 list = malloc(sizeof(*list)); in add_event() 285 reg = malloc(strlen(event_name) + 3); in find_event() 298 reg = malloc(strlen(sys_name) + 3); in find_event() 571 op->str.buffer = malloc(op->str.field->size + 1); in add_right() 1299 this_event = malloc(len + 1); in pevent_filter_add_filter_str()
|
D | event-parse.c | 167 cmdlines = malloc(sizeof(*cmdlines) * pevent->cmdline_count); in cmdline_init() 303 item = malloc(sizeof(*item)); in pevent_register_comm() 388 func_map = malloc(sizeof(*func_map) * (pevent->func_count + 1)); in func_map_init() 456 struct func_resolver *resolver = malloc(sizeof(*resolver)); in pevent_set_function_resolver() 556 struct func_list *item = malloc(sizeof(*item)); in pevent_register_function() 643 printk_map = malloc(sizeof(*printk_map) * (pevent->printk_count + 1)); in printk_map_init() 696 struct printk_list *item = malloc(sizeof(*item)); in pevent_register_print_string() 2170 ref = malloc(len); in eval_type_str() 3805 str = malloc(str_size + 1); in print_bitmask_to_seq() 3909 str = malloc(len + 1); in print_str_arg() [all …]
|
/linux-4.4.14/tools/perf/arch/x86/tests/ |
D | dwarf-unwind.c | 20 buf = malloc(STACK_SIZE); in sample_ustack() 50 buf = malloc(sizeof(u64) * PERF_REGS_MAX); in test__arch_unwind_sample()
|
/linux-4.4.14/arch/powerpc/boot/ |
D | ops.h | 28 void * (*malloc)(unsigned long size); member 217 static inline void *malloc(unsigned long size) in malloc() function 219 return (platform_ops.malloc) ? platform_ops.malloc(size) : NULL; in malloc()
|
D | of.c | 70 platform_ops.malloc = of_try_claim; in of_platform_init()
|
D | simple_alloc.c | 145 platform_ops.malloc = simple_malloc; in simple_alloc_init()
|
D | libfdt-wrapper.c | 189 buf = malloc(bufsize); in fdt_init()
|
D | main.c | 120 initrd_addr = (unsigned long)malloc(initrd_size); in prep_initrd()
|
D | oflib.c | 193 p = malloc(size); in of_vmlinux_alloc()
|
/linux-4.4.14/tools/iio/ |
D | iio_utils.c | 372 *ci_array = malloc(sizeof(**ci_array) * (*counter)); in build_channel_array() 602 filename = malloc(strlen(iio_dir) + strlen(type) in find_type_by_name() 661 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in _write_sysfs_int() 757 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in _write_sysfs_string() 864 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in read_sysfs_posint() 911 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in read_sysfs_float() 958 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in read_sysfs_string()
|
D | generic_buffer.c | 383 data = malloc(scan_size * buf_len); in main()
|
/linux-4.4.14/tools/testing/selftests/powerpc/copyloops/ |
D | validate.c | 70 redzone = malloc(BUFLEN); in test_copy_loop() 71 fill = malloc(BUFLEN); in test_copy_loop()
|
/linux-4.4.14/tools/perf/bench/ |
D | sched-messaging.c | 199 struct sender_context *snd_ctx = malloc(sizeof(struct sender_context) in group() 207 struct receiver_context *ctx = malloc(sizeof(*ctx)); in group() 275 pth_tab = malloc(num_fds * 2 * num_groups * sizeof(pthread_t)); in bench_sched_messaging()
|
/linux-4.4.14/drivers/scsi/aic7xxx/aicasm/ |
D | aicasm.c | 231 (path_entry_t)malloc(sizeof(*include_dir)); in main() 500 new_patch = (patch_t *)malloc(sizeof(*new_patch)); in emit_patch() 553 func_values = (int *)malloc(func_count * sizeof(int)); in output_listing() 737 new_instr = (struct instruction *)malloc(sizeof(struct instruction)); in seq_alloc() 751 new_cs= (critical_section_t *)malloc(sizeof(critical_section_t)); in cs_alloc() 765 new_scope = (scope_t *)malloc(sizeof(scope_t)); in scope_alloc()
|
D | aicasm_gram.y | 1485 (struct reg_info *)malloc(sizeof(struct reg_info)); in initialize_symbol() 1506 (struct alias_info *)malloc(sizeof(struct alias_info)); in initialize_symbol() 1519 (struct field_info *)malloc(sizeof(struct field_info)); in initialize_symbol() 1530 (struct const_info *)malloc(sizeof(struct const_info)); in initialize_symbol() 1540 (struct label_info *)malloc(sizeof(struct label_info)); in initialize_symbol() 1550 (struct cond_info *)malloc(sizeof(struct cond_info)); in initialize_symbol() 1560 (struct macro_info *)malloc(sizeof(struct macro_info)); in initialize_symbol() 1590 marg = (struct macro_arg *)malloc(sizeof(*marg)); in add_macro_arg()
|
D | aicasm_symbol.c | 70 new_symbol = (symbol_t *)malloc(sizeof(symbol_t)); in symbol_create() 230 newnode = (symbol_node_t *)malloc(sizeof(symbol_node_t)); in symlist_add()
|
D | aicasm_scan.l | 500 include = (include_t *)malloc(sizeof(include_t));
|
/linux-4.4.14/tools/perf/tests/ |
D | dso-data.c | 32 buf = malloc(size); in test_file() 149 buf = malloc(TEST_FILE_SIZE); in test__dso_data() 205 dsos = malloc(sizeof(dsos) * cnt); in dsos__create()
|
D | sample-parsing.c | 232 event = malloc(bufsz); in do_test()
|
D | switch-tracking.c | 209 node = malloc(sizeof(struct event_node)); in add_event()
|
/linux-4.4.14/arch/um/os-Linux/ |
D | main.c | 104 new_path = malloc(path_len); in setup_env_path() 129 new_argv = malloc((argc + 1) * sizeof(char *)); in main()
|
D | execvp.c | 33 #define um_kmalloc malloc
|
D | umid.c | 51 uml_dir = malloc(strlen(dir) + 1); in make_uml_dir() 363 uml_dir = malloc(strlen(name) + 2); in set_uml_dir()
|
D | mem.c | 109 tempname = malloc(strlen(tempdir) + strlen(template) + 1); in make_tempfile()
|
D | start_up.c | 368 new = malloc(sizeof(*new)); in parse_iomem()
|
/linux-4.4.14/tools/power/cpupower/bench/ |
D | parse.c | 83 filename = malloc(sizeof(char) * len); in prepare_output() 125 struct config *config = malloc(sizeof(struct config)); in prepare_default_config()
|
/linux-4.4.14/Documentation/infiniband/ |
D | user_mad.txt | 46 mad = malloc(sizeof *mad + 256); 55 mad = malloc(sizeof *mad + 256); 60 mad = malloc(sizeof *mad + length); 87 mad = malloc(sizeof *mad + mad_length);
|
/linux-4.4.14/tools/testing/selftests/powerpc/pmu/ |
D | l3_bank_test.c | 23 p = malloc(MALLOC_SIZE); in l3_bank_test()
|
/linux-4.4.14/Documentation/spi/ |
D | spidev_test.c | 305 tx = malloc(size); in main() 306 rx = malloc(size); in main()
|
/linux-4.4.14/Documentation/ia64/ |
D | aliasing-test.c | 86 path2 = malloc(strlen(path) + strlen(name) + 3); in scan_tree() 171 path2 = malloc(strlen(path) + strlen(name) + 3); in scan_rom()
|
/linux-4.4.14/scripts/kconfig/ |
D | kxgettext.c | 71 struct file_line *self = malloc(sizeof(*self)); in file_line__new() 95 struct message *self = malloc(sizeof(*self)); in message__new()
|
D | util.c | 133 void *p = malloc(size); in xmalloc()
|
D | zconf.tab.c | 345 && ! ((defined YYMALLOC || defined malloc) \ 353 # define YYMALLOC malloc 354 # if ! defined malloc && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ 356 void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
|
D | zconf.tab.c_shipped | 301 /* The parser invokes alloca or malloc; define the necessary symbols. */ 312 # include <malloc.h> /* INFRINGES ON USER NAME SPACE */ 345 && ! ((defined YYMALLOC || defined malloc) \ 353 # define YYMALLOC malloc 354 # if ! defined malloc && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ 356 void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
|
D | zconf.lex.c | 2332 return (void *) malloc( size ); in zconfalloc()
|
D | symbol.c | 1030 sym_arr = malloc((cnt+1) * sizeof(struct symbol)); in sym_re_search()
|
D | zconf.lex.c_shipped | 2332 return (void *) malloc( size );
|
/linux-4.4.14/tools/net/ |
D | bpf_jit_disasm.c | 101 buff = malloc(len); in get_klog_buff() 130 buff = malloc(len); in get_flog_buff()
|
/linux-4.4.14/samples/bpf/ |
D | tracex6_user.c | 19 int *pmu_fd = malloc(nr_cpus * sizeof(int)); in test_bpf_perf_event()
|
/linux-4.4.14/fs/jffs2/ |
D | Makefile | 8 jffs2-y := compr.o dir.o file.o ioctl.o nodelist.o malloc.o
|
/linux-4.4.14/tools/perf/arch/arm64/tests/ |
D | dwarf-unwind.c | 19 buf = malloc(STACK_SIZE); in sample_ustack()
|
/linux-4.4.14/tools/perf/arch/arm/tests/ |
D | dwarf-unwind.c | 19 buf = malloc(STACK_SIZE); in sample_ustack()
|
/linux-4.4.14/scripts/genksyms/ |
D | genksyms.h | 81 #define xmalloc(size) ({ void *__ptr = malloc(size); \
|
D | parse.tab.c_shipped | 310 /* The parser invokes alloca or malloc; define the necessary symbols. */ 321 # include <malloc.h> /* INFRINGES ON USER NAME SPACE */ 354 && ! ((defined YYMALLOC || defined malloc) \ 362 # define YYMALLOC malloc 363 # if ! defined malloc && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ 365 void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
|
D | lex.lex.c_shipped | 1884 return (void *) malloc( size );
|
/linux-4.4.14/include/linux/ |
D | zpool.h | 92 int (*malloc)(void *pool, size_t size, gfp_t gfp, member
|
/linux-4.4.14/arch/mips/include/asm/netlogic/ |
D | psb-bootinfo.h | 62 uint64_t malloc; member
|
/linux-4.4.14/Documentation/mic/mpssd/ |
D | sysfs.c | 58 string = malloc(strlen(value) + 1); in readsysfs()
|
D | mpssd.c | 984 mic->mic_virtblk.backend_file = malloc(strlen(evv) + 1); in set_backend_file() 1195 iovec = malloc(sizeof(*iovec) * in virtio_block() 1754 mic->name = malloc(strlen(file->d_name) + 16); in init_mic_list()
|
/linux-4.4.14/scripts/dtc/ |
D | util.h | 43 void *new = malloc(len); in xmalloc()
|
D | dtc-parser.tab.c_shipped | 308 /* The parser invokes alloca or malloc; define the necessary symbols. */ 319 # include <malloc.h> /* INFRINGES ON USER NAME SPACE */ 351 && ! ((defined YYMALLOC || defined malloc) \ 359 # define YYMALLOC malloc 360 # if ! defined malloc && ! defined EXIT_SUCCESS 361 void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
|
D | dtc-lexer.lex.c_shipped | 2176 return (void *) malloc( size );
|
/linux-4.4.14/tools/perf/ui/gtk/ |
D | util.c | 14 ctx = malloc(sizeof(*pgctx)); in perf_gtk__activate_context()
|
/linux-4.4.14/Documentation/cgroups/ |
D | memcg_test.txt | 217 Run malloc(100M) program under this. You'll see 60M of swaps. 222 # kill malloc task. 237 run 51M of malloc 242 run 51M of malloc
|
/linux-4.4.14/tools/virtio/ |
D | virtio_test.c | 119 dev->buf = malloc(dev->buf_size); in vdev_info_init() 125 dev->mem = malloc(offsetof(struct vhost_memory, regions) + in vdev_info_init()
|
/linux-4.4.14/tools/lib/bpf/ |
D | libbpf.c | 254 prog->insns = malloc(size); in bpf_program__init() 478 obj->maps_buf = malloc(size); in bpf_object__init_maps() 618 prog->reloc_desc = malloc(sizeof(*prog->reloc_desc) * nrels); in bpf_program__collect_reloc() 681 obj->map_fds = malloc(sizeof(int) * nr_maps); in bpf_object__create_maps() 821 log_buf = malloc(BPF_LOG_BUF_SIZE); in load_program()
|
/linux-4.4.14/tools/power/cpupower/utils/helpers/ |
D | topology.c | 69 cpu_top->core_info = malloc(sizeof(struct cpuid_core_info) * cpus); in get_cpu_topology()
|
D | bitmask.c | 27 bmp = malloc(sizeof(*bmp)); in bitmask_alloc()
|
/linux-4.4.14/tools/virtio/linux/ |
D | kernel.h | 49 return malloc(s); in kmalloc()
|
/linux-4.4.14/arch/alpha/boot/ |
D | misc.c | 166 window = malloc(WSIZE); in decompress_kernel()
|
/linux-4.4.14/scripts/ |
D | pnmtologo.c | 163 logo_data = (struct color **)malloc(logo_height*sizeof(struct color *)); in read_image() 167 logo_data[i] = malloc(logo_width*sizeof(struct color)); in read_image()
|
D | docproc.c | 260 vec = malloc((2 + 2 * symcnt + 3) * sizeof(char *)); in docfunctions() 392 data = malloc(4096); in find_all_symbols()
|
D | kallsyms.c | 165 s->sym = malloc(s->len + 1); in read_symbol() 377 markers = malloc(sizeof(unsigned int) * ((table_cnt + 255) / 256)); in write_src()
|
D | asn1_compiler.c | 427 tokens[tix].content = malloc(tokens[tix].size + 1); in tokenise() 467 tokens[tix].content = malloc(tokens[tix].size + 1); in tokenise() 609 if (!(buffer = malloc(st.st_size + 1))) { in main() 1092 action = malloc(sizeof(struct action)); in parse_type()
|
D | recordmcount.c | 173 void *const addr = malloc(size); in umalloc()
|
/linux-4.4.14/tools/testing/selftests/vm/ |
D | compaction_test.c | 196 entry = malloc(sizeof(struct map_list)); in main()
|
D | transhuge-stress.c | 99 map = malloc(map_len); in main()
|
D | userfaultfd.c | 458 count_verify = malloc(nr_pages * sizeof(unsigned long long)); in userfaultfd_stress() 478 pipefd = malloc(sizeof(int) * nr_cpus * 2); in userfaultfd_stress()
|
/linux-4.4.14/tools/testing/selftests/powerpc/mm/ |
D | subpage_prot.c | 99 map = malloc(pages * 4); in run_test()
|
/linux-4.4.14/tools/perf/ui/browsers/ |
D | scripts.c | 53 buf = malloc(SCRIPT_MAX_NO * (SCRIPT_NAMELEN + SCRIPT_FULLPATH_LEN)); in list_scripts()
|
/linux-4.4.14/usr/ |
D | gen_init_cpio.c | 322 filebuf = malloc(buf.st_size); in cpio_mkfile() 421 dname = malloc(strlen(line)); in cpio_mkfile_line()
|
/linux-4.4.14/tools/power/cpupower/utils/ |
D | cpupower.c | 86 page = malloc(len); in print_man_page()
|
/linux-4.4.14/Documentation/networking/timestamping/ |
D | txtimestamp.c | 239 data = malloc(cfg_payload_len); in recv_errmsg() 288 buf = malloc(total_len); in do_test()
|
/linux-4.4.14/mm/ |
D | zpool.c | 257 return zpool->driver->malloc(zpool->pool, size, gfp, handle); in zpool_malloc()
|
D | zbud.c | 208 .malloc = zbud_zpool_malloc,
|
D | zsmalloc.c | 388 .malloc = zs_zpool_malloc,
|
/linux-4.4.14/arch/um/ |
D | Makefile | 132 LINK_WRAPS = -Wl,--wrap,malloc -Wl,--wrap,free -Wl,--wrap,calloc
|
/linux-4.4.14/tools/testing/selftests/memfd/ |
D | fuse_test.c | 205 stack = malloc(STACK_SIZE); in spawn_sealing_thread()
|
D | memfd_test.c | 512 stack = malloc(STACK_SIZE); in spawn_idle_thread()
|
/linux-4.4.14/tools/perf/ui/stdio/ |
D | hist.c | 70 rem_sq_bracket = malloc(sizeof(*rem_sq_bracket) + 6); in init_rem_hits() 455 line = malloc(linesz); in hists__fprintf()
|
/linux-4.4.14/tools/perf/Documentation/ |
D | perf-probe.txt | 223 Add probes at malloc() function on libc 225 ./perf probe -x /lib/libc.so.6 malloc or ./perf probe /lib/libc.so.6 malloc
|
/linux-4.4.14/arch/unicore32/boot/compressed/ |
D | head.S | 100 mov r1, sp @ malloc space above stack
|
/linux-4.4.14/firmware/ |
D | ihex2fw.c | 160 record = malloc((sizeof (*record) + len + 3) & ~3); in process_ihex()
|
/linux-4.4.14/tools/testing/selftests/ipc/ |
D | msgque.c | 149 msgque->messages = malloc(sizeof(struct msg1) * ds.msg_qnum); in dump_queue()
|
/linux-4.4.14/tools/usb/ |
D | ffs-test.c | 247 out = malloc(length); in descs_to_legacy() 333 t->buf = malloc(t->buf_size); in init_thread()
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
D | mkregtable.c | 555 offset = (struct offset *)malloc(sizeof(struct offset)); in offset_new() 607 t->table = (unsigned *)malloc(sizeof(unsigned) * t->nentry); in table_build()
|
/linux-4.4.14/tools/lguest/ |
D | lguest.c | 1852 char *stack = malloc(32768); in start_virtqueue() 2384 struct virtqueue **i, *vq = malloc(sizeof(*vq)); in add_pci_virtqueue() 2629 struct device *dev = malloc(sizeof(*dev)); in new_pci_device() 2674 dev->priv = malloc(sizeof(struct console_abort)); in setup_console() 2841 struct net_info *net_info = malloc(sizeof(*net_info)); in setup_tun_net() 3046 vblk = dev->priv = malloc(sizeof(*vblk)); in setup_block_file() 3114 struct rng_info *rng_info = malloc(sizeof(*rng_info)); in setup_rng()
|
/linux-4.4.14/arch/x86/tools/ |
D | relocs.c | 432 sec->strtab = malloc(sec->shdr.sh_size); in read_strtabs() 457 sec->symtab = malloc(sec->shdr.sh_size); in read_symtabs() 490 sec->reltab = malloc(sec->shdr.sh_size); in read_relocs()
|
/linux-4.4.14/scripts/mod/ |
D | sumversion.c | 312 cmd = NOFAIL(malloc(strlen(objfile) + sizeof("..cmd"))); in parse_source_files() 323 dir = NOFAIL(malloc(dirlen + 1)); in parse_source_files()
|
D | modpost.c | 135 mod = NOFAIL(malloc(sizeof(*mod))); in new_module() 195 struct symbol *s = NOFAIL(malloc(sizeof(*s) + strlen(name) + 1)); in alloc_symbol() 1313 char *p = malloc(20); in sec2annotation() 2263 tmp = NOFAIL(malloc(b->pos)); in write_if_changed() 2403 NOFAIL(malloc(sizeof(*extsym_iter))); in main()
|
/linux-4.4.14/arch/x86/boot/compressed/ |
D | misc.c | 358 phdrs = malloc(sizeof(*phdrs) * ehdr.e_phnum); in parse_elf()
|
/linux-4.4.14/scripts/basic/ |
D | fixdep.c | 181 struct item *aux = malloc(sizeof(*aux) + len); in define_config()
|
/linux-4.4.14/tools/perf/ |
D | builtin-script.c | 1004 struct script_spec *s = malloc(sizeof(*s) + strlen(spec) + 1); in script_spec__new() 1665 char **__argv = malloc(sizeof(const char *) * argc); in have_cmd() 1896 __argv = malloc((argc + 6) * sizeof(const char *)); in cmd_script() 1922 __argv = malloc((argc + 4) * sizeof(const char *)); in cmd_script() 1960 __argv = malloc((argc + 2) * sizeof(const char *)); in cmd_script()
|
D | builtin-help.c | 307 char *p = malloc(pre_len + cmd_len + 1); in prepend()
|
D | builtin-top.c | 303 char *buf = malloc(0), *p; in prompt_integer() 338 char *buf = malloc(0), *p; in perf_top__prompt_symbol()
|
D | builtin-timechart.c | 1083 task_from = malloc(40); in draw_wakeups() 1087 task_to = malloc(40); in draw_wakeups() 1308 struct process_filter *filt = malloc(sizeof(*filt)); in add_process_filter()
|
D | builtin-trace.c | 228 evsel->priv = malloc(sizeof(struct syscall_tp)); in perf_evsel__init_syscall_tp() 1744 trace->ev_qualifier_ids.entries = malloc(trace->ev_qualifier_ids.nr * in trace__validate_ev_qualifier() 1921 stats = malloc(sizeof(struct stats)); in thread__update_stats() 1980 ttrace->entry_str = malloc(trace__entry_str_size); in trace__sys_enter()
|
D | builtin-inject.c | 428 ent = malloc(event->header.size + sizeof(struct event_entry)); in perf_inject__sched_switch()
|
D | builtin-kmem.c | 92 data = malloc(sizeof(*data)); in insert_alloc_stat() 135 data = malloc(sizeof(*data)); in insert_caller_stat()
|
D | builtin-record.c | 643 event = malloc(sizeof(event->comm) + machine->id_hdr_size); in __cmd_record()
|
D | builtin-sched.c | 563 struct sched_thread_parms *parms = malloc(sizeof(*parms)); in create_tasks()
|
/linux-4.4.14/tools/usb/usbip/libsrc/ |
D | vhci_driver.c | 175 buffer = malloc(buffer_len); in read_record()
|
/linux-4.4.14/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 640 self->prog.filter = malloc(sizeof(filter)); in FIXTURE_SETUP() 780 self->_x.filter = malloc(sizeof(_x##_insns)); \ in FIXTURE_SETUP() 1170 self->prog.filter = malloc(sizeof(filter)); in FIXTURE_SETUP() 1376 self->prog.filter = malloc(sizeof(filter)); in FIXTURE_SETUP() 1643 self->root_prog.filter = malloc(sizeof(root_filter)); in FIXTURE_SETUP() 1648 self->apply_prog.filter = malloc(sizeof(apply_filter)); in FIXTURE_SETUP()
|
/linux-4.4.14/Documentation/ |
D | nommu-mmap.txt | 136 significant delays during a userspace malloc() as the C library does an 140 returned by malloc() - mmap() can take a MAP_UNINITIALIZED flag to 145 uClibc uses this to speed up malloc(), and the ELF-FDPIC binfmt uses this
|
/linux-4.4.14/tools/lib/lockdep/ |
D | preload.c | 159 return malloc(sizeof(struct lock_lookup)); in alloc_lock()
|
/linux-4.4.14/tools/testing/selftests/mqueue/ |
D | mq_open_tests.c | 254 queue_path = malloc(strlen(argv[1]) + 2); in main()
|
D | mq_perf_tests.c | 605 queue_path = malloc(strlen(option) + 2); in main()
|
/linux-4.4.14/scripts/kconfig/lxdialog/ |
D | checklist.c | 34 char *list_item = malloc(list_width + 1); in print_item()
|
D | menubox.c | 70 char *menu_item = malloc(menu_width + 1); in do_print_item()
|
D | util.c | 609 struct dialog_list *p = malloc(sizeof(*p)); in item_make()
|
/linux-4.4.14/tools/firewire/ |
D | nosy-dump.c | 152 sa = malloc(sizeof *sa - sizeof sa->packet + length); in subaction_create() 184 t = malloc(sizeof *t); in link_transaction_lookup()
|
/linux-4.4.14/tools/testing/selftests/exec/ |
D | execveat.c | 118 char *result = malloc(strlen(left) + strlen(right) + 1); in concat()
|
/linux-4.4.14/tools/power/acpi/os_specific/service_layers/ |
D | osunixxf.c | 549 mem = (void *)malloc((size_t) size); in acpi_os_allocate()
|
/linux-4.4.14/Documentation/misc-devices/mei/ |
D | mei-amt-version.c | 379 *read_buf = (uint8_t *)malloc(sizeof(uint8_t) * in_buf_sz); in amt_host_if_call()
|
/linux-4.4.14/Documentation/DocBook/ |
D | alsa-driver-api.xml.db | 23 API-snd-malloc-pages 128 API-snd-pcm-lib-malloc-pages
|
D | networking.xml.db | 228 API-rpc-malloc
|
D | device-drivers.xml.db | 706 API-snd-pcm-lib-malloc-pages 779 API-snd-malloc-pages
|
/linux-4.4.14/tools/perf/util/scripting-engines/ |
D | trace-event-perl.c | 387 command_line = malloc((argc + 2) * sizeof(const char *)); in perl_start_script()
|
D | trace-event-python.c | 962 command_line = malloc((argc + 1) * sizeof(const char *)); in python_start_script()
|
/linux-4.4.14/tools/hv/ |
D | hv_kvp_daemon.c | 264 record = malloc(alloc_unit * num_blocks); in kvp_file_init() 1513 lic_version = malloc(strlen(p) + 1); in main()
|
/linux-4.4.14/arch/mips/boot/ |
D | elf2ecoff.c | 140 if (!(tmp = (char *) malloc(len))) { in saveRead()
|
/linux-4.4.14/tools/testing/selftests/net/ |
D | psock_tpacket.c | 656 ring->rd = malloc(ring->rd_len); in setup_ring()
|
/linux-4.4.14/arch/frv/kernel/ |
D | gdb-stub.c | 2126 static void *malloc(size_t size) __maybe_unused; 2127 static void *malloc(size_t size) in malloc() function
|
/linux-4.4.14/Documentation/sysctl/ |
D | vm.txt | 375 malloc, directly by mmap and mprotect, and also when loading shared 379 programs, particularly malloc debuggers, may consume lots of them, 636 programs that malloc() huge amounts of memory "just-in-case"
|
/linux-4.4.14/tools/perf/arch/x86/util/ |
D | intel-pt.c | 75 terms = malloc(sizeof(struct list_head)); in intel_pt_parse_terms_with_default()
|
/linux-4.4.14/Documentation/ide/ |
D | ChangeLog.ide-cd.1994-2004 | 154 * malloc'ed but never free'd when closing the device.
|
/linux-4.4.14/Documentation/x86/ |
D | intel_mpx.txt | 71 * allocates virtual space for the bounds directory (malloc() essentially)
|
/linux-4.4.14/Documentation/scsi/ |
D | aic7xxx.txt | 176 - Dynamically sized S/G lists to avoid SCSI malloc
|
D | aic79xx.txt | 120 list size to avoid SCSI malloc pool fragmentation.
|
D | ChangeLog.1992-1997 | 1272 allow us to pretend that we have a working malloc when we
|
D | ChangeLog.lpfc | 1677 * Removed unused malloc counters from lpfcLINUXfcp.c.
|
/linux-4.4.14/fs/befs/ |
D | ChangeLog | 170 * Fixed a couple of compile warnings due to use of malloc.h, when slab.h
|
/linux-4.4.14/Documentation/vm/ |
D | transhuge.txt | 75 a flood of mmap system calls for every malloc(4k). Optimizing userland
|
/linux-4.4.14/tools/perf/util/intel-pt-decoder/ |
D | intel-pt-decoder.c | 273 blk = malloc(sizeof(struct intel_pt_blk)); in intel_pt_alloc_blk()
|
/linux-4.4.14/arch/arm/boot/compressed/ |
D | head.S | 540 mov r1, sp @ malloc space above stack
|
/linux-4.4.14/Documentation/networking/ |
D | packet_mmap.txt | 848 ring->rd = malloc(ring->req.tp_block_nr * sizeof(*ring->rd));
|
/linux-4.4.14/drivers/usb/gadget/function/ |
D | f_fs.c | 48 static struct ffs_data *__must_check ffs_data_new(void) __attribute__((malloc));
|
/linux-4.4.14/Documentation/s390/ |
D | Debugging390.txt | 421 like malloc. 1744 As an aside the debugger also calls malloc & free under the hood
|
/linux-4.4.14/init/ |
D | Kconfig | 1770 This is taken advantage of by uClibc's malloc(), and also by
|
/linux-4.4.14/Documentation/filesystems/ |
D | proc.txt | 926 "used" by them as of yet. A process which malloc()'s 1G
|