/linux-6.12.1/include/linux/ |
D | cleanup.h | 244 typedef _type class_##_name##_t; \ 251 typedef class_##_name##_t class_##_name##ext##_t; \ 252 static inline void class_##_name##ext##_destructor(class_##_name##_t *p)\ 254 static inline class_##_name##_t class_##_name##ext##_constructor(_init_args) \ 255 { class_##_name##_t t = _init; return t; } 258 class_##_name##_t var __cleanup(class_##_name##_destructor) = \ 292 static inline void * class_##_name##_lock_ptr(class_##_name##_t *_T) \ 297 ({ void *_t = _T; if (_T && !(_condlock)) _t = NULL; _t; }), \ 298 class_##_name##_t _T) \ 299 static inline void * class_##_name##_ext##_lock_ptr(class_##_name##_t *_T) \ [all …]
|
D | closure.h | 460 long _t; \ 467 _t = max_t(long, 1L, _until - jiffies); \ 470 _t = max_t(long, 0L, _until - jiffies); \ 471 if (!_t) \ 473 closure_sync_timeout(&cl, _t); \ 477 _t; \
|
D | seqlock.h | 125 seqcount_##lockname##_t *____s = (s); \ 146 __seqprop_##lockname##_ptr(seqcount_##lockname##_t *s) \ 152 __seqprop_##lockname##_const_ptr(const seqcount_##lockname##_t *s) \ 158 __seqprop_##lockname##_sequence(const seqcount_##lockname##_t *s) \ 180 __seqprop_##lockname##_preemptible(const seqcount_##lockname##_t *s) \ 190 __seqprop_##lockname##_assert(const seqcount_##lockname##_t *s) \ 250 seqcount_##lockname##_t: __seqprop_##lockname##_##prop
|
/linux-6.12.1/include/math-emu/ |
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 …]
|
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; \
|
/linux-6.12.1/arch/mips/include/asm/ |
D | mips-cps.h | 25 static inline uint##sz##_t read_##unit##_##name(void) \ 48 static inline void write_##unit##_##name(uint##sz##_t val) \ 73 static inline void change_##unit##_##name(uint##sz##_t mask, \ 74 uint##sz##_t val) \ 76 uint##sz##_t reg_val = read_##unit##_##name(); \ 82 static inline void set_##unit##_##name(uint##sz##_t val) \ 87 static inline void clear_##unit##_##name(uint##sz##_t val) \
|
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) \
|
/linux-6.12.1/fs/bcachefs/ |
D | bset.h | 208 #define for_each_bset(_b, _t) \ argument 209 for (struct bset_tree *_t = (_b)->set; _t < (_b)->set + (_b)->nsets; _t++) 211 #define for_each_bset_c(_b, _t) \ argument 212 for (const struct bset_tree *_t = (_b)->set; _t < (_b)->set + (_b)->nsets; _t++) 214 #define bset_tree_for_each_key(_b, _t, _k) \ argument 215 for (_k = btree_bkey_first(_b, _t); \ 216 _k != btree_bkey_last(_b, _t); \
|
D | btree_types.h | 702 #define btree_bkey_first(_b, _t) \ argument 704 EBUG_ON(bset(_b, _t)->start != \ 705 __btree_node_offset_to_key(_b, btree_bkey_first_offset(_t)));\ 707 bset(_b, _t)->start; \ 710 #define btree_bkey_last(_b, _t) \ argument 712 EBUG_ON(__btree_node_offset_to_key(_b, (_t)->end_offset) != \ 713 vstruct_last(bset(_b, _t))); \ 715 __btree_node_offset_to_key(_b, (_t)->end_offset); \
|
D | fifo.h | 47 typeof(*((dest)->data)) _t; \ 49 fifo_pop(src, _t)) \ 50 fifo_push(dest, _t); \
|
/linux-6.12.1/drivers/regulator/ |
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, \
|
/linux-6.12.1/arch/parisc/lib/ |
D | checksum.c | 21 #define addc(_t,_r) \ argument 25 : "=r"(_t) \ 26 : "r"(_r), "0"(_t));
|
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/ |
D | mt76_connac_mcu.h | 1174 #define MCU_CMD(_t) FIELD_PREP(__MCU_CMD_FIELD_ID, \ argument 1175 MCU_CMD_##_t) 1176 #define MCU_EXT_CMD(_t) (MCU_CMD(EXT_CID) | \ argument 1178 MCU_EXT_CMD_##_t)) 1179 #define MCU_EXT_QUERY(_t) (MCU_EXT_CMD(_t) | __MCU_CMD_FIELD_QUERY) argument 1180 #define MCU_UNI_CMD(_t) (__MCU_CMD_FIELD_UNI | \ argument 1182 MCU_UNI_CMD_##_t)) 1183 #define MCU_CE_CMD(_t) (__MCU_CMD_FIELD_CE | \ argument 1185 MCU_CE_CMD_##_t)) 1186 #define MCU_CE_QUERY(_t) (MCU_CE_CMD(_t) | __MCU_CMD_FIELD_QUERY) argument [all …]
|
/linux-6.12.1/arch/riscv/include/asm/ |
D | atomic.h | 55 void arch_atomic##prefix##_##op(c_type i, atomic##prefix##_t *v) \ 90 atomic##prefix##_t *v) \ in ATOMIC_OPS() 101 c_type arch_atomic##prefix##_fetch_##op(c_type i, atomic##prefix##_t *v) \ 115 atomic##prefix##_t *v) \ 120 c_type arch_atomic##prefix##_##op##_return(c_type i, atomic##prefix##_t *v) \
|
/linux-6.12.1/arch/mips/include/asm/octeon/ |
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); \
|
/linux-6.12.1/kernel/locking/ |
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) \
|
/linux-6.12.1/tools/testing/selftests/ |
D | kselftest_harness.h | 755 #define __EXPECT(_expected, _expected_str, _seen, _seen_str, _t, _assert) do { \ argument 759 if (!(__exp _t __seen)) { \ 766 _expected_str, __exp_print, #_t, \ 774 _expected_str, __exp_print, #_t, \ 782 _expected_str, __exp_print, #_t, \ 790 _expected_str, __exp_print, #_t, \ 801 #define __EXPECT_STR(_expected, _seen, _t, _assert) do { \ argument 804 if (!(strcmp(__exp, __seen) _t 0)) { \ 805 __TH_LOG("Expected '%s' %s '%s'.", __exp, #_t, __seen); \
|
/linux-6.12.1/drivers/scsi/fnic/ |
D | fnic_trace.h | 73 #define FNIC_TRACE(_fn, _hn, _t, _a, _b, _c, _d, _e) \ argument 85 trace_buf->tag = _t; \
|
/linux-6.12.1/rust/kernel/init/ |
D | __internal.rs | 238 _t: PhantomData<T>, field 244 Self { _t: PhantomData } in new()
|
/linux-6.12.1/scripts/atomic/fallbacks/ |
D | set_release | 2 if (__native_word(${atomic}_t)) {
|
D | read_acquire | 4 if (__native_word(${atomic}_t)) {
|
/linux-6.12.1/scripts/atomic/kerneldoc/ |
D | dec | 4 * @v: pointer to ${atomic}_t
|
D | inc | 4 * @v: pointer to ${atomic}_t
|
D | or | 5 * @v: pointer to ${atomic}_t
|
D | and | 5 * @v: pointer to ${atomic}_t
|