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

/netbsd-current/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Dspa_config.c390 spa_config_enter(spa, SCL_CONFIG | SCL_STATE, FTAG, RW_READER);
393 ASSERT(spa_config_held(spa, SCL_CONFIG | SCL_STATE, RW_READER) ==
394 (SCL_CONFIG | SCL_STATE));
511 spa_config_exit(spa, SCL_CONFIG | SCL_STATE, FTAG);
H A Dtrim_map.c599 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER);
603 spa_config_exit(spa, SCL_STATE, FTAG);
H A Dvdev_disk.c108 ASSERT(spa_config_held(vd->vdev_spa, SCL_STATE, RW_WRITER));
116 ASSERT(spa_config_held(vd->vdev_spa, SCL_STATE, RW_WRITER));
H A Dzil.c766 spa_config_enter(os->os_spa, SCL_STATE, FTAG, RW_READER);
770 spa_config_exit(os->os_spa, SCL_STATE, FTAG);
852 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER);
871 spa_config_exit(spa, SCL_STATE, FTAG);
H A Dvdev_label.c205 (spa_config_held(zio->io_spa, SCL_CONFIG | SCL_STATE, RW_READER) ==
206 (SCL_CONFIG | SCL_STATE) &&
H A Dspa.c747 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER);
749 spa_config_exit(spa, SCL_STATE, FTAG);
769 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER);
773 spa_config_exit(spa, SCL_STATE, FTAG);
6502 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER);
6589 spa_config_exit(spa, SCL_STATE, FTAG);
6872 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER);
6881 spa_config_exit(spa, SCL_CONFIG | SCL_STATE, FTAG);
6882 spa_config_enter(spa, SCL_CONFIG | SCL_STATE, FTAG, RW_WRITER);
6887 spa_config_exit(spa, SCL_CONFIG | SCL_STATE, FTA
[all...]
H A Dvdev.c3261 * The state list is protected by the SCL_STATE lock. The caller
3262 * must either hold SCL_STATE as writer, or must be the sync thread
3263 * (which holds SCL_STATE as reader). There's only one sync thread,
3266 ASSERT(spa_config_held(spa, SCL_STATE, RW_WRITER) ||
3268 spa_config_held(spa, SCL_STATE, RW_READER)));
3279 ASSERT(spa_config_held(spa, SCL_STATE, RW_WRITER) ||
3281 spa_config_held(spa, SCL_STATE, RW_READER)));
H A Dzvol.c1748 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER);
1756 spa_config_exit(spa, SCL_STATE, FTAG);
H A Ddnode.c1085 spa_config_held(os->os_spa, SCL_STATE, RW_WRITER)));
/netbsd-current/external/cddl/osnet/dist/cmd/ztest/
H A Dztest.c2933 ASSERT(spa_config_held(spa, SCL_STATE, RW_READER) == SCL_STATE);
2964 ASSERT(spa_config_held(spa, SCL_STATE, RW_READER) == SCL_STATE);
2968 spa_config_exit(spa, SCL_STATE, spa);
2970 spa_config_enter(spa, SCL_STATE, spa, RW_READER);
3048 spa_config_enter(spa, SCL_STATE, spa, RW_READER);
3074 spa_config_exit(spa, SCL_STATE, spa);
3099 spa_config_exit(spa, SCL_STATE, spa);
3104 spa_config_exit(spa, SCL_STATE, sp
[all...]
/netbsd-current/external/cddl/osnet/dist/uts/common/fs/zfs/sys/
H A Dspa.h739 #define SCL_STATE 0x02 macro
747 #define SCL_STATE_ALL (SCL_STATE | SCL_L2ARC | SCL_ZIO)
/netbsd-current/external/cddl/osnet/dist/cmd/zdb/
H A Dzdb.c3399 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER);
3421 spa_config_exit(spa, SCL_STATE, FTAG);

Completed in 377 milliseconds