Searched refs:num_buckets (Results 1 - 7 of 7) sorted by relevance

/httpd/server/mpm/worker/
H A Dworker.c173 * restarts (to size retained data according to dynamic num_buckets,
176 int num_buckets, max_buckets; member in struct:worker_retained_data
1244 for (i = 0; i < retained->num_buckets; i++) {
1484 if (make_child(ap_server_conf, i, i % retained->num_buckets) < 0) {
1491 static void perform_idle_server_maintenance(int child_bucket, int num_buckets) argument
1559 && free_length < MAX_SPAWN_RATE / num_buckets
1615 if (idle_thread_count > max_spare_threads / num_buckets) {
1621 else if (idle_thread_count < min_spare_threads / num_buckets) {
1678 < MAX_SPAWN_RATE / num_buckets) {
1688 static void server_main_loop(int remaining_children_to_start, int num_buckets) argument
1809 int num_buckets = retained->num_buckets; local
2018 int num_buckets = 0; local
[all...]
/httpd/server/mpm/prefork/
H A Dprefork.c134 static int num_buckets; /* Number of listeners buckets */ variable
540 for (i = 0; i < num_buckets; i++) {
855 if (make_child(ap_server_conf, i, i % num_buckets) < 0) {
916 bucket_kill_child_record = (bucket_kill_child_record + 1) % num_buckets;
943 bucket_make_child_record %= num_buckets;
997 /* Don't thrash since num_buckets depends on the
1000 if (ap_daemons_limit < num_buckets)
1001 ap_daemons_limit = num_buckets;
1002 if (ap_daemons_to_start < num_buckets)
1003 ap_daemons_to_start = num_buckets;
[all...]
/httpd/server/mpm/event/
H A Devent.c381 * restarts (to size retained data according to dynamic num_buckets,
384 int num_buckets, max_buckets; member in struct:event_retained_data
2518 for (i = 0; i < retained->num_buckets; i++) {
2757 if (make_child(ap_server_conf, i, i % retained->num_buckets) < 0) {
2764 static void perform_idle_server_maintenance(int child_bucket, int num_buckets) argument
2834 && free_length < MAX_SPAWN_RATE / num_buckets
2890 if (idle_thread_count > max_spare_threads / num_buckets) {
2896 else if (idle_thread_count < min_spare_threads / num_buckets) {
2939 < MAX_SPAWN_RATE / num_buckets) {
2949 static void server_main_loop(int remaining_children_to_start, int num_buckets) argument
3072 int num_buckets = retained->num_buckets; local
3277 int num_buckets = 0; local
[all...]
/httpd/include/
H A Dap_listen.h103 * @param num_buckets The total number of listeners buckets (array size).
104 * @remark If the given *num_buckets is 0 (input), it will be computed
107 * always match *num_buckets, be it computed or given.
111 int *num_buckets);
/httpd/server/mpm/motorz/
H A Dmotorz.c49 static int num_buckets; /* Number of listeners buckets */ variable
871 for (i = 0; i < num_buckets; i++) {
1135 if (make_child(mz, ap_server_conf, i, i % num_buckets) < 0) {
1172 bucket_kill_child_record = (bucket_kill_child_record + 1) % num_buckets;
1177 bucket_make_child_record %= num_buckets;
1218 /* Don't thrash since num_buckets depends on the
1221 if (ap_daemons_limit < num_buckets)
1222 ap_daemons_limit = num_buckets;
1223 if (ap_num_kids < num_buckets)
1224 ap_num_kids = num_buckets;
[all...]
/httpd/server/
H A Dlisten.c768 int *num_buckets)
776 if (*num_buckets < 1) {
777 *num_buckets = 1;
784 *num_buckets = val;
789 *num_buckets, num_online_cores,
804 *buckets = apr_pcalloc(p, *num_buckets * sizeof(ap_listen_rec *));
807 for (i = 1; i < *num_buckets; i++) {
869 ap_num_listen_buckets = *num_buckets;
/httpd/modules/aaa/
H A Dmod_auth_digest.c186 static unsigned long num_buckets = DEF_NUM_BUCKETS; variable
273 sizeof(client_entry*)*num_buckets));
279 for (idx = 0; idx < num_buckets; idx++) {
282 client_list->tbl_len = num_buckets;
638 num_buckets = (size - sizeof(*client_list)) /
640 if (num_buckets == 0) {
641 num_buckets = 1;
645 shmem_size, num_buckets);

Completed in 3245 milliseconds