Searched refs:br_entry_size (Results 1 – 1 of 1) sorted by relevance
1184 static const u32 br_entry_size = sizeof(struct perf_branch_entry); in BPF_CALL_3()1185 u32 entry_cnt = size / br_entry_size; in BPF_CALL_3()1195 return entry_cnt * br_entry_size; in BPF_CALL_3()1759 static const u32 br_entry_size = sizeof(struct perf_branch_entry); in BPF_CALL_4() local1773 return br_stack->nr * br_entry_size; in BPF_CALL_4()1775 if (!buf || (size % br_entry_size != 0)) in BPF_CALL_4()1778 to_copy = min_t(u32, br_stack->nr * br_entry_size, size); in BPF_CALL_4()