Home
last modified time | relevance | path

Searched refs:nhosts (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/nsswitch/files/common/
H A Dgethostent.c347 int parsestat, i, nhosts = 0, buflen; local
430 (void *)&taddr[nhosts]:
431 (void *)&taddr6[nhosts];
446 if (nhosts == 1 && hp) {
486 if (nhosts > 0) {
526 if (nhosts > 0) {
548 if (++nhosts == 1) {
567 if (nhosts >= ntaddr) {
611 } else if (nhosts) {
627 ((nhosts + 1) * sizeof (char *) +
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Druptime.c53 static int nhosts; variable
138 if (nhosts == hostslim) { in main()
179 nhosts++; hsp++; in main()
185 qsort((char *)hs, nhosts, sizeof (hs[0]), cmp); in main()
186 if (nhosts == 0) { in main()
190 for (i = 0; i < nhosts; i++) { in main()
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/
H A Dnetgroup.c106 int nhosts = clnames->h_cnt; in netgroup_check() local
162 for (j = 0; j < nhosts && !belong; j++) { in netgroup_check()
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_util.c556 int nhosts = clnames->h_cnt; in smb_netgroup_match() local
611 for (j = 0; j < nhosts && !belong; j++) { in smb_netgroup_match()