Home
last modified time | relevance | path

Searched refs:zlp (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_iter.c80 zpool_list_t *zlp = data; in add_pool() local
85 uu_avl_node_init(node, &node->zn_avlnode, zlp->zl_pool); in add_pool()
86 if (uu_avl_find(zlp->zl_avl, node, NULL, &idx) == NULL) { in add_pool()
87 if (zlp->zl_proplist && in add_pool()
88 zpool_expand_proplist(zhp, zlp->zl_proplist) != 0) { in add_pool()
93 uu_avl_insert(zlp->zl_avl, node, idx); in add_pool()
112 zpool_list_t *zlp; in pool_list_get() local
114 zlp = safe_malloc(sizeof (zpool_list_t)); in pool_list_get()
116 zlp->zl_pool = uu_avl_pool_create("zfs_pool", sizeof (zpool_node_t), in pool_list_get()
119 if (zlp->zl_pool == NULL) in pool_list_get()
[all …]
/illumos-gate/usr/src/lib/libbe/common/
H A Dbe_list.c433 be_get_list_callback(zpool_handle_t *zlp, void *data) in be_get_list_callback() argument
442 cb->zpool_name = rpool = (char *)zpool_get_name(zlp); in be_get_list_callback()
450 zpool_close(zlp); in be_get_list_callback()
485 zpool_close(zlp); in be_get_list_callback()
494 zpool_close(zlp); in be_get_list_callback()
507 zpool_close(zlp); in be_get_list_callback()
514 zpool_close(zlp); in be_get_list_callback()
526 zpool_close(zlp); in be_get_list_callback()
H A Dbe_utils.c2766 be_zpool_find_current_be_callback(zpool_handle_t *zlp, void *data) in be_zpool_find_current_be_callback() argument
2770 const char *zpool = zpool_get_name(zlp); in be_zpool_find_current_be_callback()
2778 zpool_close(zlp); in be_zpool_find_current_be_callback()
2786 zpool_close(zlp); in be_zpool_find_current_be_callback()
2798 zpool_close(zlp); in be_zpool_find_current_be_callback()
2814 zpool_close(zlp); in be_zpool_find_current_be_callback()
2819 zpool_close(zlp); in be_zpool_find_current_be_callback()
2824 zpool_close(zlp); in be_zpool_find_current_be_callback()
2906 be_check_be_roots_callback(zpool_handle_t *zlp, void *data) in be_check_be_roots_callback() argument
2908 const char *zpool = zpool_get_name(zlp); in be_check_be_roots_callback()
[all …]
H A Dbe_create.c108 zpool_handle_t *zlp; in be_init() local
180 if ((zlp = zpool_open(g_zfs, bt.nbe_zpool)) == NULL) { in be_init()
186 zpool_close(zlp); in be_init()
1291 be_find_zpool_callback(zpool_handle_t *zlp, void *data) in be_find_zpool_callback() argument
1294 const char *zpool = zpool_get_name(zlp); in be_find_zpool_callback()
1316 zpool_close(zlp); in be_find_zpool_callback()
1334 be_exists_callback(zpool_handle_t *zlp, void *data) in be_exists_callback() argument
1336 const char *zpool = zpool_get_name(zlp); in be_exists_callback()
1358 zpool_close(zlp); in be_exists_callback()
H A Dbe_mount.c1509 zpool_shared_fs_callback(zpool_handle_t *zlp, void *data) in zpool_shared_fs_callback() argument
1513 const char *zpool = zpool_get_name(zlp); in zpool_shared_fs_callback()
1524 zpool_close(zlp); in zpool_shared_fs_callback()
1535 zpool_close(zlp); in zpool_shared_fs_callback()
/illumos-gate/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c788 zap_leaf_phys_t *zlp = (void *)buf; in zap_leaf() local
797 l_dbuf.db_data = zlp; in zap_leaf()
812 if (zlp->l_hdr.lh_block_type != ZBT_LEAF || in zap_leaf()
813 zlp->l_hdr.lh_magic != ZAP_LEAF_MAGIC) { in zap_leaf()
819 mdb_printf(" lh_prefix_len = %u\n", zlp->l_hdr.lh_prefix_len); in zap_leaf()
820 mdb_printf(" lh_prefix = %llx\n", zlp->l_hdr.lh_prefix); in zap_leaf()
821 mdb_printf(" lh_nentries = %u\n", zlp->l_hdr.lh_nentries); in zap_leaf()
822 mdb_printf(" lh_nfree = %u\n", zlp->l_hdr.lh_nfree, in zap_leaf()
823 zlp->l_hdr.lh_nfree * 100 / (ZAP_LEAF_NUMCHUNKS(&l))); in zap_leaf()
824 mdb_printf(" lh_freelist = %u\n", zlp->l_hdr.lh_freelist); in zap_leaf()
[all …]