Lines Matching defs:retained

99 /* data retained by prefork across load/unload of the module
127 static prefork_retained_data *retained;
218 retained->my_generation, slot, MPM_CHILD_STARTED);
249 if (retained->my_generation !=
268 if (retained->my_generation !=
339 *result = retained->my_generation;
387 retained->is_graceful = (sig == AP_SIG_GRACEFUL_STOP);
401 retained->is_graceful = (sig == AP_SIG_GRACEFUL);
740 else if (retained->my_generation !=
757 if (slot + 1 > retained->max_daemons_limit) {
758 retained->max_daemons_limit = slot + 1;
884 if (i >= retained->max_daemons_limit && free_length == retained->idle_spawn_rate)
890 if (free_length < retained->idle_spawn_rate) {
910 retained->max_daemons_limit = last_non_dead + 1;
918 retained->idle_spawn_rate = 1;
924 if (!retained->maxclients_reported) {
928 retained->maxclients_reported = 1;
930 retained->idle_spawn_rate = 1;
933 if (retained->idle_spawn_rate >= 8) {
938 "%d total children", retained->idle_spawn_rate,
950 if (retained->hold_off_on_exponential_spawning) {
951 --retained->hold_off_on_exponential_spawning;
953 else if (retained->idle_spawn_rate < MAX_SPAWN_RATE) {
954 retained->idle_spawn_rate *= 2;
959 retained->idle_spawn_rate = 1;
975 if (!retained->is_graceful) {
983 ap_scoreboard_image->global->running_generation = retained->my_generation;
1021 if (!retained->is_graceful) {
1029 retained->hold_off_on_exponential_spawning = 10;
1072 == retained->my_generation) {
1093 retained->idle_spawn_rate = 1;
1110 else if (retained->is_graceful) {
1145 if (shutdown_pending && !retained->is_graceful) {
1175 ap_mpm_pod_killpg(all_buckets[i].pod, retained->max_daemons_limit);
1242 ++retained->my_generation;
1243 ap_scoreboard_image->global->running_generation = retained->my_generation;
1245 if (retained->is_graceful) {
1251 ap_mpm_pod_killpg(all_buckets[i].pod, retained->max_daemons_limit);
1302 if (retained->module_loads == 1) {
1317 else if (!retained->is_graceful) { /* Preserve the number of buckets
1378 retained = ap_retained_data_get(userdata_key);
1379 if (!retained) {
1380 retained = ap_retained_data_create(userdata_key, sizeof(*retained));
1381 retained->max_daemons_limit = -1;
1382 retained->idle_spawn_rate = 1;
1384 ++retained->module_loads;
1385 if (retained->module_loads == 2) {
1418 if (retained->module_loads == 1) {
1454 if (!retained->first_server_limit) {
1455 retained->first_server_limit = server_limit;
1457 else if (server_limit != retained->first_server_limit) {
1462 server_limit, retained->first_server_limit);
1463 server_limit = retained->first_server_limit;