Home
last modified time | relevance | path

Searched refs:num_servers (Results 1 – 8 of 8) sorted by relevance

/freebsd/sbin/nfsiod/
H A Dnfsiod.c62 unsigned int iodmin, iodmax, num_servers; in main() local
74 num_servers = 0; in main()
78 num_servers = atoi(optarg); in main()
79 if (num_servers < 1) { in main()
81 num_servers, 1); in main()
82 num_servers = 1; in main()
84 if (num_servers > MAXNFSDCNT) { in main()
86 num_servers, MAXNFSDCNT); in main()
87 num_servers = MAXNFSDCNT; in main()
108 if (num_servers == 0) { /* no change */ in main()
[all …]
/freebsd/crypto/heimdal/lib/kadm5/
H A Dad.c269 int i, num_servers = 0; in _kadm5_ad_connect() local
295 s = realloc(servers, sizeof(*servers) * (num_servers + 1)); in _kadm5_ad_connect()
302 num_servers++; in _kadm5_ad_connect()
303 servers[num_servers - 1].port = rr->u.srv->port; in _kadm5_ad_connect()
304 servers[num_servers - 1].server = strdup(rr->u.srv->target); in _kadm5_ad_connect()
309 if (num_servers == 0) { in _kadm5_ad_connect()
314 for (i = 0; i < num_servers; i++) { in _kadm5_ad_connect()
351 if (i >= num_servers) { in _kadm5_ad_connect()
391 for (i = 0; i < num_servers; i++) in _kadm5_ad_connect()
398 for (i = 0; i < num_servers; i++) in _kadm5_ad_connect()
/freebsd/lib/libradius/
H A Dradlib.c428 if (h->num_servers >= MAXSERVERS) { in rad_add_server_ex()
432 srvp = &h->servers[h->num_servers]; in rad_add_server_ex()
472 h->num_servers++; in rad_add_server_ex()
483 for (srv = 0; srv < h->num_servers; srv++) { in rad_close()
725 if (h->srv >= h->num_servers) in rad_continue_send_request()
812 for (n = 0; n < h->num_servers; n++) { in rad_receive_request()
871 if (h->num_servers == 0) { in rad_create_request()
1047 for (srv = 0; srv < h->num_servers; srv++) in rad_init_send_request()
1050 for (srv = 0; srv < h->num_servers; srv++) { in rad_init_send_request()
1062 if (h->srv == h->num_servers) { in rad_init_send_request()
[all …]
H A Dradlib_private.h81 int num_servers; /* Number of valid server entries */ member
/freebsd/lib/libtacplus/
H A Dtaclib.c381 if (h->num_servers == 0) { in establish_connection()
390 for (i = 0; i < h->num_servers; i++) { in establish_connection()
396 if (++h->cur_server >= h->num_servers) /* Wrap around */ in establish_connection()
694 if (h->num_servers >= MAXSERVERS) { in tac_add_server_av()
698 srvp = &h->servers[h->num_servers]; in tac_add_server_av()
737 h->num_servers++; in tac_add_server_av()
767 for (srv = 0; srv < h->num_servers; srv++) { in tac_close()
985 h->num_servers = 0; in tac_open()
1008 if (h->num_servers == 0) in tac_send_authen()
H A Dtaclib_private.h164 int num_servers; /* Number of valid server entries */ member
/freebsd/contrib/wpa/src/radius/
H A Dradius_client.c384 int num_servers; in radius_client_retransmit() local
398 num_servers = conf->num_acct_servers; in radius_client_retransmit()
419 num_servers = conf->num_auth_servers; in radius_client_retransmit()
493 RADIUS_CLIENT_NUM_FAILOVER * num_servers) { in radius_client_retransmit()
/freebsd/contrib/wpa/src/ap/
H A Dap_config.c556 int num_servers) in hostapd_config_free_radius() argument
560 for (i = 0; i < num_servers; i++) { in hostapd_config_free_radius()