Lines Matching refs:pool

276 test_pool_sync(const char *pool)  in test_pool_sync()  argument
282 IOC_INPUT_TEST(ZFS_IOC_POOL_SYNC, pool, required, NULL, 0); in test_pool_sync()
289 test_pool_reopen(const char *pool) in test_pool_reopen() argument
295 IOC_INPUT_TEST(ZFS_IOC_POOL_REOPEN, pool, required, NULL, 0); in test_pool_reopen()
302 test_pool_checkpoint(const char *pool) in test_pool_checkpoint() argument
304 IOC_INPUT_TEST(ZFS_IOC_POOL_CHECKPOINT, pool, NULL, NULL, 0); in test_pool_checkpoint()
308 test_pool_discard_checkpoint(const char *pool) in test_pool_discard_checkpoint() argument
310 int err = lzc_pool_checkpoint(pool); in test_pool_discard_checkpoint()
312 IOC_INPUT_TEST(ZFS_IOC_POOL_DISCARD_CHECKPOINT, pool, NULL, in test_pool_discard_checkpoint()
317 test_log_history(const char *pool) in test_log_history() argument
323 IOC_INPUT_TEST(ZFS_IOC_LOG_HISTORY, pool, required, NULL, 0); in test_log_history()
329 test_create(const char *pool) in test_create() argument
333 (void) snprintf(dataset, sizeof (dataset), "%s/create-fs", pool); in test_create()
350 test_snapshot(const char *pool, const char *snapshot) in test_snapshot() argument
363 IOC_INPUT_TEST(ZFS_IOC_SNAPSHOT, pool, required, optional, 0); in test_snapshot()
383 test_destroy_snaps(const char *pool, const char *snapshot) in test_destroy_snaps() argument
391 IOC_INPUT_TEST(ZFS_IOC_DESTROY_SNAPS, pool, required, NULL, 0); in test_destroy_snaps()
399 test_bookmark(const char *pool, const char *snapshot, const char *bookmark) in test_bookmark() argument
405 IOC_INPUT_TEST_WILD(ZFS_IOC_BOOKMARK, pool, required, NULL, 0); in test_bookmark()
425 test_destroy_bookmarks(const char *pool, const char *bookmark) in test_destroy_bookmarks() argument
431 IOC_INPUT_TEST_WILD(ZFS_IOC_DESTROY_BOOKMARKS, pool, required, NULL, 0); in test_destroy_bookmarks()
465 test_hold(const char *pool, const char *snapshot) in test_hold() argument
475 IOC_INPUT_TEST(ZFS_IOC_HOLD, pool, required, optional, 0); in test_hold()
489 test_release(const char *pool, const char *snapshot) in test_release() argument
497 IOC_INPUT_TEST_WILD(ZFS_IOC_RELEASE, pool, required, NULL, 0); in test_release()
606 test_channel_program(const char *pool) in test_channel_program() argument
625 IOC_INPUT_TEST(ZFS_IOC_CHANNEL_PROGRAM, pool, required, optional, 0); in test_channel_program()
665 test_vdev_initialize(const char *pool) in test_vdev_initialize() argument
675 IOC_INPUT_TEST(ZFS_IOC_POOL_INITIALIZE, pool, required, NULL, EINVAL); in test_vdev_initialize()
681 test_vdev_trim(const char *pool) in test_vdev_trim() argument
693 IOC_INPUT_TEST(ZFS_IOC_POOL_TRIM, pool, required, optional, EINVAL); in test_vdev_trim()
714 test_get_bootenv(const char *pool) in test_get_bootenv() argument
716 IOC_INPUT_TEST(ZFS_IOC_GET_BOOTENV, pool, NULL, NULL, 0); in test_get_bootenv()
720 test_set_bootenv(const char *pool) in test_set_bootenv() argument
727 IOC_INPUT_TEST_WILD(ZFS_IOC_SET_BOOTENV, pool, required, NULL, 0); in test_set_bootenv()
733 zfs_ioc_input_tests(const char *pool) in zfs_ioc_input_tests() argument
747 (void) snprintf(dataset, sizeof (dataset), "%s/test-fs", pool); in zfs_ioc_input_tests()
751 (void) snprintf(clone, sizeof (clone), "%s/test-fs-clone", pool); in zfs_ioc_input_tests()
752 (void) snprintf(backup, sizeof (backup), "%s/backup", pool); in zfs_ioc_input_tests()
772 test_pool_sync(pool); in zfs_ioc_input_tests()
774 test_pool_reopen(pool); in zfs_ioc_input_tests()
776 test_pool_checkpoint(pool); in zfs_ioc_input_tests()
777 test_pool_discard_checkpoint(pool); in zfs_ioc_input_tests()
778 test_log_history(pool); in zfs_ioc_input_tests()
781 test_snapshot(pool, snapbase); in zfs_ioc_input_tests()
782 test_snapshot(pool, snapshot); in zfs_ioc_input_tests()
791 test_bookmark(pool, snapshot, bookmark); in zfs_ioc_input_tests()
793 test_destroy_bookmarks(pool, bookmark); in zfs_ioc_input_tests()
795 test_hold(pool, snapshot); in zfs_ioc_input_tests()
797 test_release(pool, snapshot); in zfs_ioc_input_tests()
803 test_destroy_snaps(pool, snapshot); in zfs_ioc_input_tests()
804 test_destroy_snaps(pool, snapbase); in zfs_ioc_input_tests()
807 test_channel_program(pool); in zfs_ioc_input_tests()
813 test_vdev_initialize(pool); in zfs_ioc_input_tests()
814 test_vdev_trim(pool); in zfs_ioc_input_tests()
816 test_set_bootenv(pool); in zfs_ioc_input_tests()
817 test_get_bootenv(pool); in zfs_ioc_input_tests()
846 (void) strncpy(zc.zc_name, pool, sizeof (zc.zc_name)); in zfs_ioc_input_tests()