Home
last modified time | relevance | path

Searched refs:old (Results 1 – 8 of 8) sorted by relevance

/lib/
Dlockref.c11 struct lockref old; \
12 BUILD_BUG_ON(sizeof(old) != 8); \
13 old.lock_count = READ_ONCE(lockref->lock_count); \
14 while (likely(arch_spin_value_unlocked(old.lock.rlock.raw_lock))) { \
15 struct lockref new = old, prev = old; \
17 old.lock_count = cmpxchg64_relaxed(&lockref->lock_count, \
18 old.lock_count, \
20 if (likely(old.lock_count == prev.lock_count)) { \
65 if (old.count <= 0) in lockref_get_not_zero()
92 if (old.count <= 0) in lockref_get_or_lock()
[all …]
Ddump_stack.c30 int old; in dump_stack() local
40 old = atomic_cmpxchg(&dump_lock, -1, cpu); in dump_stack()
41 if (old == -1) { in dump_stack()
43 } else if (old == cpu) { in dump_stack()
Drbtree.c87 __rb_rotate_set_parents(struct rb_node *old, struct rb_node *new, in __rb_rotate_set_parents() argument
90 struct rb_node *parent = rb_parent(old); in __rb_rotate_set_parents()
91 new->__rb_parent_color = old->__rb_parent_color; in __rb_rotate_set_parents()
92 rb_set_parent_color(old, new, color); in __rb_rotate_set_parents()
93 __rb_change_child(old, new, parent, root); in __rb_rotate_set_parents()
98 void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) in __rb_insert() argument
229 void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) in ____rb_erase_color() argument
397 void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) in __rb_erase_color() argument
411 static inline void dummy_copy(struct rb_node *old, struct rb_node *new) {} in dummy_copy() argument
412 static inline void dummy_rotate(struct rb_node *old, struct rb_node *new) {} in dummy_rotate() argument
[all …]
Dlru_cache.c78 unsigned long old, new, val; in lc_try_lock()
80 old = lc->flags & LC_PARANOIA; in lc_try_lock()
81 new = old | LC_LOCKED; in lc_try_lock()
82 val = cmpxchg(&lc->flags, old, new); in lc_try_lock()
83 } while (unlikely (val == (old ^ LC_PARANOIA))); in lc_try_lock()
84 return old == val; in lc_try_lock()
Dbitmap.c710 const unsigned long *old, const unsigned long *new, in bitmap_remap() argument
721 int n = bitmap_pos_to_ord(old, oldbit, nbits); in bitmap_remap()
757 int bitmap_bitremap(int oldbit, const unsigned long *old, in bitmap_bitremap() argument
761 int n = bitmap_pos_to_ord(old, oldbit, bits); in bitmap_bitremap()
Dstring.c1064 char *strreplace(char *s, char old, char new) in strreplace() argument
1067 if (*s == old) in strreplace()
Diov_iter.c761 const void *dup_iter(struct iov_iter *new, struct iov_iter *old, gfp_t flags) in dup_iter() argument
763 *new = *old; in dup_iter()
/lib/fonts/
DKconfig63 bool "Pearl (old m68k) console 8x8 font" if FONTS