Searched refs:zpool_handle (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/cmd/power/ |
H A D | handlers.c | 1005 zpool_handle_t *zpool_handle; in ztop() local 1027 if ((zpool_handle = zpool_open(lzfs, pool_name)) == NULL) { in ztop() 1032 config = zpool_get_config(zpool_handle, NULL); in ztop() 1035 zpool_close(zpool_handle); in ztop() 1043 zpool_close(zpool_handle); in ztop() 1047 vname = zpool_vdev_name(lzfs, zpool_handle, child[0], B_FALSE); in ztop() 1050 zpool_close(zpool_handle); in ztop() 1057 zpool_close(zpool_handle); in ztop()
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_impl.h | 120 struct zpool_handle { struct
|
H A D | libzfs_dataset.c | 285 zpool_handle(zfs_handle_t *zhp) in zpool_handle() function 462 if ((zhp->zpool_hdl = zpool_handle(zhp)) == NULL) in make_dataset_handle_common() 526 zhp->zpool_hdl = zpool_handle(zhp); in make_dataset_simple_handle_zc() 632 if ((zhp->zpool_hdl = zpool_handle(zhp)) == NULL) { in make_bookmark_handle() 924 zpool_handle_t *zpool_handle = zhp->zpool_hdl; in zfs_spa_version() local 926 if (zpool_handle == NULL) in zfs_spa_version() 929 *spa_version = zpool_get_prop_int(zpool_handle, in zfs_spa_version() 1587 zpool_handle_t *zph = zpool_handle(zhp); in zfs_add_synthetic_resv() 1668 resvsize = zvol_volsize_to_reservation(zpool_handle(zhp), volsize, in zfs_fix_auto_resv() 3592 zpool_handle_t *zpool_handle; in zfs_create() local [all …]
|
H A D | libzfs.h | 205 typedef struct zpool_handle zpool_handle_t;
|
/illumos-gate/usr/src/cmd/zfs/ |
H A D | zfs_main.c | 873 zpool_handle_t *zpool_handle = NULL; in zfs_do_create() local 978 zpool_handle = zpool_open(g_zfs, argv[0]); in zfs_do_create() 981 if (zpool_handle == NULL) in zfs_do_create() 988 props, 0, NULL, zpool_handle, B_TRUE, msg)) == NULL) { in zfs_do_create() 989 zpool_close(zpool_handle); in zfs_do_create() 1024 spa_version = zpool_get_prop_int(zpool_handle, in zfs_do_create() 1031 volsize = zvol_volsize_to_reservation(zpool_handle, volsize, in zfs_do_create() 1043 if (zpool_handle != NULL) { in zfs_do_create() 1044 zpool_close(zpool_handle); in zfs_do_create()
|