Home
last modified time | relevance | path

Searched refs:xmalloc (Results 1 – 18 of 18) sorted by relevance

/linux-6.1.9/scripts/dtc/
Dsrcpos.c32 char *dir = xmalloc(len + 1); in get_dirname()
77 res = xmalloc((3 * diff) + restlen + 1); in shorten_to_initial_path()
179 srcfile = xmalloc(sizeof(*srcfile)); in srcfile_push()
220 node = xmalloc(sizeof(*node)); in srcfile_add_search_path()
262 pos_new = xmalloc(sizeof(struct srcpos)); in srcpos_copy()
267 srcfile_state = xmalloc(sizeof(struct srcfile_state)); in srcpos_copy()
Dlivetree.c24 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()
360 struct reserve_info *new = xmalloc(sizeof(*new)); in build_reserve_entry()
403 dti = xmalloc(sizeof(*dti)); in build_dt_info()
678 tbl = xmalloc(n * sizeof(*tbl)); in sort_reserve_entries()
716 tbl = xmalloc(n * sizeof(*tbl)); in sort_properties()
752 tbl = xmalloc(n * sizeof(*tbl)); in sort_subnodes()
[all …]
Dfdtoverlay.c56 tmpo = xmalloc(fdt_totalsize(overlay)); in apply_one()
115 ovblob = xmalloc(sizeof(*ovblob) * argc); in do_fdtoverlay()
Dutil.c29 char *d = xmalloc(len); in xstrdup()
98 str = xmalloc(len); in join_path()
250 buf = xmalloc(bufsize); in utilfdt_read_err()
Dutil.h43 static inline void *xmalloc(size_t len) in xmalloc() function
Ddata.c231 m = xmalloc(sizeof(*m)); in data_add_marker()
Dflattree.c845 blob = xmalloc(totalsize); in dt_from_blob()
/linux-6.1.9/scripts/kconfig/
Dutil.c23 file = xmalloc(sizeof(*file)); in file_lookup()
35 gs.s = xmalloc(sizeof(char) * 64); in str_new()
82 void *xmalloc(size_t size) in xmalloc() function
Dlexer.l49 text = xmalloc(START_STRSIZE); in new_string()
71 text = xmalloc(size + 1); in alloc_string()
Dpreprocess.c48 e = xmalloc(sizeof(*e)); in env_add()
300 v = xmalloc(sizeof(*v)); in variable_add()
502 out = xmalloc(1); in __expand_string()
Dlkc.h57 void *xmalloc(size_t size);
Dmenu.c52 menu = xmalloc(sizeof(*menu)); in menu_add_entry()
134 prop = xmalloc(sizeof(*prop)); in menu_add_prop()
734 jump = xmalloc(sizeof(struct jump_key)); in get_prompt_str()
Dsymbol.c676 sym->def[S_DEF_USER].val = val = xmalloc(size); in sym_set_string_value()
680 sym->def[S_DEF_USER].val = val = xmalloc(size); in sym_set_string_value()
835 symbol = xmalloc(sizeof(*symbol)); in sym_lookup()
Dconfdata.c648 out = xmalloc(len); in escape_string_value()
802 val_prefixed = xmalloc(val_prefixed_len); in print_symbol_for_rustccfg()
Dexpr.c73 e = xmalloc(sizeof(*org)); in expr_copy()
/linux-6.1.9/scripts/genksyms/
Dlex.l101 next_node = xmalloc(sizeof(*next_node)); \
103 cur_node->string = memcpy(xmalloc(L+1), T, L+1); \
133 next_node = xmalloc(sizeof(*next_node));
155 cur_filename = memcpy(xmalloc(e-file+1), file, e-file+1);
Dgenksyms.h70 #define xmalloc(size) ({ void *__ptr = malloc(size); \ macro
Dgenksyms.c277 sym = xmalloc(sizeof(*sym)); in __add_symbol()
342 newnode = xmalloc(sizeof(*newnode)); in mk_node()
371 newnode = xmalloc(sizeof(*newnode)); in copy_node()