Home
last modified time | relevance | path

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

/freebsd/lib/geom/virstor/
H A Dgeom_virstor.c160 size_t total_chunks, write_max_map_entries; in virstor_label() local
325 write_max_map_entries = 1024 * 1024 / sizeof(*map); in virstor_label()
326 if (write_max_map_entries > total_chunks) in virstor_label()
327 write_max_map_entries = total_chunks; in virstor_label()
328 map = calloc(write_max_map_entries, sizeof(*map)); in virstor_label()
332 write_max_map_entries * sizeof(*map)); in virstor_label()
337 chunk += write_max_map_entries) { in virstor_label()
341 if (entries_to_write > write_max_map_entries) in virstor_label()
342 entries_to_write = write_max_map_entries; in virstor_label()