Home
last modified time | relevance | path

Searched refs:_new (Results 1 – 20 of 20) sorted by relevance

/linux/scripts/gendwarfksyms/examples/
H A Dkabi.h49 #define __KABI_NORMAL_SIZE_ALIGN(_orig, _new) \ argument
52 sizeof(struct { _new; }) <= sizeof(struct { _orig; }), \
54 _new) " is larger than " __stringify(_orig)); \
56 __alignof__(struct { _new; }) <= \
59 _orig) " is not aligned the same as " __stringify(_new)); \
62 #define __KABI_REPLACE(_orig, _new) \ argument
64 _new; \
68 __KABI_NORMAL_SIZE_ALIGN(_orig, _new); \
130 #define KABI_IGNORE(n, _new) \ argument
132 _new; \
[all …]
/linux/rust/proc-macro2/
H A Dlib.rs206 fn _new(inner: imp::TokenStream) -> Self { in _new() method
222 TokenStream::_new(imp::TokenStream::new()) in new()
252 Ok(tokens) => Ok(TokenStream::_new(tokens)), in from_str()
265 TokenStream::_new(imp::TokenStream::from(inner)) in from()
279 TokenStream::_new(imp::TokenStream::from(token)) in from()
299 TokenStream::_new(streams.into_iter().collect()) in from_iter()
304 TokenStream::_new(streams.into_iter().map(|i| i.inner).collect()) in from_iter()
327 Span::_new(self.inner.span()) in span()
353 fn _new(inner: imp::Span) -> Self { in _new() method
373 Span::_new(imp::Span::call_site()) in call_site()
[all …]
H A Dextra.rs125 DelimSpanEnum::Compiler { join, .. } => Span::_new(imp::Span::Compiler(*join)), in join()
134 DelimSpanEnum::Compiler { open, .. } => Span::_new(imp::Span::Compiler(*open)), in open()
143 DelimSpanEnum::Compiler { close, .. } => Span::_new(imp::Span::Compiler(*close)), in close()
H A Dfallback.rs930 Literal::_new(format!(concat!("{}", stringify!($kind)), n))
938 Literal::_new(n.to_string())
944 pub(crate) fn _new(repr: String) -> Self { in _new() method
982 Literal::_new(repr.to_owned()) in from_str_unchecked()
1023 Literal::_new(s) in f32_unsuffixed()
1031 Literal::_new(s) in f64_unsuffixed()
1039 Literal::_new(repr) in string()
1052 Literal::_new(repr) in character()
1071 Literal::_new(repr) in byte_character()
1097 Literal::_new(repr) in byte_string()
[all …]
H A Dwrapper.rs343 TokenTree::Group(crate::Group::_new(Group::Compiler(tt))) in next()
351 o.set_span(crate::Span::_new(Span::Compiler(tt.span()))); in next()
355 TokenTree::Ident(crate::Ident::_new(Ident::Compiler(s))) in next()
358 TokenTree::Literal(crate::Literal::_new(Literal::Compiler(l))) in next()
531 crate::Span::_new(Span::Compiler(proc_span)) in from()
H A Dparse.rs278 let repr = crate::Literal::_new_fallback(Literal::_new(ERROR.to_owned())); in leaf_token()
342 Ok((rest, Literal::_new(input.rest[..end].to_string()))) in literal()
/linux/arch/x86/include/asm/
H A Dcmpxchg_32.h17 #define __arch_cmpxchg64(_ptr, _old, _new, _lock) \ argument
20 n = { .full = (_new), }; \
42 #define __arch_try_cmpxchg64(_ptr, _oldp, _new, _lock) \ argument
45 n = { .full = (_new), }; \
88 #define __arch_cmpxchg64_emu(_ptr, _old, _new, _lock_loc, _lock) \ argument
91 n = { .full = (_new), }; \
117 #define __arch_try_cmpxchg64_emu(_ptr, _oldp, _new, _lock_loc, _lock) \ argument
120 n = { .full = (_new), }; \
H A Dcmpxchg_64.h36 #define __arch_cmpxchg128(_ptr, _old, _new, _lock) \ argument
39 n = { .full = (_new), }; \
62 #define __arch_try_cmpxchg128(_ptr, _oldp, _new, _lock) \ argument
65 n = { .full = (_new), }; \
H A Dcmpxchg.h158 #define __raw_try_cmpxchg(_ptr, _pold, _new, size, lock) \ argument
163 __typeof__(*(_ptr)) __new = (_new); \
/linux/Documentation/driver-api/media/drivers/
H A Dsh_mobile_ceu_camera.rst99 scale_s_new = ((3')_new - (3)_new) / ((2') - (2))
104 width_ceu = (4')_new - (4)_new = width_u / scale_s_new
105 left_ceu = (4)_new - (3)_new = ((5) - (2)) / scale_s_new
/linux/arch/s390/lib/
H A Duaccess.c210 unsigned int prev, shift, mask, _old, _new; in __cmpxchg_user_key1() local
216 _new = (unsigned int)new << shift; in __cmpxchg_user_key1()
218 rc = __cmpxchg_user_key_small(address, &prev, _old, _new, mask, key); in __cmpxchg_user_key1()
227 unsigned int prev, shift, mask, _old, _new; in __cmpxchg_user_key2() local
233 _new = (unsigned int)new << shift; in __cmpxchg_user_key2()
235 rc = __cmpxchg_user_key_small(address, &prev, _old, _new, mask, key); in __cmpxchg_user_key2()
/linux/drivers/clocksource/
H A Darm_arch_timer.c174 u64 _old, _new; \
179 _new = read_sysreg(reg); \
181 } while (unlikely(_old != _new) && _retries); \
184 _new; \
210 u64 _old, _new; \
215 _new = read_sysreg(reg); \
217 } while (unlikely((_new - _old) >> 5) && _retries); \
220 _new; \
/linux/drivers/clk/sophgo/
H A Dclk-cv18xx-common.h64 #define cv1800_clk_regfield_set(_val, _new, _reg) \ argument
66 (((_new) & GENMASK((_reg)->width - 1, 0)) << (_reg)->shift))
/linux/scripts/atomic/
H A Dgen-atomic-fallback.sh234 ___r = raw_${prefix}${cmpxchg}${suffix}((_ptr), ___o, (_new)); \\
/linux/drivers/net/
H A Dnet_failover.c153 const struct rtnl_link_stats64 *_new, in net_failover_fold_stats() argument
156 const u64 *new = (const u64 *)_new; in net_failover_fold_stats()
/linux/tools/lib/bpf/
H A Dbpf_helpers.h386 bpf_iter_##type##_new(&___it, ##args), \
/linux/arch/x86/kernel/
H A Dalternative.c2928 u8 _new[TEXT_POKE_MAX_OPCODE_SIZE+1]; in smp_text_poke_batch_finish() local
2938 _new[0] = 0x0f; in smp_text_poke_batch_finish()
2939 memcpy(_new + 1, new, 5); in smp_text_poke_batch_finish()
2940 new = _new; in smp_text_poke_batch_finish()
/linux/tools/sched_ext/include/scx/
H A Dcommon.bpf.h393 static inline int bpf_iter_##name##_new( \
/linux/include/linux/
H A Dbpf.h1462 #define __BPF_DISPATCHER_UPDATE(_d, _new) \ argument
1463 __static_call_update((_d)->sc_key, (_d)->sc_tramp, (_new))
1469 #define __BPF_DISPATCHER_UPDATE(_d, _new) argument
/linux/drivers/net/bonding/
H A Dbond_main.c4333 const struct rtnl_link_stats64 *_new, in bond_fold_stats() argument
4336 const u64 *new = (const u64 *)_new; in bond_fold_stats()