Home
last modified time | relevance | path

Searched refs:bp_cnt (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-6.6/tools/perf/tests/
H A Dbp_account.c151 static int detect_share(int wp_cnt, int bp_cnt) in detect_share() argument
156 if (wp_cnt + bp_cnt == 0) in detect_share()
159 fd = malloc(sizeof(int) * (wp_cnt + bp_cnt)); in detect_share()
171 for (; i < (bp_cnt + wp_cnt); i++) { in detect_share()
177 ret = i != (bp_cnt + wp_cnt); in detect_share()
205 int bp_cnt = detect_cnt(true); in test__bp_accounting() local
206 int share = detect_share(wp_cnt, bp_cnt); in test__bp_accounting()
214 wp_cnt, bp_cnt, has_ioctl, share); in test__bp_accounting()
216 if (!wp_cnt || !bp_cnt || !has_ioctl) in test__bp_accounting()
/kernel/linux/linux-5.10/tools/perf/tests/
H A Dbp_account.c138 static int detect_share(int wp_cnt, int bp_cnt) in detect_share() argument
141 int i, fd[wp_cnt + bp_cnt], ret; in detect_share()
148 for (; i < (bp_cnt + wp_cnt); i++) { in detect_share()
154 ret = i != (bp_cnt + wp_cnt); in detect_share()
180 int bp_cnt = detect_cnt(true); in test__bp_accounting() local
181 int share = detect_share(wp_cnt, bp_cnt); in test__bp_accounting()
184 wp_cnt, bp_cnt, has_ioctl, share); in test__bp_accounting()
186 if (!wp_cnt || !bp_cnt || !has_ioctl) in test__bp_accounting()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_virt.c405 uint32_t bp_idx, bp_cnt; in amdgpu_virt_add_bad_page() local
408 bp_cnt = bp_block_size / sizeof(uint64_t); in amdgpu_virt_add_bad_page()
409 for (bp_idx = 0; bp_idx < bp_cnt; bp_idx++) { in amdgpu_virt_add_bad_page()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_virt.c431 uint32_t bp_idx, bp_cnt; in amdgpu_virt_add_bad_page() local
440 bp_cnt = bp_block_size / sizeof(uint64_t); in amdgpu_virt_add_bad_page()
441 for (bp_idx = 0; bp_idx < bp_cnt; bp_idx++) { in amdgpu_virt_add_bad_page()

Completed in 4 milliseconds