Home
last modified time | relevance | path

Searched refs:BPF_FIELD_SIZEOF (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/net/core/
H A Dfilter.c369 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct sk_buff, dev), in convert_bpf_extensions()
608 *new_insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct sk_buff, data), in bpf_convert_filter()
7100 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct tcp_sock, FIELD),\ in bpf_tcp_sock_convert_ctx_access()
7110 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF( \ in bpf_tcp_sock_convert_ctx_access()
7294 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct xdp_sock, FIELD),\ in bpf_xdp_sock_convert_ctx_access()
9356 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct bpf_flow_dissector, data), in flow_dissector_convert_ctx_access()
9362 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct bpf_flow_dissector, data_end), in flow_dissector_convert_ctx_access()
9368 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct bpf_flow_dissector, flow_keys), in flow_dissector_convert_ctx_access()
9401 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct sk_buff, end), in bpf_convert_shinfo_access()
9404 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struc in bpf_convert_shinfo_access()
[all...]
/openbmc/linux/kernel/bpf/
H A Dcgroup.c2275 BPF_FIELD_SIZEOF(struct bpf_sysctl_kern, ppos), in sysctl_convert_ctx_access()
2289 BPF_FIELD_SIZEOF(struct bpf_sysctl_kern, ppos), in sysctl_convert_ctx_access()
2434 BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct bpf_sockopt_kern, F), \
2439 BPF_RAW_INSN((BPF_FIELD_SIZEOF(struct bpf_sockopt_kern, F) | \
2487 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct bpf_sockopt_kern, current_task), in cg_sockopt_convert_ctx_access()
2490 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct task_struct, bpf_ctx), in cg_sockopt_convert_ctx_access()
2494 BPF_FIELD_SIZEOF(struct bpf_cg_run_ctx, retval), in cg_sockopt_convert_ctx_access()
2501 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct bpf_sockopt_kern, current_task), in cg_sockopt_convert_ctx_access()
2504 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct task_struct, bpf_ctx), in cg_sockopt_convert_ctx_access()
2507 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct bpf_cg_run_ctx, retval), in cg_sockopt_convert_ctx_access()
/openbmc/linux/kernel/trace/
H A Dbpf_trace.c2123 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct bpf_perf_event_data_kern, in pe_prog_convert_ctx_access()
2131 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct bpf_perf_event_data_kern, in pe_prog_convert_ctx_access()
2139 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct bpf_perf_event_data_kern, in pe_prog_convert_ctx_access()
/openbmc/linux/include/linux/
H A Dfilter.h462 #define BPF_FIELD_SIZEOF(type, field) \ macro