/freebsd-11-stable/sys/geom/ |
H A D | geom_flashmap.c | 73 static void g_flashmap_print(struct g_flashmap_slice *slice); 79 g_flashmap_print(struct g_flashmap_slice *slice) argument 82 printf("%08jx-%08jx: %s (%juKB)\n", (uintmax_t)slice->sl_start, 83 (uintmax_t)slice->sl_end, slice->sl_name, 84 (uintmax_t)(slice->sl_end - slice->sl_start) / 1024); 91 struct g_flashmap_slice *slice; local 97 STAILQ_FOREACH(slice, slices, sl_link) { 99 printf("%s: slice ", devnam 154 struct g_flashmap_slice *slice, *slice_temp; local 211 struct g_flashmap_slice *slice; local [all...] |
H A D | geom_mbr.c | 97 * XXX: Check that length argument does not bring boot code inside any slice. 437 int error, i, slice; local 454 slice = 0; 480 slice + 5, gp->name); 487 g_slice_config(gp, slice, G_SLICE_CONFIG_SET, 495 slice + 5); 497 ms->type[slice] = dp[0].dp_typ; 498 slice++;
|
/freebsd-11-stable/stand/i386/common/ |
H A D | drv.h | 36 unsigned int slice; member in struct:dsk
|
/freebsd-11-stable/contrib/libstdc++/include/bits/ |
H A D | slice_array.h | 48 * 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-11-stable/usr.sbin/pc-sysinstall/backend/ |
H A D | functions-disk.sh | 30 # See if device is a full disk or partition/slice 319 # Function which reads in the disk slice config, and performs it 323 # Cleanup any slice / mirror dirs 412 # We are using free space, figure out the slice number 415 # Lets figure out what number this slice will be 519 # Get the number of the slice we are working on 562 # Now save which disk<num> this is, so we can parse it later during slice partition setup 596 # Stop all gjournals on disk / slice 720 # Function which runs gpart and creates a single large slice 729 slice [all...] |
/freebsd-11-stable/contrib/llvm-project/lld/ELF/ |
H A D | EhFrame.cpp | 60 return EhReader(s, s->data().slice(off)).readEhRecordSize(); 86 d = d.slice(1); 93 d = d.slice(count); 101 StringRef s = toStringRef(d.slice(0, end - d.begin())); 102 d = d.slice(s.size() + 1); 114 d = d.slice(1); 148 d = d.slice(size);
|
/freebsd-11-stable/sys/i386/include/ |
H A D | bootinfo.h | 109 #define MAKEBOOTDEV(type, slice, unit, partition) \ 110 (((type) << B_TYPESHIFT) | ((slice) << B_SLICESHIFT) | \
|
/freebsd-11-stable/stand/common/ |
H A D | disk.c | 128 /* Open slice with BSD label */ 135 * disk_open() for partition -1 on a bsd slice assumes 137 * that we're looking at the start of the raw slice. 229 int rc, slice, partition; local 256 slice = dev->d_slice; 259 DPRINTF("%s unit %d, slice %d, partition %d => %p", 288 } else if (slice >= 0) { 290 if (slice == 0) 293 rc = ptable_getpart(od->table, &part, slice); 298 slice 400 int unit, slice, partition; local [all...] |
H A D | part.c | 840 * Search for a slice with the following preferences: 842 * 1: Active FreeBSD slice 843 * 2: Non-active FreeBSD slice 844 * 3: Active Linux slice 845 * 4: non-active Linux slice 846 * 5: Active FAT/FAT32 slice 847 * 6: non-active FAT/FAT32 slice 988 int sector, slice, i; local 993 * for d->od_boff by looking for the slice and partition specified, 998 * Find the slice i [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
H A D | GCOV.h | 73 StringRef File = Buffer->getBuffer().slice(0, 4); 84 StringRef File = Buffer->getBuffer().slice(0, 4); 95 StringRef VersionStr = Buffer->getBuffer().slice(Cursor, Cursor + 4); 118 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor + 4); 130 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor + 4); 142 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor + 4); 154 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor + 4); 166 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor + 4); 178 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor + 4); 190 StringRef Tag = Buffer->getBuffer().slice(Curso [all...] |
/freebsd-11-stable/stand/uboot/common/ |
H A D | main.c | 176 * Parse a device string into type, unit, slice and partition numbers. A 182 * The returned values for slice and partition are interpreted by 187 * disk<unit>s<slice> disk0s1 188 * disk<unit>s<slice><partition> disk1s2a 198 * <type_name><unit>:<slice> DEV_TYP_STOR 199 * <type_name><unit>:<slice>. DEV_TYP_STOR 200 * <type_name><unit>:<slice>.<partition> DEV_TYP_STOR 207 get_load_device(int *type, int *unit, int *slice, int *partition) argument 216 *slice = 0; 242 *slice 339 char slice[32]; local [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | BinaryStreamRef.h | 118 RefType slice(uint32_t Offset, uint32_t Len) const { function in class:llvm::BinaryStreamRefBase 178 // Use BinaryStreamRef.slice() instead. 204 BinarySubstreamRef slice(uint32_t Off, uint32_t Size) const { function in struct:llvm::BinarySubstreamRef 205 BinaryStreamRef SubSub = StreamData.slice(Off, Size); 209 return slice(N, size() - N); 211 BinarySubstreamRef keep_front(uint32_t N) const { return slice(0, N); } 253 // Use WritableBinaryStreamRef.slice() instead.
|
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libzfs/common/ |
H A D | libzfs_import.c | 158 * preserve slice numbers even if the disks have been reorganized, and 1245 rdsk_node_t *slice; local 1319 slice = zfs_alloc(hdl, sizeof (rdsk_node_t)); 1320 slice->rn_name = zfs_strdup(hdl, pp->lg_name); 1321 slice->rn_avl = &slice_cache; 1322 slice->rn_dfd = dfd; 1323 slice->rn_hdl = hdl; 1324 slice->rn_nozpool = B_FALSE; 1325 avl_add(&slice_cache, slice); 1343 slice [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/MC/ |
H A D | StringTableBuilder.cpp | 110 multikeySort(Vec.slice(0, I), Pos); 111 multikeySort(Vec.slice(J), Pos); 113 // multikeySort(Vec.slice(I, J - I), Pos + 1), but with 116 Vec = Vec.slice(I, J - I);
|
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-cxxfilt/ |
H A D | llvm-cxxfilt.cpp | 118 OutFragments.push_back({"", Source.slice(0, Start - Head)}); 125 OutFragments.push_back({Source.slice(Start - Head, End - Head), 126 Source.slice(End - Head, DEnd - Head)});
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/ |
H A D | TypeHashing.cpp | 46 ArrayRef<uint8_t> PreData = RecordData.slice(Off, PreLen); 50 auto RefData = RecordData.slice(Ref.Offset, Ref.Count * sizeof(TypeIndex));
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Basic/ |
H A D | Version.cpp | 40 URL = SVNRepository.slice(SVNRepository.find(':'), 45 URL = URL.slice(0, URL.find("/src/tools/clang"));
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
H A D | Interpreter.cpp | 93 ArgValues.slice(0, std::min(ArgValues.size(), ArgCount));
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
H A D | Hash.cpp | 69 Buffer = Buffer.slice(Items.size() * sizeof(ulittle32_t));
|
/freebsd-11-stable/stand/i386/boot2/ |
H A D | boot2.c | 98 uint8_t slice; member in struct:dsk 214 dsk.slice = *(uint8_t *)PTOV(ARGS + 1) + 1; 353 MAKEBOOTDEV(dev_maj[dsk.type], dsk.slice, dsk.unit, dsk.part), 437 dsk.slice = WHOLE_DISK_SLICE; 439 dsk.slice = *arg - '0' + 1; 440 if (dsk.slice > NDOSPART + 1) 485 sl = dsk.slice; 492 dsk.slice == COMPATIBILITY_SLICE) 495 if (dsk.slice == WHOLE_DISK_SLICE) 496 dsk.slice [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | ArrayRef.h | 186 /// slice(n, m) - Chop off the first N elements of the array, and keep M 188 ArrayRef<T> slice(size_t N, size_t M) const { function in class:llvm::ArrayRef 193 /// slice(n) - Chop off the first N elements of the array. 194 ArrayRef<T> slice(size_t N) const { return slice(N, size() - N); } function in class:llvm::ArrayRef 199 return slice(N, size() - N); 205 return slice(0, size() - N); 358 /// slice(n, m) - Chop off the first N elements of the array, and keep M 360 MutableArrayRef<T> slice(size_t N, size_t M) const { function in class:llvm::ArrayRef 365 /// slice( 366 MutableArrayRef<T> slice(size_t N) const { function in class:llvm::ArrayRef [all...] |
/freebsd-11-stable/sys/dev/mxge/ |
H A D | if_mxge.c | 1204 int slice, status; local 1228 * slice 0. It must also be called *after* 1263 for (slice = 0; slice < sc->num_slices; slice++) { 1264 rx_done = &sc->ss[slice].rx_done; 1268 cmd.data2 = slice; 1300 for (slice = 0; slice < sc->num_slices; slice 1438 int slice; local 1461 int slice; local 2247 int slice; local 2329 int slice; local 3225 int slice; local 3301 int slice; local 3483 int err, slice; local 3556 int err, i, slice; local 3635 int err, big_bytes, nbufs, slice, cl_size, i; local 3785 int slice; local 3977 mxge_warn_stuck(mxge_softc_t *sc, mxge_tx_ring_t *tx, int slice) argument [all...] |
/freebsd-11-stable/stand/mips/beri/boot2/ |
H A D | boot2.c | 124 uint8_t slice; member in struct:dsk 218 dsk.slice = *(uint8_t *)PTOV(ARGS + 1) + 1; 566 sl = dsk.slice; 573 dsk.slice == COMPATIBILITY_SLICE) 576 if (dsk.slice == WHOLE_DISK_SLICE) 577 dsk.slice = sl; 583 printf("Invalid %s\n", "slice");
|
/freebsd-11-stable/contrib/llvm-project/clang/tools/driver/ |
H A D | driver.cpp | 122 Edit.slice(2, Edit.size()-1).find('/') != StringRef::npos) { 125 ReplPattern = ReplPattern.slice(0, ReplPattern.size()-1); 279 argv.slice(1), MissingArgIndex, MissingArgCount); 329 return cc1_main(makeArrayRef(ArgV).slice(2), ArgV[0], GetExecutablePathVP); 331 return cc1as_main(makeArrayRef(ArgV).slice(2), ArgV[0], 334 return cc1gen_reproducer_main(makeArrayRef(ArgV).slice(2), ArgV[0],
|
/freebsd-11-stable/stand/pc98/boot2/ |
H A D | boot2.c | 101 uint8_t slice; member in struct:dsk 345 dsk.slice = check_slice(); 488 MAKEBOOTDEV(dev_maj[dsk.type], dsk.slice, dsk.unit, dsk.part), 571 dsk.slice = WHOLE_DISK_SLICE; 573 dsk.slice = *arg - '0' + 1; 574 if (dsk.slice > PC98_NPARTS + 1) 622 sl = dsk.slice; 629 dsk.slice = sl; 634 reason = "slice";
|