/kernel/linux/linux-5.10/arch/powerpc/mm/ |
H A D | mem.c | 87 int memory_add_physaddr_to_nid(u64 start) in memory_add_physaddr_to_nid() argument 89 return hot_add_scn_to_nid(start); in memory_add_physaddr_to_nid() 93 int __weak create_section_mapping(unsigned long start, unsigned long end, in create_section_mapping() argument 99 int __weak remove_section_mapping(unsigned long start, unsigned long end) in remove_section_mapping() argument 110 * @start: the start address 114 static void flush_dcache_range_chunked(unsigned long start, unsigned long stop, in flush_dcache_range_chunked() argument 119 for (i = start; i < stop; i += chunk) { in flush_dcache_range_chunked() 125 int __ref arch_add_memory(int nid, u64 start, u64 size, in arch_add_memory() argument 128 unsigned long start_pfn = start >> PAGE_SHIF in arch_add_memory() 144 arch_remove_memory(int nid, u64 start, u64 size, struct vmem_altmap *altmap) arch_remove_memory() argument 384 invalidate_icache_range(unsigned long start, unsigned long stop) invalidate_icache_range() argument 408 flush_icache_range(unsigned long start, unsigned long stop) flush_icache_range() argument 498 void *start = kmap_atomic(page); flush_dcache_icache_page() local 594 phys_addr_t start, end; add_system_ram_resources() local [all...] |
/third_party/icu/vendor/double-conversion/upstream/test/cctest/ |
H A D | test-fast-dtoa.cc | 46 int len = static_cast<int>(strlen(representation.start())); in TrimRepresentation() 66 CHECK_EQ("5", buffer.start()); in TEST() 73 CHECK_EQ("17976931348623157", buffer.start()); in TEST() 79 CHECK_EQ("4294967272", buffer.start()); in TEST() 85 CHECK_EQ("4185580496821357", buffer.start()); in TEST() 91 CHECK_EQ("5562684646268003", buffer.start()); in TEST() 97 CHECK_EQ("2147483648", buffer.start()); in TEST() 103 CHECK_EQ("35844466002796428", buffer.start()); in TEST() 111 CHECK_EQ("22250738585072014", buffer.start()); in TEST() 119 CHECK_EQ("2225073858507201", buffer.start()); in TEST() [all...] |
/third_party/skia/src/pathops/ |
H A D | SkOpSegment.h | 30 SkOpAngle* activeAngle(SkOpSpanBase* start, SkOpSpanBase** startPtr, SkOpSpanBase** endPtr, 32 SkOpAngle* activeAngleInner(SkOpSpanBase* start, SkOpSpanBase** startPtr, 34 SkOpAngle* activeAngleOther(SkOpSpanBase* start, SkOpSpanBase** startPtr, 36 bool activeOp(SkOpSpanBase* start, SkOpSpanBase* end, int xorMiMask, int xorSuMask, 38 bool activeOp(int xorMiMask, int xorSuMask, SkOpSpanBase* start, SkOpSpanBase* end, SkPathOp op, 41 bool activeWinding(SkOpSpanBase* start, SkOpSpanBase* end); 42 bool activeWinding(SkOpSpanBase* start, SkOpSpanBase* end, int* sumWinding); 60 bool addCurveTo(const SkOpSpanBase* start, const SkOpSpanBase* end, SkPathWriter* path) const; 112 int computeSum(SkOpSpanBase* start, SkOpSpanBase* end, SkOpAngle::IncludeType includeType); 195 return angle->start() in done() 262 isVertical(SkOpSpanBase* start, SkOpSpanBase* end) const isVertical() argument 268 joinEnds(SkOpSegment* start) joinEnds() argument 300 OppSign(const SkOpSpanBase* start, const SkOpSpanBase* end) OppSign() argument 358 setUpWinding(SkOpSpanBase* start, SkOpSpanBase* end, int* maxWinding, int* sumWinding) setUpWinding() argument 374 SpanSign(const SkOpSpanBase* start, const SkOpSpanBase* end) SpanSign() argument 380 spanToAngle(SkOpSpanBase* start, SkOpSpanBase* end) spanToAngle() argument [all...] |
/third_party/python/Objects/ |
H A D | bytes_methods.c | 329 Return a titlecased version of B, i.e. ASCII words start with uppercase\n\ 455 Py_ssize_t *start, Py_ssize_t *end) in parse_args_finds_byte() 461 start, end)) in parse_args_finds_byte() 491 /* helper macro to fixup start/end slice values */ 492 #define ADJUST_INDICES(start, end, len) \ 500 if (start < 0) { \ 501 start += len; \ 502 if (start < 0) \ 503 start = 0; \ 515 Py_ssize_t start in Py_LOCAL_INLINE() local 453 parse_args_finds_byte(const char *function_name, PyObject *args, PyObject **subobj, char *byte, Py_ssize_t *start, Py_ssize_t *end) parse_args_finds_byte() argument 662 Py_ssize_t start = 0, end = PY_SSIZE_T_MAX; _Py_bytes_count() local 724 tailmatch(const char *str, Py_ssize_t len, PyObject *substr, Py_ssize_t start, Py_ssize_t end, int direction) tailmatch() argument 774 Py_ssize_t start = 0; _Py_bytes_tailmatch() local [all...] |
/kernel/linux/linux-6.6/arch/m68k/include/asm/ |
H A D | cacheflush_mm.h | 31 static inline void clear_cf_icache(unsigned long start, unsigned long end) in clear_cf_icache() argument 40 static inline void clear_cf_dcache(unsigned long start, unsigned long end) in clear_cf_dcache() argument 49 static inline void clear_cf_bcache(unsigned long start, unsigned long end) in clear_cf_bcache() argument 60 * The start and end addresses are cache line numbers not memory addresses. 62 static inline void flush_cf_icache(unsigned long start, unsigned long end) in flush_cf_icache() argument 66 for (set = start; set <= end; set += (0x10 - 3)) { in flush_cf_icache() 80 static inline void flush_cf_dcache(unsigned long start, unsigned long end) in flush_cf_dcache() argument 84 for (set = start; set <= end; set += (0x10 - 3)) { in flush_cf_dcache() 98 static inline void flush_cf_bcache(unsigned long start, unsigned long end) in flush_cf_bcache() argument 102 for (set = start; se in flush_cf_bcache() 207 flush_cache_range(struct vm_area_struct *vma, unsigned long start, unsigned long end) flush_cache_range() argument 227 unsigned long addr, start, end; __flush_pages_to_ram() local [all...] |
/kernel/linux/linux-6.6/arch/s390/boot/ |
H A D | kaslr.c | 101 for (j = i - 1; j >= 0 && res[j].start > tmp.start; j--) in sort_reserved_ranges() 112 unsigned long start, end, tmp_end, range_pos, pos = 0; in iterate_valid_positions() local 119 for_each_physmem_usable_range(i, &start, &end) { in iterate_valid_positions() 122 start = round_up(start, align); in iterate_valid_positions() 123 if (start >= _max) in iterate_valid_positions() 125 start = max(_min, start); in iterate_valid_positions() 128 while (start in iterate_valid_positions() [all...] |
/kernel/linux/linux-5.10/drivers/pcmcia/ |
H A D | rsrc_iodyn.c | 31 resource_size_t start; in pcmcia_align() local 33 start = (res->start & ~data->mask) + data->offset; in pcmcia_align() 34 if (start < res->start) in pcmcia_align() 35 start += data->mask + 1; in pcmcia_align() 39 if (start & 0x300) in pcmcia_align() 40 start = (start + 0x3ff) & ~0x3ff; in pcmcia_align() 46 if ((res->start in pcmcia_align() [all...] |
/kernel/linux/linux-6.6/drivers/vhost/ |
H A D | iotlb.c | 16 #define START(map) ((map)->start) 41 * @start: start of the IOVA range 43 * @addr: the address that is mapped to @start 47 * Returns an error last is smaller than start or memory allocation 51 u64 start, u64 last, in vhost_iotlb_add_range_ctx() 57 if (last < start) in vhost_iotlb_add_range_ctx() 63 if (start == 0 && last == ULONG_MAX) { in vhost_iotlb_add_range_ctx() 65 int err = vhost_iotlb_add_range_ctx(iotlb, start, mid, addr, in vhost_iotlb_add_range_ctx() 72 start in vhost_iotlb_add_range_ctx() 50 vhost_iotlb_add_range_ctx(struct vhost_iotlb *iotlb, u64 start, u64 last, u64 addr, unsigned int perm, void *opaque) vhost_iotlb_add_range_ctx() argument 103 vhost_iotlb_add_range(struct vhost_iotlb *iotlb, u64 start, u64 last, u64 addr, unsigned int perm) vhost_iotlb_add_range() argument 118 vhost_iotlb_del_range(struct vhost_iotlb *iotlb, u64 start, u64 last) vhost_iotlb_del_range() argument 195 vhost_iotlb_itree_first(struct vhost_iotlb *iotlb, u64 start, u64 last) vhost_iotlb_itree_first() argument 208 vhost_iotlb_itree_next(struct vhost_iotlb_map *map, u64 start, u64 last) vhost_iotlb_itree_next() argument [all...] |
/kernel/linux/linux-6.6/drivers/pcmcia/ |
H A D | rsrc_iodyn.c | 31 resource_size_t start; in pcmcia_align() local 33 start = (res->start & ~data->mask) + data->offset; in pcmcia_align() 34 if (start < res->start) in pcmcia_align() 35 start += data->mask + 1; in pcmcia_align() 39 if (start & 0x300) in pcmcia_align() 40 start = (start + 0x3ff) & ~0x3ff; in pcmcia_align() 46 if ((res->start in pcmcia_align() [all...] |
/kernel/linux/linux-5.10/drivers/isdn/hardware/mISDN/ |
H A D | mISDNinfineon.c | 88 resource_size_t start; member 271 val = inb((u32)hw->cfg.start + DIVA_PCI_CTRL); in diva_irq() 308 val = inb((u32)hw->cfg.start + TIGER_AUX_STATUS); in tiger_irq() 326 val = inb((u32)hw->cfg.start + ELSA_IRQ_ADDR); in elsa_irq() 344 val = inl((u32)hw->cfg.start + NICCY_IRQ_CTRL_REG); in niccy_irq() 349 outl(val, (u32)hw->cfg.start + NICCY_IRQ_CTRL_REG); in niccy_irq() 399 outb(TIGER_IRQ_BIT, (u32)hw->cfg.start + TIGER_AUX_IRQMASK); in enable_hwirq() 402 outb(QS1000_IRQ_ON, (u32)hw->cfg.start + ELSA_IRQ_ADDR); in enable_hwirq() 405 outb(QS3000_IRQ_ON, (u32)hw->cfg.start + ELSA_IRQ_ADDR); in enable_hwirq() 408 val = inl((u32)hw->cfg.start in enable_hwirq() [all...] |
/kernel/linux/linux-6.6/drivers/isdn/hardware/mISDN/ |
H A D | mISDNinfineon.c | 88 resource_size_t start; member 271 val = inb((u32)hw->cfg.start + DIVA_PCI_CTRL); in diva_irq() 308 val = inb((u32)hw->cfg.start + TIGER_AUX_STATUS); in tiger_irq() 326 val = inb((u32)hw->cfg.start + ELSA_IRQ_ADDR); in elsa_irq() 344 val = inl((u32)hw->cfg.start + NICCY_IRQ_CTRL_REG); in niccy_irq() 349 outl(val, (u32)hw->cfg.start + NICCY_IRQ_CTRL_REG); in niccy_irq() 399 outb(TIGER_IRQ_BIT, (u32)hw->cfg.start + TIGER_AUX_IRQMASK); in enable_hwirq() 402 outb(QS1000_IRQ_ON, (u32)hw->cfg.start + ELSA_IRQ_ADDR); in enable_hwirq() 405 outb(QS3000_IRQ_ON, (u32)hw->cfg.start + ELSA_IRQ_ADDR); in enable_hwirq() 408 val = inl((u32)hw->cfg.start in enable_hwirq() [all...] |
/kernel/linux/linux-5.10/drivers/firmware/efi/ |
H A D | x86_fake_mem.c | 38 m_start = mem->range.start; in efi_fake_memmap_early() 41 u64 start, end, size; in efi_fake_memmap_early() local 46 start = md->phys_addr; in efi_fake_memmap_early() 49 if (m_start <= end && m_end >= start) in efi_fake_memmap_early() 59 start = max(start, m_start); in efi_fake_memmap_early() 61 size = end - start + 1; in efi_fake_memmap_early() 63 if (end <= start) in efi_fake_memmap_early() 70 e820__range_remove(start, size, E820_TYPE_RAM, 1); in efi_fake_memmap_early() 71 e820__range_add(start, siz in efi_fake_memmap_early() [all...] |
/kernel/linux/linux-6.6/arch/mips/pci/ |
H A D | pci-generic.c | 28 resource_size_t start = res->start; in pcibios_align_resource() local 31 if (res->flags & IORESOURCE_IO && start & 0x300) in pcibios_align_resource() 32 start = (start + 0x3ff) & ~0x3ff; in pcibios_align_resource() 34 start = (start + align - 1) & ~(align - 1); in pcibios_align_resource() 40 start, size, align); in pcibios_align_resource() 42 return start; in pcibios_align_resource() 55 if (res->start ! in pci_remap_iospace() [all...] |
/kernel/linux/linux-6.6/arch/x86/coco/tdx/ |
H A D | tdx-shared.c | 4 static unsigned long try_accept_one(phys_addr_t start, unsigned long len, in try_accept_one() argument 11 if (!IS_ALIGNED(start, accept_size)) in try_accept_one() 37 tdcall_rcx = start | page_size; in try_accept_one() 44 bool tdx_accept_memory(phys_addr_t start, phys_addr_t end) in tdx_accept_memory() argument 50 while (start < end) { in tdx_accept_memory() 51 unsigned long len = end - start; in tdx_accept_memory() 60 accept_size = try_accept_one(start, len, PG_LEVEL_1G); in tdx_accept_memory() 62 accept_size = try_accept_one(start, len, PG_LEVEL_2M); in tdx_accept_memory() 64 accept_size = try_accept_one(start, len, PG_LEVEL_4K); in tdx_accept_memory() 67 start in tdx_accept_memory() [all...] |
/kernel/linux/linux-6.6/drivers/firmware/efi/libstub/ |
H A D | bitmap.c | 3 void __bitmap_set(unsigned long *map, unsigned int start, int len) in __bitmap_set() argument 5 unsigned long *p = map + BIT_WORD(start); in __bitmap_set() 6 const unsigned int size = start + len; in __bitmap_set() 7 int bits_to_set = BITS_PER_LONG - (start % BITS_PER_LONG); in __bitmap_set() 8 unsigned long mask_to_set = BITMAP_FIRST_WORD_MASK(start); in __bitmap_set() 23 void __bitmap_clear(unsigned long *map, unsigned int start, int len) in __bitmap_clear() argument 25 unsigned long *p = map + BIT_WORD(start); in __bitmap_clear() 26 const unsigned int size = start + len; in __bitmap_clear() 27 int bits_to_clear = BITS_PER_LONG - (start % BITS_PER_LONG); in __bitmap_clear() 28 unsigned long mask_to_clear = BITMAP_FIRST_WORD_MASK(start); in __bitmap_clear() [all...] |
/kernel/linux/linux-6.6/arch/x86/mm/ |
H A D | init.c | 206 unsigned long start; member 334 mr[nr_range].start = start_pfn<<PAGE_SHIFT; in save_mr() 355 unsigned long start = round_down(mr[i].start, PMD_SIZE); in adjust_range_page_size_mask() local 363 if (memblock_is_region_memory(start, end - start)) in adjust_range_page_size_mask() 368 unsigned long start = round_down(mr[i].start, PUD_SIZE); in adjust_range_page_size_mask() local 371 if (memblock_is_region_memory(start, end - start)) in adjust_range_page_size_mask() 402 split_mem_range(struct map_range *mr, int nr_range, unsigned long start, unsigned long end) split_mem_range() argument 535 init_memory_mapping(unsigned long start, unsigned long end, pgprot_t prot) init_memory_mapping() argument 580 u64 start = clamp_val(PFN_PHYS(start_pfn), r_start, r_end); init_range_memory_mapping() local 662 unsigned long start; memory_map_top_down() local 696 unsigned long next, start; memory_map_bottom_up() local 978 free_initrd_mem(unsigned long start, unsigned long end) free_initrd_mem() argument [all...] |
/kernel/linux/linux-6.6/arch/powerpc/lib/ |
H A D | feature-fixups.c | 41 * the start of the alt_entry, to support the VDSO. This in calc_addr() 73 u32 *start, *end, *alt_start, *alt_end, *src, *dest; in patch_feature_section_mask() local 75 start = calc_addr(fcur, fcur->start_off); in patch_feature_section_mask() 80 if ((alt_end - alt_start) > (end - start)) in patch_feature_section_mask() 87 dest = start; in patch_feature_section_mask() 134 static int do_patch_fixups(long *start, long *end, unsigned int *instrs, int num) in do_patch_fixups() argument 138 for (i = 0; start < end; start++, i++) { in do_patch_fixups() 140 unsigned int *dest = (void *)start + *start; in do_patch_fixups() 155 do_patch_entry_fixups(long *start, long *end, unsigned int *instrs, bool do_fallback, void *fallback) do_patch_entry_fixups() argument 185 long *start, *end; do_stf_entry_barrier_fixups() local 222 long *start, *end; do_stf_exit_barrier_fixups() local 314 long *start, *end; do_uaccess_flush_fixups() local 355 long *start, *end; __do_entry_flush_fixups() local 439 long *start, *end; __do_rfi_flush_fixups() local 505 long *start, *end; do_barrier_nospec_fixups_range() local 528 void *start, *end; do_barrier_nospec_fixups() local 541 long *start, *end; do_barrier_nospec_fixups_range() local 563 unsigned int *start, *end; patch_btb_flush_section() local 575 long *start, *end; do_btb_flush_fixups() local 587 long *start, *end; do_lwsync_fixups() local [all...] |
/kernel/linux/linux-5.10/arch/xtensa/mm/ |
H A D | tlb.c | 89 unsigned long start, unsigned long end) in local_flush_tlb_range() 99 (unsigned long)mm->context.asid[cpu], start, end); in local_flush_tlb_range() 102 if (end-start + (PAGE_SIZE-1) <= _TLB_ENTRIES << PAGE_SHIFT) { in local_flush_tlb_range() 106 start &= PAGE_MASK; in local_flush_tlb_range() 108 while(start < end) { in local_flush_tlb_range() 109 invalidate_itlb_mapping(start); in local_flush_tlb_range() 110 invalidate_dtlb_mapping(start); in local_flush_tlb_range() 111 start += PAGE_SIZE; in local_flush_tlb_range() 114 while(start < end) { in local_flush_tlb_range() 115 invalidate_dtlb_mapping(start); in local_flush_tlb_range() 88 local_flush_tlb_range(struct vm_area_struct *vma, unsigned long start, unsigned long end) local_flush_tlb_range() argument 150 local_flush_tlb_kernel_range(unsigned long start, unsigned long end) local_flush_tlb_kernel_range() argument [all...] |
/kernel/linux/linux-6.6/arch/xtensa/mm/ |
H A D | tlb.c | 90 unsigned long start, unsigned long end) in local_flush_tlb_range() 100 (unsigned long)mm->context.asid[cpu], start, end); in local_flush_tlb_range() 103 if (end-start + (PAGE_SIZE-1) <= _TLB_ENTRIES << PAGE_SHIFT) { in local_flush_tlb_range() 107 start &= PAGE_MASK; in local_flush_tlb_range() 109 while(start < end) { in local_flush_tlb_range() 110 invalidate_itlb_mapping(start); in local_flush_tlb_range() 111 invalidate_dtlb_mapping(start); in local_flush_tlb_range() 112 start += PAGE_SIZE; in local_flush_tlb_range() 115 while(start < end) { in local_flush_tlb_range() 116 invalidate_dtlb_mapping(start); in local_flush_tlb_range() 89 local_flush_tlb_range(struct vm_area_struct *vma, unsigned long start, unsigned long end) local_flush_tlb_range() argument 151 local_flush_tlb_kernel_range(unsigned long start, unsigned long end) local_flush_tlb_kernel_range() argument [all...] |
/third_party/toybox/toys/posix/ |
H A D | cut.c | 8 * "-" counts as start to end. Using spaces to separate a comma-separated list 25 from start). By default selection ranges are sorted and collated, use -D 49 // Return number of bytes to start of first column fitting in columns 51 int unicolumns(char *start, unsigned columns) in unicolumns() argument 55 char *s = start, *ss = start; in unicolumns() 57 // Skip start, rounding down if we hit a multicolumn char in unicolumns() 69 return ss-start; in unicolumns() 85 unsigned start = pairs[2*i], end = pairs[(2*i)+1], count; in cut_line() local 88 // input: start/en in cut_line() [all...] |
/kernel/linux/linux-5.10/arch/mips/sgi-ip27/ |
H A D | ip27-klconfig.c | 51 lboard_t *find_lboard(lboard_t *start, unsigned char brd_type) in find_lboard() argument 54 while (start) { in find_lboard() 55 if (start->brd_type == brd_type) in find_lboard() 56 return start; in find_lboard() 57 start = KLCF_NEXT(start); in find_lboard() 63 lboard_t *find_lboard_class(lboard_t *start, unsigned char brd_type) in find_lboard_class() argument 66 while (start) { in find_lboard_class() 67 if (KLCLASS(start->brd_type) == KLCLASS(brd_type)) in find_lboard_class() 68 return start; in find_lboard_class() [all...] |
/kernel/linux/linux-6.6/arch/mips/sgi-ip27/ |
H A D | ip27-klconfig.c | 51 lboard_t *find_lboard(lboard_t *start, unsigned char brd_type) in find_lboard() argument 54 while (start) { in find_lboard() 55 if (start->brd_type == brd_type) in find_lboard() 56 return start; in find_lboard() 57 start = KLCF_NEXT(start); in find_lboard() 63 lboard_t *find_lboard_class(lboard_t *start, unsigned char brd_type) in find_lboard_class() argument 66 while (start) { in find_lboard_class() 67 if (KLCLASS(start->brd_type) == KLCLASS(brd_type)) in find_lboard_class() 68 return start; in find_lboard_class() [all...] |
/kernel/linux/linux-5.10/tools/lib/ |
H A D | find_bit.c | 33 unsigned long start, unsigned long invert) in _find_next_bit() 37 if (unlikely(start >= nbits)) in _find_next_bit() 40 tmp = addr1[start / BITS_PER_LONG]; in _find_next_bit() 42 tmp &= addr2[start / BITS_PER_LONG]; in _find_next_bit() 46 tmp &= BITMAP_FIRST_WORD_MASK(start); in _find_next_bit() 47 start = round_down(start, BITS_PER_LONG); in _find_next_bit() 50 start += BITS_PER_LONG; in _find_next_bit() 51 if (start >= nbits) in _find_next_bit() 54 tmp = addr1[start / BITS_PER_LON in _find_next_bit() 31 _find_next_bit(const unsigned long *addr1, const unsigned long *addr2, unsigned long nbits, unsigned long start, unsigned long invert) _find_next_bit() argument [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | pci_iomap.c | 33 resource_size_t start = pci_resource_start(dev, bar); in pci_iomap_range() local 37 if (len <= offset || !start) in pci_iomap_range() 40 start += offset; in pci_iomap_range() 44 return __pci_ioport_map(dev, start, len); in pci_iomap_range() 46 return ioremap(start, len); in pci_iomap_range() 73 resource_size_t start = pci_resource_start(dev, bar); in pci_iomap_wc_range() local 81 if (len <= offset || !start) in pci_iomap_wc_range() 85 start += offset; in pci_iomap_wc_range() 90 return ioremap_wc(start, len); in pci_iomap_wc_range() 168 uintptr_t start in pci_iounmap() local [all...] |
/third_party/icu/icu4c/source/samples/uciter8/ |
H A D | uit_len8.c | 71 #define L8_PREV(s, start, i, c) { \ 75 (c)=utf8_prevCharSafeBody((const uint8_t *)s, start, &(i), c, -2); \ 92 * The caller must not modify start and limit because they are used internally. 97 * start current UTF-8 index 104 * In this case, reservedField will contain that code point and start will 130 limit=iter->start; /* count up to the UTF-8 index */ in lenient8IteratorGetIndex() 140 iter->start=i; /* just in case setState() did not get us to a code point boundary */ in lenient8IteratorGetIndex() 164 limit=iter->start; in lenient8IteratorGetIndex() 176 /* assume i==limit==iter->start, set the UTF-16 index */ in lenient8IteratorGetIndex() 177 iter->start in lenient8IteratorGetIndex() [all...] |