Home
last modified time | relevance | path

Searched refs:total_chunks (Results 1 – 1 of 1) sorted by relevance

/freebsd-14.2/lib/geom/virstor/
H A Dgeom_virstor.c161 size_t total_chunks; /* We'll run out of memory if in virstor_label() local
252 total_chunks = md.md_virsize / md.md_chunk_size; in virstor_label()
253 map_size = total_chunks * sizeof(*map); in virstor_label()
259 total_chunks += add_chunks; in virstor_label()
260 md.md_virsize = (off_t)total_chunks * (off_t)md.md_chunk_size; in virstor_label()
261 map_size = total_chunks * sizeof(*map); in virstor_label()
271 total_chunks, (size_t)(md.md_chunk_size / (1024 * 1024)), in virstor_label()
334 map = calloc(total_chunks, sizeof(*map)); in virstor_label()