Searched refs:write_max_map_entries (Results 1 – 1 of 1) sorted by relevance
160 size_t total_chunks, write_max_map_entries; in virstor_label() local325 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()