Home
last modified time | relevance | path

Searched refs:devs (Results 1 – 25 of 106) sorted by relevance

12345

/freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_split/
H A Dzpool_split_dryrun_output.ksh56 devs=""
68 devs="'${dev[0]}' '${dev[4]}'"
86 devs=""
104 devs="'${dev[0]}' '${dev[2]}' '${dev[4]}'"
137 typeset devs="${tests[$i].devs}"
143 '$TESTPOOL' '$NEWPOOL' $devs" | sed /^SUCCESS/d)"
/freebsd-13.1/crypto/openssh/
H A Dauth2-kbdint.c50 char *lang, *devs; in userauth_kbdint() local
53 (r = sshpkt_get_cstring(ssh, &devs, NULL)) != 0 || in userauth_kbdint()
57 debug("keyboard-interactive devs %s", devs); in userauth_kbdint()
60 authenticated = auth2_challenge(ssh, devs); in userauth_kbdint()
62 free(devs); in userauth_kbdint()
H A Dauth2-chall.c101 kbdint_alloc(const char *devs) in kbdint_alloc() argument
113 if (strcmp(devs, "") == 0) { in kbdint_alloc()
125 kbdintctxt->devices = xstrdup(devs); in kbdint_alloc()
193 auth2_challenge(struct ssh *ssh, char *devs) in auth2_challenge() argument
198 devs ? devs : "<no devs>"); in auth2_challenge()
200 if (authctxt->user == NULL || !devs) in auth2_challenge()
203 authctxt->kbdintctxt = kbdint_alloc(devs); in auth2_challenge()
/freebsd-13.1/tests/sys/cddl/zfs/tests/cli_root/zpool_import/
H A Dzpool_import_002_pos.ksh67 set -A devs "" "-d $DEVICE_DIR"
80 log_must $ZPOOL import ${devs[i]} ${pools[i]}
115 typeset devs=$3
119 log_must $ZPOOL import ${devs} ${opts} $target
133 log_mustnot $ZPOOL import $devs $target
H A Dzpool_import_rename_001_pos.ksh69 set -A devs "" "-d $DEVICE_DIR"
84 log_must $ZPOOL import ${devs[i]} \
89 log_must $ZPOOL import ${devs[i]} ${pools[i]}
113 log_must $ZPOOL import ${devs[i]} ${options[j]} \
140 log_must $ZPOOL import ${devs[i]} $target ${pools[i]}
H A Dzpool_import_012_pos.ksh67 set -A devs "" "-d $DEVICE_DIR"
80 $ZPOOL import ${devs[i]} ${pools[i]}
83 $ZPOOL import $option ${devs[i]} ${pools[i]}
166 ${devs[i]} ${options[j]} $target
H A Dzpool_import_009_neg.ksh73 set -A devs "" "-d $DEVICE_DIR"
86 log_must $ZPOOL import ${devs[i]} ${pools[i]}
/freebsd-13.1/tests/sys/geom/class/gate/
H A Dggate_test.sh146 echo ${us} > ggate.devs
156 echo ${md} >> md.devs
184 done < ggate.devs
185 rm ggate.devs
207 done < md.devs
208 rm md.devs
/freebsd-13.1/sys/dev/bhnd/
H A Dbhnd.c131 device_t *devs; in bhnd_delete_children() local
143 device_t child = devs[i]; in bhnd_delete_children()
151 bhnd_bus_free_children(devs); in bhnd_delete_children()
189 device_t *devs; in bhnd_generic_shutdown() local
204 device_t child = devs[i]; in bhnd_generic_shutdown()
212 bhnd_bus_free_children(devs); in bhnd_generic_shutdown()
226 device_t *devs; in bhnd_generic_resume() local
241 device_t child = devs[i]; in bhnd_generic_resume()
265 device_t *devs; in bhnd_generic_suspend() local
280 device_t child = devs[i]; in bhnd_generic_suspend()
[all …]
/freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_import/
H A Dzpool_import_rename_001_pos.ksh57 set -A devs "" "-d $DEVICE_DIR"
72 log_must zpool import ${devs[i]} \
77 log_must zpool import ${devs[i]} ${pools[i]}
129 log_must zpool import ${devs[i]} ${options[j]} \
156 log_must zpool import ${devs[i]} $target ${pools[i]}
H A Dzpool_import_002_pos.ksh55 set -A devs "" "-d $DEVICE_DIR"
68 log_must zpool import ${devs[i]} ${pools[i]}
116 log_must zpool import ${devs[i]} ${options[j]} $target
133 log_mustnot zpool import ${devs[i]} $target
H A Dzpool_import_012_pos.ksh55 set -A devs "" "-d $DEVICE_DIR"
68 zpool import ${devs[i]} ${pools[i]}
71 zpool import $option ${devs[i]} ${pools[i]}
168 zpool import $option ${devs[i]} \
176 ${devs[i]} ${options[j]} \
H A Dzpool_import_001_pos.ksh55 set -A devs " -s" "-d $DEVICE_DIR"
69 log_must zpool import ${devs[i]} ${pools[i]}
115 log_must zpool import ${devs[i]} ${options[j]} $target
H A Dzpool_import_009_neg.ksh61 set -A devs "" "-d $DEVICE_DIR"
74 log_must zpool import ${devs[i]} ${pools[i]}
/freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redundancy/
H A Dredundancy_draid_damaged.ksh51 typeset -r devs=7
63 for i in {0..$devs}; do
118 for i in {0..$(($devs - 1))}; do
125 log_must truncate -s 512M $TEST_BASE_DIR/dev-$devs
/freebsd-13.1/sys/dev/smbios/
H A Dsmbios.c217 device_t * devs; local
225 devclass_get_devices(smbios_devclass, &devs, &count);
227 device_delete_child(device_get_parent(devs[i]), devs[i]);
229 free(devs, M_TEMP);
/freebsd-13.1/sys/dev/usb/controller/
H A Dxhci.c1417 hdev = &sc->sc_hw.devs[index]; in xhci_set_address()
2665 sc->sc_hw.devs[index].nports); in xhci_configure_device()
2674 sc->sc_hw.devs[index].tt); in xhci_configure_device()
2728 pc = &sc->sc_hw.devs[index].device_pc; in xhci_alloc_device_ext()
2729 pg = &sc->sc_hw.devs[index].device_pg; in xhci_alloc_device_ext()
2741 pc = &sc->sc_hw.devs[index].input_pc; in xhci_alloc_device_ext()
2742 pg = &sc->sc_hw.devs[index].input_pg; in xhci_alloc_device_ext()
4153 memset(&sc->sc_hw.devs[temp], 0, sizeof(sc->sc_hw.devs[0])); in xhci_device_init()
4295 &sc->sc_hw.devs[index].tt); in xhci_device_state_change()
4297 sc->sc_hw.devs[index].nports = 0; in xhci_device_state_change()
[all …]
/freebsd-13.1/sys/xen/xenbus/
H A Dxenbusb_back.c147 const char **devs; in xenbusb_back_enumerate_type() local
155 &dev_count, &devs); in xenbusb_back_enumerate_type()
164 dev_num = devs[dev_idx]; in xenbusb_back_enumerate_type()
169 free(devs, M_XENSTORE); in xenbusb_back_enumerate_type()
/freebsd-13.1/tools/tools/pciroms/
H A Dpciroms.c177 struct pci_conf devs[MAX_PCI_DEVS]; in pci_enum_devs() local
189 pc.match_buf_len = sizeof(devs); in pci_enum_devs()
190 pc.matches = devs; in pci_enum_devs()
209 for (p = devs ; p < &devs[pc.num_matches]; p++) { in pci_enum_devs()
/freebsd-13.1/sys/i386/bios/
H A Dsmapi.c286 device_t * devs; in smapi_modevent() local
294 devclass_get_devices(smapi_devclass, &devs, &count); in smapi_modevent()
296 device_delete_child(device_get_parent(devs[i]), devs[i]); in smapi_modevent()
298 free(devs, M_TEMP); in smapi_modevent()
/freebsd-13.1/usr.sbin/camdd/
H A Dcamdd.c3229 bzero(devs, sizeof(devs));
3288 if (devs[i] == NULL) {
3323 if (devs[i] == NULL) {
3349 devs[i]->next_io_pos_bytes = devs[i]->start_offset_bytes;
3350 devs[i]->next_completion_pos_bytes =devs[i]->start_offset_bytes;
3353 devs[0]->peer_dev = devs[1];
3354 devs[1]->peer_dev = devs[0];
3355 devs[0]->next_peer_pos_bytes = devs[0]->peer_dev->next_io_pos_bytes;
3356 devs[1]->next_peer_pos_bytes = devs[1]->peer_dev->next_io_pos_bytes;
3398 camdd_print_status(devs[0], devs[1], &start_time);
[all …]
/freebsd-13.1/tests/sys/cddl/zfs/tests/cli_root/zpool_remove/
H A Dzpool_remove_001_neg.ksh69 typeset devs="$2"
72 for dev in $devs; do
/freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_remove/
H A Dzpool_remove_001_neg.ksh56 typeset devs="$2"
59 for dev in $devs; do
/freebsd-13.1/sys/dev/acpica/
H A Dacpi_thermal.c331 device_t *devs; in acpi_tz_startup() local
334 devclass_get_devices(acpi_tz_devclass, &devs, &devcount); in acpi_tz_startup()
336 free(devs, M_TEMP); in acpi_tz_startup()
359 sc = device_get_softc(devs[i]); in acpi_tz_startup()
367 acpi_tz_cooling_unit = device_get_unit(devs[i]); in acpi_tz_startup()
371 free(devs, M_TEMP); in acpi_tz_startup()
952 device_t *devs; in acpi_tz_thread() local
959 devs = NULL; in acpi_tz_thread()
966 if (devs != NULL) { in acpi_tz_thread()
967 free(devs, M_TEMP); in acpi_tz_thread()
[all …]
/freebsd-13.1/sys/arm/ti/twl/
H A Dtwl.c304 uint8_t devs[TWL_MAX_SUBADDRS]; in twl_scan() local
309 memset(devs, TWL_INVALID_CHIP_ID, TWL_MAX_SUBADDRS); in twl_scan()
316 devs[i] = (base + i); in twl_scan()
322 memcpy(sc->sc_subaddr_map, devs, TWL_MAX_SUBADDRS); in twl_scan()

12345