/linux-4.1.27/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.1.27/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() 171 buf = malloc(size + 1); in read_proc_kallsyms() 197 buf = malloc(size); in read_ftrace_printk() 229 header_page = malloc(size); in read_header_files() 267 buf = malloc(size); in read_ftrace_file() 286 buf = malloc(size); in read_event_file()
|
D | thread_map.c | 36 threads = malloc(sizeof(*threads) + sizeof(pid_t) * items); in thread_map__new_by_pid() 52 struct thread_map *threads = malloc(sizeof(*threads) + sizeof(pid_t)); in thread_map__new_by_tid() 68 struct thread_map *threads = malloc(sizeof(*threads) + in thread_map__new_by_uid() 219 struct thread_map *threads = malloc(sizeof(*threads) + sizeof(pid_t)); in thread_map__new_dummy()
|
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 | strlist.c | 20 struct str_node *snode = malloc(sizeof(*snode)); in strlist__node_new() 138 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 | cpumap.c | 18 cpus = malloc(sizeof(*cpus) + nr_cpus * sizeof(int)); in cpu_map__default_new() 33 struct cpu_map *cpus = malloc(sizeof(*cpus) + payload_size); in cpu_map__trim_new() 192 struct cpu_map *cpus = malloc(sizeof(*cpus) + sizeof(int)); in cpu_map__dummy_new()
|
D | alias.c | 31 *argv = malloc(sizeof(char*) * size); in split_cmdline()
|
D | event.c | 461 comm_event = malloc(sizeof(comm_event->comm) + machine->id_hdr_size); in perf_event__synthesize_thread_map() 465 mmap_event = malloc(sizeof(mmap_event->mmap) + machine->id_hdr_size); in perf_event__synthesize_thread_map() 469 fork_event = malloc(sizeof(fork_event->fork) + machine->id_hdr_size); in perf_event__synthesize_thread_map() 533 comm_event = malloc(sizeof(comm_event->comm) + machine->id_hdr_size); in perf_event__synthesize_threads() 537 mmap_event = malloc(sizeof(mmap_event->mmap) + machine->id_hdr_size); in perf_event__synthesize_threads() 541 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 | 27 list = malloc(sizeof(*list)); \ 438 struct list_head *head = malloc(sizeof(*head));
|
D | string.c | 354 p = malloc(len); in memdup()
|
D | thread.c | 45 comm_str = malloc(32); in thread__new()
|
D | srcline.c | 67 syms = malloc(storage); in slurp_symtab()
|
D | ordered-events.c | 110 oe->buffer = malloc(size); in alloc_event()
|
D | map.c | 147 struct map *map = malloc(sizeof(*map)); in map__new() 476 struct map_groups *mg = malloc(sizeof(*mg)); in map_groups__new()
|
D | parse-events.c | 202 path->system = malloc(MAX_EVENT_LENGTH); in tracepoint_id_to_path() 207 path->name = malloc(MAX_EVENT_LENGTH); in tracepoint_id_to_path() 924 perf_pmu_events_list = malloc(sizeof(struct perf_pmu_event_symbol) * len); in perf_pmu__parse_init()
|
D | help.c | 10 struct cmdname *ent = malloc(sizeof(*ent) + len + 1); in add_cmdname()
|
D | hist.c | 309 he->stat_acc = malloc(sizeof(he->stat)); in hist_entry__new() 328 he->branch_info = malloc(sizeof(*he->branch_info)); in hist_entry__new() 706 he_cache = malloc(sizeof(*he_cache) * (PERF_MAX_STACK_DEPTH + 1)); in iter_prepare_cumulative_entry()
|
D | trace-event-info.c | 502 tdata = malloc(sizeof(*tdata)); in tracing_data_get()
|
D | symbol-elf.c | 1181 char *buf = malloc(page_size); in copy_bytes() 1547 buf_from = malloc(page_size); in kcore_copy__compare_fds() 1548 buf_to = malloc(page_size); in kcore_copy__compare_fds()
|
D | data-convert-bt.c | 579 priv = malloc(sizeof(*priv)); in add_event()
|
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() 990 buf = malloc(sz); in read_event_desc() 2579 ev = malloc(size); in perf_event__synthesize_attr()
|
D | pmu.c | 212 alias = malloc(sizeof(*alias)); in perf_pmu__new_alias()
|
D | callchain.c | 63 buf = malloc(strlen(arg) + 1); in parse_callchain_record_opt()
|
D | symbol.c | 1418 name = malloc(PATH_MAX); in dso__load() 1815 vmlinux_path = malloc(sizeof(char *) * 6); in vmlinux_path__init()
|
D | machine.c | 66 struct machine *machine = malloc(sizeof(*machine)); in machine__new_host() 138 struct machine *pos, *machine = malloc(sizeof(*machine)); in machines__add()
|
D | dso.c | 309 char *name = malloc(PATH_MAX); in __open_dso()
|
D | probe-finder.c | 1662 *new_path = malloc((strlen(prefix) + strlen(raw_path) + 2)); in get_real_path()
|
D | session.c | 1193 buf = malloc(cur_size); in __perf_session__process_pipe_events()
|
D | sort.c | 1343 hse = malloc(sizeof(*hse)); in __sort_dimension__alloc_hpp()
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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() 491 struct func_list *item = malloc(sizeof(*item)); in pevent_register_function() 578 printk_map = malloc(sizeof(*printk_map) * (pevent->printk_count + 1)); in printk_map_init() 631 struct printk_list *item = malloc(sizeof(*item)); in pevent_register_print_string() 2095 ref = malloc(len); in eval_type_str() 3679 str = malloc(str_size + 1); in print_bitmask_to_seq() 3783 str = malloc(len + 1); in print_str_arg() 3986 args = malloc(sizeof(*args) * func_handle->nr_args); in process_defined_func() [all …]
|
/linux-4.1.27/tools/perf/arch/x86/tests/ |
D | dwarf-unwind.c | 19 buf = malloc(STACK_SIZE); in sample_ustack() 49 buf = malloc(sizeof(u64) * PERF_REGS_MAX); in test__arch_unwind_sample()
|
/linux-4.1.27/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 | main.c | 120 initrd_addr = (unsigned long)malloc(initrd_size); in prep_initrd()
|
D | libfdt-wrapper.c | 189 buf = malloc(bufsize); in fdt_init()
|
D | oflib.c | 193 p = malloc(size); in of_vmlinux_alloc()
|
D | prpmc2800.c | 547 dtb = malloc(dt_size); in platform_init()
|
/linux-4.1.27/tools/iio/ |
D | iio_utils.c | 312 *ci_array = malloc(sizeof(**ci_array) * (*counter)); in build_channel_array() 458 filename = malloc(strlen(iio_dir) in find_type_by_name() 494 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in _write_sysfs_int() 543 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in _write_sysfs_string() 604 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in read_sysfs_posint() 627 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in read_sysfs_float() 650 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in read_sysfs_string()
|
D | generic_buffer.c | 284 data = malloc(scan_size*buf_len); in main()
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/tools/perf/tests/ |
D | dso-data.c | 32 buf = malloc(size); in test_file() 138 buf = malloc(TEST_FILE_SIZE); in test__dso_data() 194 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.1.27/arch/um/os-Linux/ |
D | main.c | 103 new_path = malloc(path_len); in setup_env_path() 128 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.1.27/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.1.27/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.1.27/tools/testing/selftests/powerpc/pmu/ |
D | l3_bank_test.c | 23 p = malloc(MALLOC_SIZE); in l3_bank_test()
|
/linux-4.1.27/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 | 332 && ! ((defined YYMALLOC || defined malloc) \ 340 # define YYMALLOC malloc 341 # if ! defined malloc && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ 343 void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
|
D | zconf.tab.c_shipped | 289 /* The parser invokes alloca or malloc; define the necessary symbols. */ 300 # include <malloc.h> /* INFRINGES ON USER NAME SPACE */ 332 && ! ((defined YYMALLOC || defined malloc) \ 340 # define YYMALLOC malloc 341 # if ! defined malloc && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ 343 void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
|
D | zconf.lex.c | 2279 return (void *) malloc( size ); in zconfalloc()
|
D | symbol.c | 1031 sym_arr = malloc((cnt+1) * sizeof(struct symbol)); in sym_re_search()
|
D | zconf.lex.c_shipped | 2279 return (void *) malloc( size );
|
/linux-4.1.27/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.1.27/Documentation/spi/ |
D | spidev_test.c | 305 tx = malloc(size); in main() 306 rx = malloc(size); in main()
|
/linux-4.1.27/fs/jffs2/ |
D | Makefile | 8 jffs2-y := compr.o dir.o file.o ioctl.o nodelist.o malloc.o
|
/linux-4.1.27/tools/perf/arch/arm/tests/ |
D | dwarf-unwind.c | 19 buf = malloc(STACK_SIZE); in sample_ustack()
|
/linux-4.1.27/scripts/genksyms/ |
D | genksyms.h | 81 #define xmalloc(size) ({ void *__ptr = malloc(size); \
|
D | parse.tab.c_shipped | 298 /* The parser invokes alloca or malloc; define the necessary symbols. */ 309 # include <malloc.h> /* INFRINGES ON USER NAME SPACE */ 342 && ! ((defined YYMALLOC || defined malloc) \ 350 # define YYMALLOC malloc 351 # if ! defined malloc && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ 353 void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
|
D | lex.lex.c_shipped | 1884 return (void *) malloc( size );
|
/linux-4.1.27/arch/mips/include/asm/netlogic/ |
D | psb-bootinfo.h | 62 uint64_t malloc; member
|
/linux-4.1.27/include/linux/ |
D | zpool.h | 87 int (*malloc)(void *pool, size_t size, gfp_t gfp, member
|
/linux-4.1.27/Documentation/mic/mpssd/ |
D | sysfs.c | 58 string = malloc(strlen(value) + 1); in readsysfs()
|
D | mpssd.c | 955 mic->mic_virtblk.backend_file = malloc(strlen(evv) + 1); in set_backend_file() 1161 iovec = malloc(sizeof(*iovec) * in virtio_block() 1656 mic->name = malloc(strlen(file->d_name) + 16); in init_mic_list()
|
/linux-4.1.27/scripts/dtc/ |
D | util.h | 41 void *new = malloc(len); in xmalloc()
|
D | dtc-parser.tab.c_shipped | 300 /* The parser invokes alloca or malloc; define the necessary symbols. */ 311 # include <malloc.h> /* INFRINGES ON USER NAME SPACE */ 344 && ! ((defined YYMALLOC || defined malloc) \ 352 # define YYMALLOC malloc 353 # if ! defined malloc && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ 355 void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
|
D | dtc-lexer.lex.c_shipped | 2147 return (void *) malloc( size );
|
/linux-4.1.27/tools/perf/ui/gtk/ |
D | util.c | 14 ctx = malloc(sizeof(*pgctx)); in perf_gtk__activate_context()
|
/linux-4.1.27/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.1.27/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.1.27/tools/virtio/linux/ |
D | kernel.h | 48 return malloc(s); in kmalloc()
|
/linux-4.1.27/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.1.27/arch/alpha/boot/ |
D | misc.c | 166 window = malloc(WSIZE); in decompress_kernel()
|
/linux-4.1.27/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 | recordmcount.c | 128 void *const addr = malloc(size); in umalloc()
|
D | asn1_compiler.c | 576 if (!(buffer = malloc(st.st_size + 1))) { in main() 1067 action = malloc(sizeof(struct action) + cursor->size + 1); in parse_type()
|
/linux-4.1.27/tools/testing/selftests/vm/ |
D | transhuge-stress.c | 99 map = malloc(map_len); in main()
|
/linux-4.1.27/tools/testing/selftests/powerpc/mm/ |
D | subpage_prot.c | 99 map = malloc(pages * 4); in run_test()
|
/linux-4.1.27/tools/perf/ui/browsers/ |
D | scripts.c | 53 buf = malloc(SCRIPT_MAX_NO * (SCRIPT_NAMELEN + SCRIPT_FULLPATH_LEN)); in list_scripts()
|
/linux-4.1.27/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.1.27/tools/power/cpupower/utils/ |
D | cpupower.c | 86 page = malloc(len); in print_man_page()
|
/linux-4.1.27/tools/perf/Documentation/ |
D | perf-probe.txt | 216 Add probes at malloc() function on libc 218 ./perf probe -x /lib/libc.so.6 malloc or ./perf probe /lib/libc.so.6 malloc
|
/linux-4.1.27/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.1.27/arch/um/ |
D | Makefile | 131 LINK_WRAPS = -Wl,--wrap,malloc -Wl,--wrap,free -Wl,--wrap,calloc
|
/linux-4.1.27/tools/net/ |
D | bpf_jit_disasm.c | 93 char *buff = malloc(len); in get_klog_buff()
|
/linux-4.1.27/tools/testing/selftests/memfd/ |
D | fuse_test.c | 205 stack = malloc(STACK_SIZE); in spawn_sealing_thread()
|
D | memfd_test.c | 511 stack = malloc(STACK_SIZE); in spawn_idle_thread()
|
/linux-4.1.27/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.1.27/arch/unicore32/boot/compressed/ |
D | head.S | 100 mov r1, sp @ malloc space above stack
|
/linux-4.1.27/mm/ |
D | zpool.c | 249 return zpool->driver->malloc(zpool->pool, size, gfp, handle); in zpool_malloc()
|
D | zbud.c | 193 .malloc = zbud_zpool_malloc,
|
D | zsmalloc.c | 383 .malloc = zs_zpool_malloc,
|
/linux-4.1.27/tools/testing/selftests/ipc/ |
D | msgque.c | 149 msgque->messages = malloc(sizeof(struct msg1) * ds.msg_qnum); in dump_queue()
|
/linux-4.1.27/firmware/ |
D | ihex2fw.c | 160 record = malloc((sizeof (*record) + len + 3) & ~3); in process_ihex()
|
/linux-4.1.27/tools/perf/ |
D | builtin-script.c | 814 struct script_spec *s = malloc(sizeof(*s) + strlen(spec) + 1); in script_spec__new() 1474 char **__argv = malloc(sizeof(const char *) * argc); in have_cmd() 1666 __argv = malloc((argc + 6) * sizeof(const char *)); in cmd_script() 1692 __argv = malloc((argc + 4) * sizeof(const char *)); in cmd_script() 1730 __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-inject.c | 284 ent = malloc(event->header.size + sizeof(struct event_entry)); in perf_inject__sched_switch()
|
D | builtin-kmem.c | 86 data = malloc(sizeof(*data)); in insert_alloc_stat() 129 data = malloc(sizeof(*data)); in insert_caller_stat()
|
D | builtin-top.c | 297 char *buf = malloc(0), *p; in prompt_integer() 332 char *buf = malloc(0), *p; in perf_top__prompt_symbol()
|
D | builtin-timechart.c | 1082 task_from = malloc(40); in draw_wakeups() 1086 task_to = malloc(40); in draw_wakeups() 1307 struct process_filter *filt = malloc(sizeof(*filt)); in add_process_filter()
|
D | builtin-trace.c | 162 evsel->priv = malloc(sizeof(struct syscall_tp)); in perf_evsel__init_syscall_tp() 1671 stats = malloc(sizeof(struct stats)); in thread__update_stats() 1733 ttrace->entry_str = malloc(1024); in trace__sys_enter()
|
D | builtin-stat.c | 339 array = malloc(array_len * sizeof(void *)); in nth_evsel()
|
D | builtin-sched.c | 561 struct sched_thread_parms *parms = malloc(sizeof(*parms)); in create_tasks()
|
/linux-4.1.27/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.1.27/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.1.27/arch/x86/boot/compressed/ |
D | misc.c | 341 phdrs = malloc(sizeof(*phdrs) * ehdr.e_phnum); in parse_elf()
|
/linux-4.1.27/tools/lguest/ |
D | lguest.c | 1848 char *stack = malloc(32768); in start_virtqueue() 2380 struct virtqueue **i, *vq = malloc(sizeof(*vq)); in add_pci_virtqueue() 2625 struct device *dev = malloc(sizeof(*dev)); in new_pci_device() 2670 dev->priv = malloc(sizeof(struct console_abort)); in setup_console() 2837 struct net_info *net_info = malloc(sizeof(*net_info)); in setup_tun_net() 3042 vblk = dev->priv = malloc(sizeof(*vblk)); in setup_block_file() 3110 struct rng_info *rng_info = malloc(sizeof(*rng_info)); in setup_rng()
|
/linux-4.1.27/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.1.27/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 | 134 mod = NOFAIL(malloc(sizeof(*mod))); in new_module() 194 struct symbol *s = NOFAIL(malloc(sizeof(*s) + strlen(name) + 1)); in alloc_symbol() 1309 char *p = malloc(20); in sec2annotation() 2248 tmp = NOFAIL(malloc(b->pos)); in write_if_changed() 2388 NOFAIL(malloc(sizeof(*extsym_iter))); in main()
|
/linux-4.1.27/scripts/basic/ |
D | fixdep.c | 181 struct item *aux = malloc(sizeof(*aux) + len); in define_config()
|
/linux-4.1.27/tools/usb/usbip/libsrc/ |
D | vhci_driver.c | 175 buffer = malloc(buffer_len); in read_record()
|
/linux-4.1.27/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.1.27/tools/lib/lockdep/ |
D | preload.c | 159 return malloc(sizeof(struct lock_lookup)); in alloc_lock()
|
/linux-4.1.27/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.1.27/tools/testing/selftests/mqueue/ |
D | mq_open_tests.c | 253 queue_path = malloc(strlen(argv[1]) + 2); in main()
|
D | mq_perf_tests.c | 604 queue_path = malloc(strlen(option) + 2); in main()
|
/linux-4.1.27/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.1.27/tools/power/acpi/os_specific/service_layers/ |
D | osunixxf.c | 549 mem = (void *)malloc((size_t) size); in acpi_os_allocate()
|
/linux-4.1.27/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.1.27/tools/testing/selftests/exec/ |
D | execveat.c | 118 char *result = malloc(strlen(left) + strlen(right) + 1); in concat()
|
/linux-4.1.27/tools/perf/util/scripting-engines/ |
D | trace-event-perl.c | 386 command_line = malloc((argc + 2) * sizeof(const char *)); in perl_start_script()
|
D | trace-event-python.c | 961 command_line = malloc((argc + 1) * sizeof(const char *)); in python_start_script()
|
/linux-4.1.27/tools/hv/ |
D | hv_kvp_daemon.c | 266 record = malloc(alloc_unit * num_blocks); in kvp_file_init() 1602 lic_version = malloc(strlen(p) + 1); in main()
|
/linux-4.1.27/tools/testing/selftests/net/ |
D | psock_tpacket.c | 656 ring->rd = malloc(ring->rd_len); in setup_ring()
|
/linux-4.1.27/net/ceph/crush/ |
D | mapper.c | 17 # define kmalloc(x, f) malloc(x)
|
/linux-4.1.27/arch/mips/boot/ |
D | elf2ecoff.c | 140 if (!(tmp = (char *) malloc(len))) { in saveRead()
|
/linux-4.1.27/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.1.27/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.1.27/Documentation/ide/ |
D | ChangeLog.ide-cd.1994-2004 | 154 * malloc'ed but never free'd when closing the device.
|
/linux-4.1.27/Documentation/x86/ |
D | intel_mpx.txt | 71 * allocates virtual space for the bounds directory (malloc() essentially)
|
/linux-4.1.27/fs/befs/ |
D | ChangeLog | 170 * Fixed a couple of compile warnings due to use of malloc.h, when slab.h
|
/linux-4.1.27/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.1.27/Documentation/vm/ |
D | transhuge.txt | 75 a flood of mmap system calls for every malloc(4k). Optimizing userland
|
/linux-4.1.27/arch/arm/boot/compressed/ |
D | head.S | 540 mov r1, sp @ malloc space above stack
|
/linux-4.1.27/Documentation/networking/ |
D | packet_mmap.txt | 848 ring->rd = malloc(ring->req.tp_block_nr * sizeof(*ring->rd));
|
/linux-4.1.27/drivers/usb/gadget/function/ |
D | f_fs.c | 48 static struct ffs_data *__must_check ffs_data_new(void) __attribute__((malloc));
|
/linux-4.1.27/Documentation/s390/ |
D | Debugging390.txt | 421 like malloc. 1744 As an aside the debugger also calls malloc & free under the hood
|
/linux-4.1.27/init/ |
D | Kconfig | 1739 This is taken advantage of by uClibc's malloc(), and also by
|
/linux-4.1.27/Documentation/filesystems/ |
D | proc.txt | 911 "used" by them as of yet. A process which malloc()'s 1G
|