Home
last modified time | relevance | path

Searched refs:sdev (Results 1 – 21 of 21) sorted by relevance

/src/sys/dev/firewire/
H A Dsbp.c143 struct sbp_dev *sdev; member
335 sbp_show_sdev_info(struct sbp_dev *sdev) in sbp_show_sdev_info() argument
339 fwdev = sdev->target->fwdev; in sbp_show_sdev_info()
340 device_printf(sdev->target->sbp->fd.dev, in sbp_show_sdev_info()
344 sdev->bustgtlun, in sbp_show_sdev_info()
345 (sdev->type & 0x40) >> 6, in sbp_show_sdev_info()
346 (sdev->type & 0x1f), in sbp_show_sdev_info()
353 device_printf(sdev->target->sbp->fd.dev, in sbp_show_sdev_info()
356 sdev->bustgtlun, in sbp_show_sdev_info()
357 sdev->vendor, in sbp_show_sdev_info()
[all …]
/src/tests/sys/cddl/zfs/tests/hotspare/
H A Dhotspare_scrub_002_pos.ksh77 log_must $ZPOOL replace $TESTPOOL $odev $sdev
78 log_must check_state $TESTPOOL "$sdev" "INUSE"
82 log_must $DD if=/dev/zero bs=1024k count=63 oseek=1 conv=notrunc of=$sdev
95 [[ $(get_cksum $TESTPOOL $sdev) > 0 ]]
110 if [ $(get_cksum $TESTPOOL $sdev) -ne 0 ]; then
121 typeset sdev="${devarray[0]}"
H A Dhotspare_shared_001_pos.ksh81 typeset sdev=$DISK0
85 setup_hotspares "$keyword" $sdev
87 iterate_over_hotspares verify_assertion $sdev
/src/tests/sys/cddl/zfs/tests/zfsd/
H A Dzfsd_hotspare_003_pos.ksh67 typeset sdev=$1
75 check_state $TESTPOOL "$sdev" "INUSE"
83 log_must check_state $TESTPOOL "$sdev" "INUSE"
96 typeset sdev="${devarray[0]}"
101 verify_assertion $sdev
H A Dzfsd_hotspare_002_pos.ksh70 typeset sdev=$1
81 check_state $TESTPOOL "$sdev" "INUSE"
89 log_must check_state $TESTPOOL "$sdev" "INUSE"
102 typeset sdev="${devarray[0]}"
108 verify_assertion $sdev
H A Dzfsd_hotspare_005_pos.ksh76 log_must $ZPOOL add $TESTPOOL spare $sdev
78 if check_state $TESTPOOL "$sdev" "INUSE"; then
84 log_must check_state $TESTPOOL "$sdev" "INUSE"
94 typeset sdev="${sparedevs[0]}"
H A Dzfsd_hotspare_006_pos.ksh77 typeset sdev=$1
139 verify_assertion $sdev
/src/tests/sys/cddl/zfs/tests/cache/
H A Dcache_005_neg.ksh63 sdev=$(random_get $LDEV)
65 log_mustnot $ZPOOL replace $TESTPOOL $sdev $tdev
66 log_must verify_cache_device $TESTPOOL $sdev 'ONLINE'
/src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cache/
H A Dcache_005_neg.ksh57 sdev=$(random_get $LDEV)
59 log_mustnot zpool replace $TESTPOOL $sdev $tdev
60 log_must verify_cache_device $TESTPOOL $sdev 'ONLINE'
/src/share/examples/kld/cdev/module/
H A Dcdevmod.c93 static struct cdev *sdev; variable
128 err = make_dev_s(&mda, &sdev, "cdev"); in cdev_load()
133 destroy_dev(sdev); in cdev_load()
/src/tests/sys/cddl/zfs/tests/slog/
H A Dslog_010_neg.ksh60 sdev=$(random_get $SDEV)
62 log_mustnot $ZPOOL replace $TESTPOOL $ldev $sdev
63 log_mustnot verify_slog_device $TESTPOOL $sdev 'ONLINE'
H A Dslog_006_pos.ksh66 sdev=$(random_get $LDEV)
68 log_must $ZPOOL replace $TESTPOOL $sdev $tdev
/src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/slog/
H A Dslog_010_neg.ksh53 sdev=$(random_get $SDEV)
55 log_mustnot zpool replace $TESTPOOL $ldev $sdev
56 log_mustnot verify_slog_device $TESTPOOL $sdev 'ONLINE'
H A Dslog_006_pos.ksh60 sdev=$(random_get $LDEV)
62 log_must zpool replace $TESTPOOL $sdev $tdev
/src/sys/arm/broadcom/bcm2835/
H A Dbcm2835_vcio.c40 static struct cdev *sdev; variable
100 sdev = make_dev(&vcio_devsw, 0, UID_ROOT, GID_WHEEL, 0600, "vcio"); in vcio_load()
104 destroy_dev(sdev); in vcio_load()
/src/sys/dev/wtap/
H A Dif_wtap_module.c64 static struct cdev *sdev; variable
107 sdev = make_dev(&wtap_cdevsw,0,UID_ROOT, in event_handler()
127 destroy_dev(sdev); in event_handler()
/src/sys/dev/wtap/plugins/
H A Dvisibility.c163 vis_ioctl(struct cdev *sdev, u_long cmd, caddr_t data, in vis_ioctl() argument
167 (struct visibility_plugin *) sdev->si_drv1; in vis_ioctl()
/src/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/speculation/
H A Derr.D_AGG_SPEC.SpeculateWithStddev.d47 @sdev["speculate"] = stddev(i);
/src/sys/dev/firmware/arm/
H A Dscmi_shmem.h63 device_t scmi_shmem_get(device_t sdev, phandle_t node, int index);
/src/sys/dev/cesa/
H A Dcesa.c1022 device_t sdev; in cesa_setup_sram_armada() local
1038 sdev = device_from_node(NULL, OF_parent(sram_node)); in cesa_setup_sram_armada()
1039 if (!sdev) in cesa_setup_sram_armada()
1042 ssc = device_get_softc(sdev); in cesa_setup_sram_armada()
1046 ofw_bus_reg_to_rl(sdev, sram_node, ssc->acells, in cesa_setup_sram_armada()
/src/sys/dev/pms/freebsd/driver/ini/src/
H A Dagtiapi.h192 struct scsi_device *sdev; member