Searched refs:xmalloc (Results 1 – 10 of 10) sorted by relevance
36 new = xmalloc(sizeof(*new)); in add_label()44 struct property *new = xmalloc(sizeof(*new)); in build_property()79 struct node *new = xmalloc(sizeof(*new)); in build_node()207 struct reserve_info *new = xmalloc(sizeof(*new)); in build_reserve_entry()249 bi = xmalloc(sizeof(*bi)); in build_boot_info()506 tbl = xmalloc(n * sizeof(*tbl)); in sort_reserve_entries()544 tbl = xmalloc(n * sizeof(*tbl)); in sort_properties()580 tbl = xmalloc(n * sizeof(*tbl)); in sort_subnodes()
34 char *dir = xmalloc(len + 1); in dirname()85 srcfile = xmalloc(sizeof(*srcfile)); in srcfile_push()161 pos_new = xmalloc(sizeof(struct srcpos)); in srcpos_copy()
30 char *dup = xmalloc(len); in xstrdup()51 str = xmalloc(len); in join_path()
33 static inline void *xmalloc(size_t len) in xmalloc() function
296 m = xmalloc(sizeof(*m)); in data_add_marker()
851 blob = xmalloc(totalsize); in dt_from_blob()
113 next_node = xmalloc(sizeof(*next_node)); \115 cur_node->string = memcpy(xmalloc(L+1), T, L+1); \144 next_node = xmalloc(sizeof(*next_node));166 cur_filename = memcpy(xmalloc(e-file+1), file, e-file+1);
289 sym = xmalloc(sizeof(*sym)); in __add_symbol()354 newnode = xmalloc(sizeof(*newnode)); in mk_node()383 newnode = xmalloc(sizeof(*newnode)); in copy_node()
79 #define xmalloc(size) ({ void *__ptr = malloc(size); \ macro
2267 next_node = xmalloc(sizeof(*next_node)); \2269 cur_node->string = memcpy(xmalloc(L+1), T, L+1); \2298 next_node = xmalloc(sizeof(*next_node));2320 cur_filename = memcpy(xmalloc(e-file+1), file, e-file+1);