Home
last modified time | relevance | path

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

/Linux-v4.19/scripts/kconfig/
Dutil.c24 file = xmalloc(sizeof(*file)); in file_lookup()
36 gs.s = xmalloc(sizeof(char) * 64); in str_new()
83 void *xmalloc(size_t size) in xmalloc() function
Dzconf.l45 text = xmalloc(START_STRSIZE); in new_string()
67 text = xmalloc(size + 1); in alloc_string()
Dpreprocess.c45 e = xmalloc(sizeof(*e)); in env_add()
297 v = xmalloc(sizeof(*v)); in variable_add()
499 out = xmalloc(1); in __expand_string()
Dlkc.h100 void *xmalloc(size_t size);
Dsymbol.c674 sym->def[S_DEF_USER].val = val = xmalloc(size); in sym_set_string_value()
678 sym->def[S_DEF_USER].val = val = xmalloc(size); in sym_set_string_value()
834 symbol = xmalloc(sizeof(*symbol)); in sym_lookup()
894 res = xmalloc(reslen); in sym_escape_string_value()
1284 prop = xmalloc(sizeof(*prop)); in prop_alloc()
Dmenu.c51 menu = xmalloc(sizeof(*menu)); in menu_add_entry()
721 jump = xmalloc(sizeof(struct jump_key)); in get_prompt_str()
Dexpr.c72 e = xmalloc(sizeof(*org)); in expr_copy()
/Linux-v4.19/scripts/dtc/
Dsrcpos.c43 char *dir = xmalloc(len + 1); in get_dirname()
150 srcfile = xmalloc(sizeof(*srcfile)); in srcfile_push()
188 node = xmalloc(sizeof(*node)); in srcfile_add_search_path()
238 pos_new = xmalloc(sizeof(struct srcpos)); in srcpos_copy()
Dlivetree.c38 new = xmalloc(sizeof(*new)); in add_label()
55 struct property *new = xmalloc(sizeof(*new)); in build_property()
67 struct property *new = xmalloc(sizeof(*new)); in build_property_delete()
102 struct node *new = xmalloc(sizeof(*new)); in build_node()
119 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()
680 tbl = xmalloc(n * sizeof(*tbl)); in sort_reserve_entries()
718 tbl = xmalloc(n * sizeof(*tbl)); in sort_properties()
754 tbl = xmalloc(n * sizeof(*tbl)); in sort_subnodes()
[all …]
Dutil.c42 char *d = xmalloc(len); in xstrdup()
93 str = xmalloc(len); in join_path()
245 buf = xmalloc(bufsize); in utilfdt_read_err_len()
Dutil.h52 static inline void *xmalloc(size_t len) in xmalloc() function
Ddata.c244 m = xmalloc(sizeof(*m)); in data_add_marker()
Dflattree.c859 blob = xmalloc(totalsize); in dt_from_blob()
/Linux-v4.19/scripts/genksyms/
Dlex.l113 next_node = xmalloc(sizeof(*next_node)); \
115 cur_node->string = memcpy(xmalloc(L+1), T, L+1); \
146 next_node = xmalloc(sizeof(*next_node));
168 cur_filename = memcpy(xmalloc(e-file+1), file, e-file+1);
Dgenksyms.h81 #define xmalloc(size) ({ void *__ptr = malloc(size); \ macro
Dgenksyms.c288 sym = xmalloc(sizeof(*sym)); in __add_symbol()
353 newnode = xmalloc(sizeof(*newnode)); in mk_node()
382 newnode = xmalloc(sizeof(*newnode)); in copy_node()