Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/zpool/
H A Dzpool_iter.c78 zpool_list_t *zlp = data; in add_pool() local
83 uu_avl_node_init(node, &node->zn_avlnode, zlp->zl_pool); in add_pool()
84 if (uu_avl_find(zlp->zl_avl, node, NULL, &idx) == NULL) { in add_pool()
85 if (zlp->zl_proplist && in add_pool()
86 zpool_expand_proplist(zhp, zlp->zl_proplist) != 0) { in add_pool()
91 uu_avl_insert(zlp->zl_avl, node, idx); in add_pool()
110 zpool_list_t *zlp; in pool_list_get() local
112 zlp = safe_malloc(sizeof (zpool_list_t)); in pool_list_get()
114 zlp->zl_pool = uu_avl_pool_create("zfs_pool", sizeof (zpool_node_t), in pool_list_get()
117 if (zlp->zl_pool == NULL) in pool_list_get()
[all …]
/titanic_50/usr/src/lib/libbe/common/
H A Dbe_list.c434 be_get_list_callback(zpool_handle_t *zlp, void *data) in be_get_list_callback() argument
443 cb->zpool_name = rpool = (char *)zpool_get_name(zlp); in be_get_list_callback()
477 zpool_close(zlp); in be_get_list_callback()
486 zpool_close(zlp); in be_get_list_callback()
501 zpool_close(zlp); in be_get_list_callback()
510 zpool_close(zlp); in be_get_list_callback()
522 zpool_close(zlp); in be_get_list_callback()
H A Dbe_create.c105 zpool_handle_t *zlp; in be_init() local
177 if ((zlp = zpool_open(g_zfs, bt.nbe_zpool)) == NULL) { in be_init()
183 zpool_close(zlp); in be_init()
1222 be_find_zpool_callback(zpool_handle_t *zlp, void *data) in be_find_zpool_callback() argument
1225 const char *zpool = zpool_get_name(zlp); in be_find_zpool_callback()
1239 zpool_close(zlp); in be_find_zpool_callback()
1243 zpool_close(zlp); in be_find_zpool_callback()
1261 be_exists_callback(zpool_handle_t *zlp, void *data) in be_exists_callback() argument
1263 const char *zpool = zpool_get_name(zlp); in be_exists_callback()
1277 zpool_close(zlp); in be_exists_callback()
[all …]
H A Dbe_utils.c2466 be_zpool_find_current_be_callback(zpool_handle_t *zlp, void *data) in be_zpool_find_current_be_callback() argument
2470 const char *zpool = zpool_get_name(zlp); in be_zpool_find_current_be_callback()
2496 zpool_close(zlp); in be_zpool_find_current_be_callback()
2508 zpool_close(zlp); in be_zpool_find_current_be_callback()
2524 zpool_close(zlp); in be_zpool_find_current_be_callback()
2529 zpool_close(zlp); in be_zpool_find_current_be_callback()
2534 zpool_close(zlp); in be_zpool_find_current_be_callback()
2616 be_check_be_roots_callback(zpool_handle_t *zlp, void *data) in be_check_be_roots_callback() argument
2618 const char *zpool = zpool_get_name(zlp); in be_check_be_roots_callback()
2631 zpool_close(zlp); in be_check_be_roots_callback()
[all …]
H A Dbe_mount.c1535 zpool_shared_fs_callback(zpool_handle_t *zlp, void *data) in zpool_shared_fs_callback() argument
1539 const char *zpool = zpool_get_name(zlp); in zpool_shared_fs_callback()
1550 zpool_close(zlp); in zpool_shared_fs_callback()
1561 zpool_close(zlp); in zpool_shared_fs_callback()
/titanic_50/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c599 zap_leaf_phys_t *zlp = (void *)buf; in zap_leaf() local
608 l_dbuf.db_data = zlp; in zap_leaf()
623 if (zlp->l_hdr.lh_block_type != ZBT_LEAF || in zap_leaf()
624 zlp->l_hdr.lh_magic != ZAP_LEAF_MAGIC) { in zap_leaf()
630 mdb_printf(" lh_prefix_len = %u\n", zlp->l_hdr.lh_prefix_len); in zap_leaf()
631 mdb_printf(" lh_prefix = %llx\n", zlp->l_hdr.lh_prefix); in zap_leaf()
632 mdb_printf(" lh_nentries = %u\n", zlp->l_hdr.lh_nentries); in zap_leaf()
633 mdb_printf(" lh_nfree = %u\n", zlp->l_hdr.lh_nfree, in zap_leaf()
634 zlp->l_hdr.lh_nfree * 100 / (ZAP_LEAF_NUMCHUNKS(&l))); in zap_leaf()
635 mdb_printf(" lh_freelist = %u\n", zlp->l_hdr.lh_freelist); in zap_leaf()
[all …]