MCPcopy Create free account
hub / github.com/F-Stack/f-stack / zio_destroy

Function zio_destroy

freebsd/contrib/openzfs/module/zfs/zio.c:898–907  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

896}
897
898static void
899zio_destroy(zio_t *zio)
900{
901 metaslab_trace_fini(&zio->io_alloc_list);
902 list_destroy(&zio->io_parent_list);
903 list_destroy(&zio->io_child_list);
904 mutex_destroy(&zio->io_lock);
905 cv_destroy(&zio->io_cv);
906 kmem_cache_free(zio_cache, zio);
907}
908
909zio_t *
910zio_null(zio_t *pio, spa_t *spa, vdev_t *vd, zio_done_func_t *done,

Callers 2

zio_waitFunction · 0.85
zio_doneFunction · 0.85

Calls 5

metaslab_trace_finiFunction · 0.85
mutex_destroyFunction · 0.85
kmem_cache_freeFunction · 0.85
list_destroyFunction · 0.50
cv_destroyFunction · 0.50

Tested by

no test coverage detected