Home
last modified time | relevance | path

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

/linux-6.12.1/kernel/trace/
Dbpf_trace.c1167 static const u32 br_entry_size = sizeof(struct perf_branch_entry); in BPF_CALL_3() local
1168 u32 entry_cnt = size / br_entry_size; in BPF_CALL_3()
1178 return entry_cnt * br_entry_size; in BPF_CALL_3()
1755 static const u32 br_entry_size = sizeof(struct perf_branch_entry); in BPF_CALL_4() local
1769 return br_stack->nr * br_entry_size; in BPF_CALL_4()
1771 if (!buf || (size % br_entry_size != 0)) in BPF_CALL_4()
1774 to_copy = min_t(u32, br_stack->nr * br_entry_size, size); in BPF_CALL_4()
/linux-6.12.1/kernel/bpf/
Dverifier.c21161 const u32 br_entry_size = sizeof(struct perf_branch_entry); in do_misc_fixups() local
21167 BUILD_BUG_ON(br_entry_size != 24); in do_misc_fixups()
21190 insn_buf[6] = BPF_ALU32_IMM(BPF_MUL, BPF_REG_0, br_entry_size); in do_misc_fixups()