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

/linux-master/tools/perf/tests/
H A Dbp_account.c81 static int bp_accounting(int wp_cnt, int share) argument
84 int i, fd[wp_cnt], fd_wp, ret;
86 for (i = 0; i < wp_cnt; i++) {
107 for (i = 0; i < wp_cnt; i++)
151 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));
163 for (i = 0; i < wp_cnt; i++) {
171 for (; i < (bp_cnt + wp_cnt); i++) {
177 ret = i != (bp_cnt + wp_cnt);
204 int wp_cnt = detect_cnt(false); local
[all...]

Completed in 1041 milliseconds