Home
last modified time | relevance | path

Searched refs:new (Results 1 – 12 of 12) sorted by relevance

/lib/
Dlist_debug.c22 void __list_add(struct list_head *new, in __list_add() argument
34 WARN(new == prev || new == next, in __list_add()
36 new, prev, next); in __list_add()
37 next->prev = new; in __list_add()
38 new->next = next; in __list_add()
39 new->prev = prev; in __list_add()
40 prev->next = new; in __list_add()
86 void __list_add_rcu(struct list_head *new, in __list_add_rcu() argument
95 new->next = next; in __list_add_rcu()
96 new->prev = prev; in __list_add_rcu()
[all …]
Didr.c103 struct idr_layer *new; in idr_layer_alloc() local
116 new = kmem_cache_zalloc(idr_layer_cache, gfp_mask | __GFP_NOWARN); in idr_layer_alloc()
117 if (new) in idr_layer_alloc()
118 return new; in idr_layer_alloc()
126 new = __this_cpu_read(idr_preload_head); in idr_layer_alloc()
127 if (new) { in idr_layer_alloc()
128 __this_cpu_write(idr_preload_head, new->ary[0]); in idr_layer_alloc()
130 new->ary[0] = NULL; in idr_layer_alloc()
133 if (new) in idr_layer_alloc()
134 return new; in idr_layer_alloc()
[all …]
Drbtree_test.c26 struct rb_node **new = &root->rb_node, *parent = NULL; in insert() local
29 while (*new) { in insert()
30 parent = *new; in insert()
32 new = &parent->rb_left; in insert()
34 new = &parent->rb_right; in insert()
37 rb_link_node(&node->rb, parent, new); in insert()
69 struct rb_node **new = &root->rb_node, *rb_parent = NULL; in RB_DECLARE_CALLBACKS() local
74 while (*new) { in RB_DECLARE_CALLBACKS()
75 rb_parent = *new; in RB_DECLARE_CALLBACKS()
80 new = &parent->rb.rb_left; in RB_DECLARE_CALLBACKS()
[all …]
Drbtree.c63 __rb_rotate_set_parents(struct rb_node *old, struct rb_node *new, in __rb_rotate_set_parents() argument
67 new->__rb_parent_color = old->__rb_parent_color; in __rb_rotate_set_parents()
68 rb_set_parent_color(old, new, color); in __rb_rotate_set_parents()
69 __rb_change_child(old, new, parent, root); in __rb_rotate_set_parents()
74 void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) in __rb_insert() argument
203 void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) in ____rb_erase_color() argument
365 void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) in __rb_erase_color() argument
379 static inline void dummy_copy(struct rb_node *old, struct rb_node *new) {} in dummy_copy() argument
380 static inline void dummy_rotate(struct rb_node *old, struct rb_node *new) {} in dummy_rotate() argument
409 void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) in __rb_insert_augmented() argument
[all …]
Ddebugobjects.c85 struct debug_obj *new; in fill_pool() local
96 new = kmem_cache_zalloc(obj_cache, gfp); in fill_pool()
97 if (!new) in fill_pool()
101 hlist_add_head(&new->node, &obj_pool); in fill_pool()
1016 struct debug_obj *obj, *new; in debug_objects_replace_static_objects() local
1045 new = hlist_entry(obj_pool.first, typeof(*obj), node); in debug_objects_replace_static_objects()
1046 hlist_del(&new->node); in debug_objects_replace_static_objects()
1048 *new = *obj; in debug_objects_replace_static_objects()
1049 hlist_add_head(&new->node, &db->list); in debug_objects_replace_static_objects()
Datomic64.c151 long long atomic64_xchg(atomic64_t *v, long long new) in atomic64_xchg() argument
159 v->counter = new; in atomic64_xchg()
Dbitmap.c812 const unsigned long *old, const unsigned long *new, in bitmap_remap() argument
821 w = bitmap_weight(new, bits); in bitmap_remap()
828 set_bit(bitmap_ord_to_pos(new, n % w, bits), dst); in bitmap_remap()
860 const unsigned long *new, int bits) in bitmap_bitremap() argument
862 int w = bitmap_weight(new, bits); in bitmap_bitremap()
867 return bitmap_ord_to_pos(new, n % w, bits); in bitmap_bitremap()
Dbtree.c470 unsigned long *new; in btree_insert_level() local
472 new = btree_node_alloc(head, gfp); in btree_insert_level()
473 if (!new) in btree_insert_level()
477 new, level + 1, gfp); in btree_insert_level()
479 mempool_free(new, head->mempool); in btree_insert_level()
483 setkey(geo, new, i, bkey(geo, node, i)); in btree_insert_level()
484 setval(geo, new, i, bval(geo, node, i)); in btree_insert_level()
Dlru_cache.c78 unsigned long old, new, val; in lc_try_lock()
81 new = old | LC_LOCKED; in lc_try_lock()
82 val = cmpxchg(&lc->flags, old, new); in lc_try_lock()
Dstring.c836 char *strreplace(char *s, char old, char new) in strreplace() argument
840 *s = new; in strreplace()
DKconfig.kmemcheck61 be scheduled. If the queue is full, new error reports will be
DKconfig.kgdb37 intended to for the development of new kgdb stubs