Home
last modified time | relevance | path

Searched refs:mlxd (Results 1 – 2 of 2) sorted by relevance

/dragonfly/sys/dev/raid/mlx/
HDmlx.c548 struct mlxd_softc *mlxd; in mlx_detach() local
560 mlxd = device_get_softc(sc->mlx_sysdrive[i].ms_disk); in mlx_detach()
561 if (mlxd->mlxd_flags & MLXD_OPEN) { /* drive is mounted, abort detach */ in mlx_detach()
737 struct mlxd_softc *mlxd; in mlx_ioctl() local
777 ((mlxd = device_get_softc(dr->ms_disk)) == NULL)) in mlx_ioctl()
782 if (mlxd->mlxd_flags & MLXD_OPEN) { in mlx_ioctl()
897 mlxd = (struct mlxd_softc *)devclass_get_softc(mlxd_devclass, *arg); in mlx_ioctl()
898 if ((mlxd != NULL) && (mlxd->mlxd_drive >= sc->mlx_sysdrive) && in mlx_ioctl()
899 (mlxd->mlxd_drive < (sc->mlx_sysdrive + MLX_MAXDRIVES))) { in mlx_ioctl()
901 *arg = mlxd->mlxd_drive - sc->mlx_sysdrive; in mlx_ioctl()
[all …]
HDmlx_disk.c84 DRIVER_MODULE(mlxd, mlx, mlxd_driver, mlxd_devclass, NULL, NULL);