Home
last modified time | relevance | path

Searched refs:spa_trim_thread (Results 1 – 2 of 2) sorted by relevance

/NextBSD/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
HDtrim_map.c565 if (spa->spa_trim_thread == NULL) { in trim_thread()
566 spa->spa_trim_thread = curthread; in trim_thread()
596 spa->spa_trim_thread = thread_create(NULL, 0, trim_thread, spa, 0, &p0, in trim_thread_create()
607 if (spa->spa_trim_thread == NULL) in trim_thread_destroy()
612 spa->spa_trim_thread = NULL; in trim_thread_destroy()
615 while (spa->spa_trim_thread == NULL) in trim_thread_destroy()
617 spa->spa_trim_thread = NULL; in trim_thread_destroy()
630 if (spa->spa_trim_thread == NULL) in trim_thread_wakeup()
/NextBSD/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
HDspa_impl.h244 kthread_t *spa_trim_thread; /* thread sending TRIM I/Os */ member