Lines Matching refs:lbh

42 be_active_name(libbe_handle_t *lbh)  in be_active_name()  argument
45 if (*lbh->rootfs != '\0') in be_active_name()
46 return (strrchr(lbh->rootfs, '/') + sizeof(char)); in be_active_name()
48 return (lbh->rootfs); in be_active_name()
56 be_active_path(libbe_handle_t *lbh) in be_active_path() argument
59 return (lbh->rootfs); in be_active_path()
66 be_nextboot_name(libbe_handle_t *lbh) in be_nextboot_name() argument
69 if (*lbh->bootfs != '\0') in be_nextboot_name()
70 return (strrchr(lbh->bootfs, '/') + sizeof(char)); in be_nextboot_name()
72 return (lbh->bootfs); in be_nextboot_name()
80 be_nextboot_path(libbe_handle_t *lbh) in be_nextboot_path() argument
83 return (lbh->bootfs); in be_nextboot_path()
91 be_root_path(libbe_handle_t *lbh) in be_root_path() argument
94 return (lbh->root); in be_root_path()
103 be_get_bootenv_props(libbe_handle_t *lbh, nvlist_t *dsnvl) in be_get_bootenv_props() argument
107 data.lbh = lbh; in be_get_bootenv_props()
115 be_get_dataset_props(libbe_handle_t *lbh, const char *name, nvlist_t *props) in be_get_dataset_props() argument
121 data.lbh = lbh; in be_get_dataset_props()
125 if ((snap_hdl = zfs_open(lbh->lzh, name, in be_get_dataset_props()
135 be_get_dataset_snapshots(libbe_handle_t *lbh, const char *name, nvlist_t *props) in be_get_dataset_snapshots() argument
141 data.lbh = lbh; in be_get_dataset_snapshots()
145 if ((ds_hdl = zfs_open(lbh->lzh, name, in be_get_dataset_snapshots()
163 libbe_handle_t *lbh; in prop_list_builder_cb() local
174 lbh = data->lbh; in prop_list_builder_cb()
184 if (data->lbh->bootonce != NULL && in prop_list_builder_cb()
185 strcmp(dataset, data->lbh->bootonce) == 0) in prop_list_builder_cb()
209 (strcmp(be_active_path(lbh), dataset) == 0)); in prop_list_builder_cb()
232 (strcmp(be_nextboot_path(lbh), dataset) == 0)); in prop_list_builder_cb()
251 if ((root_hdl = zfs_open(data->lbh->lzh, data->lbh->root, in be_proplist_update()
303 be_exists(libbe_handle_t *lbh, const char *be) in be_exists() argument
307 be_root_concat(lbh, be, buf); in be_exists()
309 if (!zfs_dataset_exists(lbh->lzh, buf, ZFS_TYPE_DATASET)) in be_exists()