Searched refs:SCL_STATE (Results 1 - 15 of 15) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa_config.c375 spa_config_enter(spa, SCL_CONFIG | SCL_STATE, FTAG, RW_READER);
378 ASSERT(spa_config_held(spa, SCL_CONFIG | SCL_STATE, RW_READER) ==
379 (SCL_CONFIG | SCL_STATE));
506 spa_config_exit(spa, SCL_CONFIG | SCL_STATE, FTAG);
H A Dmmp.c300 ASSERT(spa_config_held(spa, SCL_STATE, RW_READER));
405 spa_config_exit(spa, SCL_STATE, mmp_tag);
444 spa_config_enter(spa, SCL_STATE, mmp_tag, RW_READER);
447 zfs_dbgmsg("MMP SCL_STATE acquisition pool '%s' took %llu ns "
483 spa_config_exit(spa, SCL_STATE, mmp_tag);
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);
H A Dvdev_removal.c392 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER);
397 spa_config_exit(spa, SCL_STATE, FTAG);
412 spa_config_exit(spa, SCL_STATE, FTAG);
417 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER);
432 spa_config_exit(spa, SCL_STATE, FTAG);
787 spa_config_exit(zio->io_spa, SCL_STATE, zio->io_spa);
1010 spa_config_enter(spa, SCL_STATE, spa, RW_READER);
H A Dspa.c832 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER);
834 spa_config_exit(spa, SCL_STATE, FTAG);
854 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER);
858 spa_config_exit(spa, SCL_STATE, FTAG);
6611 spa_config_enter(spa, SCL_CONFIG | SCL_STATE, FTAG, RW_READER);
6616 spa_config_exit(spa, SCL_CONFIG | SCL_STATE, FTAG);
6619 spa_config_exit(spa, SCL_CONFIG | SCL_STATE, FTAG);
6622 spa_config_exit(spa, SCL_CONFIG | SCL_STATE, FTAG);
6626 spa_config_exit(spa, SCL_CONFIG | SCL_STATE, FTAG);
6722 spa_config_enter(spa, SCL_CONFIG | SCL_STATE, FTA
[all...]
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 Dzil.c903 spa_config_enter(os->os_spa, SCL_STATE, FTAG, RW_READER);
907 spa_config_exit(os->os_spa, SCL_STATE, FTAG);
1089 spa_config_exit(zilog->zl_spa, SCL_STATE, lwb);
1176 ASSERT3S(spa_config_held(spa, SCL_STATE, RW_READER), !=, 0);
1495 spa_config_enter(zilog->zl_spa, SCL_STATE, lwb, RW_READER);
H A Dvdev_initialize.c605 ASSERT(!spa_config_held(vd->vdev_spa, SCL_CONFIG|SCL_STATE, RW_WRITER));
H A Dvdev.c4068 * The state list is protected by the SCL_STATE lock. The caller
4069 * must either hold SCL_STATE as writer, or must be the sync thread
4070 * (which holds SCL_STATE as reader). There's only one sync thread,
4073 ASSERT(spa_config_held(spa, SCL_STATE, RW_WRITER) ||
4075 spa_config_held(spa, SCL_STATE, RW_READER)));
4087 ASSERT(spa_config_held(spa, SCL_STATE, RW_WRITER) ||
4089 spa_config_held(spa, SCL_STATE, RW_READER)));
H A Dzvol.c1208 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER);
1216 spa_config_exit(spa, SCL_STATE, FTAG);
H A Dvdev_trim.c970 ASSERT(!spa_config_held(vd->vdev_spa, SCL_CONFIG|SCL_STATE, RW_WRITER));
H A Ddnode.c1299 spa_config_held(os->os_spa, SCL_STATE, RW_WRITER)));
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c3476 ASSERT(spa_config_held(spa, SCL_STATE, RW_READER) == SCL_STATE);
3507 ASSERT(spa_config_held(spa, SCL_STATE, RW_READER) == SCL_STATE);
3511 spa_config_exit(spa, SCL_STATE, spa);
3513 spa_config_enter(spa, SCL_STATE, spa, RW_READER);
3592 spa_config_enter(spa, SCL_STATE, spa, RW_READER);
3601 spa_config_exit(spa, SCL_STATE, spa);
3631 spa_config_exit(spa, SCL_STATE, spa);
3657 spa_config_exit(spa, SCL_STATE, sp
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dspa.h912 #define SCL_STATE 0x02 macro
920 #define SCL_STATE_ALL (SCL_STATE | SCL_L2ARC | SCL_ZIO)
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c5597 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER);
5620 spa_config_exit(spa, SCL_STATE, FTAG);

Completed in 290 milliseconds