Lines Matching defs:atfork_storage
93 static struct atfork_cb_block *atfork_storage = NULL;
127 if (__predict_true(atfork_storage == NULL)) {
138 if (__predict_false(atfork_storage == NULL ||
139 cb_used(atfork_storage) + blocks > cb_ents(atfork_storage))) {
151 atfork_storage = mmap(0, hw_pagesize, PROT_READ|PROT_WRITE,
153 if (__predict_false(atfork_storage == NULL))
155 cb_used(atfork_storage) = 1;
156 cb_ents(atfork_storage) =
158 if (__predict_false(cb_ents(atfork_storage) < blocks + 1))
162 result = cb_blocks(atfork_storage) + cb_used(atfork_storage);
163 cb_used(atfork_storage) += blocks;