Home
last modified time | relevance | path

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

/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()
243 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()
318 struct reserve_info *new = xmalloc(sizeof(*new)); in build_reserve_entry()
361 dti = xmalloc(sizeof(*dti)); in build_dt_info()
627 tbl = xmalloc(n * sizeof(*tbl)); in sort_reserve_entries()
665 tbl = xmalloc(n * sizeof(*tbl)); in sort_properties()
701 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.h41 static inline void *xmalloc(size_t len) in xmalloc() function
Ddata.c244 m = xmalloc(sizeof(*m)); in data_add_marker()
Dflattree.c865 blob = xmalloc(totalsize); in dt_from_blob()
/scripts/kconfig/
Dutil.c26 file = xmalloc(sizeof(*file)); in file_lookup()
84 gs.s = xmalloc(sizeof(char) * 64); in str_new()
131 void *xmalloc(size_t size) in xmalloc() function
Dzconf.l43 text = xmalloc(START_STRSIZE); in new_string()
65 text = xmalloc(size + 1); in alloc_string()
Dsymbol.c670 sym->def[S_DEF_USER].val = val = xmalloc(size); in sym_set_string_value()
674 sym->def[S_DEF_USER].val = val = xmalloc(size); in sym_set_string_value()
826 symbol = xmalloc(sizeof(*symbol)); in sym_lookup()
877 res = xmalloc(reslen); in sym_expand_string_value()
935 res = xmalloc(reslen); in sym_escape_string_value()
1299 prop = xmalloc(sizeof(*prop)); in prop_alloc()
Dlkc.h116 void *xmalloc(size_t size);
Dmenu.c51 menu = xmalloc(sizeof(*menu)); in menu_add_entry()
564 jump = xmalloc(sizeof(struct jump_key)); in get_prompt_str()
Dzconf.lex.c_shipped830 text = xmalloc(START_STRSIZE);
852 text = xmalloc(size + 1);
2399 current_buf = xmalloc(sizeof(*current_buf));
2410 struct buffer *buf = xmalloc(sizeof(*buf));
Dexpr.c72 e = xmalloc(sizeof(*org)); in expr_copy()
/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.c289 sym = xmalloc(sizeof(*sym)); in __add_symbol()
354 newnode = xmalloc(sizeof(*newnode)); in mk_node()
383 newnode = xmalloc(sizeof(*newnode)); in copy_node()
Dlex.lex.c_shipped1923 next_node = xmalloc(sizeof(*next_node)); \
1925 cur_node->string = memcpy(xmalloc(L+1), T, L+1); \
1955 next_node = xmalloc(sizeof(*next_node));
1977 cur_filename = memcpy(xmalloc(e-file+1), file, e-file+1);