| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | item.h | 262 #define __ITEM_NAME(_type, _cname, _iname) \ argument 263 mlxsw_##_type##_##_cname##_##_iname##_item 270 #define MLXSW_ITEM8(_type, _cname, _iname, _offset, _shift, _sizebits) \ argument 271 static struct mlxsw_item __ITEM_NAME(_type, _cname, _iname) = { \ 275 .name = #_type "_" #_cname "_" #_iname, \ 278 mlxsw_##_type##_##_cname##_##_iname##_get(const char *buf) \ 280 return __mlxsw_item_get8(buf, &__ITEM_NAME(_type, _cname, _iname), 0); \ 283 mlxsw_##_type##_##_cname##_##_iname##_set(char *buf, u8 val) \ 285 __mlxsw_item_set8(buf, &__ITEM_NAME(_type, _cname, _iname), 0, val); \ 288 #define MLXSW_ITEM8_INDEXED(_type, _cname, _iname, _offset, _shift, _sizebits, \ argument [all …]
|
| /linux/kernel/trace/ |
| H A D | trace_export.c | 92 #define __field_ext(_type, _item, _filter_type) { \ argument 93 .type = #_type, .name = #_item, \ 94 .size = sizeof(_type), .align = __alignof__(_type), \ 95 is_signed_type(_type), .filter_type = _filter_type }, 99 #define __field_ext_packed(_type, _item, _filter_type) { \ argument 100 .type = #_type, .name = #_item, \ 101 .size = sizeof(_type), .align = 1, \ 102 is_signed_type(_type), .filter_type = _filter_type }, 105 #define __field(_type, _item) __field_ext(_type, _item, FILTER_OTHER) argument 108 #define __field_fn(_type, _item) __field_ext(_type, _item, FILTER_TRACE_FN) argument [all …]
|
| /linux/include/trace/stages/ |
| H A D | stage4_event_fields.h | 8 #define __field_ext(_type, _item, _filter_type) { \ argument 9 .type = #_type, .name = #_item, \ 10 .size = sizeof(_type), .align = ALIGN_STRUCTFIELD(_type), \ 11 .is_signed = is_signed_type(_type), .filter_type = _filter_type }, 14 #define __field_struct_ext(_type, _item, _filter_type) { \ argument 15 .type = #_type, .name = #_item, \ 16 .size = sizeof(_type), .align = ALIGN_STRUCTFIELD(_type), \ 26 #define __array(_type, _item, _len) { \ argument 27 .type = #_type"["__stringify(_len)"]", .name = #_item, \ 28 .size = sizeof(_type[_len]), .align = ALIGN_STRUCTFIELD(_type), \ [all …]
|
| /linux/include/rdma/ |
| H A D | uverbs_std_types.h | 24 #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, \ 51 #define uobj_perform_destroy(_type, _id, _attrs) \ argument 52 __uobj_perform_destroy(uobj_get_type(_attrs, _type), \ 58 uobj_get_destroy(_type,_id,_attrs) global() argument 111 uobj_alloc(_type,_attrs,_ib_dev) global() argument [all...] |
| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_blit.c | 39 #define VMW_FIND_FIRST_DIFF(_type) \ argument 40 static size_t vmw_find_first_diff_ ## _type \ 41 (const _type * dst, const _type * src, size_t size)\ 45 for (i = 0; i < size; i += sizeof(_type)) { \ 60 #define VMW_FIND_LAST_DIFF(_type) \ argument 61 static ssize_t vmw_find_last_diff_ ## _type( \ 62 const _type * dst, const _type * src, size_t size) \ 68 size -= sizeof(_type); \ 96 #define SPILL(_var, _type) ((unsigned long) _var & (sizeof(_type) - 1)) argument 106 #define VMW_TRY_FIND_FIRST_DIFF(_type) \ argument [all …]
|
| /linux/tools/perf/ui/ |
| H A D | hist.c | 503 #define __HPP_COLOR_PERCENT_FN(_type, _field, _fmttype) \ argument 509 static int hpp__color_##_type(struct perf_hpp_fmt *fmt, \ 516 #define __HPP_ENTRY_PERCENT_FN(_type, _field, _fmttype) \ argument 517 static int hpp__entry_##_type(struct perf_hpp_fmt *fmt, \ 524 #define __HPP_SORT_FN(_type, _field) \ argument 525 static int64_t hpp__sort_##_type(struct perf_hpp_fmt *fmt __maybe_unused, \ 531 #define __HPP_COLOR_ACC_PERCENT_FN(_type, _field, _fmttype) \ argument 537 static int hpp__color_##_type(struct perf_hpp_fmt *fmt, \ 544 #define __HPP_ENTRY_ACC_PERCENT_FN(_type, _field, _fmttype) \ argument 545 static int hpp__entry_##_type(struct perf_hpp_fmt *fmt, \ [all …]
|
| /linux/arch/mips/include/asm/ |
| H A D | sync.h | 177 # 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/tools/lib/perf/include/perf/ |
| H A D | event.h | 507 #define CPU_FIELD(_type, _name, _desc, _format, _is_pct, _pct_of, _ver) _type _name 513 #define CPU_FIELD(_type, _name, _desc, _format, _is_pct, _pct_of, _ver) _type _name 519 #define CPU_FIELD(_type, _name, _desc, _format, _is_pct, _pct_of, _ver) _type _name 539 #define DOMAIN_FIELD(_type, _name, _desc, _format, _is_jiffies, _ver) _type _name 545 #define DOMAIN_FIELD(_type, _name, _desc, _format, _is_jiffies, _ver) _type _nam 500 CPU_FIELD(_type,_name,_desc,_format,_is_pct,_pct_of,_ver) global() argument 506 CPU_FIELD(_type,_name,_desc,_format,_is_pct,_pct_of,_ver) global() argument 512 CPU_FIELD(_type,_name,_desc,_format,_is_pct,_pct_of,_ver) global() argument 532 DOMAIN_FIELD(_type,_name,_desc,_format,_is_jiffies,_ver) global() argument 538 DOMAIN_FIELD(_type,_name,_desc,_format,_is_jiffies,_ver) global() argument 544 DOMAIN_FIELD(_type,_name,_desc,_format,_is_jiffies,_ver) global() argument [all...] |
| /linux/arch/arm/include/asm/mach/ |
| H A D | arch.h | 78 #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/ |
| H A D | netif_receive_skb.c | 49 #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/scripts/gdb/linux/ |
| H A D | utils.py | 24 self._type = None 28 self._type = None 32 if self._type is None: 33 self._type = gdb.lookup_type(self._name) 34 if self._type is None: 39 return self._type
|
| /linux/tools/testing/selftests/vfio/lib/include/libvfio/ |
| H A D | vfio_pci_device.h | 52 #define vfio_pci_config_read(_device, _offset, _type) ({ \ argument 53 _type __data; \ 62 #define vfio_pci_config_write(_device, _offset, _value, _type) do { \ argument 63 _type __data = (_value); \ 64 vfio_pci_config_access((_device), true, _offset, sizeof(_type), &__data); \
|
| /linux/drivers/clk/pistachio/ |
| H A D | clk.h | 119 #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/iio/adc/ |
| H A D | max77541-adc.c | 99 #define MAX77541_ADC_CHANNEL_V(_channel, _name, _type, _reg) \ argument 101 .type = _type, \ 110 #define MAX77541_ADC_CHANNEL_TEMP(_channel, _name, _type, _reg) \ argument 112 .type = _type, \
|
| /linux/arch/arc/include/asm/ |
| H A D | mach_desc.h | 54 #define MACHINE_START(_type, _name) \ argument 55 static const struct machine_desc __mach_desc_##_type \
|
| /linux/drivers/net/ethernet/broadcom/ |
| H A D | cnic.h | 343 #define CDU_VALID_DATA(_cid, _region, _type) \ argument 344 (((_cid) << 8) | (((_region)&0xf)<<4) | (((_type)&0xf))) 346 #define CDU_CRC8(_cid, _region, _type) \ argument 347 (calc_crc8(CDU_VALID_DATA(_cid, _region, _type), 0xff)) 349 #define CDU_RSRVD_VALUE_TYPE_A(_cid, _region, _type) \ argument 350 (0x80 | ((CDU_CRC8(_cid, _region, _type)) & 0x7f))
|
| /linux/include/uapi/rdma/ |
| H A D | rvt-abi.h | 14 #define RDMA_ATOMIC_UAPI(_type, _name) struct{ _type val; } _name argument
|
| /linux/fs/ceph/ |
| H A D | xattr.c | 372 #define CEPH_XATTR_NAME(_type, _name) XATTR_CEPH_PREFIX #_type "." #_name argument 373 #define CEPH_XATTR_NAME2(_type, _name, _name2) \ argument 374 XATTR_CEPH_PREFIX #_type "." #_name "." #_name2 376 #define XATTR_NAME_CEPH(_type, _name, _flags) \ argument 378 .name = CEPH_XATTR_NAME(_type, _name), \ 379 .name_size = sizeof (CEPH_XATTR_NAME(_type, _name)), \ 380 .getxattr_cb = ceph_vxattrcb_ ## _type ## _ ## _name, \ 384 #define XATTR_RSTAT_FIELD(_type, _name) \ argument 385 XATTR_NAME_CEPH(_type, _name, VXATTR_FLAG_RSTAT) 386 #define XATTR_RSTAT_FIELD_UPDATABLE(_type, _name) \ argument [all …]
|
| /linux/fs/xfs/ |
| H A D | xfs_drain.h | 81 #define xfs_group_intent_get(_mp, _fsbno, _type) \ argument 82 xfs_group_get_by_fsb((_mp), (_fsbno), (_type))
|
| /linux/arch/arm/mach-imx/ |
| H A D | hardware.h | 102 #define imx_map_entry(soc, name, _type) { \ argument 106 .type = _type, \
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | btf_dump.c | 377 #define TEST_BTF_DUMP_DATA(_b, _d, _prefix, _str, _type, _flags, \ argument 380 char __ptrtype[64] = #_type; \ 382 _type _ptrdata = __VA_ARGS__; \ 386 _ptr, sizeof(_type), _str, \ 391 #define TEST_BTF_DUMP_DATA_C(_b, _d, _prefix, _str, _type, _flags, \ argument 393 TEST_BTF_DUMP_DATA(_b, _d, _prefix, _str, _type, _flags, \ 394 "(" #_type ")" #__VA_ARGS__, __VA_ARGS__) 397 #define TEST_BTF_DUMP_DATA_OVER(_b, _d, _prefix, _str, _type, _type_sz, \ argument 400 char __ptrtype[64] = #_type; \ 402 _type _ptrdat 409 TEST_BTF_DUMP_VAR(_b,_d,_prefix,_str,_var,_type,_flags,_expected,...) global() argument [all...] |
| /linux/drivers/net/ethernet/sfc/siena/ |
| H A D | mcdi.h | 285 #define MCDI_FIELD(_ptr, _type, _field) \ argument 288 _MCDI_PTR(_ptr, MC_CMD_ ## _type ## _ ## _field ## _OFST & ~3),\ 289 MC_CMD_ ## _type ## _ ## _field ## _LBN & 0x1f, \ 290 (MC_CMD_ ## _type ## _ ## _field ## _LBN & 0x1f) + \ 291 MC_CMD_ ## _type ## _ ## _field ## _WIDTH - 1) 325 #define MCDI_ARRAY_FIELD(_buf, _field1, _type, _index, _field2) \ argument 327 _type ## _TYPEDEF, _field2)
|
| /linux/drivers/net/wireless/ath/ath9k/ |
| H A D | ar9003_mci.h | 296 #define MCI_GPM_SET_TYPE_OPCODE(_p_gpm, _type, _opcode) do { \ argument 297 *(((u8 *)(_p_gpm)) + MCI_GPM_COEX_B_GPM_TYPE) = (_type) & 0xff; \ 301 #define MCI_GPM_IS_CAL_TYPE(_type) ((_type) <= MCI_GPM_WLAN_CAL_DONE) argument
|
| /linux/include/linux/usb/ |
| H A D | renesas_usbhs.h | 104 #define RENESAS_USBHS_PIPE(_type, _size, _num, _double_buf) { \ argument 105 .type = (_type), \
|
| /linux/include/linux/ |
| H A D | generic-radix-tree.h | 128 #define GENRADIX(_type) \ argument 131 _type type[0] __aligned(1); \ 134 #define DEFINE_GENRADIX(_name, _type) \ argument 135 GENRADIX(_type) _name = __GENRADIX_INITIALIZER
|