/freebsd-13-stable/sys/geom/ |
H A D | geom_flashmap.c | 72 static void g_flashmap_print(struct g_flashmap_slice *slice); 78 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 ", devnam 133 struct g_flashmap_slice *slice, *slice_temp; local 190 struct g_flashmap_slice *slice; local [all...] |
/freebsd-13-stable/sys/contrib/openzfs/lib/libzutil/os/freebsd/ |
H A D | zutil_import_os.c | 189 rdsk_node_t *slice; local 219 slice = zutil_alloc(hdl, sizeof (rdsk_node_t)); 220 slice->rn_name = zutil_strdup(hdl, path); 221 slice->rn_vdev_guid = 0; 222 slice->rn_lock = lock; 223 slice->rn_avl = *slice_cache; 224 slice->rn_hdl = hdl; 225 slice->rn_labelpaths = B_FALSE; 226 slice->rn_order = IMPORT_ORDER_DEFAULT; 229 if (avl_find(*slice_cache, slice, [all...] |
/freebsd-13-stable/sys/contrib/openzfs/lib/libzutil/os/linux/ |
H A D | zutil_import_os.c | 191 rdsk_node_t *slice; local 211 slice = zutil_alloc(hdl, sizeof (rdsk_node_t)); 212 slice->rn_name = zutil_strdup(hdl, path); 213 slice->rn_vdev_guid = vdev_guid; 214 slice->rn_avl = rn->rn_avl; 215 slice->rn_hdl = hdl; 216 slice->rn_order = IMPORT_ORDER_PREFERRED_1; 217 slice->rn_labelpaths = B_FALSE; 219 if (avl_find(rn->rn_avl, slice, &where)) { 221 free(slice 324 rdsk_node_t *slice; local [all...] |
/freebsd-13-stable/stand/i386/common/ |
H A D | drv.h | 36 unsigned int slice; member in struct:dsk
|
/freebsd-13-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-13-stable/sys/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/ |
H A D | argon2-core.h | 116 uint8_t slice; member in struct:Argon2_position_t 159 if (position->slice == 0) { 160 /* First slice */ 167 position->slice * instance->segment_length + 171 position->slice * instance->segment_length + 199 start_position = (position->slice == ARGON2_SYNC_POINTS - 1) 201 : (position->slice + 1) * instance->segment_length;
|
H A D | argon2-fill-block-avx2.c | 113 input_block.v[2] = position->slice; 162 (position.pass != 0 || position.slice >= ARGON2_SYNC_POINTS / 2)) { 174 if ((0 == position.pass) && (0 == position.slice)) { 180 position.slice * instance->segment_length + starting_index; 214 if ((position.pass == 0) && (position.slice == 0)) {
|
H A D | argon2-fill-block-avx512f.c | 118 input_block.v[2] = position->slice; 167 (position.pass != 0 || position.slice >= ARGON2_SYNC_POINTS / 2)) { 179 if ((0 == position.pass) && (0 == position.slice)) { 185 position.slice * instance->segment_length + starting_index; 219 if ((position.pass == 0) && (position.slice == 0)) {
|
H A D | argon2-fill-block-ref.c | 124 input_block.v[2] = position->slice; 160 (position.pass != 0 || position.slice >= ARGON2_SYNC_POINTS / 2)) { 172 if ((0 == position.pass) && (0 == position.slice)) { 178 position.slice * instance->segment_length + starting_index; 209 if ((position.pass == 0) && (position.slice == 0)) {
|
H A D | argon2-fill-block-ssse3.c | 112 input_block.v[2] = position->slice; 161 (position.pass != 0 || position.slice >= ARGON2_SYNC_POINTS / 2)) { 173 if ((0 == position.pass) && (0 == position.slice)) { 179 position.slice * instance->segment_length + starting_index; 213 if ((position.pass == 0) && (position.slice == 0)) {
|
/freebsd-13-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 = D_SLICEWILD; 242 *slice 339 char slice[32]; local [all...] |
/freebsd-13-stable/sys/i386/include/ |
H A D | bootinfo.h | 111 #define MAKEBOOTDEV(type, slice, unit, partition) \ 112 (((type) << B_TYPESHIFT) | ((slice) << B_SLICESHIFT) | \
|
/freebsd-13-stable/stand/common/ |
H A D | disk.c | 141 /* Open slice with BSD label */ 236 int rc, slice, partition; local 263 slice = dev->d_slice; 266 DPRINTF("%s unit %d, slice %d, partition %d => %p", disk_fmtdev(dev), 295 } else if (slice >= 0) { 297 if (slice == 0) 300 rc = ptable_getpart(od->table, &part, slice); 305 slice = part.index; 320 * to open raw MBR slice. 326 * If partition is D_PARTWILD and we are looking at a BSD slice, 415 int unit, slice, partition; local [all...] |
/freebsd-13-stable/sys/contrib/openzfs/lib/libzutil/ |
H A D | zutil_import.c | 1191 rdsk_node_t *slice; local 1193 slice = zutil_alloc(hdl, sizeof (rdsk_node_t)); 1194 if (asprintf(&slice->rn_name, "%s/%s", path, name) == -1) { 1195 free(slice); 1198 slice->rn_vdev_guid = 0; 1199 slice->rn_lock = lock; 1200 slice->rn_avl = cache; 1201 slice->rn_hdl = hdl; 1202 slice->rn_order = order + IMPORT_ORDER_SCAN_OFFSET; 1203 slice 1308 rdsk_node_t *slice; local 1378 rdsk_node_t *slice; local [all...] |
/freebsd-13-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-13-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-13-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-13-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-13-stable/contrib/llvm-project/lld/MachO/ |
H A D | ExportTrie.cpp | 186 node->edges.emplace_back(pivotSymbol->getName().slice(lastPos, pos), 192 sortAndBuild(vec.slice(0, i), node, lastPos, pos); 193 sortAndBuild(vec.slice(j), node, lastPos, pos); 200 // sortAndBuild(vec.slice(i, j - i), node, lastPos, pos + 1); 201 vec = vec.slice(i, j - i);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
H A D | Hash.cpp | 69 Buffer = Buffer.slice(Items.size() * sizeof(ulittle32_t));
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
H A D | Interpreter.cpp | 93 ArgValues.slice(0, std::min(ArgValues.size(), ArgCount));
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | ArrayRef.h | 184 /// slice(n, m) - Chop off the first N elements of the array, and keep M 186 ArrayRef<T> slice(size_t N, size_t M) const { function in class:llvm::ArrayRef 191 /// slice(n) - Chop off the first N elements of the array. 192 ArrayRef<T> slice(size_t N) const { return slice(N, size() - N); } function in class:llvm::ArrayRef 197 return slice(N, size() - N); 203 return slice(0, size() - N); 356 /// slice(n, m) - Chop off the first N elements of the array, and keep M 358 MutableArrayRef<T> slice(size_t N, size_t M) const { function in class:llvm::ArrayRef 363 /// slice( 364 MutableArrayRef<T> slice(size_t N) const { function in class:llvm::ArrayRef [all...] |
/freebsd-13-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-13-stable/sys/dev/mxge/ |
H A D | if_mxge.c | 1188 int slice, status; local 1211 * slice 0. It must also be called *after* 1245 for (slice = 0; slice < sc->num_slices; slice++) { 1246 rx_done = &sc->ss[slice].rx_done; 1250 cmd.data2 = slice; 1278 for (slice = 0; slice < sc->num_slices; slice 1416 int slice; local 1439 int slice; local 2203 int slice; local 2285 int slice; local 3172 int slice; local 3247 int slice; local 3428 int err, slice; local 3500 int err, i, slice; local 3578 int err, big_bytes, nbufs, slice, cl_size, i; local 3726 int slice; local 3916 mxge_warn_stuck(mxge_softc_t *sc, mxge_tx_ring_t *tx, int slice) argument [all...] |
/freebsd-13-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");
|