Searched refs:spa_config_held (Results 1 - 11 of 11) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev.c157 ASSERT(spa_config_held(spa, SCL_ALL, RW_READER) != 0);
211 ASSERT(spa_config_held(spa, SCL_ALL, RW_WRITER) == SCL_ALL);
288 ASSERT(spa_config_held(pvd->vdev_spa, SCL_ALL, RW_WRITER) == SCL_ALL);
381 ASSERT(spa_config_held(spa, SCL_ALL, RW_WRITER) == SCL_ALL);
782 ASSERT(spa_config_held(spa, SCL_ALL, RW_WRITER) == SCL_ALL);
814 ASSERT(spa_config_held(cvd->vdev_spa, SCL_ALL, RW_WRITER) == SCL_ALL);
859 ASSERT(txg == 0 || spa_config_held(spa, SCL_ALLOC, RW_WRITER));
1039 if (spa_config_held(spa, SCL_ZIO, RW_WRITER)) {
1164 spa_config_held(spa, SCL_STATE_ALL, RW_WRITER) == SCL_STATE_ALL);
1487 ASSERT(spa_config_held(sp
[all...]
H A Dvdev_label.c184 ASSERT(spa_config_held(zio->io_spa, SCL_STATE_ALL, RW_WRITER) ==
198 ASSERT(spa_config_held(zio->io_spa, SCL_ALL, RW_WRITER) == SCL_ALL ||
199 (spa_config_held(zio->io_spa, SCL_CONFIG | SCL_STATE, RW_READER) ==
453 ASSERT(spa_config_held(spa, SCL_STATE_ALL, RW_WRITER) == SCL_STATE_ALL);
648 ASSERT(spa_config_held(spa, SCL_ALL, RW_WRITER) == SCL_ALL);
H A Dvdev_disk.c191 ASSERT(spa_config_held(vd->vdev_spa, SCL_STATE, RW_WRITER));
230 ASSERT(spa_config_held(vd->vdev_spa, SCL_STATE, RW_WRITER));
H A Dspa_config.c367 ASSERT(spa_config_held(spa, SCL_CONFIG | SCL_STATE, RW_READER) ==
H A Dspa.c1345 ASSERT(spa_config_held(spa, SCL_ALL, RW_WRITER) == SCL_ALL);
1464 ASSERT(spa_config_held(spa, SCL_ALL, RW_WRITER) == SCL_ALL);
1792 ASSERT(spa_config_held(spa, SCL_ALLOC, RW_WRITER));
1815 ASSERT(spa_config_held(spa, SCL_ALLOC, RW_WRITER));
3214 ASSERT(spa_config_held(spa, SCL_CONFIG, RW_READER));
3263 ASSERT(spa_config_held(spa, SCL_CONFIG, RW_READER));
3311 ASSERT(spa_config_held(spa, SCL_CONFIG, RW_READER));
3429 ASSERT(spa_config_held(spa, SCL_ALL, RW_WRITER) == SCL_ALL);
3505 ASSERT(spa_config_held(spa, SCL_ALL, RW_WRITER) == SCL_ALL);
5368 ASSERT(spa_config_held(sp
[all...]
H A Dmetaslab.c245 ASSERT(spa_config_held(mc->mc_spa, SCL_ALL, RW_READER) ||
246 spa_config_held(mc->mc_spa, SCL_ALL, RW_WRITER));
620 ASSERT(spa_config_held(mc->mc_spa, SCL_ALLOC, RW_WRITER));
652 ASSERT(spa_config_held(mc->mc_spa, SCL_ALLOC, RW_WRITER));
H A Dspa_misc.c468 spa_config_held(spa_t *spa, int locks, krw_t rw) function
1775 ASSERT(spa_config_held(spa, SCL_ALL, RW_READER) != 0);
H A Ddnode.c1075 ASSERT(spa_config_held(os->os_spa, SCL_ALL, RW_WRITER) == 0 ||
1077 spa_config_held(os->os_spa, SCL_STATE, RW_WRITER)));
H A Dzio.c532 ASSERT(!vd || spa_config_held(spa, SCL_STATE_ALL, RW_READER));
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dspa.h733 extern int spa_config_held(spa_t *spa, int locks, krw_t rw);
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c1007 ASSERT(spa_config_held(spa, SCL_ALL, RW_READER) != 0);
2485 ASSERT(spa_config_held(spa, SCL_VDEV, RW_READER) == SCL_VDEV);
2938 ASSERT(spa_config_held(spa, SCL_STATE, RW_READER) == SCL_STATE);
2969 ASSERT(spa_config_held(spa, SCL_STATE, RW_READER) == SCL_STATE);

Completed in 142 milliseconds