Home
last modified time | relevance | path

Searched refs:settings_index (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/testing/selftests/mm/
H A Dkhugepaged.c346 static int settings_index; variable
350 if (!settings_index) { in current_settings()
354 return settings_stack + settings_index - 1; in current_settings()
359 if (settings_index >= MAX_SETTINGS_DEPTH) { in push_settings()
363 settings_stack[settings_index++] = *settings; in push_settings()
369 if (settings_index <= 0) { in pop_settings()
373 --settings_index; in pop_settings()