Searched refs:nifs (Results 1 - 5 of 5) sorted by relevance

/freebsd-13-stable/usr.sbin/wake/
H A Dwake.c113 int nifs; local
122 for (nifs = 0, ifa = ifap; ifa; ifa = ifa->ifa_next)
128 nifs++;
133 return (nifs == 1 ? 0 : -1);
/freebsd-13-stable/stand/efi/libefi/
H A Definet.c366 int err, i, nifs; local
388 nifs = 0;
400 handles2[nifs] = handles[i];
401 nifs++;
404 if (nifs == 0) {
409 err = efi_register_handles(&efinet_dev, handles2, NULL, nifs);
413 efinetif.netif_ifs = calloc(nifs, sizeof(struct netif_dif));
414 stats = calloc(nifs, sizeof(struct netif_stats));
422 efinetif.netif_nifs = nifs;
424 for (i = 0; i < nifs;
[all...]
/freebsd-13-stable/contrib/ipfilter/
H A Dip_fil.c22 static int nifs = 0; variable
266 nifs = 1;
269 nifs++;
270 ifneta = (struct ifnet **)reallocarray(ifneta, nifs + 1,
274 nifs = 0;
277 ifneta[nifs] = NULL;
278 ifneta[nifs - 1] = (struct ifnet *)malloc(sizeof(*ifp));
279 if (!ifneta[nifs - 1]) {
280 nifs--;
284 ifp = ifneta[nifs
[all...]
/freebsd-13-stable/sys/dev/oce/
H A Doce_hw.c403 atomic_inc_32(&sc->nifs);
432 if (sc->nifs > 0) {
434 atomic_dec_32(&sc->nifs);
H A Doce_if.h861 uint32_t nifs; /* number of adapter interfaces, 0 or 1 */ member in struct:oce_softc

Completed in 68 milliseconds