Searched refs:bp_cnt (Results 1 – 1 of 1) sorted by relevance
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()174 for (; i < (bp_cnt + wp_cnt); i++) { in detect_share()180 ret = i != (bp_cnt + wp_cnt); in detect_share()208 int bp_cnt = detect_cnt(true); in test__bp_accounting() local209 int share = detect_share(wp_cnt, bp_cnt); in test__bp_accounting()217 wp_cnt, bp_cnt, has_ioctl, share); in test__bp_accounting()219 if (!wp_cnt || !bp_cnt || !has_ioctl) in test__bp_accounting()