Searched refs:slice (Results 1 - 25 of 94) sorted by relevance

1234

/freebsd-10.0-release/sys/geom/
H A Dgeom_flashmap.c78 g_flashmap_print(struct g_flashmap_slice *slice) argument
81 printf("%08jx-%08jx: %s (%juKB)\n", (uintmax_t)slice->sl_start,
82 (uintmax_t)slice->sl_end, slice->sl_name,
83 (uintmax_t)(slice->sl_end - slice->sl_start) / 1024);
90 struct g_flashmap_slice *slice; local
96 STAILQ_FOREACH(slice, slices, sl_link) {
98 printf("%s: slice ", devname);
99 g_flashmap_print(slice);
169 struct g_flashmap_slice *slice, *slice_temp; local
227 struct g_flashmap_slice *slice; local
[all...]
H A Dgeom_mbr.c95 * XXX: Check that length argument does not bring boot code inside any slice.
431 int error, i, slice; local
448 slice = 0;
474 slice + 5, gp->name);
481 g_slice_config(gp, slice, G_SLICE_CONFIG_SET,
489 slice + 5);
491 ms->type[slice] = dp[0].dp_typ;
492 slice++;
/freebsd-10.0-release/sys/boot/i386/common/
H A Ddrv.h36 unsigned int slice; member in struct:dsk
/freebsd-10.0-release/contrib/llvm/include/llvm/Support/
H A DGCOV.h48 StringRef Magic = Buffer->getBuffer().slice(0, 12);
66 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor+4);
79 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor+4);
92 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor+4);
105 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor+4);
118 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor+4);
130 StringRef Str = Buffer->getBuffer().slice(Cursor, Cursor+4);
146 StringRef Str = Buffer->getBuffer().slice(Cursor, Cursor+Len);
/freebsd-10.0-release/contrib/libstdc++/include/bits/
H A Dslice_array.h48 * The slice class represents a one-dimensional subset of an array,
55 * For example, with an array of size 10, and a slice with offset 1, size 3
58 class slice class
61 /// Construct an empty slice.
62 slice();
65 * @brief Construct a slice.
68 * @param d Number of elements in slice.
71 slice(size_t, size_t, size_t);
73 /// Return array offset of first slice element.
75 /// Return size of slice
89 slice::slice() {} function in class:slice
92 slice::slice(size_t __o, size_t __d, size_t __s) function in class:slice
[all...]
/freebsd-10.0-release/usr.sbin/pc-sysinstall/backend/
H A Dfunctions-disk.sh30 # See if device is a full disk or partition/slice
318 # Function which reads in the disk slice config, and performs it
322 # Cleanup any slice / mirror dirs
411 # We are using free space, figure out the slice number
414 # Lets figure out what number this slice will be
518 # Get the number of the slice we are working on
561 # Now save which disk<num> this is, so we can parse it later during slice partition setup
595 # Stop all gjournals on disk / slice
715 # Function which runs gpart and creates a single large slice
724 slice
[all...]
/freebsd-10.0-release/sys/i386/include/
H A Dbootinfo.h109 #define MAKEBOOTDEV(type, slice, unit, partition) \
110 (((type) << B_TYPESHIFT) | ((slice) << B_SLICESHIFT) | \
/freebsd-10.0-release/sys/boot/common/
H A Ddisk.c205 /* Open slice with BSD label */
242 int rc, slice, partition; local
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,
446 int unit, slice, partition; local
[all...]
/freebsd-10.0-release/sys/boot/uboot/lib/
H A Dlibuboot.h38 int slice; member in struct:uboot_devdesc::__anon6175::__anon6176
/freebsd-10.0-release/contrib/llvm/include/llvm/ADT/
H A DStringRef.h415 StringRef slice(size_t Start, size_t End) const {
435 return std::make_pair(slice(0, Idx), slice(Idx+1, npos));
452 return std::make_pair(slice(0, Idx), slice(Idx + Separator.size(), npos));
487 return std::make_pair(slice(0, Idx), slice(Idx+1, npos));
H A DArrayRef.h126 /// slice(n) - Chop off the first N elements of the array.
127 ArrayRef<T> slice(unsigned N) const { function in class:llvm::ArrayRef
132 /// slice(n, m) - Chop off the first N elements of the array, and keep M
134 ArrayRef<T> slice(unsigned N, unsigned M) const { function in class:llvm::ArrayRef
227 /// slice(n) - Chop off the first N elements of the array.
228 MutableArrayRef<T> slice(unsigned N) const { function in class:llvm::ArrayRef
233 /// slice(n, m) - Chop off the first N elements of the array, and keep M
235 MutableArrayRef<T> slice(unsigned N, unsigned M) const { function in class:llvm::ArrayRef
/freebsd-10.0-release/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs_import.c151 * preserve slice numbers even if the disks have been reorganized, and
1142 rdsk_node_t *slice; local
1210 slice = zfs_alloc(hdl, sizeof (rdsk_node_t));
1211 slice->rn_name = zfs_strdup(hdl, pp->lg_name);
1212 slice->rn_avl = &slice_cache;
1213 slice->rn_dfd = dfd;
1214 slice->rn_hdl = hdl;
1215 slice->rn_nozpool = B_FALSE;
1216 avl_add(&slice_cache, slice);
1234 slice
[all...]
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Basic/
H A DVersion.cpp41 URL = SVNRepository.slice(SVNRepository.find(':'),
46 URL = URL.slice(0, URL.find("/src/tools/clang"));
/freebsd-10.0-release/sys/boot/pc98/libpc98/
H A Dbiosdisk.c85 int od_nslices; /* slice count */
260 dev.d_kind.biosdisk.slice = -1;
350 * Print out each valid partition in the disklabel of a FreeBSD slice.
412 * (eg. given no slice or partition value, with a disk that is
413 * sliced - are they after the first BSD slice, or the DOS
414 * slice before it?)
461 DEBUG("open '%s', unit 0x%x slice %d partition %d",
463 dev->d_kind.biosdisk.slice, dev->d_kind.biosdisk.partition);
489 int sector, slice, i; local
494 * for d->od_boff by looking for the slice an
[all...]
/freebsd-10.0-release/sys/dev/mxge/
H A Dif_mxge.c1203 int slice, status; local
1227 * slice 0. It must also be called *after*
1262 for (slice = 0; slice < sc->num_slices; slice++) {
1263 rx_done = &sc->ss[slice].rx_done;
1267 cmd.data2 = slice;
1299 for (slice = 0; slice < sc->num_slices; slice
1437 int slice; local
1460 int slice; local
2246 int slice; local
2328 int slice; local
3233 int slice; local
3309 int slice; local
3491 int err, slice; local
3564 int err, i, slice; local
3643 int err, big_bytes, nbufs, slice, cl_size, i; local
3793 int slice; local
3985 mxge_warn_stuck(mxge_softc_t *sc, mxge_tx_ring_t *tx, int slice) argument
4053 int slice; local
[all...]
/freebsd-10.0-release/contrib/llvm/lib/Support/
H A DStringExtras.cpp46 return std::make_pair(Source.slice(Start, End), Source.substr(End));
/freebsd-10.0-release/contrib/llvm/lib/TableGen/
H A DTableGenBackend.cpp47 printLine(OS, Prefix + Desc.slice(Pos, PosE), ' ', Suffix);
/freebsd-10.0-release/sys/boot/i386/boot2/
H A Dboot2.c126 uint8_t slice; member in struct:dsk
233 dsk.slice = *(uint8_t *)PTOV(ARGS + 1) + 1;
370 MAKEBOOTDEV(dev_maj[dsk.type], dsk.slice, dsk.unit, dsk.part),
444 dsk.slice = WHOLE_DISK_SLICE;
446 dsk.slice = *arg - '0' + 1;
447 if (dsk.slice > NDOSPART + 1)
490 sl = dsk.slice;
497 dsk.slice == COMPATIBILITY_SLICE)
500 if (dsk.slice == WHOLE_DISK_SLICE)
501 dsk.slice
[all...]
/freebsd-10.0-release/sys/boot/fdt/dts/
H A Ddreamplug-1001N.dts102 slice@0 {
108 slice@200000 {
113 slice@500000 {
H A Dsheevaplug.dts91 slice@0 {
97 slice@200000 {
/freebsd-10.0-release/sys/boot/pc98/boot2/
H A Dboot2.c129 uint8_t slice; member in struct:dsk
368 dsk.slice = check_slice();
509 MAKEBOOTDEV(dev_maj[dsk.type], dsk.slice, dsk.unit, dsk.part),
583 dsk.slice = WHOLE_DISK_SLICE;
585 dsk.slice = *arg - '0' + 1;
586 if (dsk.slice > PC98_NPARTS + 1)
632 sl = dsk.slice;
639 dsk.slice = sl;
644 printf("Invalid %s\n", "slice");
/freebsd-10.0-release/sys/boot/i386/libi386/
H A Dlibi386.h46 int slice; member in struct:i386_devdesc::__anon6072::__anon6073
/freebsd-10.0-release/sys/sys/
H A Dsglist.h99 int sglist_slice(struct sglist *original, struct sglist **slice,
/freebsd-10.0-release/sys/boot/i386/loader/
H A Dmain.c232 new_currdev.d_kind.biosdisk.slice = -1;
263 new_currdev.d_kind.biosdisk.slice = -1;
267 new_currdev.d_kind.biosdisk.slice = B_SLICE(initial_bootdev) - 1;
/freebsd-10.0-release/sys/boot/pc98/loader/
H A Dmain.c230 new_currdev.d_kind.biosdisk.slice = -1;
236 new_currdev.d_kind.biosdisk.slice = -1;
240 new_currdev.d_kind.biosdisk.slice = B_SLICE(initial_bootdev) - 1;

Completed in 205 milliseconds

1234