Searched refs:SCL_STATE (Results 1 - 11 of 11) sorted by relevance
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | spa_config.c | 364 spa_config_enter(spa, SCL_CONFIG | SCL_STATE, FTAG, RW_READER); 367 ASSERT(spa_config_held(spa, SCL_CONFIG | SCL_STATE, RW_READER) == 368 (SCL_CONFIG | SCL_STATE)); 485 spa_config_exit(spa, SCL_CONFIG | SCL_STATE, FTAG);
|
H A D | vdev_disk.c | 191 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 D | zil.c | 748 spa_config_enter(os->os_spa, SCL_STATE, FTAG, RW_READER); 752 spa_config_exit(os->os_spa, SCL_STATE, FTAG); 834 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER); 851 spa_config_exit(spa, SCL_STATE, FTAG);
|
H A D | vdev_label.c | 199 (spa_config_held(zio->io_spa, SCL_CONFIG | SCL_STATE, RW_READER) == 200 (SCL_CONFIG | SCL_STATE) &&
|
H A D | spa.c | 729 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER); 731 spa_config_exit(spa, SCL_STATE, FTAG); 751 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER); 755 spa_config_exit(spa, SCL_STATE, FTAG); 6156 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER); 6243 spa_config_exit(spa, SCL_STATE, FTAG); 6525 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER); 6534 spa_config_exit(spa, SCL_CONFIG | SCL_STATE, FTAG); 6535 spa_config_enter(spa, SCL_CONFIG | SCL_STATE, FTAG, RW_WRITER); 6540 spa_config_exit(spa, SCL_CONFIG | SCL_STATE, FTA [all...] |
H A D | vdev.c | 3101 * The state list is protected by the SCL_STATE lock. The caller 3102 * must either hold SCL_STATE as writer, or must be the sync thread 3103 * (which holds SCL_STATE as reader). There's only one sync thread, 3106 ASSERT(spa_config_held(spa, SCL_STATE, RW_WRITER) || 3108 spa_config_held(spa, SCL_STATE, RW_READER))); 3119 ASSERT(spa_config_held(spa, SCL_STATE, RW_WRITER) || 3121 spa_config_held(spa, SCL_STATE, RW_READER)));
|
H A D | zvol.c | 1205 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER); 1213 spa_config_exit(spa, SCL_STATE, FTAG);
|
H A D | dnode.c | 1077 spa_config_held(os->os_spa, SCL_STATE, RW_WRITER)));
|
/illumos-gate/usr/src/cmd/ztest/ |
H A D | ztest.c | 2938 ASSERT(spa_config_held(spa, SCL_STATE, RW_READER) == SCL_STATE); 2969 ASSERT(spa_config_held(spa, SCL_STATE, RW_READER) == SCL_STATE); 2973 spa_config_exit(spa, SCL_STATE, spa); 2975 spa_config_enter(spa, SCL_STATE, spa, RW_READER); 3053 spa_config_enter(spa, SCL_STATE, spa, RW_READER); 3079 spa_config_exit(spa, SCL_STATE, spa); 3104 spa_config_exit(spa, SCL_STATE, spa); 3109 spa_config_exit(spa, SCL_STATE, sp [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | spa.h | 719 #define SCL_STATE 0x02 macro 727 #define SCL_STATE_ALL (SCL_STATE | SCL_L2ARC | SCL_ZIO)
|
/illumos-gate/usr/src/cmd/zdb/ |
H A D | zdb.c | 3379 spa_config_enter(spa, SCL_STATE, FTAG, RW_READER); 3401 spa_config_exit(spa, SCL_STATE, FTAG);
|
Completed in 126 milliseconds