storage_get_selected_slice
if (!a->result || storage_get_selected_slice(a->s) == NULL) {
storage_get_selected_slice(a->s)) > 0) {
if (slice_get_capacity(storage_get_selected_slice(a->s)) < DISK_MIN) {
slice_get_number(storage_get_selected_slice(a->s)),
slice_get_desc(storage_get_selected_slice(a->s)),
slice_get_number(storage_get_selected_slice(a->s)));
slice_get_number(storage_get_selected_slice(a->s)));
storage_get_selected_slice(a->s)) > 0) {
slice_get_device_name(storage_get_selected_slice(a->s)));
slice_get_device_name(storage_get_selected_slice(a->s)));
slice_get_device_name(storage_get_selected_slice(a->s)));
if (storage_get_selected_disk(a->s) == NULL || storage_get_selected_slice(a->s) == NULL) {
if (!a->result || storage_get_selected_slice(a->s) == NULL) {
if (storage_get_selected_disk(a->s) == NULL || storage_get_selected_slice(a->s) == NULL) {
if (!a->result || storage_get_selected_slice(a->s) == NULL) {
subpartitions_free(storage_get_selected_slice(a->s));
a_subpart = subpartition_new_ufs(storage_get_selected_slice(a->s),
subpartition_new_ufs(storage_get_selected_slice(a->s),
d_subpart = subpartition_new_ufs(storage_get_selected_slice(a->s),
subpartitions_free(storage_get_selected_slice(a->s));
slice_get_number(storage_get_selected_slice(a->s)),
slice_get_desc(storage_get_selected_slice(a->s)),
slice_get_device_name(storage_get_selected_slice(a->s)));
(storage_get_selected_slice(a->s) == NULL))
slice_get_number(storage_get_selected_slice(a->s)),
slice_get_start(storage_get_selected_slice(a->s)),
slice_get_size(storage_get_selected_slice(a->s)),
if (slice_get_flags(storage_get_selected_slice(a->s)) & 0x80) {
slice_get_number(storage_get_selected_slice(a->s)),
if (slice_get_size(storage_get_selected_slice(a->s)) == 0xFFFFFFFFU)
slice_get_device_name(storage_get_selected_slice(a->s)));
if (subpartition_find(storage_get_selected_slice(a->s), "%s", "/tmp") == NULL) {
if (subpartition_find(storage_get_selected_slice(a->s), "%s", nullfs_mountpt[i]) != NULL)
if (subpartition_find(storage_get_selected_slice(a->s), "%s", "/tmp") == NULL) {
for (sp = slice_subpartition_first(storage_get_selected_slice(a->s));
for (sp = slice_subpartition_first(storage_get_selected_slice(a->s));
for (sp = slice_subpartition_first(storage_get_selected_slice(a->s));
for (sp = slice_subpartition_first(storage_get_selected_slice(a->s));
sp = subpartition_of(storage_get_selected_slice(a->s),
spnext = slice_subpartition_first(storage_get_selected_slice(a->s));
for (sp = slice_subpartition_first(storage_get_selected_slice(a->s));
if (subpartition_find(storage_get_selected_slice(a->s),
if (subpartition_find(storage_get_selected_slice(a->s), "/tmp") == NULL) {
slice_get_device_name(storage_get_selected_slice(a->s)),
slice_get_device_name(storage_get_selected_slice(a->s)));
slice_get_device_name(storage_get_selected_slice(a->s)));
if (subpartition_find(storage_get_selected_slice(a->s), "%s", nullfs_mountpt[i]) != NULL)
slice_get_device_name(storage_get_selected_slice(a->s)))) {
slice_get_device_name(storage_get_selected_slice(a->s)),
slice_get_device_name(storage_get_selected_slice(a->s)));
slice_get_device_name(storage_get_selected_slice(a->s)),
for (sp = slice_subpartition_first(storage_get_selected_slice(a->s));
for (sp = slice_subpartition_first(storage_get_selected_slice(a->s));
slice_get_device_name(storage_get_selected_slice(a->s)),
slice_get_device_name(storage_get_selected_slice(a->s)));
for (sp = slice_subpartition_first(storage_get_selected_slice(a->s));
for (sp = slice_subpartition_first(storage_get_selected_slice(a->s));
capacity = slice_get_capacity(storage_get_selected_slice(s)); /* MB */
storage_get_selected_slice(a->s));
for (sp = slice_subpartition_first(storage_get_selected_slice(a->s));
for (sp = slice_subpartition_first(storage_get_selected_slice(a->s));
if (total_capacity > slice_get_capacity(storage_get_selected_slice(a->s))) {
slice_get_capacity(storage_get_selected_slice(a->s)));
subpartitions_free(storage_get_selected_slice(a->s));
subpartition_new_hammer(storage_get_selected_slice(a->s),
if (slice_subpartition_first(storage_get_selected_slice(a->s)) != NULL) {
for (sp = slice_subpartition_first(storage_get_selected_slice(a->s));
if (subpartition_find(storage_get_selected_slice(a->s), "/boot") == NULL) {
} else if (subpartition_find(storage_get_selected_slice(a->s), "/build") == NULL) {
sp = subpartition_find(storage_get_selected_slice(a->s), "/boot");
slice_get_device_name(storage_get_selected_slice(a->s)))) {
slice_get_device_name(storage_get_selected_slice(a->s)),
slice_get_device_name(storage_get_selected_slice(a->s)));
slice_get_device_name(storage_get_selected_slice(a->s)),
for (sp = slice_subpartition_first(storage_get_selected_slice(a->s));
for (sp = slice_subpartition_first(storage_get_selected_slice(a->s));
slice_get_device_name(storage_get_selected_slice(a->s)),
slice_get_device_name(storage_get_selected_slice(a->s)));
for (sp = slice_subpartition_first(storage_get_selected_slice(a->s));
for (sp = slice_subpartition_first(storage_get_selected_slice(a->s));
capacity = slice_get_capacity(storage_get_selected_slice(s)); /* MB */
for (sp = slice_subpartition_first(storage_get_selected_slice(a->s));
if (total_capacity > slice_get_capacity(storage_get_selected_slice(a->s))) {
total_capacity, slice_get_capacity(storage_get_selected_slice(a->s)));
subpartitions_free(storage_get_selected_slice(a->s));
subpartition_new_ufs(storage_get_selected_slice(a->s),
if (slice_subpartition_first(storage_get_selected_slice(a->s)) != NULL) {
for (sp = slice_subpartition_first(storage_get_selected_slice(a->s));
if (slice_get_capacity(storage_get_selected_slice(a->s)) <= 8192)
capacity = slice_get_capacity(storage_get_selected_slice(a->s));
struct slice *storage_get_selected_slice(const struct storage *);