Lines Matching refs:fg
693 enum fullness_group fg; in get_fullness_group() local
699 fg = ZS_EMPTY; in get_fullness_group()
701 fg = ZS_FULL; in get_fullness_group()
703 fg = ZS_ALMOST_EMPTY; in get_fullness_group()
705 fg = ZS_ALMOST_FULL; in get_fullness_group()
707 return fg; in get_fullness_group()
935 enum fullness_group fg; in __free_zspage() local
938 get_zspage_mapping(zspage, &class_idx, &fg); in __free_zspage()
943 VM_BUG_ON(fg != ZS_EMPTY); in __free_zspage()
1254 enum fullness_group fg; in zs_map_object() local
1277 get_zspage_mapping(zspage, &class_idx, &fg); in zs_map_object()
1312 enum fullness_group fg; in zs_unmap_object() local
1319 get_zspage_mapping(zspage, &class_idx, &fg); in zs_unmap_object()
1703 enum fullness_group fg[2] = {ZS_ALMOST_EMPTY, ZS_ALMOST_FULL}; in isolate_zspage() enum
1706 fg[0] = ZS_ALMOST_FULL; in isolate_zspage()
1707 fg[1] = ZS_ALMOST_EMPTY; in isolate_zspage()
1711 zspage = list_first_entry_or_null(&class->fullness_list[fg[i]], in isolate_zspage()
1715 remove_zspage(class, zspage, fg[i]); in isolate_zspage()
1854 enum fullness_group fg; in putback_zspage_deferred() local
1856 fg = putback_zspage(class, zspage); in putback_zspage_deferred()
1857 if (fg == ZS_EMPTY) in putback_zspage_deferred()
2089 enum fullness_group fg; in zs_page_putback() local
2097 get_zspage_mapping(zspage, &class_idx, &fg); in zs_page_putback()
2515 int fg; in zs_destroy_pool() local
2524 for (fg = ZS_EMPTY; fg < NR_ZS_FULLNESS; fg++) { in zs_destroy_pool()
2525 if (!list_empty(&class->fullness_list[fg])) { in zs_destroy_pool()
2527 class->size, fg); in zs_destroy_pool()