| /NextBSD/sys/geom/ |
| HD | geom_flashmap.c | 80 g_flashmap_print(struct g_flashmap_slice *slice) in g_flashmap_print() argument 83 printf("%08jx-%08jx: %s (%juKB)\n", (uintmax_t)slice->sl_start, in g_flashmap_print() 84 (uintmax_t)slice->sl_end, slice->sl_name, in g_flashmap_print() 85 (uintmax_t)(slice->sl_end - slice->sl_start) / 1024); in g_flashmap_print() 92 struct g_flashmap_slice *slice; in g_flashmap_modify() local 98 STAILQ_FOREACH(slice, slices, sl_link) { in g_flashmap_modify() 101 g_flashmap_print(slice); in g_flashmap_modify() 105 slice->sl_start, in g_flashmap_modify() 106 slice->sl_end - slice->sl_start + 1, in g_flashmap_modify() 107 secsize, "%ss.%s", gp->name, slice->sl_name); in g_flashmap_modify() [all …]
|
| HD | geom_mbr.c | 431 int error, i, slice; in g_mbrext_taste() local 448 slice = 0; in g_mbrext_taste() 474 slice + 5, gp->name); in g_mbrext_taste() 481 g_slice_config(gp, slice, G_SLICE_CONFIG_SET, in g_mbrext_taste() 489 slice + 5); in g_mbrext_taste() 491 ms->type[slice] = dp[0].dp_typ; in g_mbrext_taste() 492 slice++; in g_mbrext_taste()
|
| /NextBSD/usr.sbin/pc-sysinstall/backend/ |
| HD | functions-disk.sh | 724 slice=`echo "${DISK}:1:apm" | sed 's|/|-|g'` 727 slice=`echo "${DISK}:1:mbr" | sed 's|/|-|g'` 730 slice=`echo "${DISK}:1:gpt" | sed 's|/|-|g'` 736 WORKINGSLICES="${slice}" 739 WORKINGSLICES="${WORKINGSLICES} ${slice}" 750 slice="${1}p${3}" 759 stop_gjournal "${slice}" 762 if [ -e "${slice}b" ] 764 swapoff ${slice}b >/dev/null 2>/dev/null 765 swapoff ${slice}b.eli >/dev/null 2>/dev/null [all …]
|
| HD | functions-bsdlabel.sh | 752 for slice in ${SLICES} 755 mount ${slice} /mnt 2>/dev/null 763 check_fstab_mbr "${slice}" "/mnt" 768 check_fstab_gpt "${slice}" "/mnt"
|
| /NextBSD/contrib/libstdc++/include/bits/ |
| D | slice_array.h | 58 class slice in _GLIBCXX_BEGIN_NAMESPACE() 62 slice(); in _GLIBCXX_BEGIN_NAMESPACE() 71 slice(size_t, size_t, size_t); in _GLIBCXX_BEGIN_NAMESPACE() 89 slice::slice() {} in slice() function 92 slice::slice(size_t __o, size_t __d, size_t __s) in slice() function 96 slice::start() const in start() 100 slice::size() const in size() 104 slice::stride() const in stride() 187 slice_array(_Array<_Tp>, const slice&); 199 slice_array<_Tp>::slice_array(_Array<_Tp> __a, const slice& __s) in slice_array()
|
| /NextBSD/sys/boot/uboot/common/ |
| HD | main.c | 199 get_load_device(int *type, int *unit, int *slice, int *partition) in get_load_device() argument 207 *slice = 0; in get_load_device() 263 *slice = strtoul(p, &endp, 10); in get_load_device() 269 *slice = 0; in get_load_device() 283 *slice = 0; in get_load_device() 303 *slice = 0; in get_load_device() 310 char slice[32]; in print_disk_probe_info() local 313 if (currdev.d_disk.slice > 0) in print_disk_probe_info() 314 sprintf(slice, "%d", currdev.d_disk.slice); in print_disk_probe_info() 316 strcpy(slice, "<auto>"); in print_disk_probe_info() [all …]
|
| /NextBSD/contrib/llvm/include/llvm/Support/ |
| HD | GCOV.h | 60 StringRef File = Buffer->getBuffer().slice(0, 4); in readGCNOFormat() 71 StringRef File = Buffer->getBuffer().slice(0, 4); in readGCDAFormat() 82 StringRef VersionStr = Buffer->getBuffer().slice(Cursor, Cursor + 4); in readGCOVVersion() 100 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor + 4); in readFunctionTag() 112 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor + 4); in readBlockTag() 124 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor + 4); in readEdgeTag() 136 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor + 4); in readLineTag() 148 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor + 4); in readArcTag() 160 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor + 4); in readObjectTag() 172 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor + 4); in readProgramTag() [all …]
|
| /NextBSD/sys/boot/common/ |
| HD | disk.c | 278 int rc, slice, partition; in disk_open() local 292 slice = dev->d_slice; in disk_open() 336 } else if (slice >= 0) { in disk_open() 338 if (slice == 0) in disk_open() 341 rc = ptable_getpart(od->table, &part, slice); in disk_open() 345 slice = part.index; in disk_open() 403 dev->d_slice = slice; in disk_open() 482 int unit, slice, partition; in disk_parsedev() local 487 unit = slice = partition = -1; in disk_parsedev() 495 slice = strtol(np, &cp, 10); in disk_parsedev() [all …]
|
| /NextBSD/sys/boot/pc98/libpc98/ |
| HD | biosdisk.c | 260 dev.d_kind.biosdisk.slice = -1; in bd_print() 463 dev->d_kind.biosdisk.slice, dev->d_kind.biosdisk.partition); in bd_opendisk() 489 int sector, slice, i; in bd_open_pc98() local 516 if (dev->d_kind.biosdisk.slice > 0) { in bd_open_pc98() 538 if (dev->d_kind.biosdisk.slice == -1) { in bd_open_pc98() 546 if (dev->d_kind.biosdisk.slice > 0) { in bd_open_pc98() 547 slice = dev->d_kind.biosdisk.slice - 1; in bd_open_pc98() 548 if (slice >= od->od_nslices) { in bd_open_pc98() 549 DEBUG("slice %d not found", slice); in bd_open_pc98() 555 if (dev->d_kind.biosdisk.slice == 0) { in bd_open_pc98() [all …]
|
| /NextBSD/cddl/contrib/opensolaris/lib/libzfs/common/ |
| HD | libzfs_import.c | 1156 rdsk_node_t *slice; in zpool_find_import_impl() local 1228 slice = zfs_alloc(hdl, sizeof (rdsk_node_t)); in zpool_find_import_impl() 1229 slice->rn_name = zfs_strdup(hdl, pp->lg_name); in zpool_find_import_impl() 1230 slice->rn_avl = &slice_cache; in zpool_find_import_impl() 1231 slice->rn_dfd = dfd; in zpool_find_import_impl() 1232 slice->rn_hdl = hdl; in zpool_find_import_impl() 1233 slice->rn_nozpool = B_FALSE; in zpool_find_import_impl() 1234 avl_add(&slice_cache, slice); in zpool_find_import_impl() 1252 slice = zfs_alloc(hdl, sizeof (rdsk_node_t)); in zpool_find_import_impl() 1253 slice->rn_name = zfs_strdup(hdl, name); in zpool_find_import_impl() [all …]
|
| /NextBSD/sys/dev/mxge/ |
| HD | if_mxge.c | 1204 int slice, status; in mxge_reset() local 1263 for (slice = 0; slice < sc->num_slices; slice++) { in mxge_reset() 1264 rx_done = &sc->ss[slice].rx_done; in mxge_reset() 1268 cmd.data2 = slice; in mxge_reset() 1300 for (slice = 0; slice < sc->num_slices; slice++) { in mxge_reset() 1301 ss = &sc->ss[slice]; in mxge_reset() 1303 ss->irq_claim = irq_claim + (2 * slice); in mxge_reset() 1438 int slice; in mxge_rem_sysctls() local 1443 for (slice = 0; slice < sc->num_slices; slice++) { in mxge_rem_sysctls() 1444 ss = &sc->ss[slice]; in mxge_rem_sysctls() [all …]
|
| /NextBSD/sys/boot/i386/boot2/ |
| HD | boot2.c | 139 uint8_t slice; member 249 dsk.slice = *(uint8_t *)PTOV(ARGS + 1) + 1; in main() 387 MAKEBOOTDEV(dev_maj[dsk.type], dsk.slice, dsk.unit, dsk.part), in load() 466 dsk.slice = WHOLE_DISK_SLICE; in parse() 468 dsk.slice = *arg - '0' + 1; in parse() 469 if (dsk.slice > NDOSPART + 1) in parse() 514 sl = dsk.slice; in dskread() 521 dsk.slice == COMPATIBILITY_SLICE) in dskread() 524 if (dsk.slice == WHOLE_DISK_SLICE) in dskread() 525 dsk.slice = sl; in dskread()
|
| /NextBSD/contrib/llvm/include/llvm/ADT/ |
| HD | StringRef.h | 434 StringRef slice(size_t Start, size_t End) const { in slice() function 454 return std::make_pair(slice(0, Idx), slice(Idx+1, npos)); in split() 471 return std::make_pair(slice(0, Idx), slice(Idx + Separator.size(), npos)); in split() 506 return std::make_pair(slice(0, Idx), slice(Idx+1, npos)); in rsplit()
|
| HD | ArrayRef.h | 165 ArrayRef<T> slice(unsigned N) const { in slice() function 172 ArrayRef<T> slice(unsigned N, unsigned M) const { in slice() function 180 return slice(0, size() - N); 277 MutableArrayRef<T> slice(unsigned N) const { in slice() function 284 MutableArrayRef<T> slice(unsigned N, unsigned M) const { in slice() function 291 return slice(0, this->size() - N); in drop_back()
|
| /NextBSD/contrib/llvm/tools/clang/tools/driver/ |
| HD | driver.cpp | 116 Edit.slice(2, Edit.size()-1).find('/') != StringRef::npos) { in ApplyOneQAOverride() 119 ReplPattern = ReplPattern.slice(0, ReplPattern.size()-1); in ApplyOneQAOverride() 263 ProgNameRef = ProgNameRef.slice(0, ProgNameRef.rfind('-')); in ParseProgName() 282 StringRef Prefix = ProgNameRef.slice(0, LastComponent); in ParseProgName() 329 Opts->ParseArgs(argv.slice(1), MissingArgIndex, MissingArgCount); in CreateAndPopulateDiagOpts() 358 return cc1_main(argv.slice(2), argv[0], GetExecutablePathVP); in ExecuteCC1Tool() 360 return cc1as_main(argv.slice(2), argv[0], GetExecutablePathVP); in ExecuteCC1Tool()
|
| /NextBSD/sys/boot/pc98/boot2/ |
| HD | boot2.c | 142 uint8_t slice; member 384 dsk.slice = check_slice(); in main() 526 MAKEBOOTDEV(dev_maj[dsk.type], dsk.slice, dsk.unit, dsk.part), in load() 605 dsk.slice = WHOLE_DISK_SLICE; in parse() 607 dsk.slice = *arg - '0' + 1; in parse() 608 if (dsk.slice > PC98_NPARTS + 1) in parse() 656 sl = dsk.slice; in dskread() 663 dsk.slice = sl; in dskread()
|
| /NextBSD/sys/boot/mips/beri/boot2/ |
| HD | boot2.c | 166 uint8_t slice; member 260 dsk.slice = *(uint8_t *)PTOV(ARGS + 1) + 1; in main() 614 sl = dsk.slice; in dskread() 621 dsk.slice == COMPATIBILITY_SLICE) in dskread() 624 if (dsk.slice == WHOLE_DISK_SLICE) in dskread() 625 dsk.slice = sl; in dskread()
|
| /NextBSD/sys/i386/include/ |
| HD | bootinfo.h | 109 #define MAKEBOOTDEV(type, slice, unit, partition) \ argument 110 (((type) << B_TYPESHIFT) | ((slice) << B_SLICESHIFT) | \
|
| /NextBSD/contrib/llvm/lib/CodeGen/AsmPrinter/ |
| HD | DebugLocStream.h | 111 .slice(Lists[LI].EntryOffset, getNumEntries(LI)); in getEntries() 117 .slice(Entries[EI].ByteOffset, getNumBytes(EI)); in getBytes() 122 .slice(Entries[EI].CommentOffset, getNumComments(EI)); in getComments()
|
| /NextBSD/sys/boot/pc98/loader/ |
| HD | main.c | 230 new_currdev.d_kind.biosdisk.slice = -1; in extract_currdev() 236 new_currdev.d_kind.biosdisk.slice = -1; in extract_currdev() 240 new_currdev.d_kind.biosdisk.slice = B_SLICE(initial_bootdev) - 1; in extract_currdev()
|
| /NextBSD/contrib/llvm/lib/Object/ |
| HD | MachOObjectFile.cpp | 778 Foo = Name.slice(a+1, Name.npos); in guessLibraryShortName() 783 Suffix = Foo.slice(Idx, Foo.npos); in guessLibraryShortName() 784 Foo = Foo.slice(0, Idx); in guessLibraryShortName() 793 F = Name.slice(Idx, Idx + Foo.size()); in guessLibraryShortName() 794 DotFramework = Name.slice(Idx + Foo.size(), in guessLibraryShortName() 807 V = Name.slice(c+1, Name.npos); in guessLibraryShortName() 815 F = Name.slice(Idx, Idx + Foo.size()); in guessLibraryShortName() 816 DotFramework = Name.slice(Idx + Foo.size(), in guessLibraryShortName() 828 Dylib = Name.slice(a, Name.npos); in guessLibraryShortName() 834 Dot = Name.slice(a-2, a-1); in guessLibraryShortName() [all …]
|
| /NextBSD/contrib/llvm/tools/clang/lib/Basic/ |
| HD | Version.cpp | 41 URL = SVNRepository.slice(SVNRepository.find(':'), in getClangRepositoryPath() 46 URL = URL.slice(0, URL.find("/src/tools/clang")); in getClangRepositoryPath()
|
| /NextBSD/sys/boot/pc98/boot0.5/ |
| HD | selector.s | 138 # Hide default slice indicator 155 # Toggle default slice 165 # Set default slice 171 # Default slice must be bootable 336 # main loop for slice mode
|
| /NextBSD/sys/boot/i386/loader/ |
| HD | main.c | 237 new_currdev.d_kind.biosdisk.slice = -1; in extract_currdev() 268 new_currdev.d_kind.biosdisk.slice = -1; in extract_currdev() 272 new_currdev.d_kind.biosdisk.slice = B_SLICE(initial_bootdev) - 1; in extract_currdev()
|
| /NextBSD/sys/dev/sbni/ |
| HD | if_sbni.c | 540 u_int data_len, pos, slice; in download_data() local 561 slice = min(data_len, sc->framelen - pos); in download_data() 562 sbni_outsb(sc, data_p, slice); in download_data() 563 *crc_p = calc_crc32(*crc_p, data_p, slice); in download_data() 565 pos += slice; in download_data() 566 if (data_len -= slice) in download_data() 567 data_p += slice; in download_data()
|