Home
last modified time | relevance | path

Searched refs:br_entry_size (Results 1 – 2 of 2) sorted by relevance

/linux-6.15/kernel/trace/
H A Dbpf_trace.c1174 static const u32 br_entry_size = sizeof(struct perf_branch_entry); in BPF_CALL_3() local
1175 u32 entry_cnt = size / br_entry_size; in BPF_CALL_3()
1185 return entry_cnt * br_entry_size; in BPF_CALL_3()
1787 static const u32 br_entry_size = sizeof(struct perf_branch_entry); in BPF_CALL_4() local
1801 return br_stack->nr * br_entry_size; in BPF_CALL_4()
1803 if (!buf || (size % br_entry_size != 0)) in BPF_CALL_4()
1806 to_copy = min_t(u32, br_stack->nr * br_entry_size, size); in BPF_CALL_4()
/linux-6.15/kernel/bpf/
H A Dverifier.c22299 const u32 br_entry_size = sizeof(struct perf_branch_entry); in do_misc_fixups() local
22305 BUILD_BUG_ON(br_entry_size != 24); in do_misc_fixups()
22328 insn_buf[6] = BPF_ALU32_IMM(BPF_MUL, BPF_REG_0, br_entry_size); in do_misc_fixups()