Lines Matching defs:slice
127 /* Open slice with BSD or VTOC label */
222 int rc, slice, partition;
231 slice = dev->d_slice;
242 DEBUG("%s unit %d, slice %d, partition %d => %p",
270 } else if (slice >= 0) {
272 if (slice == 0)
275 rc = ptable_getpart(od->table, &part, slice);
280 slice = part.index;
293 * If d_partition < 0 and we are looking at a BSD/VTOC slice,
295 * whole MBR slice.
309 * If slice contains BSD/VTOC label and d_partition < 0, then
311 * whole MBR slice, because it can contain ZFS.
335 /* Save the slice and partition number to the dev */
336 dev->d_slice = slice;
383 int unit, slice, partition;
388 unit = slice = partition = -1;
396 slice = strtol(np, &cp, 10);
408 slice = strtol(np, &cp, 10);
425 dev->d_slice = slice;