Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libc/port/gen/
H A Datfork.c91 atfork_t *atfork_q; in _prefork_handler() local
95 if ((atfork_q = udp->atforklist) != NULL) { in _prefork_handler()
96 atfp = atfork_q = atfork_q->back; in _prefork_handler()
100 } while ((atfp = atfp->back) != atfork_q); in _prefork_handler()
112 atfork_t *atfork_q; in _postfork_parent_handler() local
116 if ((atfork_q = udp->atforklist) != NULL) { in _postfork_parent_handler()
117 atfp = atfork_q; in _postfork_parent_handler()
121 } while ((atfp = atfp->forw) != atfork_q); in _postfork_parent_handler()
133 atfork_t *atfork_q; in _postfork_child_handler() local
137 if ((atfork_q = udp->atforklist) != NULL) { in _postfork_child_handler()
[all …]
H A Datexit.c242 atfork_t *atfork_q; in _preexec_atfork_unload() local
249 if ((atfork_q = udp->atforklist) != NULL) { in _preexec_atfork_unload()
250 atfp = atfork_q; in _preexec_atfork_unload()
273 if (atfp == atfork_q) { in _preexec_atfork_unload()
275 udp->atforklist = atfork_q = next; in _preexec_atfork_unload()
281 if (atfp == atfork_q) { in _preexec_atfork_unload()
287 } while ((atfp = next) != atfork_q || start_again); in _preexec_atfork_unload()