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

/linux-master/tools/perf/tests/
H A Dbp_account.c151 static int detect_share(int wp_cnt, int bp_cnt) argument
156 if (wp_cnt + bp_cnt == 0)
159 fd = malloc(sizeof(int) * (wp_cnt + bp_cnt));
171 for (; i < (bp_cnt + wp_cnt); i++) {
177 ret = i != (bp_cnt + wp_cnt);
205 int bp_cnt = detect_cnt(true); local
206 int share = detect_share(wp_cnt, bp_cnt);
214 wp_cnt, bp_cnt, has_ioctl, share);
216 if (!wp_cnt || !bp_cnt || !has_ioctl)
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_virt.c389 uint32_t bp_idx, bp_cnt; local
398 bp_cnt = bp_block_size / sizeof(uint64_t);
399 for (bp_idx = 0; bp_idx < bp_cnt; bp_idx++) {

Completed in 126 milliseconds