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

12

/freebsd-13-stable/usr.sbin/ctld/
H A Dkernel.c165 struct cctl_devlist_data *devlist; local
168 devlist = (struct cctl_devlist_data *)user_data;
169 cur_lun = devlist->cur_lun;
170 devlist->level++;
171 if ((u_int)devlist->level >= (sizeof(devlist->cur_sb) /
172 sizeof(devlist->cur_sb[0])))
174 sizeof(devlist->cur_sb) / sizeof(devlist->cur_sb[0]));
176 devlist
210 struct cctl_devlist_data *devlist; local
287 struct cctl_devlist_data *devlist; local
332 struct cctl_devlist_data *devlist; local
412 struct cctl_devlist_data *devlist; local
430 struct cctl_devlist_data devlist; local
[all...]
/freebsd-13-stable/tests/sys/cddl/zfs/tests/cli_root/zpool_clear/
H A Dzpool_clear_004_pos.ksh88 typeset devlist="$VDEV1 $VDEV2 spare $SDEV"
93 log_must $ZPOOL create -f $TESTPOOL1 $devlist
/freebsd-13-stable/sbin/nvmecontrol/
H A Ddevlist.c52 static cmd_fn_t devlist; variable
55 .name = "devlist",
56 .fn = devlist,
78 devlist(const struct cmd *f, int argc, char *argv[]) function
H A DMakefile8 SRCS+= devlist.c firmware.c format.c identify.c logpage.c ns.c nsid.c
/freebsd-13-stable/contrib/libpcap/testprogs/
H A Dopentest.c64 pcap_if_t *devlist; local
126 if (pcap_findalldevs(&devlist, ebuf) == -1)
128 if (devlist == NULL)
130 device = strdup(devlist->name);
131 pcap_freealldevs(devlist);
H A Dcapturetest.c72 pcap_if_t *devlist; local
127 if (pcap_findalldevs(&devlist, ebuf) == -1)
129 if (devlist == NULL)
131 device = strdup(devlist->name);
132 pcap_freealldevs(devlist);
H A Dselpolltest.c76 pcap_if_t *devlist; local
134 if (pcap_findalldevs(&devlist, ebuf) == -1)
136 if (devlist == NULL)
138 device = strdup(devlist->name);
139 pcap_freealldevs(devlist);
H A Dthreadsignaltest.c186 pcap_if_t *devlist; local
217 if (pcap_findalldevs(&devlist, ebuf) == -1)
219 if (devlist == NULL)
221 device = strdup(devlist->name);
222 pcap_freealldevs(devlist);
H A Dvalgrindtest.c237 pcap_if_t *devlist; local
292 if (pcap_findalldevs(&devlist, ebuf) == -1)
294 if (devlist == NULL)
296 device = strdup(devlist->name);
297 pcap_freealldevs(devlist);
/freebsd-13-stable/sbin/nvmecontrol/tests/
H A Dbasic.sh105 atf_test_case devlist
108 atf_set "descr" "check the devlist command"
114 atf_check -o not-empty -e empty nvmecontrol devlist
116 atf_check -s not-exit:0 -o ignore -e ignore nvmecontrol devlist
118 atf_check -s not-exit:0 -o ignore -e match:"${INV_OPT_MSG}" nvmecontrol devlist ${INV_OPT}
229 atf_add_test_case devlist
/freebsd-13-stable/sys/dev/cardbus/
H A Dcardbus.c275 device_t *devlist; local
281 if (device_get_children(cbdev, &devlist, &numdevs) != 0)
289 dev = devlist[i];
296 dev = devlist[i];
309 free(devlist, M_TEMP);
/freebsd-13-stable/sys/dev/iicbus/
H A Dacpi_iicbus.c546 device_t *devlist; local
549 if (device_get_children(dev, &devlist, &numdevs) != 0)
553 if (all_children || device_is_attached(devlist[i]) != 0)
554 acpi_set_powerstate(devlist[i], state);
556 free(devlist, M_TEMP);
649 device_t child, *devlist; local
653 if (device_get_children(dev, &devlist, &numdevs) != 0)
657 child = devlist[i];
664 free(devlist, M_TEMP);
/freebsd-13-stable/sys/dev/nvme/
H A Dnvme.c222 device_t *devlist; local
226 if (devclass_get_devices(nvme_devclass, &devlist, &devcount))
230 ctrlr = DEVICE2SOFTC(devlist[dev_idx]);
234 free(devlist, M_TEMP);
/freebsd-13-stable/sys/dev/sound/pci/
H A Dhdspe.c94 device_t *devlist; local
106 if ((err = device_get_children(sc->dev, &devlist, &devcount)) != 0)
110 scp = device_get_ivars(devlist[i]);
116 free(devlist, M_TEMP);
H A Dhdspe-pcm.c207 device_t *devlist; local
212 if ((err = device_get_children(sc->dev, &devlist, &devcount)) != 0)
216 scp = device_get_ivars(devlist[i]);
224 free(devlist, M_TEMP);
233 free(devlist, M_TEMP);
/freebsd-13-stable/sys/dev/mfi/
H A Dmfi_pci.c286 device_t *devlist; local
300 if ((error = device_get_children(sc->mfi_dev, &devlist, &devcount)) != 0) {
305 device_delete_child(sc->mfi_dev, devlist[i]);
306 free(devlist, M_TEMP);
/freebsd-13-stable/sys/dev/pci/
H A Dpci_iov.c444 device_t *devlist; local
452 error = device_get_children(bus, &devlist, &devcount);
459 if (pci_find_extcap(devlist[i], PCIZ_SRIOV, &iov_pos) == 0) {
460 dev_func = pci_get_function(devlist[i]);
462 lowest = devlist[i];
468 free(devlist, M_TEMP);
836 device_t bus, dev, vf, *devlist; local
846 devlist = NULL;
850 error = device_get_children(bus, &devlist, &devcount);
856 vf = devlist[
[all...]
/freebsd-13-stable/usr.sbin/ctladm/
H A Dctladm.c172 {"devlist", CTLADM_CMD_DEVLIST, CTLADM_ARG_NONE, "b:vx"},
3236 struct cctl_devlist_data *devlist; local
3239 devlist = (struct cctl_devlist_data *)user_data;
3240 cur_lun = devlist->cur_lun;
3241 devlist->level++;
3242 if ((u_int)devlist->level >= (sizeof(devlist->cur_sb) /
3243 sizeof(devlist->cur_sb[0])))
3245 sizeof(devlist->cur_sb) / sizeof(devlist
3280 struct cctl_devlist_data *devlist; local
3352 struct cctl_devlist_data *devlist; local
3363 struct cctl_devlist_data devlist; local
[all...]
/freebsd-13-stable/libexec/rc/rc.d/
H A Dcfumass31 _luns=`ctladm devlist -b block -v | awk '
/freebsd-13-stable/usr.sbin/ppp/
H A Dphysical.c202 memcpy(p->cfg.devlist, MODEM_LIST, sizeof MODEM_LIST);
468 dev = p->cfg.devlist;
779 p->cfg.devlist[sizeof p->cfg.devlist - 1] = '\0';
780 for (f = 0, pos = 0; f < argc && pos < sizeof p->cfg.devlist - 1; f++) {
782 p->cfg.devlist[pos++] = '\0';
783 strncpy(p->cfg.devlist + pos, argv[f], sizeof p->cfg.devlist - pos - 1);
784 pos += strlen(p->cfg.devlist + pos);
1014 dev = p->cfg.devlist;
[all...]
H A Dphysical.h112 char devlist[LINE_LEN]; /* NUL separated list of devices */ member in struct:physical::__anon16679
/freebsd-13-stable/contrib/tcpdump/
H A Dtcpdump.c431 pcap_if_t *dev, *devlist; local
435 if (pcap_findalldevs(&devlist, ebuf) < 0)
437 for (i = 0, dev = devlist; dev != NULL; i++, dev = dev->next) {
445 pcap_freealldevs(devlist);
963 pcap_if_t *dev, *devlist; local
968 if (pcap_findalldevs(&devlist, ebuf) < 0)
973 for (i = 0, dev = devlist; i < devnum-1 && dev != NULL;
979 pcap_freealldevs(devlist);
1161 pcap_if_t *devlist; local
1694 if (pcap_findalldevs(&devlist, ebu
[all...]
/freebsd-13-stable/sys/dev/bhnd/
H A Dbhnd_subr.c450 * @param[out] devlist The array of devices.
453 * in @p devlist.
460 bhnd_bus_get_children(device_t bus, device_t **devlist, int *devcount, argument
466 if ((error = device_get_children(bus, devlist, devcount)))
470 if ((error = bhnd_sort_devices(*devlist, *devcount, order))) {
471 bhnd_bus_free_children(*devlist);
481 * @param devlist The device array returned by bhnd_bus_get_children().
484 bhnd_bus_free_children(device_t *devlist) argument
486 free(devlist, M_TEMP);
492 * @param devlist A
500 bhnd_sort_devices(device_t *devlist, size_t devcount, bhnd_device_order order) argument
[all...]
/freebsd-13-stable/sys/dev/sound/pci/hda/
H A Dhdacc.c751 device_t *devlist; local
754 if (device_get_children(dev, &devlist, &devcount) != 0)
757 HDAC_PINDUMP(devlist[i]);
758 free(devlist, M_TEMP);
/freebsd-13-stable/sys/dev/pccbb/
H A Dpccbb.c283 device_t *devlist; local
304 error = device_get_children(brdev, &devlist, &numdevs);
316 device_delete_child(brdev, devlist[tmp]);
317 free(devlist, M_TEMP);
412 device_t *devlist; local
419 tmp = device_get_children(brdev, &devlist, &numdevs);
425 dev = devlist[tmp];
430 free(devlist, M_TEMP);

Completed in 302 milliseconds

12