Searched refs:spa_minref (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dspa_impl.h344 int spa_minref; /* num refs when first opened */ member in struct:spa
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa_misc.c87 * some references in the DMU. Internally we check against spa_minref, but
856 ASSERT(zfs_refcount_count(&spa->spa_refcount) >= spa->spa_minref ||
868 ASSERT(zfs_refcount_count(&spa->spa_refcount) > spa->spa_minref ||
878 * spa_minref (e.g. dataset or directory released during pool export),
889 * spa_namespace_lock held. We really compare against spa_minref, which is the
897 return (zfs_refcount_count(&spa->spa_refcount) == spa->spa_minref);
H A Dspa.c2289 spa->spa_minref = zfs_refcount_count(&spa->spa_refcount);
5150 spa->spa_minref = zfs_refcount_count(&spa->spa_refcount);
7774 /* Keeping the origin open increases spa_minref */
7775 spa->spa_minref += 3;
7787 /* Keeping the freedir open increases spa_minref */
7788 spa->spa_minref += 3;

Completed in 163 milliseconds