Lines Matching refs:be_name

436  *		be_name - pointer to BE name.
445 be_make_root_ds(const char *zpool, const char *be_name, char *be_root_ds,
455 "%s/%s", zpool, be_name);
458 "%s/%s/%s", zpool, BE_CONTAINER_DS_NAME, be_name);
467 dirname(root_ds), be_name);
599 * be_name - pointer to name of BE to add boot menu entry for.
616 be_append_menu(char *be_name, char *be_root_pool, char *boot_pool,
639 if (be_name == NULL || be_root_pool == NULL)
686 be_make_root_ds(be_root_pool, be_name, be_root_ds, sizeof (be_root_ds));
752 description ? description : be_name);
805 char *new_title = description ? description : be_name;
811 if (be_remove_menu(be_name, be_root_pool,
815 "entry '%s' in boot menu.\n"), be_name);
850 description ? description : be_name);
896 * be_name - the name of BE whose entry is to be removed from
898 * be_root_pool - the pool that be_name lives in.
909 be_remove_menu(char *be_name, char *be_root_pool, char *boot_pool)
941 be_make_root_ds(be_root_pool, be_name, be_root_ds, sizeof (be_root_ds));
1507 * be_name - This is the name of the BE wanted as the default
1518 be_change_grub_default(char *be_name, char *be_root_pool)
1551 be_make_root_ds(be_root_pool, be_name, be_root_ds, sizeof (be_root_ds));
1660 be_name);
2144 * The entry's root container dataset and be_name will be
2147 * be_name - name of BE to update
2163 be_update_vfstab(char *be_name, char *old_rc_loc, char *new_rc_loc,
2175 if ((ret = _be_mount(be_name, &tmp_mountpoint,
2178 "failed to mount BE (%s)\n"), be_name);
2190 ret = _update_vfstab(alt_vfstab, be_name, old_rc_loc, new_rc_loc,
2195 if ((err = _be_unmount(be_name, 0)) == BE_SUCCESS) {
2201 be_name, tmp_mountpoint);
2216 * The entry's root container dataset and be_name will be
2220 * be_name - name of zone BE to update
2234 be_update_zone_vfstab(zfs_handle_t *zhp, char *be_name, char *old_rc_loc,
2271 ret = _update_vfstab(alt_vfstab, be_name, old_rc_loc, new_rc_loc,
2390 * be_name - name of BE to validate
2392 * B_TRUE - be_name is valid
2393 * B_FALSE - be_name is invalid
2399 be_valid_be_name(const char *be_name)
2404 if (be_name == NULL)
2416 c = be_name;
2427 if (!zfs_name_valid(be_name, ZFS_TYPE_FILESYSTEM) ||
2428 strlen(be_name) > BE_NAME_MAX_LEN)
2432 strstr(be_name, be_defaults.be_deflt_bename_starts_with) == NULL) {
2641 * and freeing the memory used by the active be_name.
3371 * and be_name components of the dataset with the new be_name
3376 * be_name - name of new BE name to update to.
3388 update_dataset(char *dataset, int dataset_len, char *be_name,
3403 be_make_root_ds(new_rc_loc, be_name, dataset, dataset_len);
3416 * root container dataset location and be_name for all
3420 * be_name - name of BE to update.
3434 _update_vfstab(char *vfstab, char *be_name, char *old_rc_loc,
3545 * location and be_name in the
3552 sizeof (dev), be_name, old_rc_loc,
3891 char *be_name = NULL;
3982 be_name = strdup(be_nodes->be_node_name);
3994 int err = be_change_grub_default(be_name, be_rpool);