Lines Matching refs:BPF_SIZE
475 int size = bpf_size_to_bytes(BPF_SIZE(fp->code)); in convert_bpf_ld_abs()
476 bool endian = BPF_SIZE(fp->code) == BPF_H || in convert_bpf_ld_abs()
477 BPF_SIZE(fp->code) == BPF_W; in convert_bpf_ld_abs()
496 *insn++ = BPF_LDX_MEM(BPF_SIZE(fp->code), BPF_REG_A, in convert_bpf_ld_abs()
501 *insn++ = BPF_LDX_MEM(BPF_SIZE(fp->code), BPF_REG_A, in convert_bpf_ld_abs()
520 switch (BPF_SIZE(fp->code)) { in convert_bpf_ld_abs()
8859 switch (BPF_SIZE(orig->code)) { in bpf_gen_ld_abs()
9600 *insn++ = BPF_EMIT_STORE(BPF_SIZE(si->code), si, off); in bpf_convert_ctx_access()
9602 *insn++ = BPF_LDX_MEM(BPF_SIZE(si->code), si->dst_reg, in bpf_convert_ctx_access()
9911 BPF_SIZE(si->code), si->dst_reg, si->src_reg, in bpf_sock_convert_ctx_access()
9920 BPF_SIZE(si->code), si->dst_reg, si->src_reg, in bpf_sock_convert_ctx_access()
9932 BPF_SIZE(si->code), si->dst_reg, si->src_reg, in bpf_sock_convert_ctx_access()
9950 BPF_SIZE(si->code), si->dst_reg, si->src_reg, in bpf_sock_convert_ctx_access()
10182 sin_addr, BPF_SIZE(si->code), 0, tmp_reg); in sock_addr_convert_ctx_access()
10190 sin6_addr.s6_addr32[0], BPF_SIZE(si->code), off, in sock_addr_convert_ctx_access()
10232 s_addr, BPF_SIZE(si->code), 0, tmp_reg); in sock_addr_convert_ctx_access()
10242 s6_addr32[0], BPF_SIZE(si->code), off, tmp_reg); in sock_addr_convert_ctx_access()
10772 *insn++ = BPF_EMIT_STORE(BPF_SIZE(si->code), si, off); in sk_skb_convert_ctx_access()
10774 *insn++ = BPF_LDX_MEM(BPF_SIZE(si->code), si->dst_reg, in sk_skb_convert_ctx_access()