Home
last modified time | relevance | path

Searched refs:_type (Results 1 – 25 of 191) sorted by relevance

12345678

/linux/drivers/net/ethernet/mellanox/mlxsw/
A Ditem.h263 mlxsw_##_type##_##_cname##_##_iname##_item
275 .name = #_type "_" #_cname "_" #_iname, \
297 .name = #_type "_" #_cname "_" #_iname, \
318 .name = #_type "_" #_cname "_" #_iname, \
340 .name = #_type "_" #_cname "_" #_iname, \
361 .name = #_type "_" #_cname "_" #_iname, \
388 .name = #_type "_" #_cname "_lp_msb", \
419 .name = #_type "_" #_cname "_" #_iname, \
440 .name = #_type "_" #_cname "_" #_iname, \
546 &__ITEM_NAME(_type, _cname, _iname), \
[all …]
/linux/kernel/trace/
A Dtrace_export.c90 .type = #_type, .name = #_item, \
91 .size = sizeof(_type), .align = __alignof__(_type), \
97 .type = #_type, .name = #_item, \
98 .size = sizeof(_type), .align = 1, \
102 #define __field(_type, _item) __field_ext(_type, _item, FILTER_OTHER) argument
105 #define __field_fn(_type, _item) __field_ext(_type, _item, FILTER_TRACE_FN) argument
108 #define __field_desc(_type, _container, _item) __field_ext(_type, _item, FILTER_OTHER) argument
111 #define __field_packed(_type, _container, _item) __field_ext_packed(_type, _item, FILTER_OTHER) argument
116 .size = sizeof(_type[_len]), .align = __alignof__(_type), \
121 #define __stack_array(_type, _item, _len, _field) __array(_type, _item, _len) argument
[all …]
/linux/include/trace/stages/
A Dstage4_event_fields.h8 #define __field_ext(_type, _item, _filter_type) { \ argument
9 .type = #_type, .name = #_item, \
10 .size = sizeof(_type), .align = ALIGN_STRUCTFIELD(_type), \
15 .type = #_type, .name = #_item, \
16 .size = sizeof(_type), .align = ALIGN_STRUCTFIELD(_type), \
26 #define __array(_type, _item, _len) { \ argument
28 .size = sizeof(_type[_len]), .align = ALIGN_STRUCTFIELD(_type), \
33 #define __dynamic_array(_type, _item, _len) { \ argument
34 .type = "__data_loc " #_type "[]", .name = #_item, \
60 #define __rel_dynamic_array(_type, _item, _len) { \ argument
[all …]
/linux/include/linux/
A Dcleanup.h197 #define DEFINE_FREE(_name, _type, _free) \ argument
198 static inline void __free_##_name(void *p) { _type _T = *(_type *)p; _free; }
244 typedef _type class_##_name##_t; \
245 static inline void class_##_name##_destructor(_type *p) \
246 { _type _T = *p; _exit; } \
248 { _type t = _init; return t; }
290 #define DEFINE_GUARD(_name, _type, _lock, _unlock) \ argument
291 DEFINE_CLASS(_name, _type, if (_T) { _unlock; }, ({ _lock; _T; }), _type _T); \
339 _type *lock; \
354 #define __DEFINE_LOCK_GUARD_1(_name, _type, _lock) \ argument
[all …]
/linux/include/rdma/
A Duverbs_std_types.h24 #define uobj_get_read(_type, _id, _attrs) \ argument
25 rdma_lookup_get_uobject(uobj_get_type(_attrs, _type), (_attrs)->ufile, \
29 #define ufd_get_read(_type, _fdnum, _attrs) \ argument
30 rdma_lookup_get_uobject(uobj_get_type(_attrs, _type), (_attrs)->ufile, \
40 #define uobj_get_obj_read(_object, _type, _id, _attrs) \ argument
42 uobj_get_read(_type, _id, _attrs)))
44 #define uobj_get_write(_type, _id, _attrs) \ argument
45 rdma_lookup_get_uobject(uobj_get_type(_attrs, _type), (_attrs)->ufile, \
52 __uobj_perform_destroy(uobj_get_type(_attrs, _type), \
59 __uobj_get_destroy(uobj_get_type(_attrs, _type), _uobj_check_id(_id), \
[all …]
/linux/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_blit.c38 #define VMW_FIND_FIRST_DIFF(_type) \ argument
40 (const _type * dst, const _type * src, size_t size)\
59 #define VMW_FIND_LAST_DIFF(_type) \ argument
61 const _type * dst, const _type * src, size_t size) \
67 size -= sizeof(_type); \
95 #define SPILL(_var, _type) ((unsigned long) _var & (sizeof(_type) - 1)) argument
111 sizeof(_type) - spill <= size) { \
112 spill = sizeof(_type) - spill; \
123 if (!spill && !SPILL(src, _type)) { \
127 ((_type *) dst, (_type *) src, to_copy); \
[all …]
/linux/include/drm/
A Ddrm_kunit_helpers.h48 #define drm_kunit_helper_alloc_drm_device_with_driver(_test, _dev, _type, _member, _drv) \ argument
49 ((_type *)__drm_kunit_helper_alloc_drm_device_with_driver(_test, _dev, \
50 sizeof(_type), \
51 offsetof(_type, _member), \
93 #define drm_kunit_helper_alloc_drm_device(_test, _dev, _type, _member, _feat) \ argument
94 ((_type *)__drm_kunit_helper_alloc_drm_device(_test, _dev, \
95 sizeof(_type), \
96 offsetof(_type, _member), \
/linux/tools/perf/ui/
A Dhist.c380 #define __HPP_SORT_FN(_type, _field) \ argument
456 #define HPP_PERCENT_FNS(_type, _field) \ argument
457 __HPP_COLOR_PERCENT_FN(_type, _field) \
458 __HPP_ENTRY_PERCENT_FN(_type, _field) \
459 __HPP_SORT_FN(_type, _field)
464 __HPP_SORT_ACC_FN(_type, _field)
466 #define HPP_RAW_FNS(_type, _field) \ argument
467 __HPP_ENTRY_RAW_FN(_type, _field) \
468 __HPP_SORT_RAW_FN(_type, _field)
471 __HPP_ENTRY_AVERAGE_FN(_type, _field) \
[all …]
/linux/fs/bcachefs/
A Dbtree_update.h242 #define bch2_bkey_make_mut_noupdate_typed(_trans, _k, _type) \ argument
243 bkey_i_to_##_type(__bch2_bkey_make_mut_noupdate(_trans, _k, \
244 KEY_TYPE_##_type, sizeof(struct bkey_i_##_type)))
270 #define bch2_bkey_make_mut_typed(_trans, _iter, _k, _flags, _type) \ argument
271 bkey_i_to_##_type(__bch2_bkey_make_mut(_trans, _iter, _k, _flags,\
272 KEY_TYPE_##_type, sizeof(struct bkey_i_##_type)))
335 bkey_i_to_##_type(__bch2_bkey_get_mut(_trans, _iter, \
337 KEY_TYPE_##_type, sizeof(struct bkey_i_##_type)))
359 #define bch2_bkey_alloc(_trans, _iter, _flags, _type) \ argument
360 bkey_i_to_##_type(__bch2_bkey_alloc(_trans, _iter, _flags, \
[all …]
A Dvstructs.h19 #define __vstruct_bytes(_type, _u64s) \ argument
21 BUILD_BUG_ON(offsetof(_type, _data) % sizeof(u64)); \
23 (size_t) (offsetof(_type, _data) + (_u64s) * sizeof(u64)); \
29 #define __vstruct_blocks(_type, _sector_block_bits, _u64s) \ argument
30 (round_up(__vstruct_bytes(_type, _u64s), \
A Ddarray.h13 #define DARRAY_PREALLOCATED(_type, _nr) \ argument
16 _type *data; \
17 _type preallocated[_nr]; \
20 #define DARRAY(_type) DARRAY_PREALLOCATED(_type, 0) argument
/linux/arch/mips/include/asm/
A Dsync.h177 # define ____SYNC(_type, _reason, _else) \ argument
178 .if (( _type ) != -1) && ( _reason ); \
181 .rept __SYNC_rpt(_type); \
182 sync _type; \
189 # define ____SYNC(_type, _reason, _else) argument
/linux/drivers/pinctrl/sophgo/
A Dpinctrl-cv18xx.h98 #define CV1800_FUNC_PIN(_id, _power_domain, _type, \ argument
103 .flags = CV1800_PIN_FLAG_IO_TYPE(_type), \
111 #define CV1800_GENERAL_PIN(_id, _power_domain, _type, \ argument
117 .flags = CV1800_PIN_FLAG_IO_TYPE(_type), \
129 #define CV1800_GENERATE_PIN_MUX2(_id, _power_domain, _type, \ argument
137 .flags = CV1800_PIN_FLAG_IO_TYPE(_type) | \
/linux/arch/x86/include/asm/
A Dpercpu.h632 DEFINE_PER_CPU(_type, _name) = _initvalue; \
646 #define DECLARE_EARLY_PER_CPU(_type, _name) \ argument
647 DECLARE_PER_CPU(_type, _name); \
648 extern __typeof__(_type) *_name##_early_ptr; \
649 extern __typeof__(_type) _name##_early_map[]
652 DECLARE_PER_CPU_READ_MOSTLY(_type, _name); \
654 extern __typeof__(_type) _name##_early_map[]
666 DEFINE_PER_CPU(_type, _name) = _initvalue
674 #define DECLARE_EARLY_PER_CPU(_type, _name) \ argument
675 DECLARE_PER_CPU(_type, _name)
[all …]
/linux/drivers/regulator/
A Dmax77826-regulator.c113 #define MAX77826_VOLT_RANGE(_type) \ argument
114 ((MAX77826_ ## _type ## _VOLT_MAX - \
115 MAX77826_ ## _type ## _VOLT_MIN) / \
116 MAX77826_ ## _type ## _VOLT_STEP + 1)
118 #define MAX77826_LDO(_id, _type) \ argument
125 .min_uV = MAX77826_ ## _type ## _LDO_VOLT_MIN, \
126 .uV_step = MAX77826_ ## _type ## _LDO_VOLT_STEP, \
127 .n_voltages = MAX77826_VOLT_RANGE(_type ## _LDO), \
/linux/drivers/iio/adc/
A Dda9150-gpadc.c250 #define DA9150_GPADC_CHANNEL(_id, _hw_id, _type, chan_info, \ argument
252 .type = _type, \
261 #define DA9150_GPADC_CHANNEL_RAW(_id, _hw_id, _type, _ext_name) \ argument
262 DA9150_GPADC_CHANNEL(_id, _hw_id, _type, \
265 #define DA9150_GPADC_CHANNEL_SCALED(_id, _hw_id, _type, _ext_name) \ argument
266 DA9150_GPADC_CHANNEL(_id, _hw_id, _type, \
272 #define DA9150_GPADC_CHANNEL_PROCESSED(_id, _hw_id, _type, _ext_name) \ argument
273 DA9150_GPADC_CHANNEL(_id, _hw_id, _type, \
A Dmax77541-adc.c100 #define MAX77541_ADC_CHANNEL_V(_channel, _name, _type, _reg) \ argument
102 .type = _type, \
111 #define MAX77541_ADC_CHANNEL_TEMP(_channel, _name, _type, _reg) \ argument
113 .type = _type, \
/linux/drivers/crypto/intel/qat/qat_common/
A Dadf_tl_debugfs.h80 #define ADF_TL_COUNTER(_name, _type, _offset) \ argument
82 .type = _type, \
86 #define ADF_TL_COUNTER_LATENCY(_name, _type, _offset1, _offset2) \ argument
88 .type = _type, \
/linux/scripts/gdb/linux/
A Dutils.py19 self._type = None
23 self._type = None
27 if self._type is None:
28 self._type = gdb.lookup_type(self._name)
29 if self._type is None:
34 return self._type
/linux/drivers/hwmon/
A Dbt1-pvt.h160 #define PVT_SENSOR_INFO(_ch, _label, _type, _mode, _thres) \ argument
168 .type = _type, \
169 .attr_min_alarm = _type## _min, \
170 .attr_max_alarm = _type## _max, \
/linux/arch/arm/include/asm/mach/
A Darch.h78 #define MACHINE_START(_type,_name) \ argument
79 static const struct machine_desc __mach_desc_##_type \
82 .nr = MACH_TYPE_##_type, \
/linux/tools/testing/selftests/bpf/progs/
A Dnetif_receive_skb.c49 #define TEST_BTF(_str, _type, _flags, _expected, ...) \ argument
54 static _type _ptrdata = __VA_ARGS__; \
63 _ptr.type_id = bpf_core_type_id_kernel(_type); \
84 #define TEST_BTF_C(_str, _type, _flags, ...) \ argument
85 TEST_BTF(_str, _type, _flags, "(" #_type ")" #__VA_ARGS__, \
/linux/drivers/clk/pistachio/
A Dclk.h119 #define PLL(_id, _name, _pname, _type, _reg, _rates) \ argument
123 .type = _type, \
130 #define PLL_FIXED(_id, _name, _pname, _type, _reg) \ argument
134 .type = _type, \
/linux/drivers/clk/renesas/
A Drenesas-cpg-mssr.h44 #define DEF_TYPE(_name, _id, _type...) \ argument
45 { .name = _name, .id = _id, .type = _type }
46 #define DEF_BASE(_name, _id, _type, _parent...) \ argument
47 DEF_TYPE(_name, _id, _type, .parent = _parent)
A Drzv2h-cpg.h75 #define DEF_TYPE(_name, _id, _type...) \ argument
76 { .name = _name, .id = _id, .type = _type }
77 #define DEF_BASE(_name, _id, _type, _parent...) \ argument
78 DEF_TYPE(_name, _id, _type, .parent = _parent)

Completed in 30 milliseconds

12345678