Searched refs:devlist (Results 1 - 25 of 36) sorted by relevance

12

/freebsd-11.0-release/contrib/libpcap/
H A Dfad-win32.c45 pcap_add_if_win32(pcap_if_t **devlist, char *name, const char *desc, argument
58 if (add_or_find_if(&curdev, devlist, name, 0, desc, errbuf) == -1) {
124 pcap_if_t *devlist = NULL; local
215 if (pcap_add_if_win32(&devlist, name, desc, errbuf) == -1) {
231 if (pcap_platform_finddevs(&devlist, errbuf) < 0)
239 if (devlist != NULL) {
240 pcap_freealldevs(devlist);
241 devlist = NULL;
245 *alldevsp = devlist;
H A Dfad-getad.c149 pcap_if_t *devlist = NULL; local
257 if (add_addr_to_iflist(&devlist, ifa->ifa_name,
272 if (devlist != NULL) {
273 pcap_freealldevs(devlist);
274 devlist = NULL;
278 *alldevsp = devlist;
H A Dfad-gifc.c137 pcap_if_t *devlist = NULL; local
393 if (add_addr_to_iflist(&devlist, ifrp->ifr_name,
409 if (devlist != NULL) {
410 pcap_freealldevs(devlist);
411 devlist = NULL;
415 *alldevsp = devlist;
H A Dfad-glifc.c80 pcap_if_t *devlist = NULL; local
343 if (add_addr_to_iflist(&devlist, ifrp->lifr_name,
361 if (devlist != NULL) {
362 pcap_freealldevs(devlist);
363 devlist = NULL;
367 *alldevsp = devlist;
H A Dpcap-dos.c536 pcap_if_t *devlist = NULL; local
562 if (pcap_add_if(&devlist, dev->name, dev->flags,
568 if (add_addr_to_iflist(&devlist,dev->name, dev->flags, addr, addr_size,
577 if (devlist && ret < 0)
579 pcap_freealldevs (devlist);
580 devlist = NULL;
583 if (!devlist)
586 *alldevsp = devlist;
/freebsd-11.0-release/usr.sbin/ctld/
H A Dkernel.c150 struct cctl_devlist_data *devlist; local
153 devlist = (struct cctl_devlist_data *)user_data;
154 cur_lun = devlist->cur_lun;
155 devlist->level++;
156 if ((u_int)devlist->level >= (sizeof(devlist->cur_sb) /
157 sizeof(devlist->cur_sb[0])))
159 sizeof(devlist->cur_sb) / sizeof(devlist->cur_sb[0]));
161 devlist
195 struct cctl_devlist_data *devlist; local
266 struct cctl_devlist_data *devlist; local
311 struct cctl_devlist_data *devlist; local
383 struct cctl_devlist_data *devlist; local
401 struct cctl_devlist_data devlist; local
[all...]
/freebsd-11.0-release/sbin/nvmecontrol/
H A DMakefile5 SRCS= nvmecontrol.c devlist.c firmware.c identify.c logpage.c \
H A Dnvmecontrol.h38 " nvmecontrol devlist\n"
61 void devlist(int argc, char *argv[]);
H A Ddevlist.c28 __FBSDID("$FreeBSD: releng/11.0/sbin/nvmecontrol/devlist.c 260381 2014-01-06 23:48:47Z jimharris $");
60 devlist(int argc, char *argv[]) function
H A Dnvmecontrol.c55 {"devlist", devlist, DEVLIST_USAGE},
/freebsd-11.0-release/sys/dev/nvme/
H A Dnvme.c185 device_t *devlist; local
189 if (devclass_get_devices(nvme_devclass, &devlist, &devcount))
193 ctrlr = DEVICE2SOFTC(devlist[dev]);
197 free(devlist, M_TEMP);
353 device_t *devlist; local
357 if (devclass_get_devices(nvme_devclass, &devlist, &devcount))
361 ctrlr = DEVICE2SOFTC(devlist[dev_idx]);
365 free(devlist, M_TEMP);
/freebsd-11.0-release/sys/dev/mii/
H A Dmlphy.c167 device_t *devlist; local
172 if (device_get_children(msc->ml_mii.mii_dev, &devlist, &devs) != 0)
175 if (devlist[i] != msc->ml_dev) {
176 retval = device_get_softc(devlist[i]);
180 free(devlist, M_TEMP);
H A Dtlphy.c141 device_t *devlist; local
158 device_get_children(sc_mii->mii_dev, &devlist, &devs) == 0) {
160 if (devlist[i] != dev) {
161 other = device_get_softc(devlist[i]);
166 free(devlist, M_TEMP);
/freebsd-11.0-release/sys/dev/spibus/
H A Dspibus.c74 device_t *devlist; local
78 if ((err = device_get_children(dev, &devlist, &ndevs)) != 0)
81 device_delete_child(dev, devlist[i]);
82 free(devlist, M_TEMP);
/freebsd-11.0-release/sys/dev/cardbus/
H A Dcardbus.c268 device_t *devlist; local
274 if (device_get_children(cbdev, &devlist, &numdevs) != 0)
282 dev = devlist[i];
289 dev = devlist[i];
302 free(devlist, M_TEMP);
/freebsd-11.0-release/sys/dev/mfi/
H A Dmfi_pci.c278 device_t *devlist; local
292 if ((error = device_get_children(sc->mfi_dev, &devlist, &devcount)) != 0) {
297 device_delete_child(sc->mfi_dev, devlist[i]);
298 free(devlist, M_TEMP);
/freebsd-11.0-release/sys/dev/sound/pci/
H A Dhdspe.c92 device_t *devlist; local
100 if ((err = device_get_children(sc->dev, &devlist, &devcount)) != 0)
104 scp = device_get_ivars(devlist[i]);
110 free(devlist, M_TEMP);
H A Dhdspe-pcm.c196 device_t *devlist; local
198 if ((err = device_get_children(sc->dev, &devlist, &devcount)) != 0)
202 scp = device_get_ivars(devlist[i]);
210 free(devlist, M_TEMP);
218 free(devlist, M_TEMP);
/freebsd-11.0-release/sys/dev/pci/
H A Dpci_iov.c421 device_t *devlist; local
429 error = device_get_children(bus, &devlist, &devcount);
436 if (pci_find_extcap(devlist[i], PCIZ_SRIOV, &iov_pos) == 0) {
437 dev_func = pci_get_function(devlist[i]);
439 lowest = devlist[i];
445 free(devlist, M_TEMP);
813 device_t bus, dev, vf, *devlist; local
824 devlist = NULL;
838 error = device_get_children(bus, &devlist, &devcount);
844 vf = devlist[
[all...]
/freebsd-11.0-release/usr.sbin/ctladm/
H A Dctladm.c168 {"devlist", CTLADM_CMD_DEVLIST, CTLADM_ARG_NONE, "b:vx"},
3245 struct cctl_devlist_data *devlist; local
3248 devlist = (struct cctl_devlist_data *)user_data;
3249 cur_lun = devlist->cur_lun;
3250 devlist->level++;
3251 if ((u_int)devlist->level >= (sizeof(devlist->cur_sb) /
3252 sizeof(devlist->cur_sb[0])))
3254 sizeof(devlist->cur_sb) / sizeof(devlist
3289 struct cctl_devlist_data *devlist; local
3361 struct cctl_devlist_data *devlist; local
3372 struct cctl_devlist_data devlist; local
[all...]
/freebsd-11.0-release/sys/dev/mmc/
H A Dmmc.c1290 device_t *devlist; local
1310 if ((err = device_get_children(sc->dev, &devlist, &devcount)) != 0)
1313 ivar = device_get_ivars(devlist[i]);
1319 free(devlist, M_TEMP);
1531 device_t *devlist; local
1534 if ((err = device_get_children(sc->dev, &devlist, &devcount)) != 0)
1537 ivar = device_get_ivars(devlist[i]);
1542 device_delete_child(sc->dev, devlist[i]);
1546 free(devlist, M_TEMP);
1554 device_t *devlist; local
[all...]
/freebsd-11.0-release/sys/dev/bhnd/bhndb/
H A Dbhndb.c74 static bool bhndb_hw_matches(device_t *devlist,
186 * Return true if @p devlist matches the @p hw specification.
188 * @param devlist A device table to match against.
189 * @param num_devs The number of devices in @p devlist.
193 bhndb_hw_matches(device_t *devlist, int num_devs, const struct bhndb_hw *hw) argument
204 ci = bhnd_get_core_info(devlist[d]);
995 device_t hostb_dev, *devlist; local
1007 if ((error = device_get_children(child, &devlist, &devcnt)))
1011 qsort(devlist, devcnt, sizeof(*devlist), compare_core_inde
[all...]
/freebsd-11.0-release/usr.sbin/ppp/
H A Dphysical.c209 memcpy(p->cfg.devlist, MODEM_LIST, sizeof MODEM_LIST);
479 dev = p->cfg.devlist;
790 p->cfg.devlist[sizeof p->cfg.devlist - 1] = '\0';
791 for (f = 0, pos = 0; f < argc && pos < sizeof p->cfg.devlist - 1; f++) {
793 p->cfg.devlist[pos++] = '\0';
794 strncpy(p->cfg.devlist + pos, argv[f], sizeof p->cfg.devlist - pos - 1);
795 pos += strlen(p->cfg.devlist + pos);
1028 dev = p->cfg.devlist;
[all...]
H A Dphysical.h112 char devlist[LINE_LEN]; /* NUL separated list of devices */ member in struct:physical::__anon14094
/freebsd-11.0-release/sys/dev/sound/pci/hda/
H A Dhdacc.c681 device_t *devlist; local
684 if (device_get_children(dev, &devlist, &devcount) != 0)
687 HDAC_PINDUMP(devlist[i]);
688 free(devlist, M_TEMP);

Completed in 130 milliseconds

12