| /freebsd-13.1/sys/geom/ |
| H A D | geom_flashmap.c | 82 (uintmax_t)slice->sl_end, slice->sl_name, in g_flashmap_print() 83 (uintmax_t)(slice->sl_end - slice->sl_start) / 1024); in g_flashmap_print() 90 struct g_flashmap_slice *slice; in g_flashmap_modify() local 99 g_flashmap_print(slice); in g_flashmap_modify() 103 slice->sl_start, in g_flashmap_modify() 104 slice->sl_end - slice->sl_start + 1, in g_flashmap_modify() 116 slice->sl_start, in g_flashmap_modify() 117 slice->sl_end - slice->sl_start + 1, in g_flashmap_modify() 176 free(slice, M_FLASHMAP); in g_flashmap_taste() 190 struct g_flashmap_slice *slice; in g_flashmap_load() local [all …]
|
| /freebsd-13.1/sys/contrib/openzfs/lib/libzutil/os/linux/ |
| H A D | zutil_import_os.c | 192 rdsk_node_t *slice; in zpool_open_func() local 216 slice->rn_hdl = hdl; in zpool_open_func() 223 free(slice); in zpool_open_func() 236 free(slice); in zpool_open_func() 242 slice->rn_hdl = hdl; in zpool_open_func() 249 free(slice); in zpool_open_func() 325 rdsk_node_t *slice; in zpool_find_import_blkid() local 365 slice->rn_lock = lock; in zpool_find_import_blkid() 367 slice->rn_hdl = hdl; in zpool_find_import_blkid() 370 error = zfs_path_order(slice->rn_name, &slice->rn_order); in zpool_find_import_blkid() [all …]
|
| /freebsd-13.1/sys/contrib/openzfs/lib/libzutil/os/freebsd/ |
| H A D | zutil_import_os.c | 189 rdsk_node_t *slice; in zpool_find_import_blkid() local 220 slice->rn_name = zutil_strdup(hdl, path); in zpool_find_import_blkid() 221 slice->rn_vdev_guid = 0; in zpool_find_import_blkid() 222 slice->rn_lock = lock; in zpool_find_import_blkid() 223 slice->rn_avl = *slice_cache; in zpool_find_import_blkid() 224 slice->rn_hdl = hdl; in zpool_find_import_blkid() 225 slice->rn_labelpaths = B_FALSE; in zpool_find_import_blkid() 226 slice->rn_order = IMPORT_ORDER_DEFAULT; in zpool_find_import_blkid() 230 free(slice->rn_name); in zpool_find_import_blkid() 231 free(slice); in zpool_find_import_blkid() [all …]
|
| /freebsd-13.1/stand/uboot/common/ |
| H A D | main.c | 216 *slice = D_SLICEWILD; in get_load_device() 242 *slice = dev.d_slice; in get_load_device() 292 *slice = strtoul(p, &endp, 10); in get_load_device() 298 *slice = D_SLICEWILD; in get_load_device() 312 *slice = D_SLICEWILD; in get_load_device() 332 *slice = D_SLICEWILD; in get_load_device() 339 char slice[32]; in print_disk_probe_info() local 343 strlcpy(slice, "<none>", sizeof(slice)); in print_disk_probe_info() 345 strlcpy(slice, "<auto>", sizeof(slice)); in print_disk_probe_info() 347 snprintf(slice, sizeof(slice), "%d", currdev.d_disk.d_slice); in print_disk_probe_info() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lld/ELF/ |
| H A D | EhFrame.cpp | 62 return EhReader(s, s->data().slice(off)).readEhRecordSize(); in readEhRecordSize() 88 d = d.slice(1); in readByte() 95 d = d.slice(count); in skipBytes() 103 StringRef s = toStringRef(d.slice(0, end - d.begin())); in readString() 104 d = d.slice(s.size() + 1); in readString() 116 d = d.slice(1); in skipLeb128() 150 d = d.slice(size); in skipAugP()
|
| /freebsd-13.1/stand/common/ |
| H A D | disk.c | 236 int rc, slice, partition; in disk_open() local 263 slice = dev->d_slice; in disk_open() 295 } else if (slice >= 0) { in disk_open() 297 if (slice == 0) in disk_open() 305 slice = part.index; in disk_open() 368 dev->d_slice = slice; in disk_open() 415 int unit, slice, partition; in disk_parsedev() local 428 slice = D_SLICEWILD; in disk_parsedev() 431 slice = D_SLICENONE; in disk_parsedev() 442 slice = strtol(np, &cp, 10); in disk_parsedev() [all …]
|
| /freebsd-13.1/sys/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/ |
| H A D | argon2-core.h | 116 uint8_t slice; member 159 if (position->slice == 0) { in index_alpha() 167 position->slice * instance->segment_length + in index_alpha() 171 position->slice * instance->segment_length + in index_alpha() 199 start_position = (position->slice == ARGON2_SYNC_POINTS - 1) in index_alpha() 201 : (position->slice + 1) * instance->segment_length; in index_alpha()
|
| H A D | argon2-fill-block-ssse3.c | 112 input_block.v[2] = position->slice; in generate_addresses() 161 (position.pass != 0 || position.slice >= ARGON2_SYNC_POINTS / 2)) { in fill_segment_ssse3() 173 if ((0 == position.pass) && (0 == position.slice)) { in fill_segment_ssse3() 179 position.slice * instance->segment_length + starting_index; in fill_segment_ssse3() 213 if ((position.pass == 0) && (position.slice == 0)) { in fill_segment_ssse3()
|
| H A D | argon2-fill-block-avx512f.c | 118 input_block.v[2] = position->slice; in generate_addresses() 167 (position.pass != 0 || position.slice >= ARGON2_SYNC_POINTS / 2)) { in fill_segment_avx512f() 179 if ((0 == position.pass) && (0 == position.slice)) { in fill_segment_avx512f() 185 position.slice * instance->segment_length + starting_index; in fill_segment_avx512f() 219 if ((position.pass == 0) && (position.slice == 0)) { in fill_segment_avx512f()
|
| H A D | argon2-fill-block-avx2.c | 113 input_block.v[2] = position->slice; in generate_addresses() 162 (position.pass != 0 || position.slice >= ARGON2_SYNC_POINTS / 2)) { in fill_segment_avx2() 174 if ((0 == position.pass) && (0 == position.slice)) { in fill_segment_avx2() 180 position.slice * instance->segment_length + starting_index; in fill_segment_avx2() 214 if ((position.pass == 0) && (position.slice == 0)) { in fill_segment_avx2()
|
| H A D | argon2-fill-block-ref.c | 124 input_block.v[2] = position->slice; in generate_addresses() 160 (position.pass != 0 || position.slice >= ARGON2_SYNC_POINTS / 2)) { in fill_segment_ref() 172 if ((0 == position.pass) && (0 == position.slice)) { in fill_segment_ref() 178 position.slice * instance->segment_length + starting_index; in fill_segment_ref() 209 if ((position.pass == 0) && (position.slice == 0)) { in fill_segment_ref()
|
| /freebsd-13.1/sys/contrib/openzfs/lib/libzutil/ |
| H A D | zutil_import.c | 1193 rdsk_node_t *slice; in zpool_find_import_scan_add_slice() local 1197 free(slice); in zpool_find_import_scan_add_slice() 1203 slice->rn_hdl = hdl; in zpool_find_import_scan_add_slice() 1210 free(slice); in zpool_find_import_scan_add_slice() 1310 rdsk_node_t *slice; in zpool_find_import_scan() local 1356 free(slice); in zpool_find_import_scan() 1380 rdsk_node_t *slice; in zpool_find_import_impl() local 1392 for (slice = avl_first(cache); slice; in zpool_find_import_impl() 1393 (slice = avl_walk(cache, slice, AVL_AFTER))) in zpool_find_import_impl() 1454 slice->rn_name, slice->rn_order, in zpool_find_import_impl() [all …]
|
| /freebsd-13.1/sys/dev/mxge/ |
| H A D | if_mxge.c | 1245 for (slice = 0; slice < sc->num_slices; slice++) { in mxge_reset() 1278 for (slice = 0; slice < sc->num_slices; slice++) { in mxge_reset() 1421 for (slice = 0; slice < sc->num_slices; slice++) { in mxge_rem_sysctls() 1580 for (slice = 0; slice < sc->num_slices; slice++) { in mxge_add_sysctls() 2205 for (slice = 0; slice < sc->num_slices; slice++) { in mxge_qflush() 3174 for (slice = 0; slice < sc->num_slices; slice++) in mxge_free_mbufs() 3249 for (slice = 0; slice < sc->num_slices; slice++) in mxge_free_rings() 3444 for (slice = 0; slice < sc->num_slices; slice++) { in mxge_alloc_rings() 3686 for (slice = 0; slice < sc->num_slices; slice++) { in mxge_open() 3702 for (slice = 0; slice < sc->num_slices; slice++) { in mxge_open() [all …]
|
| /freebsd-13.1/stand/i386/boot2/ |
| H A D | boot2.c | 98 uint8_t slice; member 214 dsk.slice = *(uint8_t *)PTOV(ARGS + 1) + 1; in main() 353 MAKEBOOTDEV(dev_maj[dsk.type], dsk.slice, dsk.unit, dsk.part), in load() 437 dsk.slice = WHOLE_DISK_SLICE; in parse() 439 dsk.slice = *arg - '0' + 1; in parse() 440 if (dsk.slice > NDOSPART + 1) in parse() 485 sl = dsk.slice; in dskread() 492 dsk.slice == COMPATIBILITY_SLICE) in dskread() 495 if (dsk.slice == WHOLE_DISK_SLICE) in dskread() 496 dsk.slice = sl; in dskread()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | ArrayRef.h | 195 ArrayRef<T> slice(size_t N, size_t M) const { in slice() function 201 ArrayRef<T> slice(size_t N) const { return slice(N, size() - N); } in slice() function 206 return slice(N, size() - N); 212 return slice(0, size() - N); 376 MutableArrayRef<T> slice(size_t N, size_t M) const { in slice() function 382 MutableArrayRef<T> slice(size_t N) const { in slice() function 383 return slice(N, this->size() - N); in slice() 389 return slice(N, this->size() - N); 394 return slice(0, this->size() - N);
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | BinaryStreamRef.h | 118 RefType slice(uint32_t Offset, uint32_t Len) const { in slice() function 204 BinarySubstreamRef slice(uint32_t Off, uint32_t Size) const { in slice() function 205 BinaryStreamRef SubSub = StreamData.slice(Off, Size); in slice() 209 return slice(N, size() - N); in drop_front() 211 BinarySubstreamRef keep_front(uint32_t N) const { return slice(0, N); } in keep_front()
|
| H A D | BinaryByteStream.h | 45 Buffer = Data.slice(Offset, Size); in readBytes() 53 Buffer = Data.slice(Offset); in readLongestContiguousChunk() 153 Buffer = makeArrayRef(Data).slice(Offset, Size); in readBytes() 166 Buffer = makeArrayRef(Data).slice(Offset); in readLongestContiguousChunk()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCScheduleP9.td | 35 // As iops are dispatched to a slice, they are held in an independent slice 55 // x0, x1, x2, and x3 are the dedicated slice dispatch ports, where each 62 // b0 and b1 are dedicated dispatch ports into the branch slice. 143 // Even slice ('E')- certain operations must be sent only to an even slice. 144 // Also consumes odd dispatch slice slot of the same superslice at dispatch 157 // operation per slice for the super- slice to which they are dispatched 162 // Each execution and branch slice can receive up to two iops per cycle
|
| /freebsd-13.1/stand/mips/beri/boot2/ |
| H A D | boot2.c | 124 uint8_t slice; member 218 dsk.slice = *(uint8_t *)PTOV(ARGS + 1) + 1; in main() 566 sl = dsk.slice; in dskread() 573 dsk.slice == COMPATIBILITY_SLICE) in dskread() 576 if (dsk.slice == WHOLE_DISK_SLICE) in dskread() 577 dsk.slice = sl; in dskread()
|
| /freebsd-13.1/contrib/llvm-project/clang/tools/driver/ |
| H A D | driver.cpp | 123 Edit.slice(2, Edit.size()-1).find('/') != StringRef::npos) { in ApplyOneQAOverride() 126 ReplPattern = ReplPattern.slice(0, ReplPattern.size()-1); in ApplyOneQAOverride() 288 argv.slice(1), MissingArgIndex, MissingArgCount); in CreateAndPopulateDiagOpts() 338 return cc1_main(makeArrayRef(ArgV).slice(1), ArgV[0], GetExecutablePathVP); in ExecuteCC1Tool() 340 return cc1as_main(makeArrayRef(ArgV).slice(2), ArgV[0], in ExecuteCC1Tool() 343 return cc1gen_reproducer_main(makeArrayRef(ArgV).slice(2), ArgV[0], in ExecuteCC1Tool() 375 IsClangCL(getDriverMode(Args[0], llvm::makeArrayRef(Args).slice(1))); in main()
|
| /freebsd-13.1/contrib/llvm-project/lld/MachO/ |
| H A D | ExportTrie.cpp | 199 node->edges.emplace_back(pivotSymbol->getName().slice(lastPos, pos), in sortAndBuild() 205 sortAndBuild(vec.slice(0, i), node, lastPos, pos); in sortAndBuild() 206 sortAndBuild(vec.slice(j), node, lastPos, pos); in sortAndBuild() 214 vec = vec.slice(i, j - i); in sortAndBuild()
|
| /freebsd-13.1/sys/i386/include/ |
| H A D | bootinfo.h | 111 #define MAKEBOOTDEV(type, slice, unit, partition) \ argument 112 (((type) << B_TYPESHIFT) | ((slice) << B_SLICESHIFT) | \
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/MC/ |
| H A D | StringTableBuilder.cpp | 116 multikeySort(Vec.slice(0, I), Pos); in multikeySort() 117 multikeySort(Vec.slice(J), Pos); in multikeySort() 122 Vec = Vec.slice(I, J - I); in multikeySort()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-cxxfilt/ |
| H A D | llvm-cxxfilt.cpp | 113 OutFragments.push_back({"", Source.slice(0, Start - Head)}); in SplitStringDelims() 120 OutFragments.push_back({Source.slice(Start - Head, End - Head), in SplitStringDelims() 121 Source.slice(End - Head, DEnd - Head)}); in SplitStringDelims()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DebugLocStream.h | 113 .slice(Lists[LI].EntryOffset, getNumEntries(LI)); in getEntries() 119 .slice(Entries[EI].ByteOffset, getNumBytes(EI)); in getBytes() 124 .slice(Entries[EI].CommentOffset, getNumComments(EI)); in getComments()
|