Searched refs:br_entry_size (Results 1 – 2 of 2) sorted by relevance
1167 static const u32 br_entry_size = sizeof(struct perf_branch_entry); in BPF_CALL_3() local1168 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() local1769 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()
21161 const u32 br_entry_size = sizeof(struct perf_branch_entry); in do_misc_fixups() local21167 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()