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

Function vdev_psize_to_asize

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

Source from the content-addressed store, hash-verified

3594}
3595
3596uint64_t
3597vdev_psize_to_asize(vdev_t *vd, uint64_t psize)
3598{
3599 return (vd->vdev_ops->vdev_op_asize(vd, psize));
3600}
3601
3602/*
3603 * Mark the given vdev faulted. A faulted vdev behaves as if the device could

Callers 15

metaslab_alloc_dvaFunction · 0.85
metaslab_unalloc_dvaFunction · 0.85
metaslab_free_dvaFunction · 0.85
metaslab_claim_dvaFunction · 0.85
metaslab_check_freeFunction · 0.85
vdev_default_asizeFunction · 0.85
vdev_set_deflate_ratioFunction · 0.85
arc_hdr_l2hdr_destroyFunction · 0.85
arc_readFunction · 0.85
l2arc_write_doneFunction · 0.85
l2arc_log_blk_overheadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected