Home
last modified time | relevance | path

Searched refs:zfsdev_state (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/uts/common/fs/zfs/
H A Dzvol.c94 void *zfsdev_state; variable
505 if (ddi_soft_state_zalloc(zfsdev_state, minor) != DDI_SUCCESS) { in zvol_create_minor()
517 ddi_soft_state_free(zfsdev_state, minor); in zvol_create_minor()
528 ddi_soft_state_free(zfsdev_state, minor); in zvol_create_minor()
534 zs = ddi_get_soft_state(zfsdev_state, minor); in zvol_create_minor()
593 ddi_soft_state_free(zfsdev_state, minor); in zvol_remove_zv()
1236 zs = ddi_get_soft_state(zfsdev_state, getminor(bp->b_edev)); in zvol_strategy()
1867 VERIFY(ddi_soft_state_init(&zfsdev_state, sizeof (zfs_soft_state_t), in zvol_init()
1876 ddi_soft_state_fini(&zfsdev_state); in zvol_fini()
H A Dzfs_ioctl.c5868 if (ddi_get_soft_state(zfsdev_state, m) == NULL) { in zfsdev_minor_alloc()
5890 if (ddi_soft_state_zalloc(zfsdev_state, minor) != DDI_SUCCESS) in zfs_ctldev_init()
5895 zs = ddi_get_soft_state(zfsdev_state, minor); in zfs_ctldev_init()
5908 ddi_soft_state_free(zfsdev_state, minor); in zfs_ctldev_destroy()
5916 zp = ddi_get_soft_state(zfsdev_state, minor); in zfsdev_get_soft_state()
/titanic_41/usr/src/uts/common/fs/zfs/sys/
H A Dzfs_ioctl.h438 extern void *zfsdev_state;