Home
last modified time | relevance | path

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

/linux-6.12.1/tools/perf/tests/
Dbp_account.c153 static int detect_share(int wp_cnt, int bp_cnt) in detect_share() argument
158 if (wp_cnt + bp_cnt == 0) in detect_share()
161 fd = malloc(sizeof(int) * (wp_cnt + bp_cnt)); in detect_share()
173 for (; i < (bp_cnt + wp_cnt); i++) { in detect_share()
179 ret = i != (bp_cnt + wp_cnt); in detect_share()
207 int bp_cnt = detect_cnt(true); in test__bp_accounting() local
208 int share = detect_share(wp_cnt, bp_cnt); in test__bp_accounting()
216 wp_cnt, bp_cnt, has_ioctl, share); in test__bp_accounting()
218 if (!wp_cnt || !bp_cnt || !has_ioctl) in test__bp_accounting()
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_virt.c423 uint32_t bp_idx, bp_cnt; in amdgpu_virt_add_bad_page() local
434 bp_cnt = bp_block_size / sizeof(uint64_t); in amdgpu_virt_add_bad_page()
435 for (bp_idx = 0; bp_idx < bp_cnt; bp_idx++) { in amdgpu_virt_add_bad_page()