Lines Matching refs:slice_num
245 if (sp->slice_num == snum) {
530 if (sp->slice_num == -1) {
537 sp->slice_num = dkinfo.dki_partition;
543 if (sp->slice_num == snum) {
671 int slice_num;
674 slice_num = get_slice_num(devp);
676 if (slice_num == -1) {
681 if (slice_num >= vtoc.v_nparts ||
682 vtoc.v_part[slice_num].p_size == 0) {
686 if (slice_num >= efip->efi_nparts ||
687 efip->efi_parts[slice_num].p_size == 0) {
718 if (devp->slice_num == -1) {
724 devp->slice_num = dkinfo.dki_partition;
730 return (devp->slice_num);
753 int slice_num;
756 slice_num = get_slice_num(devp);
758 if (slice_num == -1) {
783 if (slice_num >= vtoc.v_nparts ||
784 vtoc.v_part[slice_num].p_size == 0) {
788 if (slice_num >= efip->efi_nparts ||
789 efip->efi_parts[slice_num].p_size == 0) {
817 int slice_num;
859 slice_num = get_slice_num(dp);
861 if (slice_num == -1) {
883 if (slice_num < vtoc.v_nparts &&
884 vtoc.v_part[slice_num].p_size > 0) {
889 if (slice_num < efip->efi_nparts &&
890 efip->efi_parts[slice_num].p_size > 0) {