Lines Matching refs:code
771 return BPF_CLASS(insn->code) == BPF_JMP &&
772 BPF_OP(insn->code) == BPF_CALL &&
773 BPF_SRC(insn->code) == BPF_K &&
781 return insn->code == (BPF_JMP | BPF_CALL);
895 pr_debug("sec '%s': found program '%s' at insn offset %zu (%zu bytes), code size %zu insns (%zu bytes)\n",
4446 pr_warn("prog '%s': invalid relo against '%s' for insns[%d].code 0x%x\n",
4447 prog->name, sym_name, insn_idx, insn->code);
4468 if (insn->code == (BPF_JMP | BPF_CALL))
6258 * program's frame of reference; (sub-)program code is not yet
6321 insn->code = BPF_JMP | BPF_CALL;
6325 /* if this instruction is reachable (not a dead code),
6348 insn->code = BPF_JMP | BPF_CALL;
6352 /* if this instruction is reachable (not a dead code),
6360 /* Relocate data references within program code:
6661 pr_warn("prog '%s': failed to realloc prog code\n", main_prog->name);
6974 * programs; each copy of subprogram code needs to be relocated
6975 * differently for each main program, because its code location might
7217 if (BPF_CLASS(insn->code) == BPF_JMP &&
7218 BPF_OP(insn->code) == BPF_CALL &&
7219 BPF_SRC(insn->code) == BPF_K &&
9075 pr_warn("prog '%s': failed to realloc prog code\n", prog->name);
13483 /* externs shouldn't be pre-setup from user code */