Home
last modified time | relevance | path

Searched refs:slice (Results 1 – 25 of 285) sorted by relevance

12345678910>>...12

/freebsd/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) in g_flashmap_print() argument
78 printf("%08jx-%08jx: %s (%juKB)\n", (uintmax_t)slice->sl_start, in g_flashmap_print()
79 (uintmax_t)slice->sl_end, slice->sl_name, in g_flashmap_print()
80 (uintmax_t)(slice->sl_end - slice->sl_start) / 1024); in g_flashmap_print()
87 struct g_flashmap_slice *slice; in g_flashmap_modify() local
93 STAILQ_FOREACH(slice, slices, sl_link) { in g_flashmap_modify()
96 g_flashmap_print(slice); in g_flashmap_modify()
100 slice->sl_start, in g_flashmap_modify()
101 slice->sl_end - slice->sl_start + 1, in g_flashmap_modify()
[all …]
/freebsd/sys/contrib/openzfs/lib/libzutil/os/linux/
H A Dzutil_import_os.c173 rdsk_node_t *slice; in zpool_open_func() local
186 slice = zutil_alloc(hdl, sizeof (rdsk_node_t)); in zpool_open_func()
187 slice->rn_name = zutil_strdup(hdl, path); in zpool_open_func()
188 slice->rn_vdev_guid = vdev_guid; in zpool_open_func()
189 slice->rn_avl = rn->rn_avl; in zpool_open_func()
190 slice->rn_hdl = hdl; in zpool_open_func()
191 slice->rn_order = IMPORT_ORDER_PREFERRED_1; in zpool_open_func()
192 slice->rn_labelpaths = B_FALSE; in zpool_open_func()
194 if (avl_find(rn->rn_avl, slice, &where)) { in zpool_open_func()
196 free(slice->rn_name); in zpool_open_func()
[all …]
/freebsd/sys/contrib/device-tree/src/arm64/ti/
H A Dk3-am65-iot2050-common-pg1.dtsi59 dmas = <&main_udmap 0xc100>, /* egress slice 0 */
60 <&main_udmap 0xc101>, /* egress slice 0 */
61 <&main_udmap 0xc102>, /* egress slice 0 */
62 <&main_udmap 0xc103>, /* egress slice 0 */
63 <&main_udmap 0xc104>, /* egress slice 1 */
64 <&main_udmap 0xc105>, /* egress slice 1 */
65 <&main_udmap 0xc106>, /* egress slice 1 */
66 <&main_udmap 0xc107>, /* egress slice 1 */
67 <&main_udmap 0x4100>, /* ingress slice 0 */
68 <&main_udmap 0x4101>, /* ingress slice 1 */
[all …]
H A Dk3-am654-idk.dtso52 dmas = <&main_udmap 0xc100>, /* egress slice 0 */
53 <&main_udmap 0xc101>, /* egress slice 0 */
54 <&main_udmap 0xc102>, /* egress slice 0 */
55 <&main_udmap 0xc103>, /* egress slice 0 */
56 <&main_udmap 0xc104>, /* egress slice 1 */
57 <&main_udmap 0xc105>, /* egress slice 1 */
58 <&main_udmap 0xc106>, /* egress slice 1 */
59 <&main_udmap 0xc107>, /* egress slice 1 */
61 <&main_udmap 0x4100>, /* ingress slice 0 */
62 <&main_udmap 0x4101>; /* ingress slice 1 */
[all …]
H A Dk3-am654-icssg2.dtso50 dmas = <&main_udmap 0xc300>, /* egress slice 0 */
51 <&main_udmap 0xc301>, /* egress slice 0 */
52 <&main_udmap 0xc302>, /* egress slice 0 */
53 <&main_udmap 0xc303>, /* egress slice 0 */
54 <&main_udmap 0xc304>, /* egress slice 1 */
55 <&main_udmap 0xc305>, /* egress slice 1 */
56 <&main_udmap 0xc306>, /* egress slice 1 */
57 <&main_udmap 0xc307>, /* egress slice 1 */
58 <&main_udmap 0x4300>, /* ingress slice 0 */
59 <&main_udmap 0x4301>; /* ingress slice 1 */
H A Dk3-am642-phyboard-electra-rdk.dts78 dmas = <&main_pktdma 0xc100 15>, /* egress slice 0 */
79 <&main_pktdma 0xc101 15>, /* egress slice 0 */
80 <&main_pktdma 0xc102 15>, /* egress slice 0 */
81 <&main_pktdma 0xc103 15>, /* egress slice 0 */
82 <&main_pktdma 0xc104 15>, /* egress slice 1 */
83 <&main_pktdma 0xc105 15>, /* egress slice 1 */
84 <&main_pktdma 0xc106 15>, /* egress slice 1 */
85 <&main_pktdma 0xc107 15>, /* egress slice 1 */
86 <&main_pktdma 0x4100 15>, /* ingress slice 0 */
87 <&main_pktdma 0x4101 15>; /* ingress slice 1 */
H A Dk3-am65-iot2050-common.dtsi173 dmas = <&main_udmap 0xc100>, /* egress slice 0 */
174 <&main_udmap 0xc101>, /* egress slice 0 */
175 <&main_udmap 0xc102>, /* egress slice 0 */
176 <&main_udmap 0xc103>, /* egress slice 0 */
177 <&main_udmap 0xc104>, /* egress slice 1 */
178 <&main_udmap 0xc105>, /* egress slice 1 */
179 <&main_udmap 0xc106>, /* egress slice 1 */
180 <&main_udmap 0xc107>, /* egress slice 1 */
181 <&main_udmap 0x4100>, /* ingress slice 0 */
182 <&main_udmap 0x4101>; /* ingress slice 1 */
/freebsd/sys/contrib/openzfs/lib/libzutil/os/freebsd/
H A Dzutil_import_os.c189 rdsk_node_t *slice; in zpool_find_import_blkid() local
219 slice = zutil_alloc(hdl, sizeof (rdsk_node_t)); in zpool_find_import_blkid()
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()
229 if (avl_find(*slice_cache, slice, &where)) { in zpool_find_import_blkid()
[all …]
/freebsd/stand/uboot/
H A Dmain.c205 get_load_device(int *type, int *unit, int *slice, int *partition) in get_load_device() argument
214 *slice = D_SLICEWILD; in get_load_device()
246 *slice = dev->d_slice; in get_load_device()
297 *slice = strtoul(p, &endp, 10); in get_load_device()
303 *slice = D_SLICEWILD; in get_load_device()
317 *slice = D_SLICEWILD; in get_load_device()
337 *slice = D_SLICEWILD; in get_load_device()
344 char slice[32]; in print_disk_probe_info() local
348 strlcpy(slice, "<none>", sizeof(slice)); in print_disk_probe_info()
350 strlcpy(slice, "<auto>", sizeof(slice)); in print_disk_probe_info()
[all …]
/freebsd/stand/common/
H A Ddisk.c234 int rc, slice, partition; in disk_open() local
261 slice = dev->d_slice; in disk_open()
293 } else if (slice >= 0) { in disk_open()
295 if (slice == 0) in disk_open()
298 rc = ptable_getpart(od->table, &part, slice); in disk_open()
303 slice = part.index; in disk_open()
366 dev->d_slice = slice; in disk_open()
415 int unit, slice, partition; in disk_parsedev() local
429 slice = D_SLICEWILD; in disk_parsedev()
432 slice = D_SLICENONE; in disk_parsedev()
[all …]
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/
H A Dargon2-core.h116 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 Dargon2-fill-block-ssse3.c112 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 Dargon2-fill-block-avx2.c113 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 Dargon2-fill-block-avx512f.c118 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 Dargon2-fill-block-ref.c124 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/contrib/llvm-project/lld/ELF/
H A DEhFrame.cpp65 d = d.slice(1); in readByte()
72 d = d.slice(count); in skipBytes()
80 StringRef s = toStringRef(d.slice(0, end - d.begin())); in readString()
81 d = d.slice(s.size() + 1); in readString()
93 d = d.slice(1); in skipLeb128()
127 d = d.slice(size); in skipAugP()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_array_ref.h67 ArrayRef<T> slice(uptr N, uptr M) const { in slice() function
73 ArrayRef<T> slice(uptr N) const { return slice(N, size() - N); } in slice() function
78 return slice(N, size() - N);
84 return slice(0, size() - N);
H A Dsanitizer_leb128.h44 T slice = byte & 0x7f; in DecodeSLEB128() local
45 value |= slice << shift; in DecodeSLEB128()
77 T slice = byte & 0x7f; in DecodeULEB128() local
78 value += slice << shift; in DecodeULEB128()
/freebsd/sys/contrib/openzfs/lib/libzutil/
H A Dzutil_import.c1256 rdsk_node_t *slice; in zpool_find_import_scan_add_slice() local
1258 slice = zutil_alloc(hdl, sizeof (rdsk_node_t)); in zpool_find_import_scan_add_slice()
1259 if (asprintf(&slice->rn_name, "%s/%s", path, name) == -1) { in zpool_find_import_scan_add_slice()
1260 free(slice); in zpool_find_import_scan_add_slice()
1263 slice->rn_vdev_guid = 0; in zpool_find_import_scan_add_slice()
1264 slice->rn_lock = lock; in zpool_find_import_scan_add_slice()
1265 slice->rn_avl = cache; in zpool_find_import_scan_add_slice()
1266 slice->rn_hdl = hdl; in zpool_find_import_scan_add_slice()
1267 slice->rn_order = order + IMPORT_ORDER_SCAN_OFFSET; in zpool_find_import_scan_add_slice()
1268 slice->rn_labelpaths = B_FALSE; in zpool_find_import_scan_add_slice()
[all …]
/freebsd/sys/dev/mxge/
H A Dif_mxge.c1180 int slice, status; in mxge_reset() local
1235 for (slice = 0; slice < sc->num_slices; slice++) { in mxge_reset()
1236 rx_done = &sc->ss[slice].rx_done; in mxge_reset()
1240 cmd.data2 = slice; in mxge_reset()
1268 for (slice = 0; slice < sc->num_slices; slice++) { in mxge_reset()
1269 ss = &sc->ss[slice]; in mxge_reset()
1271 ss->irq_claim = irq_claim + (2 * slice); in mxge_reset()
1406 int slice; in mxge_rem_sysctls() local
1411 for (slice = 0; slice < sc->num_slices; slice++) { in mxge_rem_sysctls()
1412 ss = &sc->ss[slice]; in mxge_rem_sysctls()
[all …]
/freebsd/stand/i386/boot2/
H A Dboot2.c95 uint8_t slice; member
211 dsk.slice = *(uint8_t *)PTOV(ARGS + 1) + 1; in main()
350 MAKEBOOTDEV(dev_maj[dsk.type], dsk.slice, dsk.unit, dsk.part), in load()
434 dsk.slice = WHOLE_DISK_SLICE; in parse()
436 dsk.slice = *arg - '0' + 1; in parse()
437 if (dsk.slice > NDOSPART + 1) in parse()
482 sl = dsk.slice; in dskread()
489 dsk.slice == COMPATIBILITY_SLICE) in dskread()
492 if (dsk.slice == WHOLE_DISK_SLICE) in dskread()
493 dsk.slice = sl; in dskread()
/freebsd/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); in dumpTracebackTable()
179 if (support::endian::read32be(Bytes.slice(I, 4).data()) != 0) in dumpTracebackTable()
187 printRawData(Bytes.slice(Index, 4), Address + Index, FOS, STI); in dumpTracebackTable()
201 printRawData(Bytes.slice(Index, N), Address + Index, OS, STI); in dumpTracebackTable()
308 printRawData(Bytes.slice(Index, PrintLen), Address + Index, OS, STI); in dumpTracebackTable()
402 printRawData(Bytes.slice(Index, LineLength), Address + Index, OS, STI); in dumpTracebackTable()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DArrayRef.h195 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/contrib/llvm-project/llvm/include/llvm/Support/
H A DBinaryStreamRef.h115 RefType slice(uint64_t Offset, uint64_t Len) const {
174 // Use BinaryStreamRef.slice() instead.
200 BinarySubstreamRef slice(uint64_t Off, uint64_t Size) const {
201 BinaryStreamRef SubSub = StreamData.slice(Off, Size);
205 return slice(N, size() - N); in slice()
207 BinarySubstreamRef keep_front(uint64_t N) const { return slice(0, N); } in drop_front()
248 // Use WritableBinaryStreamRef.slice() instead.
117 RefType slice(uint64_t Offset, uint64_t Len) const { slice() function
203 BinarySubstreamRef slice(uint64_t Off, uint64_t Size) const { slice() function
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCScheduleP9.td33 // As iops are dispatched to a slice, they are held in an independent slice
54 // x0, x1, x2, and x3 are the dedicated slice dispatch ports, where each
61 // b0 and b1 are dedicated dispatch ports into the branch slice.
142 // Even slice ('E')- certain operations must be sent only to an even slice.
143 // Also consumes odd dispatch slice slot of the same superslice at dispatch
156 // operation per slice for the super- slice to which they are dispatched
161 // Each execution and branch slice ca
[all...]

12345678910>>...12