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.c309 ASSERT(spa_config_held(vd->vdev_spa, SCL_CONFIG, RW_READER) ||
310 spa_config_held(vd->vdev_spa, SCL_CONFIG, RW_WRITER));
384 ASSERT(spa_config_held(vd->vdev_spa, SCL_CONFIG, RW_READER) ||
385 spa_config_held(vd->vdev_spa, SCL_CONFIG, RW_WRITER));
605 ASSERT(!spa_config_held(vd->vdev_spa, SCL_CONFIG|SCL_STATE, RW_WRITER));
677 ASSERT(!spa_config_held(vd->vdev_spa, SCL_ALL, RW_WRITER));
H A Dvdev.c292 ASSERT(spa_config_held(spa, SCL_ALL, RW_READER) != 0);
346 ASSERT(spa_config_held(spa, SCL_ALL, RW_WRITER) == SCL_ALL);
434 ASSERT(spa_config_held(pvd->vdev_spa, SCL_ALL, RW_WRITER) == SCL_ALL);
550 ASSERT(spa_config_held(spa, SCL_ALL, RW_WRITER) == SCL_ALL);
1065 ASSERT(spa_config_held(spa, SCL_ALL, RW_WRITER) == SCL_ALL);
1098 ASSERT(spa_config_held(cvd->vdev_spa, SCL_ALL, RW_WRITER) == SCL_ALL);
1193 ASSERT(txg == 0 || spa_config_held(spa, SCL_ALLOC, RW_WRITER));
1414 if (spa_config_held(spa, SCL_ZIO, RW_WRITER)) {
1562 spa_config_held(spa, SCL_STATE_ALL, RW_WRITER) == SCL_STATE_ALL);
1823 spa_config_held(sp
[all...]
H A Dvdev_trim.c582 ASSERT(spa_config_held(vd->vdev_spa, SCL_CONFIG, RW_READER) ||
583 spa_config_held(vd->vdev_spa, SCL_CONFIG, RW_WRITER));
659 ASSERT(spa_config_held(vd->vdev_spa, SCL_CONFIG, RW_READER) ||
660 spa_config_held(vd->vdev_spa, SCL_CONFIG, RW_WRITER));
970 ASSERT(!spa_config_held(vd->vdev_spa, SCL_CONFIG|SCL_STATE, RW_WRITER));
1046 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);
589 ASSERT(spa_config_held(spa, SCL_STATE_ALL, RW_WRITER) == SCL_STATE_ALL);
794 ASSERT(spa_config_held(spa, SCL_ALL, RW_WRITER) == SCL_ALL);
H A Dvdev_indirect.c890 ASSERT0(spa_config_held(vd->vdev_spa, SCL_ALL, RW_WRITER));
907 ASSERT0(spa_config_held(vd->vdev_spa, SCL_ALL, RW_WRITER));
1050 ASSERT(spa_config_held(spa, SCL_ALL, RW_READER) != 0);
1287 ASSERT(spa_config_held(spa, SCL_ALL, RW_READER) != 0);
H A Dmetaslab.c330 ASSERT(spa_config_held(mc->mc_spa, SCL_ALL, RW_READER) ||
331 spa_config_held(mc->mc_spa, SCL_ALL, RW_WRITER));
570 ASSERT3U(spa_config_held(mc->mc_spa, SCL_ALLOC, RW_READER), ==,
730 ASSERT3U(spa_config_held(mc->mc_spa, SCL_ALLOC, RW_WRITER), !=, 0);
768 int locks = spa_config_held(spa, SCL_ALL, RW_WRITER);
770 ASSERT3U(spa_config_held(spa, SCL_ALLOC | SCL_ZIO, RW_WRITER), ==,
4411 ASSERT3U(spa_config_held(spa, SCL_ALL, RW_READER), !=, 0);
4460 ASSERT3U(spa_config_held(spa, SCL_ALL, RW_READER), !=, 0);
4633 ASSERT3U(spa_config_held(spa, SCL_ALL, RW_READER), !=, 0);
4683 ASSERT3U(spa_config_held(sp
[all...]
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 Dvdev_disk.c220 ASSERT(spa_config_held(vd->vdev_spa, SCL_STATE, RW_WRITER));
259 ASSERT(spa_config_held(vd->vdev_spa, SCL_STATE, RW_WRITER));
H A Dvdev_removal.c864 ASSERT3U(spa_config_held(nzio->io_spa, SCL_ALL, RW_READER), !=, 0);
1733 ASSERT(spa_config_held(spa, SCL_ALL, RW_WRITER) == SCL_ALL);
1840 ASSERT(spa_config_held(spa, SCL_ALL, RW_WRITER) == SCL_ALL);
H A Dspa.c1591 ASSERT(spa_config_held(spa, SCL_ALL, RW_WRITER) == SCL_ALL);
1723 ASSERT(spa_config_held(spa, SCL_ALL, RW_WRITER) == SCL_ALL);
1996 ASSERT(spa_config_held(spa, SCL_ALLOC, RW_WRITER));
2019 ASSERT(spa_config_held(spa, SCL_ALLOC, RW_WRITER));
4650 ASSERT(spa_config_held(spa, SCL_CONFIG, RW_READER));
4699 ASSERT(spa_config_held(spa, SCL_CONFIG, RW_READER));
4747 ASSERT(spa_config_held(spa, SCL_CONFIG, RW_READER));
4869 ASSERT(spa_config_held(spa, SCL_ALL, RW_WRITER) == SCL_ALL);
4933 ASSERT(spa_config_held(spa, SCL_ALL, RW_WRITER) == SCL_ALL);
7358 ASSERT(spa_config_held(sp
[all...]
H A Dspa_misc.c520 spa_config_held(spa_t *spa, int locks, krw_t rw) function
1968 ASSERT(spa_config_held(spa, SCL_ALL, RW_READER) != 0);
H A Ddnode.c1297 ASSERT(spa_config_held(os->os_spa, SCL_ALL, RW_WRITER) == 0 ||
1299 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 Ddsl_scan.c2966 ASSERT(spa_config_held(spa, SCL_CONFIG, RW_READER));
H A Dzio.c699 ASSERT(!vd || spa_config_held(spa, SCL_STATE_ALL, RW_READER));
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dspa.h942 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 320 milliseconds