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

Function l2arc_vdev_present

freebsd/contrib/openzfs/module/zfs/arc.c:9436–9440  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9434}
9435
9436boolean_t
9437l2arc_vdev_present(vdev_t *vd)
9438{
9439 return (l2arc_vdev_get(vd) != NULL);
9440}
9441
9442/*
9443 * Returns the l2arc_dev_t associated with a particular vdev_t or NULL if

Callers 4

vdev_reopenFunction · 0.85
l2arc_add_vdevFunction · 0.85
spa_load_l2cacheFunction · 0.85
spa_l2cache_dropFunction · 0.85

Calls 1

l2arc_vdev_getFunction · 0.85

Tested by

no test coverage detected