Lines Matching refs:insn
301 struct bpf_insn insn; member
353 return BPF_CLASS(meta->insn.code); in mbpf_class()
358 return BPF_SRC(meta->insn.code); in mbpf_src()
363 return BPF_OP(meta->insn.code); in mbpf_op()
368 return BPF_MODE(meta->insn.code); in mbpf_mode()
378 return (meta->insn.code & ~BPF_SIZE_MASK) == (BPF_LDX | BPF_MEM); in is_mbpf_load()
398 return (meta->insn.code & ~BPF_SIZE_MASK) == (BPF_STX | BPF_MEM); in is_mbpf_store()
413 u8 code = meta->insn.code; in is_mbpf_classic_load()
421 u8 code = meta->insn.code; in is_mbpf_classic_store()
433 return (meta->insn.code & ~BPF_SIZE_MASK) == (BPF_STX | BPF_ATOMIC); in is_mbpf_atomic()
462 struct bpf_insn insn = meta->insn; in is_mbpf_helper_call() local
464 return insn.code == (BPF_JMP | BPF_CALL) && in is_mbpf_helper_call()
465 insn.src_reg != BPF_PSEUDO_CALL; in is_mbpf_helper_call()
470 struct bpf_insn insn = meta->insn; in is_mbpf_pseudo_call() local
472 return insn.code == (BPF_JMP | BPF_CALL) && in is_mbpf_pseudo_call()
473 insn.src_reg == BPF_PSEUDO_CALL; in is_mbpf_pseudo_call()
571 struct bpf_insn *insn);