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

Function dbuf_prefetch_fini

freebsd/contrib/openzfs/module/zfs/dbuf.c:3073–3079  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3071} dbuf_prefetch_arg_t;
3072
3073static void
3074dbuf_prefetch_fini(dbuf_prefetch_arg_t *dpa, boolean_t io_done)
3075{
3076 if (dpa->dpa_cb != NULL)
3077 dpa->dpa_cb(dpa->dpa_arg, io_done);
3078 kmem_free(dpa, sizeof (*dpa));
3079}
3080
3081static void
3082dbuf_issue_final_prefetch_done(zio_t *zio, const zbookmark_phys_t *zb,

Callers 3

Calls 1

kmem_freeFunction · 0.50

Tested by

no test coverage detected