Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/ssh/libssh/common/
H A Dchannels.c75 static int channels_alloc = 0; variable
148 if (id < 0 || id >= channels_alloc) { in channel_lookup()
219 if (channels_alloc == 0) { in channel_new()
220 channels_alloc = 10; in channel_new()
221 channels = xmalloc(channels_alloc * sizeof(Channel *)); in channel_new()
222 for (i = 0; i < channels_alloc; i++) in channel_new()
227 for (found = -1, i = 0; i < channels_alloc; i++) in channel_new()
235 found = channels_alloc; in channel_new()
236 if (channels_alloc > 10000) in channel_new()
238 "too big.", channels_alloc); in channel_new()
[all …]