| /freebsd-12.1/lib/libc/net/ |
| H A D | rthdr.c | 277 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-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | LiveInterval.cpp | 94 if (I == segments().end()) { in createDeadDef() 122 if (segments().empty()) in extendInBlock() 126 if (I == segments().begin()) in extendInBlock() 138 if (segments().empty()) in extendInBlock() 142 if (I == segments().begin()) in extendInBlock() 244 if (I != segments().end()) { in addSegment() 563 assert(segments.empty() || segments.back().end <= S.start); in append() 564 segments.push_back(S); in append() 779 segments.erase(S); in MergeValueNumberInto() 795 segments.erase(I); in MergeValueNumberInto() [all …]
|
| H A D | LiveRangeUtils.h | 37 SplitLRs[eq-1]->segments.push_back(*I); in DistributeRange() 41 LR.segments.erase(J, E); in DistributeRange()
|
| H A D | VirtRegMap.cpp | 281 if (!First.isValid() || SR.segments.front().start < First) in addLiveInsForSubRanges() 282 First = SR.segments.front().start; in addLiveInsForSubRanges() 283 if (!Last.isValid() || SR.segments.back().end > Last) in addLiveInsForSubRanges() 284 Last = SR.segments.back().end; in addLiveInsForSubRanges()
|
| /freebsd-12.1/sys/contrib/octeon-sdk/ |
| H A D | cvmx-dma-engine.c | 384 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-12.1/contrib/llvm/include/llvm/CodeGen/ |
| H A D | LiveInterval.h | 199 Segments segments; // the liveness segments variable 211 iterator begin() { return segments.begin(); } in begin() 212 iterator end() { return segments.end(); } in end() 250 for (const Segment &S : Other.segments) in assign() 290 segments.clear(); in clear() 294 return segments.size(); in size() 370 bool empty() const { return segments.empty(); } in empty() 375 return segments.front().start; in beginIndex() 382 return segments.back().end; in endIndex() 523 return segments.erase(I); in removeSegment() [all …]
|
| /freebsd-12.1/sys/dev/ips/ |
| H A D | ips_commands.c | 74 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 D | ips_ioctl.c | 54 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 D | ips.c | 103 static void ips_cmd_dmaload(void *cmdptr, bus_dma_segment_t *segments,int segnum, int error) in ips_cmd_dmaload() argument 108 command->command_phys_addr = segments[0].ds_addr; in ips_cmd_dmaload() 572 static void ips_copperhead_queue_callback(void *queueptr, bus_dma_segment_t *segments,int segnum, i… in ips_copperhead_queue_callback() argument 578 queue->base_phys_addr = segments[0].ds_addr; in ips_copperhead_queue_callback()
|
| /freebsd-12.1/contrib/gdb/gdb/ |
| H A D | ada-lex.l | 675 int segments; 681 for (segments = 0; ; segments += 1) 732 return segments; 747 if (result > segments) 751 else if (segments == 0) 759 if (segments == 0) 779 return segments; 789 return segments; 830 return segments;
|
| /freebsd-12.1/tools/regression/netinet6/inet6_rth/ |
| H A D | Makefile | 3 PROG= inet6_rth-segments 4 SRCS= test_subr.c inet6_rth-segments.c
|
| /freebsd-12.1/sys/x86/x86/ |
| H A D | busdma_bounce.c | 77 bus_dma_segment_t *segments; member 200 newtag->segments = NULL; in bounce_bus_dma_tag_create() 261 if (dmat->segments != NULL) in bounce_bus_dma_tag_destroy() 291 if (dmat->segments == NULL) { in bounce_bus_dmamap_create() 295 if (dmat->segments == NULL) { in bounce_bus_dmamap_create() 408 if (dmat->segments == NULL) { in bounce_bus_dmamem_alloc() 412 if (dmat->segments == NULL) { in bounce_bus_dmamem_alloc() 710 segs = dmat->segments; in bounce_bus_dmamap_load_phys() 763 segs = dmat->segments; in bounce_bus_dmamap_load_buffer() 840 segs = dmat->segments; in bounce_bus_dmamap_load_ma() [all …]
|
| /freebsd-12.1/sys/riscv/riscv/ |
| H A D | busdma_bounce.c | 77 bus_dma_segment_t *segments; member 185 newtag->segments = NULL; in bounce_bus_dma_tag_create() 256 if (dmat->segments != NULL) in bounce_bus_dma_tag_destroy() 257 free(dmat->segments, M_DEVBUF); in bounce_bus_dma_tag_destroy() 304 if (dmat->segments == NULL) { in bounce_bus_dmamap_create() 308 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-12.1/sys/arm64/arm64/ |
| H A D | busdma_bounce.c | 77 bus_dma_segment_t *segments; member 185 newtag->segments = NULL; in bounce_bus_dma_tag_create() 256 if (dmat->segments != NULL) in bounce_bus_dma_tag_destroy() 257 free(dmat->segments, M_DEVBUF); in bounce_bus_dma_tag_destroy() 304 if (dmat->segments == NULL) { in bounce_bus_dmamap_create() 308 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-12.1/sys/mips/mips/ |
| H A D | busdma_machdep.c | 99 bus_dma_segment_t *segments; member 416 newtag->segments = NULL; in bus_dma_tag_create() 507 if (dmat->segments != NULL) in bus_dma_tag_destroy() 508 free(dmat->segments, M_BUSDMA); in bus_dma_tag_destroy() 536 if (dmat->segments == NULL) { in bus_dmamap_create() 540 if (dmat->segments == NULL) { in bus_dmamap_create() 649 if (dmat->segments == NULL) { in bus_dmamem_alloc() 653 if (dmat->segments == NULL) { in bus_dmamem_alloc() 909 segs = dmat->segments; in _bus_dmamap_load_phys() 975 segs = dmat->segments; in _bus_dmamap_load_buffer() [all …]
|
| /freebsd-12.1/sys/powerpc/powerpc/ |
| H A D | busdma_machdep.c | 133 bus_dma_segment_t *segments; member 457 (*mapp)->segments = (bus_dma_segment_t *)malloc( in bus_dmamap_create() 460 if ((*mapp)->segments == NULL) { in bus_dmamap_create() 489 free(map->segments, M_DEVBUF); in bus_dmamap_destroy() 735 segs = map->segments; in _bus_dmamap_load_phys() 797 segs = map->segments; in _bus_dmamap_load_buffer() 873 memcpy(map->segments, segs, map->nsegs*sizeof(segs[0])); in _bus_dmamap_complete() 875 IOMMU_MAP(dmat->iommu, map->segments, &map->nsegs, in _bus_dmamap_complete() 880 memcpy(segs, map->segments, map->nsegs*sizeof(segs[0])); in _bus_dmamap_complete() 882 segs = map->segments; in _bus_dmamap_complete() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lld/docs/ |
| H A D | WebAssembly.rst | 56 .. option:: --no-merge-data-segments 58 Disable merging of data segments. 97 ``--gc-sections`` which means that all unused functions and data segments will
|
| /freebsd-12.1/contrib/subversion/subversion/libsvn_client/ |
| H A D | ra.c | 589 apr_array_header_t *segments; member 600 APR_ARRAY_PUSH(b->segments, svn_location_segment_t *) = in gls_receiver() 623 svn_client__repos_location_segments(apr_array_header_t **segments, in svn_client__repos_location_segments() argument 636 *segments = apr_array_make(pool, 8, sizeof(svn_location_segment_t *)); in svn_client__repos_location_segments() 637 gls_receiver_baton.segments = *segments; in svn_client__repos_location_segments() 648 svn_sort__array(*segments, compare_segments); in svn_client__repos_location_segments()
|
| /freebsd-12.1/sys/x86/iommu/ |
| H A D | busdma_dmar.c | 356 free_domain(dmat->segments, M_DMAR_DMAMAP); in dmar_bus_dma_tag_destroy() 381 if (tag->segments == NULL) { in dmar_bus_dmamap_create() 382 tag->segments = malloc_domainset(sizeof(bus_dma_segment_t) * in dmar_bus_dmamap_create() 385 if (tag->segments == NULL) { in dmar_bus_dmamap_create() 503 segs = tag->segments; in dmar_bus_dmamap_load_something1() 786 segs = tag->segments; in dmar_bus_dmamap_complete()
|
| H A D | busdma_dmar.h | 45 bus_dma_segment_t *segments; member
|
| /freebsd-12.1/sys/dev/dcons/ |
| H A D | dcons_crom.c | 149 dmamap_cb(void *arg, bus_dma_segment_t *segments, int seg, int error) in dmamap_cb() argument 157 sc->bus_addr = segments[0].ds_addr; in dmamap_cb()
|
| /freebsd-12.1/sys/kern/ |
| H A D | uipc_mbuf.c | 1730 uintmax_t segments[MP_BUCKETS]; member 1746 int segments = 0; in m_profile() local 1751 segments++; in m_profile() 1765 if (segments > MP_BUCKETS - 1) in m_profile() 1766 segments = MP_BUCKETS - 1; in m_profile() 1773 mbprof.segments[segments]++; in m_profile() 1819 p = &mbprof.segments[0]; in mbprof_textify() 1828 p = &mbprof.segments[16]; in mbprof_textify()
|
| /freebsd-12.1/sys/mips/cavium/octe/ |
| H A D | ethernet-rx.c | 257 int segments = work->word2.s.bufs; in cvm_oct_tasklet_rx() local 261 while (segments--) { in cvm_oct_tasklet_rx()
|
| /freebsd-12.1/usr.bin/objcopy/ |
| H A D | Makefile | 16 SRCS= archive.c ascii.c binary.c main.c pe.c sections.c segments.c symbols.c
|
| /freebsd-12.1/sys/xen/interface/ |
| H A D | kexec.h | 214 } segments; member
|