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.h353 int spa_minref; /* num refs when first opened */ member in struct:spa
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa_misc.c88 * some references in the DMU. Internally we check against spa_minref, but
877 ASSERT(zfs_refcount_count(&spa->spa_refcount) >= spa->spa_minref ||
889 ASSERT(zfs_refcount_count(&spa->spa_refcount) > spa->spa_minref ||
899 * spa_minref (e.g. dataset or directory released during pool export),
910 * spa_namespace_lock held. We really compare against spa_minref, which is the
918 return (zfs_refcount_count(&spa->spa_refcount) == spa->spa_minref);
H A Dspa.c2377 spa->spa_minref = zfs_refcount_count(&spa->spa_refcount);
5321 spa->spa_minref = zfs_refcount_count(&spa->spa_refcount);
8141 /* Keeping the origin open increases spa_minref */
8142 spa->spa_minref += 3;
8154 /* Keeping the freedir open increases spa_minref */
8155 spa->spa_minref += 3;

Completed in 172 milliseconds