Searched refs:zlp (Results 1 – 6 of 6) sorted by relevance
/titanic_41/usr/src/cmd/zpool/ |
H A D | zpool_iter.c | 77 zpool_list_t *zlp = data; in add_pool() local 82 uu_avl_node_init(node, &node->zn_avlnode, zlp->zl_pool); in add_pool() 83 if (uu_avl_find(zlp->zl_avl, node, NULL, &idx) == NULL) { in add_pool() 84 if (zlp->zl_proplist && in add_pool() 85 zpool_expand_proplist(zhp, zlp->zl_proplist) != 0) { in add_pool() 90 uu_avl_insert(zlp->zl_avl, node, idx); in add_pool() 109 zpool_list_t *zlp; in pool_list_get() local 111 zlp = safe_malloc(sizeof (zpool_list_t)); in pool_list_get() 113 zlp->zl_pool = uu_avl_pool_create("zfs_pool", sizeof (zpool_node_t), in pool_list_get() 116 if (zlp->zl_pool == NULL) in pool_list_get() [all …]
|
/titanic_41/usr/src/lib/libbe/common/ |
H A D | be_list.c | 429 be_get_list_callback(zpool_handle_t *zlp, void *data) in be_get_list_callback() argument 438 cb->zpool_name = rpool = (char *)zpool_get_name(zlp); in be_get_list_callback() 472 zpool_close(zlp); in be_get_list_callback() 481 zpool_close(zlp); in be_get_list_callback() 496 zpool_close(zlp); in be_get_list_callback() 505 zpool_close(zlp); in be_get_list_callback() 515 zpool_close(zlp); in be_get_list_callback()
|
H A D | be_create.c | 105 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() 1224 be_find_zpool_callback(zpool_handle_t *zlp, void *data) in be_find_zpool_callback() argument 1227 const char *zpool = zpool_get_name(zlp); in be_find_zpool_callback() 1241 zpool_close(zlp); in be_find_zpool_callback() 1245 zpool_close(zlp); in be_find_zpool_callback() 1263 be_exists_callback(zpool_handle_t *zlp, void *data) in be_exists_callback() argument 1265 const char *zpool = zpool_get_name(zlp); in be_exists_callback() 1279 zpool_close(zlp); in be_exists_callback() [all …]
|
H A D | be_utils.c | 2463 be_zpool_find_current_be_callback(zpool_handle_t *zlp, void *data) in be_zpool_find_current_be_callback() argument 2467 const char *zpool = zpool_get_name(zlp); in be_zpool_find_current_be_callback() 2493 zpool_close(zlp); in be_zpool_find_current_be_callback() 2505 zpool_close(zlp); in be_zpool_find_current_be_callback() 2521 zpool_close(zlp); in be_zpool_find_current_be_callback() 2526 zpool_close(zlp); in be_zpool_find_current_be_callback() 2531 zpool_close(zlp); in be_zpool_find_current_be_callback() 2613 be_check_be_roots_callback(zpool_handle_t *zlp, void *data) in be_check_be_roots_callback() argument 2615 const char *zpool = zpool_get_name(zlp); in be_check_be_roots_callback() 2628 zpool_close(zlp); in be_check_be_roots_callback() [all …]
|
H A D | be_mount.c | 1535 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_41/usr/src/cmd/mdb/common/modules/zfs/ |
H A D | zfs.c | 597 zap_leaf_phys_t *zlp = (void *)buf; in zap_leaf() local 606 l_dbuf.db_data = zlp; in zap_leaf() 621 if (zlp->l_hdr.lh_block_type != ZBT_LEAF || in zap_leaf() 622 zlp->l_hdr.lh_magic != ZAP_LEAF_MAGIC) { in zap_leaf() 628 mdb_printf(" lh_prefix_len = %u\n", zlp->l_hdr.lh_prefix_len); in zap_leaf() 629 mdb_printf(" lh_prefix = %llx\n", zlp->l_hdr.lh_prefix); in zap_leaf() 630 mdb_printf(" lh_nentries = %u\n", zlp->l_hdr.lh_nentries); in zap_leaf() 631 mdb_printf(" lh_nfree = %u\n", zlp->l_hdr.lh_nfree, in zap_leaf() 632 zlp->l_hdr.lh_nfree * 100 / (ZAP_LEAF_NUMCHUNKS(&l))); in zap_leaf() 633 mdb_printf(" lh_freelist = %u\n", zlp->l_hdr.lh_freelist); in zap_leaf() [all …]
|