Lines Matching refs:dstab
1846 struct zone_dstab dstab; in export_func() local
2086 while (zonecfg_getdsent(handle, &dstab) == Z_OK) { in export_func()
2089 export_prop(of, PT_NAME, dstab.zone_dataset_name); in export_func()
2930 fill_in_dstab(cmd_t *cmd, struct zone_dstab *dstab, boolean_t fill_in_only) in fill_in_dstab() argument
2938 dstab->zone_dataset_name[0] = '\0'; in fill_in_dstab()
2948 (void) strlcpy(dstab->zone_dataset_name, pp->pv_simple, in fill_in_dstab()
2949 sizeof (dstab->zone_dataset_name)); in fill_in_dstab()
2959 return (zonecfg_lookup_ds(handle, dstab)); in fill_in_dstab()
3265 struct zone_dstab dstab; in remove_dataset() local
3267 if ((err = fill_in_dstab(cmd, &dstab, B_FALSE)) != Z_OK) { in remove_dataset()
3271 if ((err = zonecfg_delete_ds(handle, &dstab)) != Z_OK) in remove_dataset()
5399 output_ds(FILE *fp, struct zone_dstab *dstab) in output_ds() argument
5402 output_prop(fp, PT_NAME, dstab->zone_dataset_name, B_TRUE); in output_ds()
6093 struct zone_dstab dstab; in verify_func() local
6351 while (zonecfg_getdsent(handle, &dstab) == Z_OK) { in verify_func()
6352 if (strlen(dstab.zone_dataset_name) == 0) { in verify_func()
6358 } else if (!zfs_name_valid(dstab.zone_dataset_name, in verify_func()