/freebsd-13-stable/usr.sbin/ctld/ |
H A D | kernel.c | 165 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 D | zpool_clear_004_pos.ksh | 88 typeset devlist="$VDEV1 $VDEV2 spare $SDEV" 93 log_must $ZPOOL create -f $TESTPOOL1 $devlist
|
/freebsd-13-stable/sbin/nvmecontrol/ |
H A D | devlist.c | 52 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 D | Makefile | 8 SRCS+= devlist.c firmware.c format.c identify.c logpage.c ns.c nsid.c
|
/freebsd-13-stable/contrib/libpcap/testprogs/ |
H A D | opentest.c | 64 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 D | capturetest.c | 72 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 D | selpolltest.c | 76 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 D | threadsignaltest.c | 186 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 D | valgrindtest.c | 237 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 D | basic.sh | 105 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 D | cardbus.c | 275 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 D | acpi_iicbus.c | 546 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 D | nvme.c | 222 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 D | hdspe.c | 94 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 D | hdspe-pcm.c | 207 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 D | mfi_pci.c | 286 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 D | pci_iov.c | 444 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 D | ctladm.c | 172 {"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 D | cfumass | 31 _luns=`ctladm devlist -b block -v | awk '
|
/freebsd-13-stable/usr.sbin/ppp/ |
H A D | physical.c | 202 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 D | physical.h | 112 char devlist[LINE_LEN]; /* NUL separated list of devices */ member in struct:physical::__anon16679
|
/freebsd-13-stable/contrib/tcpdump/ |
H A D | tcpdump.c | 431 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 D | bhnd_subr.c | 450 * @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 D | hdacc.c | 751 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 D | pccbb.c | 283 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);
|