Lines Matching refs:new
679 char *new; in compact_gfp_flags() local
687 new = realloc(new_flags, len + strlen(cpt) + 2); in compact_gfp_flags()
688 if (new == NULL) { in compact_gfp_flags()
694 new_flags = new; in compact_gfp_flags()
757 struct gfp_flag *new; in parse_gfp_flags() local
759 new = realloc(gfps, (nr_gfps + 1) * sizeof(*gfps)); in parse_gfp_flags()
760 if (new == NULL) in parse_gfp_flags()
763 gfps = new; in parse_gfp_flags()
764 new += nr_gfps++; in parse_gfp_flags()
766 new->flags = gfp_flags; in parse_gfp_flags()
767 new->human_readable = strdup(str + 10); in parse_gfp_flags()
768 new->compact_str = compact_gfp_flags(str + 10); in parse_gfp_flags()
769 if (!new->human_readable || !new->compact_str) in parse_gfp_flags()
1251 struct rb_node **new = &(root->rb_node); in sort_slab_insert() local
1255 while (*new) { in sort_slab_insert()
1259 this = rb_entry(*new, struct alloc_stat, node); in sort_slab_insert()
1260 parent = *new; in sort_slab_insert()
1269 new = &((*new)->rb_left); in sort_slab_insert()
1271 new = &((*new)->rb_right); in sort_slab_insert()
1274 rb_link_node(&data->node, parent, new); in sort_slab_insert()
1298 struct rb_node **new = &root->rb_node; in sort_page_insert() local
1302 while (*new) { in sort_page_insert()
1306 this = rb_entry(*new, struct page_stat, node); in sort_page_insert()
1307 parent = *new; in sort_page_insert()
1316 new = &parent->rb_left; in sort_page_insert()
1318 new = &parent->rb_right; in sort_page_insert()
1321 rb_link_node(&data->node, parent, new); in sort_page_insert()