Lines Matching refs:slice
141 /* Open slice with BSD label */
236 int rc, slice, partition;
263 slice = dev->d_slice;
266 DPRINTF("%s unit %d, slice %d, partition %d => %p", disk_fmtdev(dev),
295 } else if (slice >= 0) {
297 if (slice == 0)
300 rc = ptable_getpart(od->table, &part, slice);
305 slice = part.index;
320 * to open raw MBR slice.
326 * If partition is D_PARTWILD and we are looking at a BSD slice,
328 * whole MBR slice.
342 * If slice contains BSD label and partition < 0, then
344 * whole MBR slice, because it can contain ZFS.
367 /* Save the slice and partition number to the dev */
368 dev->d_slice = slice;
415 int unit, slice, partition;
423 * slice or partition info should be considered a request to search for
428 slice = D_SLICEWILD;
431 slice = D_SLICENONE;
442 slice = strtol(np, &cp, 10);
454 slice = strtol(np, &cp, 10);
471 dev->d_slice = slice;