Lines Matching refs:BPF_CLASS
661 if (BPF_CLASS(fp->code) == BPF_LD && in bpf_convert_filter()
665 if (BPF_CLASS(fp->code) == BPF_LD && in bpf_convert_filter()
819 *insn = BPF_STX_MEM(BPF_W, BPF_REG_FP, BPF_CLASS(fp->code) == in bpf_convert_filter()
834 *insn = BPF_LDX_MEM(BPF_W, BPF_CLASS(fp->code) == BPF_LD ? in bpf_convert_filter()
842 *insn = BPF_MOV32_IMM(BPF_CLASS(fp->code) == BPF_LD ? in bpf_convert_filter()
859 *insn = BPF_LDX_MEM(BPF_W, BPF_CLASS(fp->code) == BPF_LD ? in bpf_convert_filter()
9463 *insn++ = BPF_RAW_INSN(BPF_CLASS(si->code) | BPF_DW | BPF_MEM, in bpf_convert_tstamp_write()
9469 BPF_RAW_INSN(BPF_CLASS((si)->code) | (size) | BPF_MEM, \
9557 if (BPF_CLASS(si->code) == BPF_ST && si->imm >= NO_QUEUE_MAPPING) { in bpf_convert_ctx_access()
9562 if (BPF_CLASS(si->code) == BPF_STX) in bpf_convert_ctx_access()
10139 *insn++ = BPF_RAW_INSN(SIZE | BPF_MEM | BPF_CLASS(si->code), \
10380 BPF_MEM | BPF_CLASS(si->code), \ in sock_ops_convert_ctx_access()