Searched refs:zfs_trim_enabled (Results 1 – 7 of 7) sorted by relevance
77 extern boolean_t zfs_trim_enabled;145 ASSERT(zfs_trim_enabled && !vd->vdev_notrim && in trim_map_create()171 if (!zfs_trim_enabled) in trim_map_destroy()326 if (!zfs_trim_enabled || vd->vdev_notrim || tm == NULL) in trim_map_free()343 if (!zfs_trim_enabled || vd->vdev_notrim || tm == NULL) in trim_map_write_start()390 if (!zfs_trim_enabled || tm == NULL) in trim_map_write_done()611 if (!zfs_trim_enabled) in trim_thread_create()626 if (!zfs_trim_enabled) in trim_thread_destroy()649 if (!zfs_trim_enabled) in trim_thread_wakeup()
85 boolean_t zfs_trim_enabled = B_TRUE; variable87 SYSCTL_INT(_vfs_zfs_trim, OID_AUTO, enabled, CTLFLAG_RDTUN, &zfs_trim_enabled, 0,
731 if (zfs_trim_enabled && vdev_trim_on_init && !vd->vdev_notrim && in vdev_label_init()
926 if (zfs_trim_enabled || BP_IS_GANG(bp) || BP_GET_DEDUP(bp) || in zio_free()953 if (zfs_trim_enabled) in zio_free_sync()
1343 if (zfs_trim_enabled && !vd->vdev_notrim && vd->vdev_ops->vdev_op_leaf) in vdev_open()
7172 zfs_trim_enabled = B_FALSE; in zfs_modcmd()
49 extern boolean_t zfs_trim_enabled;