Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/
Dbpf_verifier.h162 #define BPF_REG_SIZE 8 /* size of eBPF register in bytes */ macro
166 u8 slot_type[BPF_REG_SIZE];
215 #define BPF_ID_MAP_SIZE (MAX_BPF_REG + MAX_BPF_STACK / BPF_REG_SIZE)
285 (((slot < frame->allocated_stack / BPF_REG_SIZE) && \
292 iter < frame->allocated_stack / BPF_REG_SIZE; \
/kernel/linux/linux-5.10/tools/perf/util/
Dbpf-prologue.c20 #define BPF_REG_SIZE 8 macro
156 ins(BPF_ALU64_IMM(BPF_MOV, BPF_REG_ARG2, BPF_REG_SIZE), pos); in gen_read_mem()
314 BPF_REG_FP, -BPF_REG_SIZE * (i + 1)), pos); in gen_prologue_slowpath()
/kernel/linux/linux-5.10/kernel/bpf/
Dverifier.c654 for (i = 0; i < state->allocated_stack / BPF_REG_SIZE; i++) { in print_verifier_state()
655 char types_buf[BPF_REG_SIZE + 1]; in print_verifier_state()
659 for (j = 0; j < BPF_REG_SIZE; j++) { in print_verifier_state()
665 types_buf[BPF_REG_SIZE] = 0; in print_verifier_state()
668 verbose(env, " fp%d", (-i - 1) * BPF_REG_SIZE); in print_verifier_state()
709 COPY_STATE_FN(stack, allocated_stack, stack, BPF_REG_SIZE) in COPY_STATE_FN() argument
749 REALLOC_STATE_FN(stack, allocated_stack, stack, BPF_REG_SIZE)
1880 spi = (-insn->off - 1) / BPF_REG_SIZE; in backtrack_insn()
1899 spi = (-insn->off - 1) / BPF_REG_SIZE; in backtrack_insn()
2013 for (j = 0; j < func->allocated_stack / BPF_REG_SIZE; j++) { in mark_all_scalars_precise()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/bpf/
Dverifier.c108 stack_entry = &state->stack[soff / BPF_REG_SIZE]; in nfp_bpf_map_update_value_ok()
109 if (stack_entry->slot_type[soff % BPF_REG_SIZE] == STACK_ZERO) in nfp_bpf_map_update_value_ok()
786 nfp_prog->subprog[i].stack_depth += BPF_REG_SIZE * 4; in nfp_bpf_finalize()