Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/mm/
H A Dthp_settings.c14 static int settings_index; variable
301 if (!settings_index) { in thp_current_settings()
305 return settings_stack + settings_index - 1; in thp_current_settings()
310 if (settings_index >= MAX_SETTINGS_DEPTH) { in thp_push_settings()
314 settings_stack[settings_index++] = *settings; in thp_push_settings()
320 if (settings_index <= 0) { in thp_pop_settings()
324 --settings_index; in thp_pop_settings()