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

12345678910

/freebsd-current/sys/geom/
H A Dgeom_flashmap.c69 static void g_flashmap_print(struct g_flashmap_slice *slice);
75 g_flashmap_print(struct g_flashmap_slice *slice) argument
78 printf("%08jx-%08jx: %s (%juKB)\n", (uintmax_t)slice->sl_start,
79 (uintmax_t)slice->sl_end, slice->sl_name,
80 (uintmax_t)(slice->sl_end - slice->sl_start) / 1024);
87 struct g_flashmap_slice *slice; local
93 STAILQ_FOREACH(slice, slices, sl_link) {
95 printf("%s: slice ", devnam
130 struct g_flashmap_slice *slice, *slice_temp; local
187 struct g_flashmap_slice *slice; local
[all...]
/freebsd-current/sys/contrib/openzfs/lib/libzutil/os/freebsd/
H A Dzutil_import_os.c189 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-current/sys/contrib/openzfs/lib/libzutil/os/linux/
H A Dzutil_import_os.c173 rdsk_node_t *slice; local
186 slice = zutil_alloc(hdl, sizeof (rdsk_node_t));
187 slice->rn_name = zutil_strdup(hdl, path);
188 slice->rn_vdev_guid = vdev_guid;
189 slice->rn_avl = rn->rn_avl;
190 slice->rn_hdl = hdl;
191 slice->rn_order = IMPORT_ORDER_PREFERRED_1;
192 slice->rn_labelpaths = B_FALSE;
194 if (avl_find(rn->rn_avl, slice, &where)) {
196 free(slice
298 rdsk_node_t *slice; local
[all...]
/freebsd-current/stand/i386/common/
H A Ddrv.h34 unsigned int slice; member in struct:dsk
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_leb128.h44 T slice = byte & 0x7f; local
45 value |= slice << shift;
77 T slice = byte & 0x7f; local
78 value += slice << shift;
H A Dsanitizer_array_ref.h65 /// slice(n, m) - Chop off the first N elements of the array, and keep M
67 ArrayRef<T> slice(uptr N, uptr M) const { function in class:__sanitizer::ArrayRef
72 /// slice(n) - Chop off the first N elements of the array.
73 ArrayRef<T> slice(uptr N) const { return slice(N, size() - N); } function in class:__sanitizer::ArrayRef
78 return slice(N, size() - N);
84 return slice(0, size() - N);
/freebsd-current/sys/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/
H A Dargon2-core.h116 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 Dargon2-fill-block-avx2.c113 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 Dargon2-fill-block-avx512f.c118 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 Dargon2-fill-block-ref.c124 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 Dargon2-fill-block-ssse3.c112 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-current/contrib/llvm-project/lld/ELF/
H A DEhFrame.cpp65 d = d.slice(1);
72 d = d.slice(count);
80 StringRef s = toStringRef(d.slice(0, end - d.begin()));
81 d = d.slice(s.size() + 1);
93 d = d.slice(1);
127 d = d.slice(size);
/freebsd-current/stand/uboot/
H A Dmain.c174 * Parse a device string into type, unit, slice and partition numbers. A
180 * The returned values for slice and partition are interpreted by
185 * disk<unit>s<slice> disk0s1
186 * disk<unit>s<slice><partition> disk1s2a
196 * <type_name><unit>:<slice> DEV_TYP_STOR
197 * <type_name><unit>:<slice>. DEV_TYP_STOR
198 * <type_name><unit>:<slice>.<partition> DEV_TYP_STOR
205 get_load_device(int *type, int *unit, int *slice, int *partition) argument
214 *slice = D_SLICEWILD;
246 *slice
344 char slice[32]; local
[all...]
/freebsd-current/sys/i386/include/
H A Dbootinfo.h100 #define MAKEBOOTDEV(type, slice, unit, partition) \
101 (((type) << B_TYPESHIFT) | ((slice) << B_SLICESHIFT) | \
/freebsd-current/stand/common/
H A Ddisk.c139 /* Open slice with BSD label */
234 int rc, slice, partition; local
261 slice = dev->d_slice;
264 DPRINTF("%s unit %d, slice %d, partition %d => %p", disk_fmtdev(dev),
293 } else if (slice >= 0) {
295 if (slice == 0)
298 rc = ptable_getpart(od->table, &part, slice);
303 slice = part.index;
318 * to open raw MBR slice.
324 * If partition is D_PARTWILD and we are looking at a BSD slice,
415 int unit, slice, partition; local
[all...]
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Support/
H A DBinaryStreamRef.h115 RefType slice(uint64_t Offset, uint64_t Len) const { function in class:llvm::BinaryStreamRefBase
174 // Use BinaryStreamRef.slice() instead.
200 BinarySubstreamRef slice(uint64_t Off, uint64_t Size) const { function in struct:llvm::BinarySubstreamRef
201 BinaryStreamRef SubSub = StreamData.slice(Off, Size);
205 return slice(N, size() - N);
207 BinarySubstreamRef keep_front(uint64_t N) const { return slice(0, N); }
248 // Use WritableBinaryStreamRef.slice() instead.
/freebsd-current/sys/contrib/openzfs/lib/libzutil/
H A Dzutil_import.c1255 rdsk_node_t *slice; local
1257 slice = zutil_alloc(hdl, sizeof (rdsk_node_t));
1258 if (asprintf(&slice->rn_name, "%s/%s", path, name) == -1) {
1259 free(slice);
1262 slice->rn_vdev_guid = 0;
1263 slice->rn_lock = lock;
1264 slice->rn_avl = cache;
1265 slice->rn_hdl = hdl;
1266 slice->rn_order = order + IMPORT_ORDER_SCAN_OFFSET;
1267 slice
1385 rdsk_node_t *slice; local
1456 rdsk_node_t *slice; local
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DTypeHashing.cpp46 ArrayRef<uint8_t> PreData = RecordData.slice(Off, PreLen);
50 auto RefData = RecordData.slice(Ref.Offset, Ref.Count * sizeof(TypeIndex));
/freebsd-current/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DHash.cpp69 Buffer = Buffer.slice(Items.size() * sizeof(ulittle32_t));
/freebsd-current/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.cpp93 ArgValues.slice(0, std::min(ArgValues.size(), ArgCount));
/freebsd-current/contrib/llvm-project/clang/lib/Basic/
H A DBuiltinTargetFeatures.h62 StringRef F = FeatureList.slice(SubexpressionStart, i);
/freebsd-current/contrib/llvm-project/lld/MachO/
H A DExportTrie.cpp248 node->edges.emplace_back(pivotSymbol->getName().slice(lastPos, pos),
254 sortAndBuild(vec.slice(0, i), node, lastPos, pos);
255 sortAndBuild(vec.slice(j), node, lastPos, pos);
262 // sortAndBuild(vec.slice(i, j - i), node, lastPos, pos + 1);
263 vec = vec.slice(i, j - i);
/freebsd-current/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DXCOFFDump.cpp144 printRawData(Bytes.slice(Index, 4), Address + Index, OS, STI); \
156 printRawData(Bytes.slice(Index, 4), Address, OS, STI);
179 if (support::endian::read32be(Bytes.slice(I, 4).data()) != 0)
187 printRawData(Bytes.slice(Index, 4), Address + Index, FOS, STI);
201 printRawData(Bytes.slice(Index, N), Address + Index, OS, STI);
308 printRawData(Bytes.slice(Index, PrintLen), Address + Index, OS, STI);
402 printRawData(Bytes.slice(Index, LineLength), Address + Index, OS, STI);
/freebsd-current/stand/i386/boot2/
H A Dboot2.c95 uint8_t slice; member in struct:dsk
211 dsk.slice = *(uint8_t *)PTOV(ARGS + 1) + 1;
350 MAKEBOOTDEV(dev_maj[dsk.type], dsk.slice, dsk.unit, dsk.part),
434 dsk.slice = WHOLE_DISK_SLICE;
436 dsk.slice = *arg - '0' + 1;
437 if (dsk.slice > NDOSPART + 1)
482 sl = dsk.slice;
489 dsk.slice == COMPATIBILITY_SLICE)
492 if (dsk.slice == WHOLE_DISK_SLICE)
493 dsk.slice
[all...]
/freebsd-current/sys/dev/mxge/
H A Dif_mxge.c1180 int slice, status; local
1203 * slice 0. It must also be called *after*
1235 for (slice = 0; slice < sc->num_slices; slice++) {
1236 rx_done = &sc->ss[slice].rx_done;
1240 cmd.data2 = slice;
1268 for (slice = 0; slice < sc->num_slices; slice
1406 int slice; local
1429 int slice; local
2185 int slice; local
2267 int slice; local
3095 int slice; local
3170 int slice; local
3336 int err, slice; local
3397 int err, i, slice; local
3470 int err, big_bytes, nbufs, slice, cl_size, i; local
3609 int slice; local
3794 mxge_warn_stuck(mxge_softc_t *sc, mxge_tx_ring_t *tx, int slice) argument
[all...]

Completed in 209 milliseconds

12345678910