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

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_initialize.c311 ASSERT(spa_config_held(vd->vdev_spa, SCL_CONFIG, RW_READER) ||
312 spa_config_held(vd->vdev_spa, SCL_CONFIG, RW_WRITER));
390 ASSERT(spa_config_held(vd->vdev_spa, SCL_CONFIG, RW_READER) ||
391 spa_config_held(vd->vdev_spa, SCL_CONFIG, RW_WRITER));
615 ASSERT(!spa_config_held(vd->vdev_spa, SCL_CONFIG|SCL_STATE, RW_WRITER));
687 ASSERT(!spa_config_held(vd->vdev_spa, SCL_ALL, RW_WRITER));
H A Dvdev.c299 ASSERT(spa_config_held(spa, SCL_ALL, RW_READER) != 0);
353 ASSERT(spa_config_held(spa, SCL_ALL, RW_WRITER) == SCL_ALL);
441 ASSERT(spa_config_held(pvd->vdev_spa, SCL_ALL, RW_WRITER) == SCL_ALL);
559 ASSERT(spa_config_held(spa, SCL_ALL, RW_WRITER) == SCL_ALL);
1074 ASSERT(spa_config_held(spa, SCL_ALL, RW_WRITER) == SCL_ALL);
1107 ASSERT(spa_config_held(cvd->vdev_spa, SCL_ALL, RW_WRITER) == SCL_ALL);
1202 ASSERT(txg == 0 || spa_config_held(spa, SCL_ALLOC, RW_WRITER));
1423 if (spa_config_held(spa, SCL_ZIO, RW_WRITER)) {
1571 spa_config_held(spa, SCL_STATE_ALL, RW_WRITER) == SCL_STATE_ALL);
1826 spa_config_held(sp
[all...]
H A Dvdev_trim.c584 ASSERT(spa_config_held(vd->vdev_spa, SCL_CONFIG, RW_READER) ||
585 spa_config_held(vd->vdev_spa, SCL_CONFIG, RW_WRITER));
664 ASSERT(spa_config_held(vd->vdev_spa, SCL_CONFIG, RW_READER) ||
665 spa_config_held(vd->vdev_spa, SCL_CONFIG, RW_WRITER));
975 ASSERT(!spa_config_held(vd->vdev_spa, SCL_CONFIG|SCL_STATE, RW_WRITER));
1051 ASSERT(!spa_config_held(vd->vdev_spa, SCL_ALL, RW_WRITER));
H A Dvdev_label.c189 spa_config_held(zio->io_spa, SCL_STATE, RW_READER) == SCL_STATE ||
190 spa_config_held(zio->io_spa, SCL_STATE, RW_WRITER) == SCL_STATE);
204 spa_config_held(zio->io_spa, SCL_STATE, RW_READER) == SCL_STATE ||
205 spa_config_held(zio->io_spa, SCL_STATE, RW_WRITER) == SCL_STATE);
748 ASSERT(spa_config_held(spa, SCL_STATE_ALL, RW_WRITER) == SCL_STATE_ALL);
953 ASSERT(spa_config_held(spa, SCL_ALL, RW_WRITER) == SCL_ALL);
H A Dvdev_indirect.c891 ASSERT0(spa_config_held(vd->vdev_spa, SCL_ALL, RW_WRITER));
908 ASSERT0(spa_config_held(vd->vdev_spa, SCL_ALL, RW_WRITER));
1051 ASSERT(spa_config_held(spa, SCL_ALL, RW_READER) != 0);
1288 ASSERT(spa_config_held(spa, SCL_ALL, RW_READER) != 0);
H A Dspa_config.c378 ASSERT(spa_config_held(spa, SCL_CONFIG | SCL_STATE, RW_READER) ==
H A Dmmp.c300 ASSERT(spa_config_held(spa, SCL_STATE, RW_READER));
H A Dmetaslab.c422 ASSERT(spa_config_held(mc->mc_spa, SCL_ALL, RW_READER) ||
423 spa_config_held(mc->mc_spa, SCL_ALL, RW_WRITER));
707 ASSERT3U(spa_config_held(mc->mc_spa, SCL_ALLOC, RW_READER), ==,
867 ASSERT3U(spa_config_held(mc->mc_spa, SCL_ALLOC, RW_WRITER), !=, 0);
905 int locks = spa_config_held(spa, SCL_ALL, RW_WRITER);
907 ASSERT3U(spa_config_held(spa, SCL_ALLOC | SCL_ZIO, RW_WRITER), ==,
5217 ASSERT3U(spa_config_held(spa, SCL_ALL, RW_READER), !=, 0);
5266 ASSERT3U(spa_config_held(spa, SCL_ALL, RW_READER), !=, 0);
5439 ASSERT3U(spa_config_held(spa, SCL_ALL, RW_READER), !=, 0);
5490 ASSERT3U(spa_config_held(sp
[all...]
H A Dvdev_disk.c221 ASSERT(spa_config_held(vd->vdev_spa, SCL_STATE, RW_WRITER));
260 ASSERT(spa_config_held(vd->vdev_spa, SCL_STATE, RW_WRITER));
H A Dvdev_removal.c865 ASSERT3U(spa_config_held(nzio->io_spa, SCL_ALL, RW_READER), !=, 0);
1736 ASSERT(spa_config_held(spa, SCL_ALL, RW_WRITER) == SCL_ALL);
1843 ASSERT(spa_config_held(spa, SCL_ALL, RW_WRITER) == SCL_ALL);
H A Dspa.c1600 ASSERT(spa_config_held(spa, SCL_ALL, RW_WRITER) == SCL_ALL);
1732 ASSERT(spa_config_held(spa, SCL_ALL, RW_WRITER) == SCL_ALL);
2005 ASSERT(spa_config_held(spa, SCL_ALLOC, RW_WRITER));
2028 ASSERT(spa_config_held(spa, SCL_ALLOC, RW_WRITER));
4676 ASSERT(spa_config_held(spa, SCL_CONFIG, RW_READER));
4725 ASSERT(spa_config_held(spa, SCL_CONFIG, RW_READER));
4775 ASSERT(spa_config_held(spa, SCL_CONFIG, RW_READER));
4897 ASSERT(spa_config_held(spa, SCL_ALL, RW_WRITER) == SCL_ALL);
4961 ASSERT(spa_config_held(spa, SCL_ALL, RW_WRITER) == SCL_ALL);
7422 ASSERT(spa_config_held(sp
[all...]
H A Dspa_misc.c523 spa_config_held(spa_t *spa, int locks, krw_t rw) function
2008 ASSERT(spa_config_held(spa, SCL_ALL, RW_READER) != 0);
H A Ddnode.c1301 ASSERT(spa_config_held(os->os_spa, SCL_ALL, RW_WRITER) == 0 ||
1303 spa_config_held(os->os_spa, SCL_STATE, RW_WRITER)));
H A Dzil.c1176 ASSERT3S(spa_config_held(spa, SCL_STATE, RW_READER), !=, 0);
H A Dzio.c703 ASSERT(!vd || spa_config_held(spa, SCL_STATE_ALL, RW_READER));
H A Ddsl_scan.c3000 ASSERT(spa_config_held(spa, SCL_CONFIG, RW_READER));
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dspa.h916 extern int spa_config_held(spa_t *spa, int locks, krw_t rw);
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c1144 ASSERT(spa_config_held(spa, SCL_ALL, RW_READER) != 0);
2834 ASSERT3U(spa_config_held(spa, SCL_VDEV, RW_READER), ==, SCL_VDEV);
3476 ASSERT(spa_config_held(spa, SCL_STATE, RW_READER) == SCL_STATE);
3507 ASSERT(spa_config_held(spa, SCL_STATE, RW_READER) == SCL_STATE);

Completed in 148 milliseconds