Lines Matching refs:be
61 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()
397 if (be_root_concat(be, target, targetds) != 0) in bectl_cmd_destroy()
401 if (be_get_dataset_props(be, targetds, props) != 0) { in bectl_cmd_destroy()
406 !be_is_auto_snapshot_name(be, origin)) in bectl_cmd_destroy()
413 err = be_destroy(be, target, flags); in bectl_cmd_destroy()
440 err = be_mount(be, bootenv, mountpoint, mntflags, result_loc); in bectl_cmd_mount()
476 err = be_rename(be, src, dest); in bectl_cmd_rename()
520 err = be_unmount(be, bootenv, flags); in bectl_cmd_unmount()
586 if ((be = libbe_init(root)) == NULL) { in main()
593 libbe_print_on_error(be, !cmd->silent); in main()
597 libbe_close(be); in main()