/openbmc/linux/include/linux/ |
H A D | cleanup.h | 72 typedef _type class_##_name##_t; \ 79 typedef class_##_name##_t class_##_name##ext##_t; \ 80 static inline void class_##_name##ext##_destructor(class_##_name##_t *p)\ 82 static inline class_##_name##_t class_##_name##ext##_constructor(_init_args) \ 83 { class_##_name##_t t = _init; return t; } 86 class_##_name##_t var __cleanup(class_##_name##_destructor) = \ 125 static inline void * class_##_name##_lock_ptr(class_##_name##_t *_T) \ 131 ({ void *_t = _T; if (_T && !(_condlock)) _t = NULL; _t; }), \ 132 class_##_name##_t _T) \ 133 static inline void * class_##_name##_ext##_lock_ptr(class_##_name##_t *_T) \ [all …]
|
H A D | seqlock.h | 177 seqcount_##lockname##_t *____s = (s); \ 202 } seqcount_##lockname##_t; \ 205 __seqprop_##lockname##_ptr(seqcount_##lockname##_t *s) \ 211 __seqprop_##lockname##_sequence(const seqcount_##lockname##_t *s) \ 233 __seqprop_##lockname##_preemptible(const seqcount_##lockname##_t *s) \ 243 __seqprop_##lockname##_assert(const seqcount_##lockname##_t *s) \ 297 seqcount_##lockname##_t: __seqprop_##lockname##_##prop((void *)(s))
|
/openbmc/qemu/target/s390x/tcg/ |
H A D | vec_int_helper.c | 107 const int32_t a = (int##BITS##_t)s390_vec_read_element##BITS(v2, i); \ 108 const int32_t b = (int##BITS##_t)s390_vec_read_element##BITS(v3, i); \ 123 const uint##BITS##_t a = s390_vec_read_element##BITS(v2, i); \ 124 const uint##BITS##_t b = s390_vec_read_element##BITS(v3, i); \ 138 const uint##BITS##_t a = s390_vec_read_element##BITS(v2, i); \ 152 const uint##BITS##_t a = s390_vec_read_element##BITS(v2, i); \ 269 const uint##BITS##_t a = s390_vec_read_element##BITS(v2, i); \ 270 const uint##BITS##_t b = s390_vec_read_element##BITS(v3, i); \ 271 const uint##BITS##_t c = s390_vec_read_element##BITS(v4, i); \ 286 const int32_t a = (int##BITS##_t)s390_vec_read_element##BITS(v2, i); \ [all …]
|
H A D | vec_helper.c | 69 typedef uint##TBITS##_t (*vpk##BITS##_fn)(uint##BITS##_t, int *); \ 77 uint##BITS##_t src; \ 94 static uint##TBITS##_t vpk##BITS##e(uint##BITS##_t src, int *saturated) \ 108 static uint##TBITS##_t vpks##BITS##e(uint##BITS##_t src, int *saturated) \ 110 if ((int##BITS##_t)src > INT##TBITS##_MAX) { \ 113 } else if ((int##BITS##_t)src < INT##TBITS##_MIN) { \ 142 static uint##TBITS##_t vpkls##BITS##e(uint##BITS##_t src, int *saturated) \
|
/openbmc/linux/include/math-emu/ |
H A D | op-common.h | 848 _FP_W_TYPE _t = (x); \ 850 if (_t > 0xffff) r -= 16; \ 851 if (_t > 0xffff) _t >>= 16; \ 852 if (_t > 0xff) r -= 8; \ 853 if (_t > 0xff) _t >>= 8; \ 854 if (_t & 0xf0) r -= 4; \ 855 if (_t & 0xf0) _t >>= 4; \ 856 if (_t & 0xc) r -= 2; \ 857 if (_t & 0xc) _t >>= 2; \ 858 if (_t & 0x2) r -= 1; \ [all …]
|
H A D | op-4.h | 343 UWtype _t; \ 345 umul_ppmm(p2,_t,m,n1); \ 346 __FP_FRAC_ADDI_2(p2,p1,_t); \ 347 umul_ppmm(p3,_t,m,n2); \ 348 __FP_FRAC_ADDI_2(p3,p2,_t); \ 600 UWtype _t; \ 601 _t = ((x0 += i) < i); \ 602 x1 += _t; _t = (x1 < _t); \ 603 x2 += _t; _t = (x2 < _t); \ 604 x3 += _t; \
|
/openbmc/qemu/tests/fp/ |
H A D | wrap.c.inc | 107 static b_type##_t name(a_type##_t a) \ 113 return *(b_type##_t *)&ret; \ 124 static b_type##_t name(a_type##_t a) \ 130 return *(b_type##_t *)&ret; \ 138 static void name(type##_t a, extFloat80_t *res) \ 152 static void name(type##_t a, float128_t *res) \ 167 static fast_type name(type##_t a, uint_fast8_t round, bool exact) \ 196 static fast_type name(type##_t a, bool exact) \ 235 static type##_t name(const extFloat80_t *ap) \ 242 return *(type##_t *)&ret; \ [all …]
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | mips-cps.h | 24 static inline uint##sz##_t read_##unit##_##name(void) \ 47 static inline void write_##unit##_##name(uint##sz##_t val) \ 72 static inline void change_##unit##_##name(uint##sz##_t mask, \ 73 uint##sz##_t val) \ 75 uint##sz##_t reg_val = read_##unit##_##name(); \ 81 static inline void set_##unit##_##name(uint##sz##_t val) \ 86 static inline void clear_##unit##_##name(uint##sz##_t val) \
|
H A D | atomic.h | 27 static __always_inline type arch_##pfx##_read(const pfx##_t *v) \ 32 static __always_inline void arch_##pfx##_set(pfx##_t *v, type i) \ 45 static __inline__ void arch_##pfx##_##op(type i, pfx##_t * v) \ 73 arch_##pfx##_##op##_return_relaxed(type i, pfx##_t * v) \ 107 arch_##pfx##_fetch_##op##_relaxed(type i, pfx##_t * v) \ 197 static __inline__ type arch_##pfx##_sub_if_positive(type i, pfx##_t * v) \
|
/openbmc/qemu/tests/tcg/loongarch64/ |
H A D | test_div.c | 6 static void test_div_ ##N(uint ## M ## _t rj, \ 7 uint ## M ## _t rk, \ 20 static void test_mod_ ##N(uint ## M ## _t rj, \ 21 uint ## M ## _t rk, \
|
/openbmc/sdbusplus/include/sdbusplus/async/stdexec/__detail/ |
H A D | __cpo.hpp | 74 const ::stdexec::__tag_type_t<__VA_ARGS__##_t::*>&, STDEXEC_MEMFN_DECL_ARGS 76 const STDEXEC_EAT_AUTO_##__VA_ARGS__##_t&, STDEXEC_MEMFN_DECL_ARGS 78 const STDEXEC_EAT_VOID_##__VA_ARGS__##_t&, STDEXEC_MEMFN_DECL_ARGS 84 using STDEXEC_CAT(_TAG, _t) = STDEXEC_CAT(stdexec::_TAG, _t)
|
/openbmc/linux/drivers/regulator/ |
H A D | tps65023-regulator.c | 81 #define TPS65023_REGULATOR_DCDC(_num, _t, _em) \ argument 87 .n_voltages = ARRAY_SIZE(_t), \ 91 .volt_table = _t, \ 93 .vsel_mask = ARRAY_SIZE(_t) - 1, \ 100 #define TPS65023_REGULATOR_LDO(_num, _t, _vm) \ argument 106 .n_voltages = ARRAY_SIZE(_t), \ 110 .volt_table = _t, \
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/freeradius/files/ |
H A D | 0010-fix-error-for-expansion-of-macro-in-thread.h.patch | 28 @@ -89,7 +89,7 @@ static _t __fr_thread_local_init_##_n(pthread_destructor_t func)\ 32 -# define fr_thread_local_setup(_t, _n) \ 33 +# define fr_thread_local_setup(_t, _n) static __thread _t _n;\ 43 static _t __fr_thread_local_init_##_n(pthread_destructor_t func)\
|
/openbmc/qemu/include/migration/ |
H A D | cpu.h | 28 #define VMSTATE_UINTTL_TEST(_f, _s, _t) \ argument 29 VMSTATE_UINT64_TEST(_f, _s, _t) 49 #define VMSTATE_UINTTL_TEST(_f, _s, _t) \ argument 50 VMSTATE_UINT32_TEST(_f, _s, _t)
|
H A D | vmstate.h | 985 #define VMSTATE_BOOL_TEST(_f, _s, _t) \ argument 986 VMSTATE_SINGLE_TEST(_f, _s, _t, 0, vmstate_info_bool, bool) 988 #define VMSTATE_INT8_TEST(_f, _s, _t) \ argument 989 VMSTATE_SINGLE_TEST(_f, _s, _t, 0, vmstate_info_int8, int8_t) 991 #define VMSTATE_INT16_TEST(_f, _s, _t) \ argument 992 VMSTATE_SINGLE_TEST(_f, _s, _t, 0, vmstate_info_int16, int16_t) 994 #define VMSTATE_INT32_TEST(_f, _s, _t) \ argument 995 VMSTATE_SINGLE_TEST(_f, _s, _t, 0, vmstate_info_int32, int32_t) 997 #define VMSTATE_INT64_TEST(_f, _s, _t) \ argument 998 VMSTATE_SINGLE_TEST(_f, _s, _t, 0, vmstate_info_int64, int64_t) [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76_connac_mcu.h | 1115 #define MCU_CMD(_t) FIELD_PREP(__MCU_CMD_FIELD_ID, \ argument 1116 MCU_CMD_##_t) 1117 #define MCU_EXT_CMD(_t) (MCU_CMD(EXT_CID) | \ argument 1119 MCU_EXT_CMD_##_t)) 1120 #define MCU_EXT_QUERY(_t) (MCU_EXT_CMD(_t) | __MCU_CMD_FIELD_QUERY) argument 1121 #define MCU_UNI_CMD(_t) (__MCU_CMD_FIELD_UNI | \ argument 1123 MCU_UNI_CMD_##_t)) 1124 #define MCU_CE_CMD(_t) (__MCU_CMD_FIELD_CE | \ argument 1126 MCU_CE_CMD_##_t)) 1127 #define MCU_CE_QUERY(_t) (MCU_CE_CMD(_t) | __MCU_CMD_FIELD_QUERY) argument [all …]
|
/openbmc/linux/arch/parisc/lib/ |
H A D | checksum.c | 21 #define addc(_t,_r) \ argument 25 : "=r"(_t) \ 26 : "r"(_r), "0"(_t));
|
/openbmc/openbmc/poky/bitbake/lib/bb/tests/ |
H A D | compression.py | 20 self._t = tempfile.TemporaryDirectory() 21 self.tmpdir = Path(self._t.name) 22 self.addCleanup(self._t.cleanup)
|
/openbmc/linux/arch/riscv/include/asm/ |
H A D | atomic.h | 56 void arch_atomic##prefix##_##op(c_type i, atomic##prefix##_t *v) \ 91 atomic##prefix##_t *v) \ in ATOMIC_OPS() 102 c_type arch_atomic##prefix##_fetch_##op(c_type i, atomic##prefix##_t *v) \ 116 atomic##prefix##_t *v) \ 121 c_type arch_atomic##prefix##_##op##_return(c_type i, atomic##prefix##_t *v) \
|
/openbmc/linux/arch/mips/include/asm/octeon/ |
H A D | cvmx.h | 213 static inline void cvmx_write64_##TYPE(uint64_t addr, TYPE##_t val) \ 215 *CASTPTR(volatile TYPE##_t, addr) = val; \ 227 static inline TYPE##_t cvmx_read64_##TYPE(uint64_t addr) \ 229 return *CASTPTR(volatile TYPE##_t, addr); \
|
/openbmc/qemu/target/ppc/ |
H A D | internal.h | 35 static inline ret_type name(uint##size##_t start, \ 36 uint##size##_t end) \ 45 ret = (((uint##size##_t)(-1ULL)) >> (start)) ^ \ 46 (((uint##size##_t)(-1ULL) >> (end)) >> 1); \
|
/openbmc/linux/tools/testing/selftests/ |
H A D | kselftest_harness.h | 704 #define __EXPECT(_expected, _expected_str, _seen, _seen_str, _t, _assert) do { \ argument 709 if (!(__exp _t __seen)) { \ 716 _expected_str, __exp_print, #_t, \ 724 _expected_str, __exp_print, #_t, \ 732 _expected_str, __exp_print, #_t, \ 740 _expected_str, __exp_print, #_t, \ 751 #define __EXPECT_STR(_expected, _seen, _t, _assert) do { \ argument 755 if (!(strcmp(__exp, __seen) _t 0)) { \ 756 __TH_LOG("Expected '%s' %s '%s'.", __exp, #_t, __seen); \
|
/openbmc/linux/kernel/locking/ |
H A D | spinlock.c | 68 void __lockfunc __raw_##op##_lock(locktype##_t *lock) \ 80 unsigned long __lockfunc __raw_##op##_lock_irqsave(locktype##_t *lock) \ 98 void __lockfunc __raw_##op##_lock_irq(locktype##_t *lock) \ 103 void __lockfunc __raw_##op##_lock_bh(locktype##_t *lock) \
|
/openbmc/linux/drivers/scsi/fnic/ |
H A D | fnic_trace.h | 73 #define FNIC_TRACE(_fn, _hn, _t, _a, _b, _c, _d, _e) \ argument 85 trace_buf->tag = _t; \
|
/openbmc/u-boot/drivers/clk/mvebu/ |
H A D | armada-37xx-periph.c | 124 #define CLK_FULL(_n, _d, _mux, _r, _s, _m, _t) \ argument 129 .div_table[0] = _t, \ 138 #define CLK_GATE_DIV(_n, _d, _r, _s, _m, _t, _p) \ argument 143 .div_table[0] = _t, \ 159 #define CLK_MUX_DIV(_n, _mux, _r, _s, _m, _t) \ argument 163 .div_table[0] = _t, \
|