wp_cnt 72 tools/perf/tests/bp_account.c static int bp_accounting(int wp_cnt, int share) wp_cnt 75 tools/perf/tests/bp_account.c int i, fd[wp_cnt], fd_wp, ret; wp_cnt 77 tools/perf/tests/bp_account.c for (i = 0; i < wp_cnt; i++) { wp_cnt 98 tools/perf/tests/bp_account.c for (i = 0; i < wp_cnt; i++) wp_cnt 142 tools/perf/tests/bp_account.c static int detect_share(int wp_cnt, int bp_cnt) wp_cnt 145 tools/perf/tests/bp_account.c int i, fd[wp_cnt + bp_cnt], ret; wp_cnt 147 tools/perf/tests/bp_account.c for (i = 0; i < wp_cnt; i++) { wp_cnt 152 tools/perf/tests/bp_account.c for (; i < (bp_cnt + wp_cnt); i++) { wp_cnt 158 tools/perf/tests/bp_account.c ret = i != (bp_cnt + wp_cnt); wp_cnt 183 tools/perf/tests/bp_account.c int wp_cnt = detect_cnt(false); wp_cnt 185 tools/perf/tests/bp_account.c int share = detect_share(wp_cnt, bp_cnt); wp_cnt 188 tools/perf/tests/bp_account.c wp_cnt, bp_cnt, has_ioctl, share); wp_cnt 190 tools/perf/tests/bp_account.c if (!wp_cnt || !bp_cnt || !has_ioctl) wp_cnt 193 tools/perf/tests/bp_account.c return bp_accounting(wp_cnt, share);