| /linux/arch/arm64/kernel/pi/ |
| H A D | idreg-override.c | 39 #define FIELD(n, s, f) { .name = n, .shift = s, .width = 4, .filter = f } macro 45 FIELD("ecv", ID_AA64MMFR0_EL1_ECV_SHIFT, NULL), 66 FIELD("vh", ID_AA64MMFR1_EL1_VH_SHIFT, mmfr1_vh_filter), 67 FIELD("hafdbs", ID_AA64MMFR1_EL1_HAFDBS_SHIFT, NULL), 105 FIELD("varange", ID_AA64MMFR2_EL1_VARange_SHIFT, mmfr2_varange_filter), 114 FIELD("nv_frac", ID_AA64MMFR4_EL1_NV_frac_SHIFT, NULL), 138 FIELD("sve", ID_AA64PFR0_EL1_SVE_SHIFT, pfr0_sve_filter), 139 FIELD("el0", ID_AA64PFR0_EL1_EL0_SHIFT, NULL), 140 FIELD("mpam", ID_AA64PFR0_EL1_MPAM_SHIFT, NULL), 164 FIELD("bt", ID_AA64PFR1_EL1_BT_SHIFT, NULL ), [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_pkt_md_access.c | 11 #define TEST_FIELD(TYPE, FIELD, MASK) \ argument 13 TYPE tmp = *(volatile TYPE *)&skb->FIELD; \ 14 if (tmp != ((*(volatile __u32 *)&skb->FIELD) & MASK)) \ 19 #define TEST_FIELD(TYPE, FIELD, MASK) \ argument 21 TYPE tmp = *((volatile TYPE *)&skb->FIELD + \ 22 TEST_FIELD_OFFSET(skb->FIELD, TYPE)); \ 23 if (tmp != ((*(volatile __u32 *)&skb->FIELD) & MASK)) \
|
| /linux/arch/sparc/net/ |
| H A D | bpf_jit_comp_32.c | 181 #define emit_loadptr(BASE, STRUCT, FIELD, DEST) \ argument 182 do { unsigned int _off = offsetof(STRUCT, FIELD); \ 183 BUILD_BUG_ON(sizeof_field(STRUCT, FIELD) != sizeof(void *)); \ 187 #define emit_load32(BASE, STRUCT, FIELD, DEST) \ argument 188 do { unsigned int _off = offsetof(STRUCT, FIELD); \ 189 BUILD_BUG_ON(sizeof_field(STRUCT, FIELD) != sizeof(u32)); \ 193 #define emit_load16(BASE, STRUCT, FIELD, DEST) \ argument 194 do { unsigned int _off = offsetof(STRUCT, FIELD); \ 195 BUILD_BUG_ON(sizeof_field(STRUCT, FIELD) != sizeof(u16)); \ 199 #define __emit_load8(BASE, STRUCT, FIELD, DEST) \ argument [all …]
|
| /linux/tools/testing/selftests/ftrace/test.d/trigger/inter-event/ |
| H A D | trigger-synthetic-eprobe.tc | 13 FIELD="filename" 18 echo "hist:keys=common_pid:__arg__1=$FIELD" > events/$SYSTEM/$START/trigger 45 echo '!'"hist:keys=common_pid:__arg__1=$FIELD" > events/$SYSTEM/$START/trigger
|
| /linux/tools/include/nolibc/ |
| H A D | stddef.h | 21 #define offsetof(TYPE, FIELD) __builtin_offsetof(TYPE, FIELD) argument
|
| H A D | types.h | 160 #define container_of(PTR, TYPE, FIELD) ({ \ 161 __typeof__(((TYPE *)0)->FIELD) *__FIELD_PTR = (PTR); \ 162 (TYPE *)((char *) __FIELD_PTR - offsetof(TYPE, FIELD)); \ 145 container_of(PTR,TYPE,FIELD) global() argument
|
| /linux/include/linux/mfd/ |
| H A D | idtRC38xxx_reg.h | 196 #define IDTFC3_FW_FIELD(FW, VER, FIELD) (((FW) < (VER)) ? (FIELD) : (FIELD##_##VER)) argument
|
| /linux/Documentation/trace/ |
| H A D | eprobetrace.rst | 37 $FIELD : Fetch the value of the event field called FIELD. 49 (STRUCT)FIELD->MEMBER[->MEMBER] : If BTF is supported, typecast FIELD to 51 ->MEMBER. Note that when this is used, the FIELD name does not 53 If ASGN is specified, FIELD will be cast to the same offset 57 also be used with another FETCHARG instead of FIELD. 65 $FIELD command that returns the content of the event field of the event
|
| H A D | fprobetrace.rst | 63 (STRUCT[,ASGN])FIELD->MEMBER[->MEMBER] : If BTF is supported, typecast FIELD to 66 FIELD will be cast to the same offset position as the ASGN member, 69 also be used with another FETCHARG instead of FIELD.
|
| H A D | kprobetrace.rst | 67 (STRUCT[,ASGN])FIELD->MEMBER[->MEMBER] : If BTF is supported, typecast FIELD to 71 is specified, FIELD will be cast to the same offset position 74 also be used with another FETCHARG instead of FIELD.
|
| H A D | boottime-trace.rst | 120 ftrace.[instance.INSTANCE.]event.synthetic.EVENT.fields = FIELD[, FIELD2[...]]
|
| /linux/drivers/scsi/aic7xxx/aicasm/ |
| H A D | aicasm_symbol.c | 103 case FIELD: in symbol_delete() 243 case FIELD: in symlist_add() 503 case FIELD: in symtable_dump() 630 case FIELD: in symtable_dump()
|
| H A D | aicasm_symbol.h | 54 FIELD, enumerator
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu.h | 1054 #define REG_SET(FIELD, v) (((v) << FIELD##_SHIFT) & FIELD##_MASK) argument 1055 #define REG_GET(FIELD, v) (((v) << FIELD##_SHIFT) & FIELD##_MASK) argument
|
| /linux/tools/testing/selftests/ftrace/test.d/dynevent/ |
| H A D | add_remove_eprobe.tc | 12 FIELD="filename"
|
| /linux/tools/lib/bpf/ |
| H A D | libbpf_internal.h | 110 # define offsetofend(TYPE, FIELD) \ argument 111 (offsetof(TYPE, FIELD) + sizeof(((TYPE *)0)->FIELD))
|
| /linux/include/linux/ |
| H A D | netdevice.h | 187 #define NET_DEV_STAT(FIELD) \ argument 189 unsigned long FIELD; \ 190 atomic_long_t __##FIELD; \ 4463 #define DEV_CORE_STATS_INC(FIELD) \ 4464 static inline void dev_core_stats_##FIELD##_inc(struct net_device *dev) \ 4467 offsetof(struct net_device_core_stats, FIELD)); \ in DEV_CORE_STATS_INC() 5777 #define DEV_STATS_INC(DEV, FIELD) atomic_long_inc(&(DEV)->stats.__##FIELD) argument 5778 #define DEV_STATS_ADD(DEV, FIELD, VAL) \ 5779 atomic_long_add((VAL), &(DEV)->stats.__##FIELD) 4460 DEV_CORE_STATS_INC(FIELD) global() argument 5774 DEV_STATS_INC(DEV,FIELD) global() argument 5775 DEV_STATS_ADD(DEV,FIELD,VAL) global() argument [all...] |
| /linux/drivers/gpu/drm/msm/disp/mdp4/ |
| H A D | mdp4_kms.c | 379 *major = FIELD(version, MDP4_VERSION_MAJOR); in read_mdp_hw_revision() 380 *minor = FIELD(version, MDP4_VERSION_MINOR); in read_mdp_hw_revision()
|
| /linux/tools/perf/Documentation/ |
| H A D | perf-mem.txt | 136 Please take a look at the OUTPUT FIELD SELECTION section for caveats. 175 OUTPUT FIELD SELECTION
|
| /linux/drivers/gpu/drm/msm/disp/mdp5/ |
| H A D | mdp5_kms.c | 474 *major = FIELD(version, MDP5_HW_VERSION_MAJOR); in read_mdp_hw_revision() 475 *minor = FIELD(version, MDP5_HW_VERSION_MINOR); in read_mdp_hw_revision()
|
| /linux/drivers/gpu/drm/msm/ |
| H A D | msm_drv.h | 502 #define FIELD(val, name) (((val) & name ## __MASK) >> name ## __SHIFT) macro
|
| /linux/net/core/ |
| H A D | filter.c | 7618 #define BPF_TCP_SOCK_GET_COMMON(FIELD) \ in bpf_tcp_sock_convert_ctx_access() argument 7620 BUILD_BUG_ON(sizeof_field(struct tcp_sock, FIELD) > \ in bpf_tcp_sock_convert_ctx_access() 7621 sizeof_field(struct bpf_tcp_sock, FIELD)); \ in bpf_tcp_sock_convert_ctx_access() 7622 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct tcp_sock, FIELD),\ in bpf_tcp_sock_convert_ctx_access() 7624 offsetof(struct tcp_sock, FIELD)); \ in bpf_tcp_sock_convert_ctx_access() 7627 #define BPF_INET_SOCK_GET_COMMON(FIELD) \ in bpf_tcp_sock_convert_ctx_access() argument 7630 FIELD) > \ in bpf_tcp_sock_convert_ctx_access() 7631 sizeof_field(struct bpf_tcp_sock, FIELD)); \ in bpf_tcp_sock_convert_ctx_access() 7634 FIELD), \ in bpf_tcp_sock_convert_ctx_access() 7638 FIELD)); \ in bpf_tcp_sock_convert_ctx_access() [all …]
|
| H A D | net-sysfs.c | 1646 #define BQL_ATTR(NAME, FIELD) \ argument 1651 return bql_show(buf, queue->dql.FIELD); \ 1659 return bql_set(buf, len, &queue->dql.FIELD); \
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_ptp.c | 1335 #define MLXSW_SP_PTP_PORT_STAT(NAME, FIELD) \ argument 1339 FIELD), \
|
| /linux/drivers/gpu/drm/msm/dsi/ |
| H A D | dsi_host.c | 60 ver = FIELD(ver, DSI_VERSION_MAJOR); in dsi_get_version() 76 ver = FIELD(ver, DSI_VERSION_MAJOR); in dsi_get_version()
|