| /linux-6.15/scripts/dtc/ |
| H A D | srcpos.c | 34 char *dir = xmalloc(len + 1); in get_dirname() 79 res = xmalloc((3 * diff) + restlen + 1); in shorten_to_initial_path() 181 srcfile = xmalloc(sizeof(*srcfile)); in srcfile_push() 222 node = xmalloc(sizeof(*node)); in srcfile_add_search_path() 264 pos_new = xmalloc(sizeof(struct srcpos)); in srcpos_copy() 269 srcfile_state = xmalloc(sizeof(struct srcfile_state)); in srcpos_copy()
|
| H A D | livetree.c | 24 new = xmalloc(sizeof(*new)); in add_label() 42 struct property *new = xmalloc(sizeof(*new)); in build_property() 55 struct property *new = xmalloc(sizeof(*new)); in build_property_delete() 91 struct node *new = xmalloc(sizeof(*new)); in build_node() 109 struct node *new = xmalloc(sizeof(*new)); in build_node_delete() 361 struct reserve_info *new = xmalloc(sizeof(*new)); in build_reserve_entry() 404 dti = xmalloc(sizeof(*dti)); in build_dt_info() 713 tbl = xmalloc(n * sizeof(*tbl)); in sort_reserve_entries() 751 tbl = xmalloc(n * sizeof(*tbl)); in sort_properties() 787 tbl = xmalloc(n * sizeof(*tbl)); in sort_subnodes() [all …]
|
| H A D | util.c | 29 char *d = xmalloc(len); in xstrdup() 39 char *d = xmalloc(len); in xstrndup() 109 str = xmalloc(len); in join_path() 261 buf = xmalloc(bufsize); in utilfdt_read_err()
|
| H A D | fdtoverlay.c | 54 tmpo = xmalloc(fdt_totalsize(overlay)); in apply_one() 113 ovblob = xmalloc(sizeof(*ovblob) * argc); in do_fdtoverlay()
|
| H A D | util.h | 45 static inline void *xmalloc(size_t len) in xmalloc() function
|
| H A D | data.c | 231 m = xmalloc(sizeof(*m)); in data_add_marker()
|
| /linux-6.15/scripts/genksyms/ |
| H A D | lex.l | 103 next_node = xmalloc(sizeof(*next_node)); \ 105 cur_node->string = memcpy(xmalloc(L+1), T, L+1); \ 141 next_node = xmalloc(sizeof(*next_node)); 163 cur_filename = memcpy(xmalloc(e-file+1), file, e-file+1);
|
| H A D | genksyms.h | 75 #define xmalloc(size) ({ void *__ptr = malloc(size); \ macro
|
| H A D | genksyms.c | 269 sym = xmalloc(sizeof(*sym)); in __add_symbol() 333 newnode = xmalloc(sizeof(*newnode)); in mk_node() 362 newnode = xmalloc(sizeof(*newnode)); in copy_node()
|
| /linux-6.15/scripts/kconfig/ |
| H A D | util.c | 36 file = xmalloc(sizeof(*file) + len + 1); in file_lookup() 52 gs.s = xmalloc(sizeof(char) * 64); in str_new()
|
| H A D | lexer.l | 59 text = xmalloc(START_STRSIZE); in new_string() 81 text = xmalloc(size + 1); in alloc_string()
|
| H A D | preprocess.c | 50 e = xmalloc(sizeof(*e)); in env_add() 304 v = xmalloc(sizeof(*v)); in variable_add() 509 out = xmalloc(1); in __expand_string()
|
| H A D | menu.c | 72 menu = xmalloc(sizeof(*menu)); in menu_add_entry() 155 prop = xmalloc(sizeof(*prop)); in menu_add_prop() 638 jump = xmalloc(sizeof(struct jump_key)); in get_prompt_str()
|
| H A D | confdata.c | 585 out = xmalloc(len); in escape_string_value() 739 val_prefixed = xmalloc(val_prefixed_len); in print_symbol_for_rustccfg()
|
| H A D | symbol.c | 768 sym->def[S_DEF_USER].val = val = xmalloc(size); in sym_set_string_value() 772 sym->def[S_DEF_USER].val = val = xmalloc(size); in sym_set_string_value() 926 symbol = xmalloc(sizeof(*symbol)); in sym_lookup()
|
| /linux-6.15/scripts/gendwarfksyms/ |
| H A D | die.c | 36 cd = xmalloc(sizeof(struct die)); in create_die() 126 df = xmalloc(sizeof(struct die_fragment)); in append_item()
|
| H A D | cache.c | 18 ci = xmalloc(sizeof(struct cache_item)); in cache_set()
|
| H A D | types.c | 46 entry = xmalloc(sizeof(struct type_list_entry)); in type_list_append() 122 e = xmalloc(sizeof(struct type_expansion)); in type_map_add()
|
| H A D | kabi.c | 207 rule = xmalloc(sizeof(struct rule)); in kabi_read_rules()
|
| /linux-6.15/scripts/include/ |
| H A D | xalloc.h | 9 static inline void *xmalloc(size_t size) in xmalloc() function
|
| /linux-6.15/scripts/basic/ |
| H A D | fixdep.c | 138 aux = xmalloc(sizeof(*aux) + len); in add_to_hashtable() 230 buf = xmalloc(st.st_size + 1); in read_file()
|
| /linux-6.15/scripts/mod/ |
| H A D | modpost.c | 131 buf = xmalloc(st.st_size + 1); in read_text_file() 190 mod = xmalloc(sizeof(*mod) + namelen + 1); in new_module() 237 struct symbol *s = xmalloc(sizeof(*s) + strlen(name) + 1); in alloc_symbol() 310 ns_entry = xmalloc(sizeof(*ns_entry) + strlen(namespace) + 1); in add_namespace() 1580 mod->no_trim_symbol = xmalloc(info.no_trim_symbol_len); in read_symbols() 2002 tmp = xmalloc(b->pos); in write_if_changed() 2216 dl = xmalloc(sizeof(*dl)); in main()
|
| H A D | symsearch.c | 128 elf->symsearch = xmalloc(sizeof(struct symsearch) + in symsearch_init()
|
| H A D | sumversion.c | 310 cmd = xmalloc(strlen(objfile) + sizeof("..cmd")); in parse_source_files() 316 dir = xmalloc(dirlen + 1); in parse_source_files()
|
| /linux-6.15/scripts/ |
| H A D | kallsyms.c | 166 sym = xmalloc(sizeof(*sym) + len + 1); in read_symbol() 364 markers = xmalloc(sizeof(*markers) * markers_cnt); in write_src()
|