Home
last modified time | relevance | path

Searched refs:segments (Results 1 – 25 of 96) sorted by relevance

1234

/freebsd-13.1/lib/libc/net/
H A Drthdr.c277 inet6_rth_space(int type, int segments) in inet6_rth_space() argument
281 if ((segments >= 0) && (segments <= 127)) in inet6_rth_space()
282 return (((segments * 2) + 1) << 3); in inet6_rth_space()
298 if (bp_len < inet6_rth_space(IPV6_RTHDR_TYPE_0, segments)) in inet6_rth_init()
301 if ((segments < 0) || (segments > 127)) in inet6_rth_init()
306 rth0->ip6r0_len = segments * 2; in inet6_rth_init()
347 int i, segments; in inet6_rth_reverse() local
357 segments = rth0_in->ip6r0_len / 2; in inet6_rth_reverse()
362 rth0_out->ip6r0_segleft = segments; in inet6_rth_reverse()
365 for (i = 0; i < segments / 2; i++) { in inet6_rth_reverse()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DLiveInterval.cpp93 if (I == segments().end()) { in createDeadDef()
121 if (segments().empty()) in extendInBlock()
125 if (I == segments().begin()) in extendInBlock()
137 if (segments().empty()) in extendInBlock()
141 if (I == segments().begin()) in extendInBlock()
243 if (I != segments().end()) { in addSegment()
560 assert(segments.empty() || segments.back().end <= S.start); in append()
561 segments.push_back(S); in append()
776 segments.erase(S); in MergeValueNumberInto()
792 segments.erase(I); in MergeValueNumberInto()
[all …]
H A DLiveRangeUtils.h36 SplitLRs[eq-1]->segments.push_back(*I); in DistributeRange()
40 LR.segments.erase(J, E); in DistributeRange()
H A DVirtRegMap.cpp307 if (!First.isValid() || SR.segments.front().start < First) in addLiveInsForSubRanges()
308 First = SR.segments.front().start; in addLiveInsForSubRanges()
309 if (!Last.isValid() || SR.segments.back().end > Last) in addLiveInsForSubRanges()
310 Last = SR.segments.back().end; in addLiveInsForSubRanges()
/freebsd-13.1/sys/contrib/octeon-sdk/
H A Dcvmx-dma-engine.c384 int segments = 0; in __cvmx_dma_engine_build_internal_pointers() local
391 buffers[segments].u64 = 0; in __cvmx_dma_engine_build_internal_pointers()
396 segments++; in __cvmx_dma_engine_build_internal_pointers()
398 return segments; in __cvmx_dma_engine_build_internal_pointers()
416 int segments = 0; in __cvmx_dma_engine_build_external_pointers() local
427 segments++; in __cvmx_dma_engine_build_external_pointers()
438 segments+=2; in __cvmx_dma_engine_build_external_pointers()
452 segments+=3; in __cvmx_dma_engine_build_external_pointers()
469 segments+=4; in __cvmx_dma_engine_build_external_pointers()
489 segments+=4; in __cvmx_dma_engine_build_external_pointers()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DLiveInterval.h203 Segments segments; // the liveness segments variable
215 iterator begin() { return segments.begin(); } in begin()
216 iterator end() { return segments.end(); } in end()
254 for (const Segment &S : Other.segments) in assign()
294 segments.clear(); in clear()
298 return segments.size(); in size()
379 return segments.front().start; in beginIndex()
386 return segments.back().end; in endIndex()
527 return segments.erase(I); in removeSegment()
579 for (const Segment &S : segments) in isZeroLength()
[all …]
/freebsd-13.1/sys/dev/ips/
H A Dips_commands.c74 static void ips_io_request_callback(void *cmdptr, bus_dma_segment_t *segments,int segnum, int error) in ips_io_request_callback() argument
106 sg_list[i].addr = segments[i].ds_addr; in ips_io_request_callback()
107 sg_list[i].len = segments[i].ds_len; in ips_io_request_callback()
108 length += segments[i].ds_len; in ips_io_request_callback()
117 command_struct->buffaddr = segments[0].ds_addr; in ips_io_request_callback()
118 length = segments[0].ds_len; in ips_io_request_callback()
136 length, segments[0].ds_len); in ips_io_request_callback()
188 command_struct->buffaddr = segments[0].ds_addr; in ips_adapter_info_callback()
273 static void ips_drive_info_callback(void *cmdptr, bus_dma_segment_t *segments,int segnum, int error) in ips_drive_info_callback() argument
289 command_struct->buffaddr = segments[0].ds_addr; in ips_drive_info_callback()
[all …]
H A Dips_ioctl.c54 static void ips_ioctl_callback(void *cmdptr, bus_dma_segment_t *segments,int segnum, int error) in ips_ioctl_callback() argument
64 command_buffer->buffaddr = segments[0].ds_addr; in ips_ioctl_callback()
H A Dips.c107 static void ips_cmd_dmaload(void *cmdptr, bus_dma_segment_t *segments,int segnum, int error) in ips_cmd_dmaload() argument
112 command->command_phys_addr = segments[0].ds_addr; in ips_cmd_dmaload()
577 static void ips_copperhead_queue_callback(void *queueptr, bus_dma_segment_t *segments,int segnum, i… in ips_copperhead_queue_callback() argument
583 queue->base_phys_addr = segments[0].ds_addr; in ips_copperhead_queue_callback()
/freebsd-13.1/tools/regression/netinet6/inet6_rth/
H A DMakefile3 PROG= inet6_rth-segments
4 SRCS= test_subr.c inet6_rth-segments.c
/freebsd-13.1/sys/riscv/riscv/
H A Dbusdma_bounce.c77 bus_dma_segment_t *segments; member
186 newtag->segments = NULL; in bounce_bus_dma_tag_create()
257 if (dmat->segments != NULL) in bounce_bus_dma_tag_destroy()
258 free(dmat->segments, M_DEVBUF); in bounce_bus_dma_tag_destroy()
305 if (dmat->segments == NULL) { in bounce_bus_dmamap_create()
309 if (dmat->segments == NULL) { in bounce_bus_dmamap_create()
427 if (dmat->segments == NULL) { in bounce_bus_dmamem_alloc()
431 if (dmat->segments == NULL) { in bounce_bus_dmamem_alloc()
694 segs = dmat->segments; in bounce_bus_dmamap_load_phys()
765 segs = dmat->segments; in bounce_bus_dmamap_load_buffer()
[all …]
/freebsd-13.1/sys/x86/x86/
H A Dbusdma_bounce.c77 bus_dma_segment_t *segments; member
203 newtag->segments = NULL; in bounce_bus_dma_tag_create()
273 if (dmat->segments != NULL) in bounce_bus_dma_tag_destroy()
303 if (dmat->segments == NULL) { in bounce_bus_dmamap_create()
307 if (dmat->segments == NULL) { in bounce_bus_dmamap_create()
417 if (dmat->segments == NULL) { in bounce_bus_dmamem_alloc()
421 if (dmat->segments == NULL) { in bounce_bus_dmamem_alloc()
737 segs = dmat->segments; in bounce_bus_dmamap_load_phys()
790 segs = dmat->segments; in bounce_bus_dmamap_load_buffer()
867 segs = dmat->segments; in bounce_bus_dmamap_load_ma()
[all …]
/freebsd-13.1/sys/arm64/arm64/
H A Dbusdma_bounce.c79 bus_dma_segment_t *segments; member
266 newtag->segments = NULL; in bounce_bus_dma_tag_create()
356 if (dmat->segments != NULL) in bounce_bus_dma_tag_destroy()
357 free(dmat->segments, M_DEVBUF); in bounce_bus_dma_tag_destroy()
413 if (dmat->segments == NULL) { in bounce_bus_dmamap_create()
417 if (dmat->segments == NULL) { in bounce_bus_dmamap_create()
524 if (dmat->segments == NULL) { in bounce_bus_dmamem_alloc()
528 if (dmat->segments == NULL) { in bounce_bus_dmamem_alloc()
819 segs = dmat->segments; in bounce_bus_dmamap_load_phys()
908 segs = dmat->segments; in bounce_bus_dmamap_load_buffer()
[all …]
/freebsd-13.1/sys/mips/mips/
H A Dbusdma_machdep.c100 bus_dma_segment_t *segments; member
411 newtag->segments = NULL; in bus_dma_tag_create()
522 if (dmat->segments != NULL) in bus_dma_tag_destroy()
523 free(dmat->segments, M_BUSDMA); in bus_dma_tag_destroy()
551 if (dmat->segments == NULL) { in bus_dmamap_create()
555 if (dmat->segments == NULL) { in bus_dmamap_create()
663 if (dmat->segments == NULL) { in bus_dmamem_alloc()
667 if (dmat->segments == NULL) { in bus_dmamem_alloc()
923 segs = dmat->segments; in _bus_dmamap_load_phys()
988 segs = dmat->segments; in _bus_dmamap_load_buffer()
[all …]
/freebsd-13.1/sys/powerpc/powerpc/
H A Dbusdma_machdep.c134 bus_dma_segment_t *segments; member
473 (*mapp)->segments = (bus_dma_segment_t *)malloc( in bus_dmamap_create()
476 if ((*mapp)->segments == NULL) { in bus_dmamap_create()
505 free(map->segments, M_DEVBUF); in bus_dmamap_destroy()
748 segs = map->segments; in _bus_dmamap_load_phys()
810 segs = map->segments; in _bus_dmamap_load_buffer()
886 memcpy(map->segments, segs, map->nsegs*sizeof(segs[0])); in _bus_dmamap_complete()
888 IOMMU_MAP(dmat->iommu, map->segments, &map->nsegs, in _bus_dmamap_complete()
893 memcpy(segs, map->segments, map->nsegs*sizeof(segs[0])); in _bus_dmamap_complete()
895 segs = map->segments; in _bus_dmamap_complete()
[all …]
/freebsd-13.1/contrib/subversion/subversion/libsvn_client/
H A Dra.c599 apr_array_header_t *segments; member
610 APR_ARRAY_PUSH(b->segments, svn_location_segment_t *) = in gls_receiver()
633 svn_client__repos_location_segments(apr_array_header_t **segments, in svn_client__repos_location_segments() argument
646 *segments = apr_array_make(pool, 8, sizeof(svn_location_segment_t *)); in svn_client__repos_location_segments()
647 gls_receiver_baton.segments = *segments; in svn_client__repos_location_segments()
658 svn_sort__array(*segments, compare_segments); in svn_client__repos_location_segments()
/freebsd-13.1/sys/dev/iommu/
H A Dbusdma_iommu.h44 bus_dma_segment_t *segments; member
H A Dbusdma_iommu.c418 free(dmat->segments, M_IOMMU_DMAMAP); in iommu_bus_dma_tag_destroy()
450 if (tag->segments == NULL) { in iommu_bus_dmamap_create()
451 tag->segments = malloc_domainset(sizeof(bus_dma_segment_t) * in iommu_bus_dmamap_create()
454 if (tag->segments == NULL) { in iommu_bus_dmamap_create()
572 segs = tag->segments; in iommu_bus_dmamap_load_something1()
870 segs = tag->segments; in iommu_bus_dmamap_complete()
/freebsd-13.1/sys/dev/dcons/
H A Ddcons_crom.c150 dmamap_cb(void *arg, bus_dma_segment_t *segments, int seg, int error) in dmamap_cb() argument
158 sc->bus_addr = segments[0].ds_addr; in dmamap_cb()
/freebsd-13.1/usr.bin/objcopy/
H A DMakefile16 SRCS= archive.c ascii.c binary.c main.c pe.c sections.c segments.c symbols.c
/freebsd-13.1/contrib/elftoolchain/elfcopy/
H A DMakefile9 SRCS= archive.c ascii.c binary.c main.c sections.c segments.c \
/freebsd-13.1/contrib/file/magic/Magdir/
H A Dvisx17 >2 byte 15 (image segments)
/freebsd-13.1/sys/xen/interface/
H A Dkexec.h214 } segments; member
/freebsd-13.1/sys/mips/cavium/octe/
H A Dethernet-rx.c247 int segments = work->word2.s.bufs; in cvm_oct_tasklet_rx() local
251 while (segments--) { in cvm_oct_tasklet_rx()
/freebsd-13.1/sys/contrib/device-tree/Bindings/cpufreq/
H A Dimx-cpufreq-dt.txt34 /* grade >= 1, all segments */

1234