Lines Matching refs:use_two_level
1934 u16 use_two_level = (pbl_count_4k > 1) ? 1 : 0;
1959 if (((pbl_count_4k + use_two_level) <= nesadapter->free_4kpbl) &&
1964 use_two_level = 1;
1965 } else if ((pbl_count_4k + use_two_level) <= nesadapter->free_4kpbl) {
1975 nesadapter->free_256pbl -= pbl_count + use_two_level;
1978 nesadapter->free_4kpbl -= pbl_count + use_two_level;
1989 if (use_256_pbls && use_two_level) {
1995 nesadapter->free_256pbl += pbl_count_256 + use_two_level;
1999 use_two_level = 0;
2002 if ((pbl_count_4k + use_two_level) <= nesadapter->free_4kpbl) {
2003 nesadapter->free_4kpbl -= pbl_count + use_two_level;
2062 nesadapter->free_256pbl += pbl_count + use_two_level;
2064 nesadapter->free_4kpbl += pbl_count + use_two_level;
2076 *actual_pbl_cnt = pbl_count + use_two_level;