crypto/openssh/auth2-chall.c
101
kbdint_alloc(const char *devs)
crypto/openssh/auth2-chall.c
113
if (strcmp(devs, "") == 0) {
crypto/openssh/auth2-chall.c
125
kbdintctxt->devices = xstrdup(devs);
crypto/openssh/auth2-chall.c
193
auth2_challenge(struct ssh *ssh, char *devs)
crypto/openssh/auth2-chall.c
198
devs ? devs : "<no devs>");
crypto/openssh/auth2-chall.c
200
if (authctxt->user == NULL || !devs)
crypto/openssh/auth2-chall.c
203
authctxt->kbdintctxt = kbdint_alloc(devs);
crypto/openssh/auth2-kbdint.c
51
char *lang, *devs;
crypto/openssh/auth2-kbdint.c
54
(r = sshpkt_get_cstring(ssh, &devs, NULL)) != 0 ||
crypto/openssh/auth2-kbdint.c
58
debug("keyboard-interactive devs %s", devs);
crypto/openssh/auth2-kbdint.c
61
authenticated = auth2_challenge(ssh, devs);
crypto/openssh/auth2-kbdint.c
63
free(devs);
lib/libmixer/mixer.c
114
TAILQ_INIT(&m->devs);
lib/libmixer/mixer.c
127
TAILQ_INSERT_TAIL(&m->devs, dp, devs);
lib/libmixer/mixer.c
132
m->dev = TAILQ_FIRST(&m->devs);
lib/libmixer/mixer.c
152
while (!TAILQ_EMPTY(&m->devs)) {
lib/libmixer/mixer.c
153
dp = TAILQ_FIRST(&m->devs);
lib/libmixer/mixer.c
154
TAILQ_REMOVE(&m->devs, dp, devs);
lib/libmixer/mixer.c
181
TAILQ_FOREACH(dp, &m->devs, devs) {
lib/libmixer/mixer.c
200
TAILQ_FOREACH(dp, &m->devs, devs) {
lib/libmixer/mixer.h
69
TAILQ_ENTRY(mix_dev) devs;
lib/libmixer/mixer.h
73
TAILQ_HEAD(mix_devhead, mix_dev) devs; /* device list */
lib/libusb/libusb10.c
668
struct libusb_device **devs;
lib/libusb/libusb10.c
680
if ((i = libusb_get_device_list(ctx, &devs)) < 0)
lib/libusb/libusb10.c
687
tdev = devs[j]->os_priv;
lib/libusb/libusb10.c
696
libusb_open(devs[j], &pdev);
lib/libusb/libusb10.c
701
libusb_free_device_list(devs, 1);
libexec/rpc.rstatd/rstat_proc.c
334
updatexfers(int numdevs, int *devs)
libexec/rpc.rstatd/rstat_proc.c
383
devs[j] = t;
sbin/savecore/savecore.c
1302
char **devs;
sbin/savecore/savecore.c
1305
devs = malloc(argc * sizeof(*argv));
sbin/savecore/savecore.c
1306
if (devs == NULL) {
sbin/savecore/savecore.c
1312
devs[i] = strdup(argv[i]);
sbin/savecore/savecore.c
1330
devs[i] = fullpath;
sbin/savecore/savecore.c
1333
return (devs);
sbin/savecore/savecore.c
1434
char **devs;
sbin/savecore/savecore.c
1522
devs = malloc(sizeof(char *));
sbin/savecore/savecore.c
1523
devs[0] = strdup("/dev/mem");
sbin/savecore/savecore.c
1526
devs = enum_dumpdevs(&argc);
sbin/savecore/savecore.c
1528
devs = devify(argc, argv);
sbin/savecore/savecore.c
1547
init_caps(argc, devs);
sbin/savecore/savecore.c
1550
DoFile(savedir, savedirfd, devs[i]);
sys/cam/scsi/scsi_sa.c
2264
destroy_dev_sched_cb(softc->devs.ctl_dev, sadevgonecb, periph);
sys/cam/scsi/scsi_sa.c
2265
destroy_dev_sched_cb(softc->devs.r_dev, sadevgonecb, periph);
sys/cam/scsi/scsi_sa.c
2266
destroy_dev_sched_cb(softc->devs.nr_dev, sadevgonecb, periph);
sys/cam/scsi/scsi_sa.c
2267
destroy_dev_sched_cb(softc->devs.er_dev, sadevgonecb, periph);
sys/cam/scsi/scsi_sa.c
2657
error = make_dev_s(&args, &softc->devs.ctl_dev, "%s%d.ctl",
sys/cam/scsi/scsi_sa.c
2663
sasetupdev(softc, softc->devs.ctl_dev);
sys/cam/scsi/scsi_sa.c
2666
error = make_dev_s(&args, &softc->devs.r_dev, "%s%d",
sys/cam/scsi/scsi_sa.c
2672
sasetupdev(softc, softc->devs.r_dev);
sys/cam/scsi/scsi_sa.c
2675
error = make_dev_s(&args, &softc->devs.nr_dev, "n%s%d",
sys/cam/scsi/scsi_sa.c
2681
sasetupdev(softc, softc->devs.nr_dev);
sys/cam/scsi/scsi_sa.c
2684
error = make_dev_s(&args, &softc->devs.er_dev, "e%s%d",
sys/cam/scsi/scsi_sa.c
2690
sasetupdev(softc, softc->devs.er_dev);
sys/cam/scsi/scsi_sa.c
386
struct sa_devs devs;
sys/dev/acpica/acpi_thermal.c
334
device_t *devs;
sys/dev/acpica/acpi_thermal.c
337
devclass_get_devices(devclass_find("acpi_tz"), &devs, &devcount);
sys/dev/acpica/acpi_thermal.c
339
free(devs, M_TEMP);
sys/dev/acpica/acpi_thermal.c
362
sc = device_get_softc(devs[i]);
sys/dev/acpica/acpi_thermal.c
370
acpi_tz_cooling_unit = device_get_unit(devs[i]);
sys/dev/acpica/acpi_thermal.c
374
free(devs, M_TEMP);
sys/dev/acpica/acpi_thermal.c
966
device_t *devs;
sys/dev/acpica/acpi_thermal.c
974
devs = NULL;
sys/dev/acpica/acpi_thermal.c
981
if (devs != NULL) {
sys/dev/acpica/acpi_thermal.c
982
free(devs, M_TEMP);
sys/dev/acpica/acpi_thermal.c
985
devclass_get_devices(acpi_tz_devclass, &devs, &devcount);
sys/dev/acpica/acpi_thermal.c
989
sc[i] = device_get_softc(devs[i]);
sys/dev/ata/chipsets/ata-intel.c
411
int mask, pshift, timeout, devs;
sys/dev/ata/chipsets/ata-intel.c
446
devs = ata_sata_phy_reset(dev, 0, 2) ? ATA_ATA_MASTER : 0;
sys/dev/ata/chipsets/ata-intel.c
448
devs |= ata_sata_phy_reset(dev, 1, 2) ?
sys/dev/ata/chipsets/ata-intel.c
451
devs = (pcs & (1 << smap[0])) ? ATA_ATA_MASTER : 0;
sys/dev/ata/chipsets/ata-intel.c
453
devs |= (pcs & (1 << smap[1])) ?
sys/dev/ata/chipsets/ata-intel.c
456
if (devs) {
sys/dev/ata/chipsets/ata-intel.c
459
ch->devices &= (devs | (devs * ATA_ATAPI_MASTER));
sys/dev/ata/chipsets/ata-via.c
449
int devs, count;
sys/dev/ata/chipsets/ata-via.c
453
devs = ata_sata_phy_reset(dev, 0, 0);
sys/dev/ata/chipsets/ata-via.c
463
devs += ata_sata_phy_reset(dev, 1, 0);
sys/dev/ata/chipsets/ata-via.c
473
devs = 1;
sys/dev/ata/chipsets/ata-via.c
474
if (devs)
sys/dev/bhnd/bhnd.c
130
device_t *devs;
sys/dev/bhnd/bhnd.c
135
error = bhnd_bus_get_children(sc->dev, &devs, &ndevs,
sys/dev/bhnd/bhnd.c
142
device_t child = devs[i];
sys/dev/bhnd/bhnd.c
150
bhnd_bus_free_children(devs);
sys/dev/bhnd/bhnd.c
188
device_t *devs;
sys/dev/bhnd/bhnd.c
196
error = bhnd_bus_get_children(dev, &devs, &ndevs,
sys/dev/bhnd/bhnd.c
203
device_t child = devs[i];
sys/dev/bhnd/bhnd.c
211
bhnd_bus_free_children(devs);
sys/dev/bhnd/bhnd.c
225
device_t *devs;
sys/dev/bhnd/bhnd.c
233
error = bhnd_bus_get_children(dev, &devs, &ndevs,
sys/dev/bhnd/bhnd.c
240
device_t child = devs[i];
sys/dev/bhnd/bhnd.c
248
bhnd_bus_free_children(devs);
sys/dev/bhnd/bhnd.c
264
device_t *devs;
sys/dev/bhnd/bhnd.c
272
error = bhnd_bus_get_children(dev, &devs, &ndevs,
sys/dev/bhnd/bhnd.c
279
device_t child = devs[i];
sys/dev/bhnd/bhnd.c
285
BUS_RESUME_CHILD(device_get_parent(devs[j]),
sys/dev/bhnd/bhnd.c
286
devs[j]);
sys/dev/bhnd/bhnd.c
294
bhnd_bus_free_children(devs);
sys/dev/bhnd/bhnd_subr.c
560
device_t *devs;
sys/dev/bhnd/bhnd_subr.c
565
error = bhnd_bus_get_children(bus, &devs, &ndevs,
sys/dev/bhnd/bhnd_subr.c
572
device_t child = devs[i];
sys/dev/bhnd/bhnd_subr.c
576
bhnd_bus_free_children(devs);
sys/dev/bhnd/cores/chipc/chipc.c
1094
device_t *devs;
sys/dev/bhnd/cores/chipc/chipc.c
1110
if ((error = device_get_children(parent, &devs, &devcount))) {
sys/dev/bhnd/cores/chipc/chipc.c
1119
if (devs[i] == hostb || devs[i] == sc->dev)
sys/dev/bhnd/cores/chipc/chipc.c
1122
if (!device_is_attached(devs[i]))
sys/dev/bhnd/cores/chipc/chipc.c
1125
if (device_is_suspended(devs[i]))
sys/dev/bhnd/cores/chipc/chipc.c
1133
free(devs, M_TEMP);
sys/dev/cxgb/common/cxgb_ctl_defs.h
84
if_t devs[MAX_NPORTS];
sys/dev/fb/vesa.c
252
device_t *devs;
sys/dev/fb/vesa.c
264
if (dc != NULL && devclass_get_devices(dc, &devs, &count) == 0) {
sys/dev/fb/vesa.c
266
if (device_get_flags(devs[i]) != 0 &&
sys/dev/fb/vesa.c
267
x86bios_match_device(vesa_bios_offs, devs[i])) {
sys/dev/fb/vesa.c
268
dev = devs[i];
sys/dev/fb/vesa.c
272
free(devs, M_TEMP);
sys/dev/hyperv/utilities/hv_kvp.c
275
device_t *devs;
sys/dev/hyperv/utilities/hv_kvp.c
294
if (devclass_get_devices(devclass_find("hn"), &devs, &devcnt) == 0) {
sys/dev/hyperv/utilities/hv_kvp.c
296
device_t dev = devs[devcnt];
sys/dev/hyperv/utilities/hv_kvp.c
318
free(devs, M_TEMP);
sys/dev/ipmi/ipmi.c
1067
device_t * devs;
sys/dev/ipmi/ipmi.c
1071
if (devclass_get_devices(devclass_find("ipmi"), &devs, &count) != 0)
sys/dev/ipmi/ipmi.c
1074
device_delete_child(device_get_parent(devs[i]), devs[i]);
sys/dev/ipmi/ipmi.c
1075
free(devs, M_TEMP);
sys/dev/mana/gdma.h
630
struct gdma_dev_id devs[64];
sys/dev/mana/gdma_main.c
173
gd_dev = resp.devs[i];
sys/dev/ppbus/pps.c
137
sc->devs[0] = d;
sys/dev/ppbus/pps.c
191
sc->devs[i] = d;
sys/dev/ppbus/pps.c
43
struct cdev *devs[9];
sys/dev/puc/puc.c
135
u_long ds, dev, devs;
sys/dev/puc/puc.c
144
devs = sc->sc_serdevs;
sys/dev/puc/puc.c
147
while (devs & (0xfful << idx)) {
sys/dev/puc/puc.c
149
devs &= ~0ul ^ ((u_long)ilr << idx);
sys/dev/puc/puc.c
161
devs &= (u_long)ilr;
sys/dev/puc/puc.c
163
if (devs == 0UL)
sys/dev/puc/puc.c
172
ds = devs;
sys/dev/puc/puc.c
191
ds = devs;
sys/dev/smbios/smbios.c
286
device_t * devs;
sys/dev/smbios/smbios.c
294
devclass_get_devices(devclass_find("smbios"), &devs, &count);
sys/dev/smbios/smbios.c
296
device_delete_child(device_get_parent(devs[i]), devs[i]);
sys/dev/smbios/smbios.c
298
free(devs, M_TEMP);
sys/dev/sound/pci/hda/hdaa.c
4954
pdevinfo = &devinfo->devs[0];
sys/dev/sound/pci/hda/hdaa.c
5517
devinfo->devs = malloc(devinfo->num_devs *
sys/dev/sound/pci/hda/hdaa.c
5519
if (devinfo->devs == NULL) {
sys/dev/sound/pci/hda/hdaa.c
5525
devinfo->devs[i].index = i;
sys/dev/sound/pci/hda/hdaa.c
5526
devinfo->devs[i].devinfo = devinfo;
sys/dev/sound/pci/hda/hdaa.c
5527
devinfo->devs[i].playas = -1;
sys/dev/sound/pci/hda/hdaa.c
5528
devinfo->devs[i].recas = -1;
sys/dev/sound/pci/hda/hdaa.c
5529
devinfo->devs[i].digital = 255;
sys/dev/sound/pci/hda/hdaa.c
5535
if (devinfo->devs[j].digital != 255 &&
sys/dev/sound/pci/hda/hdaa.c
5536
(!devinfo->devs[j].digital) !=
sys/dev/sound/pci/hda/hdaa.c
5540
if (devinfo->devs[j].recas >= 0)
sys/dev/sound/pci/hda/hdaa.c
5542
devinfo->devs[j].recas = i;
sys/dev/sound/pci/hda/hdaa.c
5544
if (devinfo->devs[j].playas >= 0)
sys/dev/sound/pci/hda/hdaa.c
5546
devinfo->devs[j].playas = i;
sys/dev/sound/pci/hda/hdaa.c
5548
as[i].pdevinfo = &devinfo->devs[j];
sys/dev/sound/pci/hda/hdaa.c
5551
&devinfo->devs[j];
sys/dev/sound/pci/hda/hdaa.c
5553
devinfo->devs[j].digital = as[i].digital;
sys/dev/sound/pci/hda/hdaa.c
5565
struct hdaa_pcm_devinfo *pdevinfo = &devinfo->devs[i];
sys/dev/sound/pci/hda/hdaa.c
575
if (device_get_unit(devinfo->devs[i].dev) == snd_unit) {
sys/dev/sound/pci/hda/hdaa.c
6299
free(devinfo->devs, M_HDAA);
sys/dev/sound/pci/hda/hdaa.c
6300
devinfo->devs = NULL;
sys/dev/sound/pci/hda/hdaa.c
6576
struct hdaa_pcm_devinfo *pdevinfo = &devinfo->devs[i];
sys/dev/sound/pci/hda/hdaa.h
211
struct hdaa_pcm_devinfo *devs;
sys/dev/sound/pcm/mixer.c
243
(0 == (m->devs & (1 << dev))))
sys/dev/sound/pcm/mixer.c
327
if ((dev < SOUND_MIXER_NRDEVICES) && (mixer->devs & (1 << dev))) {
sys/dev/sound/pcm/mixer.c
343
mutedevs &= mixer->devs;
sys/dev/sound/pcm/mixer.c
344
delta = (mixer->mutedevs ^ mutedevs) & mixer->devs;
sys/dev/sound/pcm/mixer.c
494
m->devs = v;
sys/dev/sound/pcm/mixer.c
55
u_int32_t devs;
sys/dev/sound/pcm/mixer.c
608
return m->devs;
sys/dev/sound/pcm/mixer.c
745
if (!(m->devs & (1 << i)))
sys/dev/usb/controller/xhci.c
1445
hdev = &sc->sc_hw.devs[index];
sys/dev/usb/controller/xhci.c
2345
usbd_get_page(&sc->sc_hw.devs[index].input_pc, 0, &buf_inp);
sys/dev/usb/controller/xhci.c
2375
if (x > sc->sc_hw.devs[index].context_num)
sys/dev/usb/controller/xhci.c
2376
sc->sc_hw.devs[index].context_num = x;
sys/dev/usb/controller/xhci.c
2378
x = sc->sc_hw.devs[index].context_num;
sys/dev/usb/controller/xhci.c
2386
usb_pc_cpu_flush(&sc->sc_hw.devs[index].input_pc);
sys/dev/usb/controller/xhci.c
2408
usbd_get_page(&sc->sc_hw.devs[index].input_pc, 0, &buf_inp);
sys/dev/usb/controller/xhci.c
2545
usb_pc_cpu_flush(&sc->sc_hw.devs[index].input_pc);
sys/dev/usb/controller/xhci.c
2612
pcinp = &sc->sc_hw.devs[index].input_pc;
sys/dev/usb/controller/xhci.c
2650
sc->sc_hw.devs[index].context_num + 1);
sys/dev/usb/controller/xhci.c
2664
if (sc->sc_hw.devs[index].nports != 0 &&
sys/dev/usb/controller/xhci.c
2684
is_hub = sc->sc_hw.devs[index].nports != 0 &&
sys/dev/usb/controller/xhci.c
2697
sc->sc_hw.devs[index].nports);
sys/dev/usb/controller/xhci.c
2706
sc->sc_hw.devs[index].tt);
sys/dev/usb/controller/xhci.c
2760
pc = &sc->sc_hw.devs[index].device_pc;
sys/dev/usb/controller/xhci.c
2761
pg = &sc->sc_hw.devs[index].device_pg;
sys/dev/usb/controller/xhci.c
2773
pc = &sc->sc_hw.devs[index].input_pc;
sys/dev/usb/controller/xhci.c
2774
pg = &sc->sc_hw.devs[index].input_pg;
sys/dev/usb/controller/xhci.c
2788
pc = &sc->sc_hw.devs[index].endpoint_pc[i];
sys/dev/usb/controller/xhci.c
2789
pg = &sc->sc_hw.devs[index].endpoint_pg[i];
sys/dev/usb/controller/xhci.c
2838
usb_pc_free_mem(&sc->sc_hw.devs[index].device_pc);
sys/dev/usb/controller/xhci.c
2839
usb_pc_free_mem(&sc->sc_hw.devs[index].input_pc);
sys/dev/usb/controller/xhci.c
2841
usb_pc_free_mem(&sc->sc_hw.devs[index].endpoint_pc[i]);
sys/dev/usb/controller/xhci.c
2862
pc = &sc->sc_hw.devs[index].endpoint_pc[epno];
sys/dev/usb/controller/xhci.c
2866
pepext = &sc->sc_hw.devs[index].endp[epno];
sys/dev/usb/controller/xhci.c
3833
hdev = &sc->sc_hw.devs[udev->controller_slot_id];
sys/dev/usb/controller/xhci.c
3867
pcinp = &sc->sc_hw.devs[index].input_pc;
sys/dev/usb/controller/xhci.c
3950
sc->sc_hw.devs[index].ep_configured &= ~mask;
sys/dev/usb/controller/xhci.c
3960
if (!(sc->sc_hw.devs[index].ep_configured & mask)) {
sys/dev/usb/controller/xhci.c
3963
sc->sc_hw.devs[index].ep_configured |= mask;
sys/dev/usb/controller/xhci.c
4109
sc->sc_hw.devs[index].ep_configured &= ~(1U << epno);
sys/dev/usb/controller/xhci.c
4141
if (sc->sc_hw.devs[index].ep_configured & mask) {
sys/dev/usb/controller/xhci.c
4146
pcinp = &sc->sc_hw.devs[index].input_pc;
sys/dev/usb/controller/xhci.c
4153
sc->sc_hw.devs[index].ep_configured &= ~mask;
sys/dev/usb/controller/xhci.c
4215
if (sc->sc_hw.devs[temp].state != XHCI_ST_DISABLED) {
sys/dev/usb/controller/xhci.c
4227
memset(&sc->sc_hw.devs[temp], 0, sizeof(sc->sc_hw.devs[0]));
sys/dev/usb/controller/xhci.c
4231
sc->sc_hw.devs[temp].state = XHCI_ST_ENABLED;
sys/dev/usb/controller/xhci.c
4261
sc->sc_hw.devs[index].state = XHCI_ST_DISABLED;
sys/dev/usb/controller/xhci.c
4368
err = uhub_query_info(udev, &sc->sc_hw.devs[index].nports,
sys/dev/usb/controller/xhci.c
4369
&sc->sc_hw.devs[index].tt);
sys/dev/usb/controller/xhci.c
4371
sc->sc_hw.devs[index].nports = 0;
sys/dev/usb/controller/xhci.c
4378
if (sc->sc_hw.devs[index].state == XHCI_ST_DEFAULT)
sys/dev/usb/controller/xhci.c
4382
sc->sc_hw.devs[index].state = XHCI_ST_DEFAULT;
sys/dev/usb/controller/xhci.c
4383
sc->sc_hw.devs[index].ep_configured = 3U;
sys/dev/usb/controller/xhci.c
4386
sc->sc_hw.devs[index].context_num = 0;
sys/dev/usb/controller/xhci.c
4397
if (sc->sc_hw.devs[index].state == XHCI_ST_ADDRESSED)
sys/dev/usb/controller/xhci.c
4400
sc->sc_hw.devs[index].state = XHCI_ST_ADDRESSED;
sys/dev/usb/controller/xhci.c
4401
sc->sc_hw.devs[index].ep_configured = 3U;
sys/dev/usb/controller/xhci.c
4416
if (sc->sc_hw.devs[index].state == XHCI_ST_CONFIGURED) {
sys/dev/usb/controller/xhci.c
4427
sc->sc_hw.devs[index].state = XHCI_ST_CONFIGURED;
sys/dev/usb/controller/xhci.c
4428
sc->sc_hw.devs[index].ep_configured = 3U;
sys/dev/usb/controller/xhci.c
4431
sc->sc_hw.devs[index].context_num = 0;
sys/dev/usb/controller/xhci.c
4433
usbd_get_page(&sc->sc_hw.devs[index].input_pc, 0, &buf_inp);
sys/dev/usb/controller/xhci.c
979
pepext = &sc->sc_hw.devs[index].endp[epno];
sys/dev/usb/controller/xhci.h
463
struct xhci_hw_dev devs[XHCI_MAX_DEVICES + 1];
sys/i386/bios/smapi.c
294
device_t * devs;
sys/i386/bios/smapi.c
302
devclass_get_devices(devclass_find(smapi_driver.name), &devs,
sys/i386/bios/smapi.c
305
device_delete_child(device_get_parent(devs[i]), devs[i]);
sys/i386/bios/smapi.c
307
free(devs, M_TEMP);
sys/kern/kern_cpu.c
947
device_t *devs;
sys/kern/kern_cpu.c
949
devs = NULL;
sys/kern/kern_cpu.c
966
error = devclass_get_devices(devclass_find("cpufreq"), &devs, &devcount);
sys/kern/kern_cpu.c
971
error = CPUFREQ_LEVELS(devs[n], levels, &count);
sys/kern/kern_cpu.c
987
error = CPUFREQ_SET(devs[n], &levels[best], CPUFREQ_PRIO_USER);
sys/kern/kern_cpu.c
991
if (devs)
sys/kern/kern_cpu.c
992
free(devs, M_TEMP);
sys/powerpc/ps3/ps3bus.c
333
uint64_t bustype, bus, devs;
sys/powerpc/ps3/ps3bus.c
371
lv1_repository_string("num_dev"), 0, 0, &devs, &junk);
sys/powerpc/ps3/ps3bus.c
373
for (dev_index = 0; dev_index < devs; dev_index++) {
sys/x86/bios/vpd.c
253
device_t * devs;
sys/x86/bios/vpd.c
261
devclass_get_devices(devclass_find("vpd"), &devs, &count);
sys/x86/bios/vpd.c
263
device_delete_child(device_get_parent(devs[i]), devs[i]);
sys/x86/pci/pci_bus.c
424
device_t *devs;
sys/x86/pci/pci_bus.c
447
if (device_get_children(parent, &devs, &ndevs) == 0) {
sys/x86/pci/pci_bus.c
449
if (strcmp(device_get_name(devs[i]),
sys/x86/pci/pci_bus.c
452
if (legacy_get_pcibus(devs[i]) == busnum)
sys/x86/pci/pci_bus.c
455
free(devs, M_TEMP);
sys/xen/xenbus/xenbusb_back.c
144
const char **devs;
sys/xen/xenbus/xenbusb_back.c
152
&dev_count, &devs);
sys/xen/xenbus/xenbusb_back.c
161
dev_num = devs[dev_idx];
sys/xen/xenbus/xenbusb_back.c
166
free(devs, M_XENSTORE);
tools/tools/pciroms/pciroms.c
174
struct pci_conf devs[MAX_PCI_DEVS];
tools/tools/pciroms/pciroms.c
186
pc.match_buf_len = sizeof(devs);
tools/tools/pciroms/pciroms.c
187
pc.matches = devs;
tools/tools/pciroms/pciroms.c
206
for (p = devs ; p < &devs[pc.num_matches]; p++) {
usr.bin/fstat/fstat.c
252
for (d = devs; d != NULL; d = d->next)
usr.bin/fstat/fstat.c
640
cur->next = devs;
usr.bin/fstat/fstat.c
641
devs = cur;
usr.bin/fstat/fstat.c
72
struct devs *next;
usr.bin/fstat/fstat.c
78
static DEVS *devs;
usr.sbin/bhyve/snapshot.c
422
const ucl_object_t *devs = NULL, *obj = NULL;
usr.sbin/bhyve/snapshot.c
426
devs = ucl_object_lookup(rstate->meta_root_obj, key);
usr.sbin/bhyve/snapshot.c
427
if (devs == NULL) {
usr.sbin/bhyve/snapshot.c
433
if (ucl_object_type(devs) != UCL_ARRAY) {
usr.sbin/bhyve/snapshot.c
439
while ((obj = ucl_object_iterate(devs, &it, true)) != NULL) {
usr.sbin/camdd/camdd.c
3201
struct camdd_dev *devs[2];
usr.sbin/camdd/camdd.c
3208
bzero(devs, sizeof(devs));
usr.sbin/camdd/camdd.c
3258
devs[i] = camdd_probe_pass(new_cam_dev,
usr.sbin/camdd/camdd.c
3265
if (devs[i] == NULL) {
usr.sbin/camdd/camdd.c
3298
devs[i] = camdd_probe_file(fd, &io_opts[i],
usr.sbin/camdd/camdd.c
3300
if (devs[i] == NULL) {
usr.sbin/camdd/camdd.c
3315
devs[i]->write_dev = io_opts[i].write_dev;
usr.sbin/camdd/camdd.c
3317
devs[i]->start_offset_bytes = io_opts[i].offset;
usr.sbin/camdd/camdd.c
3320
devs[i]->sector_io_limit =
usr.sbin/camdd/camdd.c
3321
(devs[i]->start_offset_bytes /
usr.sbin/camdd/camdd.c
3322
devs[i]->sector_size) +
usr.sbin/camdd/camdd.c
3323
(max_io / devs[i]->sector_size) - 1;
usr.sbin/camdd/camdd.c
3326
devs[i]->next_io_pos_bytes = devs[i]->start_offset_bytes;
usr.sbin/camdd/camdd.c
3327
devs[i]->next_completion_pos_bytes =devs[i]->start_offset_bytes;
usr.sbin/camdd/camdd.c
3330
devs[0]->peer_dev = devs[1];
usr.sbin/camdd/camdd.c
3331
devs[1]->peer_dev = devs[0];
usr.sbin/camdd/camdd.c
3332
devs[0]->next_peer_pos_bytes = devs[0]->peer_dev->next_io_pos_bytes;
usr.sbin/camdd/camdd.c
3333
devs[1]->next_peer_pos_bytes = devs[1]->peer_dev->next_io_pos_bytes;
usr.sbin/camdd/camdd.c
3348
(void *)devs[i]);
usr.sbin/camdd/camdd.c
3361
EV_SET(&ke, (uintptr_t)&devs[i]->work_queue,
usr.sbin/camdd/camdd.c
3364
devs[i]->flags |= CAMDD_DEV_FLAG_EOF;
usr.sbin/camdd/camdd.c
3366
error = kevent(devs[i]->kq, &ke, 1, NULL, 0,
usr.sbin/camdd/camdd.c
3375
camdd_print_status(devs[0], devs[1], &start_time);
usr.sbin/camdd/camdd.c
3383
camdd_print_status(devs[0], devs[1], &start_time);
usr.sbin/camdd/camdd.c
3388
camdd_free_dev(devs[i]);
usr.sbin/mixer/mixer.c
226
TAILQ_FOREACH(dp, &m->devs, devs) {
usr.sbin/mixer/mixer.c
243
TAILQ_FOREACH(dp, &m->devs, devs) {
usr.sbin/mixer/mixer.c
313
TAILQ_FOREACH(dp, &m->devs, devs) {
usr.sbin/pciconf/pciconf.c
1135
TAILQ_INIT(&cv->devs);
usr.sbin/pciconf/pciconf.c
1160
TAILQ_INSERT_TAIL(&cv->devs, cd, link);
usr.sbin/pciconf/pciconf.c
495
TAILQ_FOREACH(di, &vi->devs, link) {
usr.sbin/pciconf/pciconf.c
64
TAILQ_HEAD(,pci_device_info) devs;
usr.sbin/pciconf/pciconf.c
851
TAILQ_FOREACH(di, &vi->devs, link) {
usr.sbin/sesutil/sesutil.c
556
char *dev, devs[128], passes[128], *tmp;
usr.sbin/sesutil/sesutil.c
558
devs[0] = passes[0] = '\0';
usr.sbin/sesutil/sesutil.c
567
if (devs[0] != '\0')
usr.sbin/sesutil/sesutil.c
568
strlcat(devs, ",", sizeof(devs));
usr.sbin/sesutil/sesutil.c
569
strlcat(devs, dev, sizeof(devs));
usr.sbin/sesutil/sesutil.c
572
strlcpy(devnames, devs, devnameslen);
usr.sbin/usbconfig/dump.c
411
STAILQ_INIT(&cv->devs);
usr.sbin/usbconfig/dump.c
427
STAILQ_INSERT_TAIL(&cv->devs, cd, link);
usr.sbin/usbconfig/dump.c
478
STAILQ_FOREACH(pi, &vi->devs, link) {
usr.sbin/usbconfig/dump.c
73
STAILQ_HEAD(,usb_product_info) devs;