Home
last modified time | relevance | path

Searched refs:nif (Results 1 – 15 of 15) sorted by relevance

/freebsd-9-stable/lib/libstand/
Dnetif.c79 netif_match(nif, machdep_hint) in netif_match() argument
80 struct netif *nif; in netif_match()
83 struct netif_driver *drv = nif->nif_driver;
88 nif->nif_unit, nif->nif_sel);
90 return drv->netif_match(nif, machdep_hint);
165 netif_probe(nif, machdep_hint) in netif_probe() argument
166 struct netif *nif; in netif_probe()
169 struct netif_driver *drv = nif->nif_driver;
173 printf("%s%d: netif_probe\n", drv->netif_bname, nif->nif_unit);
175 return drv->netif_probe(nif, machdep_hint);
[all …]
/freebsd-9-stable/sys/boot/uboot/lib/
Dnet.c88 net_match(struct netif *nif, void *machdep_hint) in net_match() argument
100 net_probe(struct netif *nif, void *machdep_hint) in net_probe() argument
127 struct netif *nif = desc->io_netif; in net_put() local
128 struct uboot_softc *sc = nif->nif_devdata; in net_put()
166 struct netif *nif = desc->io_netif; in net_get() local
167 struct uboot_softc *sc = nif->nif_devdata; in net_get()
206 struct netif *nif = desc->io_netif; in net_init() local
211 sc = nif->nif_devdata = &uboot_softc; in net_init()
215 nif->nif_driver->netif_bname, nif->nif_unit, err); in net_init()
222 nif->nif_driver->netif_bname, nif->nif_unit); in net_init()
[all …]
/freebsd-9-stable/sys/boot/efi/libefi/
Definet.c100 efinet_match(struct netif *nif, void *machdep_hint) in efinet_match() argument
107 efinet_probe(struct netif *nif, void *machdep_hint) in efinet_probe() argument
116 struct netif *nif = desc->io_netif; in efinet_put() local
121 net = nif->nif_devdata; in efinet_put()
144 struct netif *nif = desc->io_netif; in efinet_get() local
151 net = nif->nif_devdata; in efinet_get()
179 struct netif *nif = desc->io_netif; in efinet_init() local
184 h = nif->nif_driver->netif_ifs[nif->nif_unit].dif_private; in efinet_init()
185 status = BS->HandleProtocol(h, &sn_guid, (VOID **)&nif->nif_devdata); in efinet_init()
188 nif->nif_unit, (long)status); in efinet_init()
[all …]
/freebsd-9-stable/sys/boot/ofw/libofw/
Dofw_net.c79 ofwn_match(struct netif *nif, void *machdep_hint) in ofwn_match() argument
85 ofwn_probe(struct netif *nif, void *machdep_hint) in ofwn_probe() argument
231 ofwn_end(struct netif *nif) in ofwn_end() argument
/freebsd-9-stable/sys/boot/i386/libi386/
Dpxe.c83 static int pxe_netif_match(struct netif *nif, void *machdep_hint);
84 static int pxe_netif_probe(struct netif *nif, void *machdep_hint);
89 static void pxe_netif_end(struct netif *nif);
577 pxe_netif_match(struct netif *nif, void *machdep_hint) in pxe_netif_match() argument
584 pxe_netif_probe(struct netif *nif, void *machdep_hint) in pxe_netif_probe() argument
603 pxe_netif_end(struct netif *nif) in pxe_netif_end() argument
/freebsd-9-stable/sys/boot/powerpc/ps3/
Dps3net.c94 ps3net_match(struct netif *nif, void *machdep_hint) in ps3net_match() argument
100 ps3net_probe(struct netif *nif, void *machdep_hint) in ps3net_probe() argument
274 ps3net_end(struct netif *nif) in ps3net_end() argument
/freebsd-9-stable/lib/libusb/
Dlibusb10_desc.c101 uint8_t nif; in libusb_get_config_descriptor() local
119 nalt = nif = pconf->num_interface; in libusb_get_config_descriptor()
123 for (i = 0; i < nif; i++) { in libusb_get_config_descriptor()
153 (nif * sizeof(libusb_interface)) + in libusb_get_config_descriptor()
170 ifd = (libusb_interface_descriptor *) (pconfd->interface + nif); in libusb_get_config_descriptor()
193 for (i = 0; i < nif; i++) { in libusb_get_config_descriptor()
209 for (i = 0; i < nif; i++) { in libusb_get_config_descriptor()
/freebsd-9-stable/sbin/fsck_ffs/
Dinode.c157 int i, n, (*func)(struct inodesc *), nif; in iblock() local
176 nif = NINDIR(&sblock); in iblock()
178 nif = howmany(isize, sizepb); in iblock()
179 if (idesc->id_func == pass1check && nif < NINDIR(&sblock)) { in iblock()
180 for (i = nif; i < NINDIR(&sblock); i++) { in iblock()
194 for (i = 0; i < nif; i++) { in iblock()
/freebsd-9-stable/bin/sh/
Dparser.c410 n1 = (union node *)stalloc(sizeof (struct nif)); in command()
412 if ((n1->nif.test = list(0, 0)) == NULL) in command()
416 n1->nif.ifpart = list(0, 0); in command()
419 n2->nif.elsepart = (union node *)stalloc(sizeof (struct nif)); in command()
420 n2 = n2->nif.elsepart; in command()
422 if ((n2->nif.test = list(0, 0)) == NULL) in command()
426 n2->nif.ifpart = list(0, 0); in command()
429 n2->nif.elsepart = list(0, 0); in command()
431 n2->nif.elsepart = NULL; in command()
Deval.c240 evaltree(n->nif.test, EV_TESTED); in evaltree()
244 next = n->nif.ifpart; in evaltree()
245 else if (n->nif.elsepart) in evaltree()
246 next = n->nif.elsepart; in evaltree()
Dnodetypes78 NIF nif # the if statement. Elif clauses are handled
Djobs.c1249 cmdtxt(n->nif.test); in cmdtxt()
1251 cmdtxt(n->nif.ifpart); in cmdtxt()
/freebsd-9-stable/contrib/ntp/ntpd/
Dntp_io.c2564 int nif; in io_setbclient() local
2566 nif = 0; in io_setbclient()
2593 nif++; in io_setbclient()
2608 nif++; in io_setbclient()
2628 nif++; in io_setbclient()
2641 if (nif > 0) { in io_setbclient()
2643 DPRINTF(1, ("io_setbclient: listening to %d broadcast addresses\n", nif)); in io_setbclient()
2645 else if (!nif) { in io_setbclient()
/freebsd-9-stable/contrib/file/magic/Magdir/
Dgames229 # Extension: .nif, .kf
241 # Extension .nif
/freebsd-9-stable/crypto/heimdal/kadmin/
Dkadmin-commands.in94 …help = "Initializes the default principals for a realm. Creates the database\nif necessary. Local …