| /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/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; \ 4460 #define DEV_CORE_STATS_INC(FIELD) \ argument 4461 static inline void dev_core_stats_##FIELD##_inc(struct net_device *dev) \ 4464 offsetof(struct net_device_core_stats, FIELD)); \ 5774 #define DEV_STATS_INC(DEV, FIELD) atomic_long_inc(&(DEV)->stats.__##FIELD) argument 5775 #define DEV_STATS_ADD(DEV, FIELD, VAL) \ argument 5776 atomic_long_add((VAL), &(DEV)->stats.__##FIELD) 5777 #define DEV_STATS_READ(DEV, FIELD) atomic_long_read(&(DEV)->stats.__##FIELD) argument
|
| /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/net/core/ |
| H A D | filter.c | 7619 #define BPF_TCP_SOCK_GET_COMMON(FIELD) \ in bpf_tcp_sock_convert_ctx_access() argument 7621 BUILD_BUG_ON(sizeof_field(struct tcp_sock, FIELD) > \ in bpf_tcp_sock_convert_ctx_access() 7622 sizeof_field(struct bpf_tcp_sock, FIELD)); \ in bpf_tcp_sock_convert_ctx_access() 7623 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct tcp_sock, FIELD),\ in bpf_tcp_sock_convert_ctx_access() 7625 offsetof(struct tcp_sock, FIELD)); \ in bpf_tcp_sock_convert_ctx_access() 7628 #define BPF_INET_SOCK_GET_COMMON(FIELD) \ in bpf_tcp_sock_convert_ctx_access() argument 7631 FIELD) > \ in bpf_tcp_sock_convert_ctx_access() 7632 sizeof_field(struct bpf_tcp_sock, FIELD)); \ in bpf_tcp_sock_convert_ctx_access() 7635 FIELD), \ in bpf_tcp_sock_convert_ctx_access() 7639 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 | 1303 #define MLXSW_SP_PTP_PORT_STAT(NAME, FIELD) \ argument 1307 FIELD), \
|
| /linux/ |
| H A D | MAINTAINERS | 13188 INTEL IN FIELD SCAN (IFS) DEVICE
|