Searched refs:nifs (Results 1 - 5 of 5) sorted by relevance
/freebsd-current/usr.sbin/wake/ |
H A D | wake.c | 111 int nifs; local 120 for (nifs = 0, ifa = ifap; ifa; ifa = ifa->ifa_next) 126 nifs++; 131 return (nifs == 1 ? 0 : -1);
|
/freebsd-current/stand/efi/libefi/ |
H A D | efinet.c | 363 int err, i, nifs; local 385 nifs = 0; 397 handles2[nifs] = handles[i]; 398 nifs++; 401 if (nifs == 0) { 406 err = efi_register_handles(&efinet_dev, handles2, NULL, nifs); 410 efinetif.netif_ifs = calloc(nifs, sizeof(struct netif_dif)); 411 stats = calloc(nifs, sizeof(struct netif_stats)); 419 efinetif.netif_nifs = nifs; 421 for (i = 0; i < nifs; [all...] |
/freebsd-current/sbin/ipf/ipftest/ |
H A D | ip_fil.c | 17 static int nifs = 0; variable 261 nifs = 1; 264 nifs++; 265 ifneta = (struct ifnet **)reallocarray(ifneta, nifs + 1, 269 nifs = 0; 272 ifneta[nifs] = NULL; 273 ifneta[nifs - 1] = (struct ifnet *)malloc(sizeof(*ifp)); 274 if (!ifneta[nifs - 1]) { 275 nifs--; 279 ifp = ifneta[nifs [all...] |
/freebsd-current/sys/dev/oce/ |
H A D | oce_hw.c | 402 atomic_inc_32(&sc->nifs); 431 if (sc->nifs > 0) { 433 atomic_dec_32(&sc->nifs);
|
H A D | oce_if.h | 861 uint32_t nifs; /* number of adapter interfaces, 0 or 1 */ member in struct:oce_softc
|
Completed in 83 milliseconds