Lines Matching refs:use_two_level
1943 u16 use_two_level = (pbl_count_4k > 1) ? 1 : 0;
1968 if (((pbl_count_4k + use_two_level) <= nesadapter->free_4kpbl) &&
1973 use_two_level = 1;
1974 } else if ((pbl_count_4k + use_two_level) <= nesadapter->free_4kpbl) {
1984 nesadapter->free_256pbl -= pbl_count + use_two_level;
1987 nesadapter->free_4kpbl -= pbl_count + use_two_level;
1998 if (use_256_pbls && use_two_level) {
2004 nesadapter->free_256pbl += pbl_count_256 + use_two_level;
2008 use_two_level = 0;
2011 if ((pbl_count_4k + use_two_level) <= nesadapter->free_4kpbl) {
2012 nesadapter->free_4kpbl -= pbl_count + use_two_level;
2071 nesadapter->free_256pbl += pbl_count + use_two_level;
2073 nesadapter->free_4kpbl += pbl_count + use_two_level;
2085 *actual_pbl_cnt = pbl_count + use_two_level;