Home
last modified time | relevance | path

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

/freebsd/crypto/krb5/src/util/support/
H A Dipc_stream.c59 uint64_t new_max_size = 0; in krb5int_ipc_stream_reallocate() local
65 new_max_size = io_stream->max_size; in krb5int_ipc_stream_reallocate()
69 while (in_new_size > new_max_size) { in krb5int_ipc_stream_reallocate()
70 new_max_size += K5_IPC_STREAM_SIZE_INCREMENT; in krb5int_ipc_stream_reallocate()
76 while ((in_new_size + K5_IPC_STREAM_SIZE_INCREMENT) < new_max_size && in krb5int_ipc_stream_reallocate()
77 (new_max_size > K5_IPC_STREAM_SIZE_INCREMENT)) { in krb5int_ipc_stream_reallocate()
78 new_max_size -= K5_IPC_STREAM_SIZE_INCREMENT; in krb5int_ipc_stream_reallocate()
83 if (!err && new_max_size != io_stream->max_size) { in krb5int_ipc_stream_reallocate()
87 data = malloc (new_max_size * sizeof (*data)); in krb5int_ipc_stream_reallocate()
89 data = realloc (data, new_max_size * sizeof (*data)); in krb5int_ipc_stream_reallocate()
[all …]