Lines Matching defs:slice
139 /* Open slice with BSD label */
234 int rc, slice, partition;
261 slice = dev->d_slice;
264 DPRINTF("%s unit %d, slice %d, partition %d => %p", disk_fmtdev(dev),
293 } else if (slice >= 0) {
295 if (slice == 0)
298 rc = ptable_getpart(od->table, &part, slice);
303 slice = part.index;
318 * to open raw MBR slice.
324 * If partition is D_PARTWILD and we are looking at a BSD slice,
326 * whole MBR slice.
340 * If slice contains BSD label and partition < 0, then
342 * whole MBR slice, because it can contain ZFS.
365 /* Save the slice and partition number to the dev */
366 dev->d_slice = slice;
415 int unit, slice, partition;
424 * slice or partition info should be considered a request to search for
429 slice = D_SLICEWILD;
432 slice = D_SLICENONE;
443 slice = strtol(np, &cp, 10);
455 slice = strtol(np, &cp, 10);
475 dev->d_slice = slice;