Home
last modified time | relevance | path

Searched refs:vdev_trim_state (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_trim.c259 uint64_t trim_state = vd->vdev_trim_state; in vdev_trim_zap_update_sync()
276 if (new_state == vd->vdev_trim_state) in vdev_trim_change_state()
288 if (vd->vdev_trim_state != VDEV_TRIM_SUSPENDED) { in vdev_trim_change_state()
298 if (vd->vdev_trim_state == VDEV_TRIM_COMPLETE || in vdev_trim_change_state()
299 vd->vdev_trim_state == VDEV_TRIM_CANCELED) { in vdev_trim_change_state()
316 boolean_t resumed = !!(vd->vdev_trim_state == VDEV_TRIM_SUSPENDED); in vdev_trim_change_state()
317 vd->vdev_trim_state = new_state; in vdev_trim_change_state()
683 if (vd->vdev_trim_state == VDEV_TRIM_ACTIVE || in vdev_trim_load()
684 vd->vdev_trim_state == VDEV_TRIM_SUSPENDED) { in vdev_trim_load()
1070 vd->vdev_trim_state = trim_state; in vdev_trim_restart()
[all …]
H A Dvdev.c3420 vd->vdev_trim_state == VDEV_TRIM_ACTIVE) { in vdev_online()
3840 vs->vs_trim_state = vd->vdev_trim_state; in vdev_get_stats_ex()
H A Dspa.c6857 (vd->vdev_trim_state != VDEV_TRIM_ACTIVE &&
6858 vd->vdev_trim_state != VDEV_TRIM_SUSPENDED)) {
6862 vd->vdev_trim_state != VDEV_TRIM_ACTIVE) {
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dvdev_impl.h283 vdev_trim_state_t vdev_trim_state; member