Lines Matching refs:cb
218 be_transaction_data_t cb = { 0 };
235 /* Set obe_name to be_name in the cb structure */
236 cb.obe_name = be_name;
239 if ((zret = zpool_iter(g_zfs, be_find_zpool_callback, &cb)) == 0) {
241 "find zpool for BE (%s)\n"), cb.obe_name);
251 be_make_root_ds(cb.obe_zpool, cb.obe_name, root_ds, sizeof (root_ds));
252 cb.obe_root_ds = strdup(root_ds);
255 ret = be_do_installboot(&cb, BE_INSTALLBOOT_FLAG_NULL);
259 if (!be_has_menu_entry(root_ds, cb.obe_zpool, &entry)) {
260 if ((ret = be_append_menu(cb.obe_name, cb.obe_zpool,
264 cb.obe_name);
269 if ((ret = be_change_grub_default(cb.obe_name,
270 cb.obe_zpool)) != BE_SUCCESS) {
278 if ((ret = _be_list(cb.obe_name, &be_nodes)) != BE_SUCCESS) {
321 be_get_uuid(cb.obe_root_ds, &uu) == BE_SUCCESS &&
322 (ret = be_promote_zone_ds(cb.obe_name, cb.obe_root_ds))
326 cb.obe_name);
346 if ((ret = be_find_active_zone_root(zhp, cb.obe_zpool,