Home
last modified time | relevance | path

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

/linux/fs/erofs/
H A Dzdata.c749 xa_lock(&sbi->managed_pslots); in z_erofs_register_pcluster()
750 pre = __xa_cmpxchg(&sbi->managed_pslots, pcl->index, in z_erofs_register_pcluster()
753 xa_unlock(&sbi->managed_pslots); in z_erofs_register_pcluster()
757 xa_unlock(&sbi->managed_pslots); in z_erofs_register_pcluster()
793 pcl = xa_load(&EROFS_SB(sb)->managed_pslots, blknr); in z_erofs_pcluster_begin()
874 DBG_BUGON(__xa_erase(&sbi->managed_pslots, pcl->index) != pcl); in __erofs_try_to_release_pcluster()
900 xa_lock(&sbi->managed_pslots); in z_erofs_shrink_scan()
901 xa_for_each(&sbi->managed_pslots, index, pcl) { in z_erofs_shrink_scan()
905 xa_unlock(&sbi->managed_pslots); in z_erofs_shrink_scan()
910 xa_lock(&sbi->managed_pslots); in z_erofs_shrink_scan()
[all …]
H A Dzutil.c233 while (!xa_empty(&sbi->managed_pslots)) { in erofs_shrinker_unregister()
H A Dinternal.h118 struct xarray managed_pslots; member
H A Dsuper.c643 xa_init(&sbi->managed_pslots); in erofs_fc_fill_super()