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

Function vdev_writeable

freebsd/contrib/openzfs/module/zfs/vdev.c:4030–4035  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4028}
4029
4030boolean_t
4031vdev_writeable(vdev_t *vd)
4032{
4033 return (!vdev_is_dead(vd) && !vd->vdev_cant_write &&
4034 vdev_is_concrete(vd));
4035}
4036
4037boolean_t
4038vdev_allocatable(vdev_t *vd)

Callers 15

vdev_rebuild_should_stopFunction · 0.85
vdev_rebuild_cbFunction · 0.85
mmp_next_leafFunction · 0.85
vdev_initialize_cbFunction · 0.85
vdev_initialize_threadFunction · 0.85
vdev_initialize_restartFunction · 0.85
vdev_trim_should_stopFunction · 0.85
vdev_trim_cbFunction · 0.85
vdev_trim_threadFunction · 0.85

Calls 2

vdev_is_deadFunction · 0.85
vdev_is_concreteFunction · 0.85

Tested by

no test coverage detected