Lines Matching refs:slice_num
572 int slice_num; in get_fixed_assocs() local
575 slice_num = get_slice_num(devp); in get_fixed_assocs()
577 if (slice_num == -1) { in get_fixed_assocs()
582 if (slice_num >= vtoc.v_nparts || in get_fixed_assocs()
583 vtoc.v_part[slice_num].p_size == 0) { in get_fixed_assocs()
587 if (slice_num >= efip->efi_nparts || in get_fixed_assocs()
588 efip->efi_parts[slice_num].p_size == 0) { in get_fixed_assocs()
619 if (devp->slice_num == -1) { in get_slice_num()
625 devp->slice_num = dkinfo.dki_partition; in get_slice_num()
631 return (devp->slice_num); in get_slice_num()
654 int slice_num; in make_fixed_descriptors() local
657 slice_num = get_slice_num(devp); in make_fixed_descriptors()
659 if (slice_num == -1) { in make_fixed_descriptors()
684 if (slice_num >= vtoc.v_nparts || in make_fixed_descriptors()
685 vtoc.v_part[slice_num].p_size == 0) { in make_fixed_descriptors()
689 if (slice_num >= efip->efi_nparts || in make_fixed_descriptors()
690 efip->efi_parts[slice_num].p_size == 0) { in make_fixed_descriptors()
718 int slice_num; in match_fixed_name() local
760 slice_num = get_slice_num(dp); in match_fixed_name()
762 if (slice_num == -1) { in match_fixed_name()
790 if (slice_num < vtoc.v_nparts && in match_fixed_name()
791 vtoc.v_part[slice_num].p_size > 0) { in match_fixed_name()
796 if (slice_num < efip->efi_nparts && in match_fixed_name()
797 efip->efi_parts[slice_num].p_size > 0) { in match_fixed_name()