Searched refs:managed_pslots (Results 1 – 3 of 3) sorted by relevance
685 xa_init(&EROFS_SB(sb)->managed_pslots); in z_erofs_init_super() 775 xa_lock(&sbi->managed_pslots); in z_erofs_register_pcluster() 776 pre = __xa_cmpxchg(&sbi->managed_pslots, pcl->pos, in z_erofs_register_pcluster() 779 xa_unlock(&sbi->managed_pslots); in z_erofs_register_pcluster() 783 xa_unlock(&sbi->managed_pslots); in z_erofs_register_pcluster() 831 pcl = xa_load(&EROFS_SB(sb)->managed_pslots, map->m_pa); in z_erofs_pcluster_begin() 901 DBG_BUGON(__xa_erase(&sbi->managed_pslots, pcl->pos) != pcl); in __erofs_try_to_release_pcluster() 927 xa_lock(&sbi->managed_pslots); in z_erofs_shrink_scan() 928 xa_for_each(&sbi->managed_pslots, index, pcl) { in z_erofs_shrink_scan() 932 xa_unlock(&sbi->managed_pslots); in z_erofs_shrink_scan() [all...]
232 while (!xa_empty(&sbi->managed_pslots)) { in erofs_shrinker_unregister()
113 struct xarray managed_pslots; member