Home
last modified time | relevance | path

Searched refs:zo (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/uts/common/fs/zfs/
H A Dzfs_onexit.c79 zfs_onexit_t *zo; in zfs_onexit_init() local
81 zo = *zop = kmem_zalloc(sizeof (zfs_onexit_t), KM_SLEEP); in zfs_onexit_init()
82 mutex_init(&zo->zo_lock, NULL, MUTEX_DEFAULT, NULL); in zfs_onexit_init()
83 list_create(&zo->zo_actions, sizeof (zfs_onexit_action_node_t), in zfs_onexit_init()
88 zfs_onexit_destroy(zfs_onexit_t *zo) in zfs_onexit_destroy() argument
92 mutex_enter(&zo->zo_lock); in zfs_onexit_destroy()
93 while ((ap = list_head(&zo->zo_actions)) != NULL) { in zfs_onexit_destroy()
94 list_remove(&zo->zo_actions, ap); in zfs_onexit_destroy()
95 mutex_exit(&zo->zo_lock); in zfs_onexit_destroy()
98 mutex_enter(&zo->zo_lock); in zfs_onexit_destroy()
[all …]
H A Dzfs_ioctl.c5903 zfs_ctldev_destroy(zfs_onexit_t *zo, minor_t minor) in zfs_ctldev_destroy() argument
5907 zfs_onexit_destroy(zo); in zfs_ctldev_destroy()
5944 zfs_onexit_t *zo; in zfsdev_close() local
5951 zo = zfsdev_get_soft_state(minor, ZSST_CTLDEV); in zfsdev_close()
5952 if (zo == NULL) { in zfsdev_close()
5956 zfs_ctldev_destroy(zo, minor); in zfsdev_close()
/titanic_41/usr/src/uts/common/fs/zfs/sys/
H A Dzfs_onexit.h48 extern void zfs_onexit_init(zfs_onexit_t **zo);
49 extern void zfs_onexit_destroy(zfs_onexit_t *zo);
/titanic_41/usr/src/cmd/ztest/
H A Dztest.c551 const ztest_shared_opts_t *zo = &ztest_opts_defaults; in usage() local
557 nicenum(zo->zo_vdev_size, nice_vdev_size); in usage()
558 nicenum(zo->zo_metaslab_gang_bang, nice_gang_bang); in usage()
582 zo->zo_pool, in usage()
583 (u_longlong_t)zo->zo_vdevs, /* -v */ in usage()
585 zo->zo_ashift, /* -a */ in usage()
586 zo->zo_mirrors, /* -m */ in usage()
587 zo->zo_raidz, /* -r */ in usage()
588 zo->zo_raidz_parity, /* -R */ in usage()
589 zo->zo_datasets, /* -d */ in usage()
[all …]