Lines Matching refs:be
59 libbe_handle_t *be; variable
173 if ((err = be_deactivate(be, NULL, reset)) == 0) in bectl_cmd_activate()
181 if ((err = be_activate(be, argv[0], temp)) != 0) in bectl_cmd_activate()
241 err = be_snapshot(be, bootenv, atpos, recursive, NULL); in bectl_cmd_create()
245 err = be_snapshot(be, be_active_path(be), NULL, in bectl_cmd_create()
252 err = be_snapshot(be, snapname, NULL, recursive, in bectl_cmd_create()
256 err = be_create_depth(be, bootenv, snapshot, in bectl_cmd_create()
307 be_export(be, bootenv, STDOUT_FILENO); in bectl_cmd_export()
336 err = be_import(be, bootenv, STDIN_FILENO); in bectl_cmd_import()
354 be_add_child(be, argv[i], true); in bectl_cmd_add()
398 if (be_root_concat(be, target, targetds) != 0) in bectl_cmd_destroy()
402 if (be_get_dataset_props(be, targetds, props) != 0) { in bectl_cmd_destroy()
407 !be_is_auto_snapshot_name(be, origin)) in bectl_cmd_destroy()
414 err = be_destroy(be, target, flags); in bectl_cmd_destroy()
441 err = be_mount(be, bootenv, mountpoint, mntflags, result_loc); in bectl_cmd_mount()
477 err = be_rename(be, src, dest); in bectl_cmd_rename()
521 err = be_unmount(be, bootenv, flags); in bectl_cmd_unmount()
581 if ((be = libbe_init(root)) == NULL) { in main()
588 libbe_print_on_error(be, !cmd->silent); in main()
592 libbe_close(be); in main()