Searched refs:new (Results 201 - 225 of 1398) sorted by relevance

1234567891011>>

/linux-master/arch/x86/include/asm/
H A Datomic64_64.h93 static __always_inline s64 arch_atomic64_cmpxchg(atomic64_t *v, s64 old, s64 new) argument
95 return arch_cmpxchg(&v->counter, old, new);
99 static __always_inline bool arch_atomic64_try_cmpxchg(atomic64_t *v, s64 *old, s64 new) argument
101 return arch_try_cmpxchg(&v->counter, old, new);
105 static __always_inline s64 arch_atomic64_xchg(atomic64_t *v, s64 new) argument
107 return arch_xchg(&v->counter, new);
H A Dpreempt.h31 int old, new;
35 new = (old & PREEMPT_NEED_RESCHED) |
37 } while (!raw_cpu_try_cmpxchg_4(pcpu_hot.preempt_count, &old, new));
H A Dkvm_page_track.h28 * @new: the data was written to the address.
32 void (*track_write)(gpa_t gpa, const u8 *new, int bytes,
H A Dlocal.h123 static inline long local_cmpxchg(local_t *l, long old, long new) argument
125 return cmpxchg_local(&l->a.counter, old, new);
128 static inline bool local_try_cmpxchg(local_t *l, long *old, long new) argument
131 (typeof(l->a.counter) *) old, new);
/linux-master/fs/bcachefs/
H A Dbkey_methods.h82 struct bkey_s_c old, struct bkey_s new,
85 const struct bkey_ops *ops = bch2_bkey_type_ops(old.k->type ?: new.k->type);
88 ? ops->trigger(trans, btree, level, old, new, flags)
108 struct bkey_s new,
114 deleted.k.p = new.k->p;
116 return bch2_key_trigger(trans, btree_id, level, bkey_i_to_s_c(&deleted), new,
80 bch2_key_trigger(struct btree_trans *trans, enum btree_id btree, unsigned level, struct bkey_s_c old, struct bkey_s new, enum btree_iter_update_trigger_flags flags) argument
106 bch2_key_trigger_new(struct btree_trans *trans, enum btree_id btree_id, unsigned level, struct bkey_s new, enum btree_iter_update_trigger_flags flags) argument
/linux-master/arch/x86/pci/
H A Dmmconfig-shared.c54 static void list_add_sorted(struct pci_mmcfg_region *new) argument
60 if (cfg->segment > new->segment ||
61 (cfg->segment == new->segment &&
62 cfg->start_bus >= new->start_bus)) {
63 list_add_tail_rcu(&new->list, &cfg->list);
67 list_add_tail_rcu(&new->list, &pci_mmcfg_list);
73 struct pci_mmcfg_region *new; local
79 new = kzalloc(sizeof(*new), GFP_KERNEL);
80 if (!new)
102 struct pci_mmcfg_region *new; local
[all...]
/linux-master/arch/sh/include/asm/
H A Dbitops-cas.h5 static inline unsigned __bo_cas(volatile unsigned *p, unsigned old, unsigned new) argument
8 : "+r"(new)
11 return new;
/linux-master/arch/arm/mach-s3c/
H A Dpm-gpio.c108 * { OUT => SFN } Change CON first, so new data will not glitch
109 * { OUT => IN } Change CON first, so new data will not glitch
111 * { SFN => OUT } Change DAT first, so new data will not glitch [1]
127 u32 gpcon, old, new, mask; local
141 new = (gps_gpcon & mask) >> nr;
145 if (old == new)
150 if (is_sfn(old) && is_sfn(new))
155 if (is_in(old) && is_out(new))
160 if (is_sfn(old) && is_out(new))
170 /* Write the new CO
204 u32 old, new, mask; local
[all...]
/linux-master/arch/mips/kernel/
H A Dcmpxchg.c51 unsigned long new, unsigned int size)
63 new &= mask;
93 * Calculate the old & new values of the naturally aligned
95 * Attempt to exchange the old value for the new value, and
99 new32 = (load32 & ~mask) | (new << shift);
50 __cmpxchg_small(volatile void *ptr, unsigned long old, unsigned long new, unsigned int size) argument
H A Dtime.c65 * accordance with the new CPU frequency.
67 if ((val == CPUFREQ_PRECHANGE && freq->old < freq->new) ||
68 (val == CPUFREQ_POSTCHANGE && freq->old > freq->new)) {
71 freq->new);
76 freq->new);
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dgm107.c94 .head = { .cnt = gf119_head_cnt, .new = gf119_head_new },
95 .dac = { .cnt = gf119_dac_cnt, .new = gf119_dac_new },
96 .sor = { .cnt = gf119_sor_cnt, .new = gm107_sor_new },
/linux-master/arch/powerpc/mm/
H A Dpageattr.c20 unsigned long old, unsigned long new)
22 return pte_update(&init_mm, addr, ptep, old & ~new, new & ~old, 0);
19 pte_update_delta(pte_t *ptep, unsigned long addr, unsigned long old, unsigned long new) argument
H A Dinit-common.c129 struct kmem_cache *new = NULL; local
143 new = kmem_cache_create(name, table_size, align, 0, ctor(shift));
144 if (!new)
148 pgtable_cache[shift] = new;
/linux-master/arch/s390/include/asm/
H A Dpreempt.h22 int old, new;
26 new = (old & PREEMPT_NEED_RESCHED) |
29 old, new) != old);
/linux-master/kernel/
H A Dresource.c171 static struct resource * __request_resource(struct resource *root, struct resource *new) argument
173 resource_size_t start = new->start;
174 resource_size_t end = new->end;
187 new->sibling = tmp;
188 *p = new;
189 new->parent = root;
261 * @new: resource descriptor desired by caller
265 struct resource *request_resource_conflict(struct resource *root, struct resource *new) argument
270 conflict = __request_resource(root, new);
278 * @new
282 request_resource(struct resource *root, struct resource *new) argument
634 __find_resource(struct resource *root, struct resource *old, struct resource *new, resource_size_t size, struct resource_constraint *constraint) argument
693 find_resource(struct resource *root, struct resource *new, resource_size_t size, struct resource_constraint *constraint) argument
715 struct resource new = *old; local
761 allocate_resource(struct resource *root, struct resource *new, resource_size_t size, resource_size_t min, resource_size_t max, resource_size_t align, resource_size_t (*alignf)(void *, const struct resource *, resource_size_t, resource_size_t), void *alignf_data) argument
823 __insert_resource(struct resource *parent, struct resource *new) argument
888 insert_resource_conflict(struct resource *parent, struct resource *new) argument
908 insert_resource(struct resource *parent, struct resource *new) argument
925 insert_resource_expand_to_fit(struct resource *root, struct resource *new) argument
1544 devm_request_resource(struct device *dev, struct resource *root, struct resource *new) argument
1582 devm_release_resource(struct device *dev, struct resource *new) argument
[all...]
/linux-master/lib/
H A Dcrc-t10dif.c38 struct crypto_shash *new, *old; local
43 new = crypto_alloc_shash(CRC_T10DIF_STRING, 0, 0);
44 if (IS_ERR(new)) {
48 rcu_assign_pointer(crct10dif_tfm, new);
H A Dcrc64-rocksoft.c32 struct crypto_shash *new, *old; local
37 new = crypto_alloc_shash(CRC64_ROCKSOFT_STRING, 0, 0);
38 if (IS_ERR(new)) {
42 rcu_assign_pointer(crc64_rocksoft_tfm, new);
/linux-master/include/linux/
H A Dkcore.h42 void kclist_add(struct kcore_list *new, void *addr, size_t size, int type) argument
/linux-master/arch/powerpc/include/asm/
H A Dpgtable-be-types.h81 static inline bool pte_xchg(pte_t *ptep, pte_t old, pte_t new) argument
88 (__force unsigned long)pte_raw(new));
93 static inline bool pmd_xchg(pmd_t *pmdp, pmd_t old, pmd_t new) argument
99 (__force unsigned long)pmd_raw(new));
/linux-master/arch/alpha/include/asm/
H A Dlocal.h55 static __inline__ long local_cmpxchg(local_t *l, long old, long new) argument
57 return cmpxchg_local(&l->a.counter, old, new);
60 static __inline__ bool local_try_cmpxchg(local_t *l, long *old, long new) argument
62 return try_cmpxchg_local(&l->a.counter, (s64 *)old, new);
/linux-master/arch/loongarch/include/asm/
H A Dlocal.h59 static inline long local_cmpxchg(local_t *l, long old, long new) argument
61 return cmpxchg_local(&l->a.counter, old, new);
64 static inline bool local_try_cmpxchg(local_t *l, long *old, long new) argument
67 (typeof(l->a.counter) *) old, new);
/linux-master/fs/dlm/
H A Dconfig.h20 int new;
/linux-master/kernel/trace/
H A Dtrace_stat.c77 struct rb_node **new = &(root->rb_node), *parent = NULL; local
86 * Figure out where to put new node
89 while (*new) {
93 this = container_of(*new, struct stat_node, node);
96 parent = *new;
98 new = &((*new)->rb_left);
100 new = &((*new)->rb_right);
103 rb_link_node(&data->node, parent, new);
[all...]
/linux-master/drivers/gpu/drm/
H A Ddrm_vma_manager.c71 * drm_vma_offset_manager_init - Initialize new offset-manager
76 * Initialize a new offset-manager. The offset and area size available for the
225 * new offset is allocated via drm_vma_offset_add() again. Helper functions like
248 struct drm_vma_offset_file *new, *entry; local
255 new = kmalloc(sizeof(*entry), GFP_KERNEL);
276 if (!new) {
281 new->vm_tag = tag;
282 new->vm_count = 1;
283 rb_link_node(&new->vm_rb, parent, iter);
284 rb_insert_color(&new
[all...]
/linux-master/arch/arm64/include/asm/
H A Dcmpxchg.h108 u##sz new) \
111 ptr, old, new); \
135 u128 old, u128 new) \
138 ptr, old, new); \
149 unsigned long new, \
154 return __cmpxchg_case##sfx##_8(ptr, old, new); \
156 return __cmpxchg_case##sfx##_16(ptr, old, new); \
158 return __cmpxchg_case##sfx##_32(ptr, old, new); \
160 return __cmpxchg_case##sfx##_64(ptr, old, new); \

Completed in 233 milliseconds

1234567891011>>