Searched refs:channels_alloc (Results 1 – 1 of 1) sorted by relevance
98 static u_int channels_alloc = 0; variable201 if (id < 0 || (u_int)id >= channels_alloc) { in channel_by_id()219 for (i = 0; i < channels_alloc; i++) { in channel_by_remote_id()313 if (channels_alloc == 0) { in channel_new()314 channels_alloc = 10; in channel_new()315 channels = xcalloc(channels_alloc, sizeof(Channel *)); in channel_new()316 for (i = 0; i < channels_alloc; i++) in channel_new()320 for (found = -1, i = 0; i < channels_alloc; i++) in channel_new()328 found = channels_alloc; in channel_new()329 if (channels_alloc > 10000) in channel_new()[all …]