Searched refs:wp_cnt (Results 1 – 1 of 1) sorted by relevance
82 static int bp_accounting(int wp_cnt, int share) in bp_accounting() argument85 int i, fd[wp_cnt], fd_wp, ret; in bp_accounting()87 for (i = 0; i < wp_cnt; i++) { in bp_accounting()110 for (i = 0; i < wp_cnt; i++) in bp_accounting()154 static int detect_share(int wp_cnt, int bp_cnt) in detect_share() argument159 if (wp_cnt + bp_cnt == 0) in detect_share()162 fd = malloc(sizeof(int) * (wp_cnt + bp_cnt)); in detect_share()166 for (i = 0; i < wp_cnt; i++) { in detect_share()174 for (; i < (bp_cnt + wp_cnt); i++) { in detect_share()180 ret = i != (bp_cnt + wp_cnt); in detect_share()[all …]