Searched refs:parent (Results 1 - 25 of 35) sorted by relevance

12

/httpd/server/
H A Dutil_cfgtree.c20 ap_directive_t *ap_add_node(ap_directive_t **parent, ap_directive_t *current, argument
24 /* we just started a new parent */
25 if (*parent != NULL) {
26 (*parent)->first_child = toadd;
27 toadd->parent = *parent;
31 *parent = toadd;
37 toadd->parent = *parent;
40 *parent
[all...]
H A Dutil_filter.c73 /* Link a trie node to its parent
75 static void trie_node_link(apr_pool_t *p, filter_trie_node *parent, argument
80 if (parent->nchildren == parent->size) {
82 parent->size *= 2;
83 new = (filter_trie_child_ptr *)apr_palloc(p, parent->size *
85 memcpy(new, parent->children, parent->nchildren *
87 parent->children = new;
90 for (i = 0; i < parent
112 trie_node_alloc(apr_pool_t *p, filter_trie_node *parent, char c) argument
[all...]
H A Dscoreboard.c160 ap_scoreboard_image->parent = (process_score *)more_storage;
307 memset(ap_scoreboard_image->parent, 0,
349 * slot, or the parent, noting that the child has died).
352 * since when the parent is writing an entry, it's only noting SERVER_DEAD
399 if (ap_scoreboard_image->parent[i].pid == pid->pid) {
466 ps = &ap_scoreboard_image->parent[child_num];
610 return &ap_scoreboard_image->parent[x];
/httpd/include/
H A Dutil_cfgtree.h56 /** The parent node of this directive */
57 struct ap_directive_t *parent; member in struct:ap_directive_t
83 * @param parent The current parent node. If the added node is a first_child,
90 ap_directive_t *ap_add_node(ap_directive_t **parent, ap_directive_t *current,
H A Dap_regkey.h60 * @param parentkey The open registry key of the parent, or one of
70 * @param keyname The path of the key relative to the parent key
94 * @param parent The open registry key of the parent, or one of
104 * @param keyname The path of the key relative to the parent key
110 AP_DECLARE(apr_status_t) ap_regkey_remove(const ap_regkey_t *parent,
H A Dscoreboard.h72 * created at config time in the parent are valid across children. However,
74 * arrays in the scoreboard never change between the parent and forked
129 /* stuff which the parent generally writes and the children rarely read */
154 process_score *parent; member in struct:__anon41
/httpd/support/
H A Dlogresolve.pl.in34 # the parent process handles caching of IP->hostnames using a Perl hash
72 my $parent = $$;
78 $filename = "./.socket.$parent.$child";
86 &parent;
94 if (-e "./.socket.$parent.$child") {
95 unlink("./.socket.$parent.$child")
96 || warn ".socket.$parent.$child $!";
101 sub parent {
109 ## to this parent and use an unique temp filename to do so.
114 warn "parent socke
[all...]
/httpd/modules/dav/fs/
H A Dmod_dav_fs.c57 dav_fs_server_conf *parent = base; local
64 child->lockdb_path ? child->lockdb_path : parent->lockdb_path;
/httpd/modules/dav/lock/
H A Dmod_dav_lock.c50 dav_lock_dir_conf *parent = base; local
57 child->lockdb_path ? child->lockdb_path : parent->lockdb_path;
/httpd/modules/core/
H A Dmod_watchdog.h118 * @param parent Non-zero to get the parent process watchdog instance.
128 (ap_watchdog_t **watchdog, const char *name, int parent,
159 * @param parent Non-zero to indicate the parent process watchdog mode.
169 int parent, int singleton))
H A Dmod_watchdog.c28 #define AP_WATCHDOG_PVERSION "parent"
302 int parent,
307 const char *pver = parent ? AP_WATCHDOG_PVERSION : AP_WATCHDOG_CVERSION;
309 if (parent && mpm_is_forked != AP_MPMQ_NOT_SUPPORTED) {
324 w->singleton = parent ? 0 : singleton;
390 /* Create default watchdogs for parent and child */
391 /* Parent watchdog executes inside parent process so it doesn't need the */
411 /* Create parent process watchdog for
431 /* Create watchdog thread in parent and initializes Watchdog module */
481 "Watchdog: Failed to create parent worke
300 ap_watchdog_get_instance(ap_watchdog_t **watchdog, const char *name, int parent, int singleton, apr_pool_t *p) argument
[all...]
/httpd/server/mpm/mpmt_os2/
H A Dmpmt_os2.c20 * - a main, parent process
23 * The parent process's job is to manage the child processes. This involves
93 * sockets from the parent to child processes
188 /* Main processing of the parent process
267 ap_scoreboard_image->parent[0].pid = getpid();
279 active_children += ap_scoreboard_image->parent[slot].pid != 0 &&
280 !ap_scoreboard_image->parent[slot].quiescing;
285 if (ap_scoreboard_image->parent[slot].pid == 0) {
295 for (slot=0; ap_scoreboard_image->parent[slot].pid != child_pid && slot < HARD_SERVER_LIMIT; slot++);
298 ap_scoreboard_image->parent[slo
[all...]
H A Dmpmt_os2_child.c147 /* Find our pid in the scoreboard so we know what slot our parent allocated us */
148 for (child_slot = 0; ap_scoreboard_image->parent[child_slot].pid != my_pid && child_slot < HARD_SERVER_LIMIT; child_slot++);
156 ap_my_generation = ap_scoreboard_image->parent[child_slot].generation;
251 ap_scoreboard_image->parent[child_slot].quiescing = 1;
333 ap_scoreboard_image->parent[child_slot].quiescing = 1;
/httpd/modules/loggers/
H A Dmod_log_debug.c170 const log_debug_dirconf *parent = parent_conf; local
173 if (parent->entries == NULL)
176 merged->entries = parent->entries;
179 merged->entries = apr_array_append(p, parent->entries, new->entries);
H A Dmod_log_forensic.c59 static void *merge_forensic_log_scfg(apr_pool_t *p, void *parent, void *new) argument
62 fcfg *pc = parent;
/httpd/modules/dav/main/
H A Dutil_lock.c444 dav_resource *parent; local
474 &parent)) != NULL) {
478 resource = parent;
586 ** parent of resource to resource and below.
602 dav_resource *parent; local
604 &parent)) != NULL) {
608 if (parent == NULL) {
611 "Could not fetch parent resource. Unable to "
612 "inherit locks from the parent and apply "
615 which_resource = parent;
[all...]
H A Dutil.c999 ** Don't issue this response if we're talking about the parent resource.
1002 ** UNLOCK method, the parent is checked only for locknull resources,
1003 ** and the parent certainly does not have the (locknull's) locktoken)
1486 ** The check of parent should be done when it is necessary to verify that
1487 ** the parent collection will accept a new member (ie current resource
1629 /* (2) Validate the parent resource if requested */
1637 "Cannot access parent of repository root.");
1646 ** This error occurred on the parent resource. This implies that
1657 "A validation error has occurred on the parent resource, "
1914 /* check parent resourc
1916 dav_resource *parent; local
[all...]
/httpd/modules/mappers/
H A Dmod_vhost_alias.c86 mva_sconf_t *parent = (mva_sconf_t *) parentv; local
92 conf->doc_root_mode = parent->doc_root_mode;
93 conf->doc_root = parent->doc_root;
100 conf->cgi_root_mode = parent->cgi_root_mode;
101 conf->cgi_root = parent->cgi_root;
/httpd/modules/metadata/
H A Dmod_version.c284 ap_directive_t *parent = NULL; local
289 &current, &parent, "<IfVersion");
/httpd/server/mpm/motorz/
H A Dmotorz.h107 #define MPM_CHILD_PID(i) (ap_scoreboard_image->parent[i].pid)
/httpd/server/mpm/worker/
H A Dworker.c188 #define MPM_CHILD_PID(i) (ap_scoreboard_image->parent[i].pid)
392 ap_scoreboard_image->parent[childnum].pid,
393 ap_scoreboard_image->parent[childnum].generation,
395 ap_scoreboard_image->parent[childnum].pid = 0;
404 ap_scoreboard_image->parent[slot].pid = pid;
406 ap_scoreboard_image->parent[slot].pid,
416 ap_scoreboard_image->parent[slot].pid,
417 ap_scoreboard_image->parent[slot].quiescing ?
420 ap_scoreboard_image->parent[slot].pid,
421 ap_scoreboard_image->parent[slo
[all...]
/httpd/server/mpm/event/
H A Devent.c150 #define MPM_CHILD_PID(i) (ap_scoreboard_image->parent[i].pid)
448 ap_scoreboard_image->parent[process_slot].not_accepting = 1;
467 * XXX: the parent may kill some processes off too soon.
469 ap_scoreboard_image->parent[process_slot].not_accepting = 0;
606 ap_scoreboard_image->parent[childnum].pid,
607 ap_scoreboard_image->parent[childnum].generation,
609 ap_scoreboard_image->parent[childnum].pid = 0;
618 ap_scoreboard_image->parent[slot].pid = pid;
620 ap_scoreboard_image->parent[slot].pid,
630 ap_scoreboard_image->parent[slo
[all...]
/httpd/server/mpm/prefork/
H A Dprefork.c138 #define MPM_CHILD_PID(i) (ap_scoreboard_image->parent[i].pid)
207 ap_scoreboard_image->parent[childnum].pid,
208 ap_scoreboard_image->parent[childnum].generation,
210 ap_scoreboard_image->parent[childnum].pid = 0;
215 ap_scoreboard_image->parent[slot].pid = pid;
217 ap_scoreboard_image->parent[slot].pid,
391 * in the parent process, unless running in ONE_PROCESS mode
743 * parent will kill us soon enough, but why bother checking?
820 /* Disable the parent's signal handlers and set up proper handling in
839 ap_scoreboard_image->parent[slo
[all...]
/httpd/modules/cluster/
H A Dmod_heartbeat.c141 int parent, int singleton)
140 hb_watchdog_need(server_rec *s, const char *name, int parent, int singleton) argument
/httpd/modules/filters/
H A Dmod_include.c97 struct parse_node *parent; member in struct:parse_node
231 (name)->parent = (name)->left = (name)->right = NULL; \
254 if (d__c->parent != node) { \
256 if (!d__c->parent) { \
263 d__c->parent->token.s); \
297 current = current->parent;
315 current = current->parent;
335 current = current->parent;
427 (name)->parent = (name)->left = (name)->right = NULL; \
1237 new->parent
3817 request_rec *parent; local
[all...]

Completed in 204 milliseconds

12