Home
last modified time | relevance | path

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

123456

/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Ditem.h262 #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 Dtrace_export.c92 #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 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), \
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/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_blit.c39 #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/include/rdma/
H 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, \
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/include/linux/
H A Dcleanup.h210 #define DEFINE_FREE(_name, _type, _free) \ argument
211 static __always_inline void __free_##_name(void *p) { _type _T = *(_type *)p; _free; }
275 #define DEFINE_CLASS(_name, _type, _exit, _init, _init_args...) \ argument
276 typedef _type class_##_name##_t; \
277 typedef _type lock_##_name##_t; \
278 static __always_inline void class_##_name##_destructor(_type *p) \
280 { _type _T = *p; _exit; } \
281 static __always_inline _type class_##_name##_constructor(_init_args) \
283 { _type t = _init; return t; }
392 #define DEFINE_GUARD(_name, _type, _lock, _unlock) \ argument
[all …]
/linux/tools/perf/ui/
H A Dhist.c624 #define __HPP_COLOR_PERCENT_FN(_type, _field, _fmttype) \
630 static int hpp__color_##_type(struct perf_hpp_fmt *fmt, \
637 #define __HPP_ENTRY_PERCENT_FN(_type, _field, _fmttype) \
638 static int hpp__entry_##_type(struct perf_hpp_fmt *fmt, \
645 #define __HPP_SORT_FN(_type, _field) \ in HPP_PERCENT_FNS()
646 static int64_t hpp__sort_##_type(struct perf_hpp_fmt *fmt __maybe_unused, \ in HPP_PERCENT_FNS()
652 #define __HPP_COLOR_ACC_PERCENT_FN(_type, _field, _fmttype) \ in HPP_PERCENT_FNS()
658 static int hpp__color_##_type(struct perf_hpp_fmt *fmt, \ in HPP_PERCENT_FNS()
665 #define __HPP_ENTRY_ACC_PERCENT_FN(_type, _field, _fmttype) \ in HPP_PERCENT_FNS()
666 static int hpp__entry_##_type(struc in HPP_PERCENT_FNS()
503 __HPP_COLOR_PERCENT_FN(_type,_field,_fmttype) global() argument
516 __HPP_ENTRY_PERCENT_FN(_type,_field,_fmttype) global() argument
524 __HPP_SORT_FN(_type,_field) global() argument
531 __HPP_COLOR_ACC_PERCENT_FN(_type,_field,_fmttype) global() argument
544 __HPP_ENTRY_ACC_PERCENT_FN(_type,_field,_fmttype) global() argument
552 __HPP_SORT_ACC_FN(_type,_field) global() argument
559 __HPP_ENTRY_RAW_FN(_type,_field) global() argument
572 __HPP_SORT_RAW_FN(_type,_field) global() argument
579 __HPP_ENTRY_AVERAGE_FN(_type,_field) global() argument
592 __HPP_SORT_AVERAGE_FN(_type,_field) global() argument
599 __HPP_COLOR_MEM_STAT_FN(_name,_type) global() argument
608 __HPP_ENTRY_MEM_STAT_FN(_name,_type) global() argument
617 HPP_PERCENT_FNS(_type,_field,_fmttype) global() argument
622 HPP_PERCENT_ACC_FNS(_type,_field,_fmttype) global() argument
627 HPP_RAW_FNS(_type,_field) global() argument
631 HPP_AVERAGE_FNS(_type,_field) global() argument
635 HPP_MEM_STAT_FNS(_name,_type) global() argument
735 HPP__MEM_STAT_PRINT_FNS(_name,_fn,_type) global() argument
[all...]
/linux/arch/mips/include/asm/
H 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/tools/lib/perf/include/perf/
H A Devent.h507 #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/tools/testing/selftests/bpf/progs/
H 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/scripts/gdb/linux/
H A Dutils.py24 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 Dvfio_pci_device.h63 #define vfio_pci_config_read(_device, _offset, _type) ({ \
64 _type __data; \
73 #define vfio_pci_config_write(_device, _offset, _value, _type) do { \ in vfio_pci_cmd_set()
74 _type __data = (_value); \ in vfio_pci_cmd_set()
75 vfio_pci_config_access((_device), true, _offset, sizeof(_type), &__data); \ in vfio_pci_cmd_set()
52 vfio_pci_config_read(_device,_offset,_type) global() argument
62 vfio_pci_config_write(_device,_offset,_value,_type) global() argument
/linux/arch/arm/include/asm/mach/
H A Darch.h78 #define MACHINE_START(_type,_name) \ argument
79 static const struct machine_desc __mach_desc_##_type \
82 .nr = MACH_TYPE_##_type, \
/linux/drivers/clk/pistachio/
H 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/iio/adc/
H A Dmax77541-adc.c99 #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/drivers/net/ethernet/broadcom/
H A Dcnic.h343 #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/fs/ceph/
H A Dxattr.c373 #define CEPH_XATTR_NAME(_type, _name) XATTR_CEPH_PREFIX #_type "." #_name argument
374 #define CEPH_XATTR_NAME2(_type, _name, _name2) \
375 XATTR_CEPH_PREFIX #_type "." #_name "." #_name2
377 #define XATTR_NAME_CEPH(_type, _name, _flags) \
379 .name = CEPH_XATTR_NAME(_type, _name), \
380 .name_size = sizeof (CEPH_XATTR_NAME(_type, _name)), \
381 .getxattr_cb = ceph_vxattrcb_ ## _type ## _ ## _name, \
385 #define XATTR_RSTAT_FIELD(_type, _name) \
386 XATTR_NAME_CEPH(_type, _nam argument
372 CEPH_XATTR_NAME(_type,_name) global() argument
376 XATTR_NAME_CEPH(_type,_name,_flags) global() argument
384 XATTR_RSTAT_FIELD(_type,_name) global() argument
394 XATTR_LAYOUT_FIELD(_type,_name,_field) global() argument
402 XATTR_QUOTA_FIELD(_type,_name) global() argument
[all...]
/linux/arch/arc/include/asm/
H A Dmach_desc.h54 #define MACHINE_START(_type, _name) \ argument
55 static const struct machine_desc __mach_desc_##_type \
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbtf_dump.c696 #define TEST_BTF_DUMP_DATA(_b, _d, _prefix, _str, _type, _flags, \ in test_btf_dump_struct_data()
699 char __ptrtype[64] = #_type; \ in test_btf_dump_struct_data()
701 _type _ptrdata = __VA_ARGS__; \ in test_btf_dump_struct_data()
705 _ptr, sizeof(_type), _str, \ in test_btf_dump_struct_data()
710 #define TEST_BTF_DUMP_DATA_C(_b, _d, _prefix, _str, _type, _flags, \ in test_btf_dump_struct_data()
712 TEST_BTF_DUMP_DATA(_b, _d, _prefix, _str, _type, _flags, \ in test_btf_dump_struct_data()
713 "(" #_type ")" #__VA_ARGS__, __VA_ARGS__) in test_btf_dump_struct_data()
716 #define TEST_BTF_DUMP_DATA_OVER(_b, _d, _prefix, _str, _type, _type_sz, \ in test_btf_dump_struct_data()
719 char __ptrtype[64] = #_type; \ in test_btf_dump_struct_data()
721 _type _ptrdat in test_btf_dump_struct_data()
377 TEST_BTF_DUMP_DATA(_b,_d,_prefix,_str,_type,_flags,_expected,...) global() argument
391 TEST_BTF_DUMP_DATA_C(_b,_d,_prefix,_str,_type,_flags,...) global() argument
397 TEST_BTF_DUMP_DATA_OVER(_b,_d,_prefix,_str,_type,_type_sz,_expected,...) global() argument
409 TEST_BTF_DUMP_VAR(_b,_d,_prefix,_str,_var,_type,_flags,_expected,...) global() argument
[all...]
/linux/include/uapi/rdma/
H A Drvt-abi.h14 #define RDMA_ATOMIC_UAPI(_type, _name) struct{ _type val; } _name argument
/linux/fs/xfs/
H A Dxfs_drain.h81 #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 Dhardware.h102 #define imx_map_entry(soc, name, _type) { \ argument
106 .type = _type, \
/linux/drivers/net/ethernet/sfc/siena/
H A Dmcdi.h285 #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 Dar9003_mci.h296 #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 Drenesas_usbhs.h104 #define RENESAS_USBHS_PIPE(_type, _size, _num, _double_buf) { \ argument
105 .type = (_type), \

123456