Home
last modified time | relevance | path

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

/lib/
Derrseq.c60 errseq_t cur, old; in errseq_set() local
71 old = READ_ONCE(*eseq); in errseq_set()
75 return old; in errseq_set()
81 new = (old & ~(MAX_ERRNO|ERRSEQ_SEEN)) | -err; in errseq_set()
84 if (old & ERRSEQ_SEEN) in errseq_set()
88 if (new == old) { in errseq_set()
94 cur = cmpxchg(eseq, old, new); in errseq_set()
100 if (likely(cur == old || cur == new)) in errseq_set()
104 old = cur; in errseq_set()
124 errseq_t old = READ_ONCE(*eseq); in errseq_sample() local
[all …]
Dlockref.c13 struct lockref old; \
14 BUILD_BUG_ON(sizeof(old) != 8); \
15 old.lock_count = READ_ONCE(lockref->lock_count); \
16 while (likely(arch_spin_value_unlocked(old.lock.rlock.raw_lock))) { \
17 struct lockref new = old, prev = old; \
19 old.lock_count = cmpxchg64_relaxed(&lockref->lock_count, \
20 old.lock_count, \
22 if (likely(old.lock_count == prev.lock_count)) { \
69 if (old.count <= 0) in lockref_get_not_zero()
97 if (old.count <= 1) in lockref_put_not_zero()
[all …]
Ddump_stack.c92 int old; in dump_stack() local
102 old = atomic_cmpxchg(&dump_lock, -1, cpu); in dump_stack()
103 if (old == -1) { in dump_stack()
105 } else if (old == cpu) { in dump_stack()
Dcrc-t10dif.c26 struct crypto_shash *new, *old; in crc_t10dif_rehash() local
34 old = rcu_dereference_protected(crct10dif_tfm, in crc_t10dif_rehash()
36 if (!old) { in crc_t10dif_rehash()
49 crypto_free_shash(old); in crc_t10dif_rehash()
Drbtree.c75 __rb_rotate_set_parents(struct rb_node *old, struct rb_node *new, in __rb_rotate_set_parents() argument
78 struct rb_node *parent = rb_parent(old); in __rb_rotate_set_parents()
79 new->__rb_parent_color = old->__rb_parent_color; in __rb_rotate_set_parents()
80 rb_set_parent_color(old, new, color); in __rb_rotate_set_parents()
81 __rb_change_child(old, new, parent, root); in __rb_rotate_set_parents()
86 void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) in __rb_insert() argument
228 void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) in ____rb_erase_color() argument
411 void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) in __rb_erase_color() argument
425 static inline void dummy_copy(struct rb_node *old, struct rb_node *new) {} in dummy_copy() argument
426 static inline void dummy_rotate(struct rb_node *old, struct rb_node *new) {} in dummy_rotate() argument
[all …]
Dradix-tree.c679 struct radix_tree_node *old = child; in radix_tree_free_nodes() local
682 WARN_ON_ONCE(!list_empty(&old->private_list)); in radix_tree_free_nodes()
683 radix_tree_node_free(old); in radix_tree_free_nodes()
684 if (old == entry_to_node(node)) in radix_tree_free_nodes()
861 void *item, void *old) in calculate_count() argument
868 if (!old) in calculate_count()
871 return !!item - !!old; in calculate_count()
888 void *old = rcu_dereference_raw(*slot); in __radix_tree_replace() local
889 int values = !!xa_is_value(item) - !!xa_is_value(old); in __radix_tree_replace()
890 int count = calculate_count(root, node, slot, item, old); in __radix_tree_replace()
[all …]
Dlru_cache.c66 unsigned long old, new, val; in lc_try_lock()
68 old = lc->flags & LC_PARANOIA; in lc_try_lock()
69 new = old | LC_LOCKED; in lc_try_lock()
70 val = cmpxchg(&lc->flags, old, new); in lc_try_lock()
71 } while (unlikely (val == (old ^ LC_PARANOIA))); in lc_try_lock()
72 return old == val; in lc_try_lock()
Dbitmap.c792 const unsigned long *old, const unsigned long *new, in bitmap_remap() argument
803 int n = bitmap_pos_to_ord(old, oldbit, nbits); in bitmap_remap()
838 int bitmap_bitremap(int oldbit, const unsigned long *old, in bitmap_bitremap() argument
842 int n = bitmap_pos_to_ord(old, oldbit, bits); in bitmap_bitremap()
Dstring.c1084 char *strreplace(char *s, char old, char new) in strreplace() argument
1087 if (*s == old) in strreplace()
Dtest_xarray.c1347 void *old = xas_store(&xas, xa_mk_index(base + i)); in check_create_range_4() local
1349 XA_BUG_ON(xa, old != xa_mk_index(base + i)); in check_create_range_4()
1351 XA_BUG_ON(xa, old != NULL); in check_create_range_4()
Dxarray.c1444 void *old, void *entry, gfp_t gfp) in __xa_cmpxchg() argument
1454 if (curr == old) { in __xa_cmpxchg()
Diov_iter.c1596 const void *dup_iter(struct iov_iter *new, struct iov_iter *old, gfp_t flags) in dup_iter() argument
1598 *new = *old; in dup_iter()
/lib/fonts/
DKconfig64 bool "Pearl (old m68k) console 8x8 font" if FONTS