Searched refs:logicals_allocated (Results 1 – 2 of 2) sorted by relevance
250 static unsigned int logicals_allocated = 0; variable662 if (logicals_allocated == 0) in make_logical()664 logicals_allocated = 4; in make_logical()666 xcalloc (logicals_allocated, sizeof (struct logicals_entry)); in make_logical()668 if (logical > logicals_allocated) in make_logical()670 unsigned int old = logicals_allocated; in make_logical()672 logicals_allocated *= 2; in make_logical()673 if (logical > logicals_allocated) in make_logical()674 logicals_allocated = logical; in make_logical()677 logicals_allocated * sizeof (struct logicals_entry)); in make_logical()[all …]
429 static unsigned int logicals_allocated = 0; variable436 logicals_allocated = 0; in free_logicals()444 if (logicals_allocated == 0) in append_logical()446 logicals_allocated = 4; in append_logical()447 logicals_table = (SMR *) xmalloc (logicals_allocated * sizeof (SMR)); in append_logical()449 if (logicals_count >= logicals_allocated) in append_logical()451 logicals_allocated *= 2; in append_logical()453 xrealloc (logicals_table, logicals_allocated * sizeof (SMR)); in append_logical()