Lines Matching refs:res_count
745 result->res_count = 1;
890 assert(map->res_count >= 0);
891 assert(map->ref_count >= map->res_count);
892 if (map->res_count == 0) {
897 ++map->res_count;
900 ++map->res_count;
915 assert(map->res_count >= 0);
916 assert(map->ref_count >= map->res_count);
934 assert(map->res_count > 0);
935 if (--map->res_count == 0) {
942 assert(map->ref_count >= map->res_count);
1008 * This is the reason the res_count is not incremented until
1010 * 4) There is a timing hole after the checks of the res_count, before
1045 * the res_count, turning the swapout into a nop.
1054 * res_count is still 0.
1056 assert(map->res_count == 0);
1110 if (map->res_count != 0) {
12688 assert(map->res_count > 0);
12689 assert(map->ref_count >= map->res_count);
12690 map->res_count++;