Lines Matching refs:slice
205 /* Open slice with BSD label */
242 int rc, slice, partition;
256 slice = dev->d_slice;
265 DEBUG("%s unit %d, slice %d, partition %d => %p (cached)",
281 DEBUG("%s unit %d, slice %d, partition %d => %p",
300 } else if (slice >= 0) {
302 if (slice == 0)
305 rc = ptable_getpart(od->table, &part, slice);
309 slice = part.index;
322 * If d_partition < 0 and we are looking at a BSD slice,
324 * whole MBR slice.
338 * If slice contains BSD label and d_partition < 0, then
340 * whole MBR slice, because it can contain ZFS.
366 /* Save the slice and partition number to the dev */
367 dev->d_slice = slice;
446 int unit, slice, partition;
451 unit = slice = partition = -1;
459 slice = strtol(np, &cp, 10);
471 slice = strtol(np, &cp, 10);
488 dev->d_slice = slice;