Home
last modified time | relevance | path

Searched refs:xmalloc (Results 1 - 25 of 30) sorted by relevance

12

/kernel/linux/linux-5.10/scripts/dtc/
H A 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()
H A 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( in sort_subnodes()
[all...]
H A Dutil.c29 char *d = xmalloc(len); in xstrdup()
98 str = xmalloc(len); in join_path()
250 buf = xmalloc(bufsize); in utilfdt_read_err()
H A Dutil.h43 static inline void *xmalloc(size_t len) in xmalloc() function
H A Ddata.c231 m = xmalloc(sizeof(*m)); in data_add_marker()
/kernel/linux/linux-6.6/scripts/dtc/
H A 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()
H A 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()
705 tbl = xmalloc(n * sizeof(*tbl)); in sort_reserve_entries()
743 tbl = xmalloc(n * sizeof(*tbl)); in sort_properties()
779 tbl = xmalloc( in sort_subnodes()
[all...]
H A Dutil.c29 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 Dfdtoverlay.c56 tmpo = xmalloc(fdt_totalsize(overlay)); in apply_one()
115 ovblob = xmalloc(sizeof(*ovblob) * argc); in do_fdtoverlay()
H A Dutil.h43 static inline void *xmalloc(size_t len) in xmalloc() function
H A Ddata.c231 m = xmalloc(sizeof(*m)); in data_add_marker()
/kernel/linux/linux-5.10/scripts/kconfig/
H A 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
H A Dpreprocess.c48 e = xmalloc(sizeof(*e)); in env_add()
300 v = xmalloc(sizeof(*v)); in variable_add()
505 out = xmalloc(1); in __expand_string()
H A Dlkc.h71 void *xmalloc(size_t size);
H A Dmenu.c51 menu = xmalloc(sizeof(*menu)); in menu_add_entry()
133 prop = xmalloc(sizeof(*prop)); in menu_add_prop()
760 jump = xmalloc(sizeof(struct jump_key)); in get_prompt_str()
H A Dsymbol.c675 sym->def[S_DEF_USER].val = val = xmalloc(size); in sym_set_string_value()
679 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()
/kernel/linux/linux-6.6/scripts/kconfig/
H A 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
H A Dpreprocess.c48 e = xmalloc(sizeof(*e)); in env_add()
300 v = xmalloc(sizeof(*v)); in variable_add()
505 out = xmalloc(1); in __expand_string()
H A Dlkc.h57 void *xmalloc(size_t size);
H A Dmenu.c52 menu = xmalloc(sizeof(*menu)); in menu_add_entry()
134 prop = xmalloc(sizeof(*prop)); in menu_add_prop()
737 jump = xmalloc(sizeof(struct jump_key)); in get_prompt_str()
H A 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()
833 symbol = xmalloc(sizeof(*symbol)); in sym_lookup()
/kernel/linux/linux-5.10/scripts/genksyms/
H A Dgenksyms.h70 #define xmalloc(size) ({ void *__ptr = malloc(size); \ macro
H A 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()
/kernel/linux/linux-6.6/scripts/genksyms/
H A Dgenksyms.h70 #define xmalloc(size) ({ void *__ptr = malloc(size); \ macro
H A 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()

Completed in 18 milliseconds

12