Lines Matching refs:vdev_autotrim_thread
177 * Determines whether a vdev_autotrim_thread() should be stopped.
1218 vdev_autotrim_thread(void *arg)
1226 ASSERT3P(vd->vdev_autotrim_thread, !=, NULL);
1483 ASSERT(vd->vdev_autotrim_thread != NULL);
1484 vd->vdev_autotrim_thread = NULL;
1505 tvd->vdev_autotrim_thread == NULL &&
1509 tvd->vdev_autotrim_thread = thread_create(NULL, 0,
1510 vdev_autotrim_thread, tvd, 0, &p0, TS_RUN,
1512 ASSERT(tvd->vdev_autotrim_thread != NULL);
1519 * Wait for the vdev_autotrim_thread associated with the passed top-level
1526 if (tvd->vdev_autotrim_thread != NULL) {
1532 ASSERT3P(tvd->vdev_autotrim_thread, ==, NULL);
1550 if (tvd->vdev_autotrim_thread != NULL)
1557 * Wait for all of the vdev_autotrim_thread associated with the pool to
1570 * Conditionally restart all of the vdev_autotrim_thread's for the pool.