/arch/x86/mm/ |
D | amdtopology.c | 83 u64 base, limit; in amd_numa_init() local 86 limit = read_pci_config(0, nb, 1, 0x44 + i*8); in amd_numa_init() 88 nodeids[i] = nodeid = limit & 7; in amd_numa_init() 96 base, limit); in amd_numa_init() 100 if (!limit) { in amd_numa_init() 105 if ((base >> 8) & 3 || (limit >> 8) & 3) { in amd_numa_init() 107 nodeid, (base >> 8) & 3, (limit >> 8) & 3); in amd_numa_init() 116 limit >>= 16; in amd_numa_init() 117 limit++; in amd_numa_init() 118 limit <<= 24; in amd_numa_init() [all …]
|
D | numa_emulation.c | 129 u64 start, limit, end; in split_nodes_interleave() local 138 limit = pi->blk[phys_blk].end; in split_nodes_interleave() 150 if (end > limit) { in split_nodes_interleave() 151 end = limit; in split_nodes_interleave() 170 if (limit - end - mem_hole_size(end, limit) < size) in split_nodes_interleave() 171 end = limit; in split_nodes_interleave() 175 min(end, limit) - start); in split_nodes_interleave() 244 u64 start, limit, end; in split_nodes_size_interleave() local 253 limit = pi->blk[phys_blk].end; in split_nodes_size_interleave() 255 end = find_end_of_node(start, limit, size); in split_nodes_size_interleave() [all …]
|
/arch/arm64/lib/ |
D | memcmp.S | 43 limit .req x2 label 62 cbz limit, .Lret0 68 sub limit_wd, limit, #1 /* limit != 0, so no underflow. */ 87 ands limit, limit, #7 93 lsl limit, limit, #3 /* bytes-> bits. */ 95 CPU_BE( lsr mask, mask, limit ) 96 CPU_LE( lsl mask, mask, limit ) 117 sub limit_wd, limit, #1/*limit != 0, so no underflow.*/ 122 add limit, limit, tmp1/* Adjust the limit for the extra. */ 138 cmp limit, #8 [all …]
|
D | strncmp.S | 47 limit .req x2 label 68 cbz limit, .Lret0 80 sub limit_wd, limit, #1 /* limit != 0, so no underflow. */ 105 ands limit, limit, #7 108 lsl limit, limit, #3 /* Bits -> bytes. */ 110 CPU_BE( lsr mask, mask, limit ) 111 CPU_LE( lsl mask, mask, limit ) 136 sub limit_wd, limit, #1 /* limit != 0, so no underflow. */ 145 add limit, limit, tmp1 154 cmp limit, #8 [all …]
|
D | strnlen.S | 41 limit .req x1 label 63 cbz limit, .Lhit_limit 69 sub limit_wd, limit, #1 /* Limit != 0, so no underflow. */ 126 cmp len, limit 127 csel len, len, limit, ls /* Return the lower value. */ 143 sub limit_wd, limit, #1 169 mov len, limit
|
/arch/powerpc/kernel/ |
D | paca.c | 45 static void __init allocate_lppacas(int nr_cpus, unsigned long limit) in allocate_lppacas() argument 53 PAGE_SIZE, limit)); in allocate_lppacas() 87 static inline void allocate_lppacas(int nr_cpus, unsigned long limit) { } in allocate_lppacas() argument 103 static void __init allocate_slb_shadows(int nr_cpus, int limit) in allocate_slb_shadows() argument 106 slb_shadow = __va(memblock_alloc_base(size, PAGE_SIZE, limit)); in allocate_slb_shadows() 130 static void __init allocate_slb_shadows(int nr_cpus, int limit) { } in allocate_slb_shadows() argument 198 u64 limit; in allocate_pacas() local 201 limit = ppc64_rma_size; in allocate_pacas() 209 limit = min(0x10000000ULL, limit); in allocate_pacas() 214 paca = __va(memblock_alloc_base(paca_size, PAGE_SIZE, limit)); in allocate_pacas() [all …]
|
D | setup_64.c | 516 u64 limit = safe_stack_limit(); in irqstack_early_init() local 526 THREAD_SIZE, limit)); in irqstack_early_init() 529 THREAD_SIZE, limit)); in irqstack_early_init() 565 u64 limit; in emergency_stack_init() local 577 limit = min(safe_stack_limit(), ppc64_rma_size); in emergency_stack_init() 581 ti = __va(memblock_alloc_base(THREAD_SIZE, THREAD_SIZE, limit)); in emergency_stack_init() 587 ti = __va(memblock_alloc_base(THREAD_SIZE, THREAD_SIZE, limit)); in emergency_stack_init() 733 u64 l1d_size, limit; in init_fallback_flush() local 737 limit = min(safe_stack_limit(), ppc64_rma_size); in init_fallback_flush() 744 l1d_flush_fallback_area = __va(memblock_alloc_base(l1d_size * 2, l1d_size, limit)); in init_fallback_flush()
|
/arch/powerpc/boot/ |
D | decompress.c | 47 static unsigned long limit; variable 67 if (decompressed_bytes >= limit) in flush() 86 size = min(decompressed_bytes + size, limit) - decompressed_bytes; in flush() 97 if (decompressed_bytes >= limit) in print_err() 134 limit = output_size; in partial_decompress() 144 if (decompressed_bytes < limit) in partial_decompress()
|
/arch/arm/boot/dts/ |
D | omap3-gta04a3.dts | 32 st,click-click-time-limit = <9>; 41 st,min-limit-x = <32>; 42 st,min-limit-y = <3>; 43 st,min-limit-z = <3>; 44 st,max-limit-x = <3>; 45 st,max-limit-y = <32>; 46 st,max-limit-z = <32>;
|
D | omap3-n9.dts | 66 st,min-limit-x = <(-46)>; 67 st,min-limit-y = <3>; 68 st,min-limit-z = <3>; 70 st,max-limit-x = <(-3)>; 71 st,max-limit-y = <46>; 72 st,max-limit-z = <46>;
|
D | omap3-overo-common-peripherals.dtsi | 77 st,min-limit-x = <120>; 78 st,min-limit-y = <120>; 79 st,min-limit-z = <140>; 80 st,max-limit-x = <550>; 81 st,max-limit-y = <550>; 82 st,max-limit-z = <750>;
|
/arch/sparc/mm/ |
D | io-unit.c | 52 iounit->limit[0] = IOUNIT_BMAP1_START; in iounit_iommu_init() 53 iounit->limit[1] = IOUNIT_BMAP2_START; in iounit_iommu_init() 54 iounit->limit[2] = IOUNIT_BMAPM_START; in iounit_iommu_init() 55 iounit->limit[3] = IOUNIT_BMAPM_END; in iounit_iommu_init() 97 unsigned long rotor, scan, limit; in iounit_get_area() local 113 limit = iounit->limit[j]; in iounit_get_area() 115 nexti: scan = find_next_zero_bit(iounit->bmap, limit, scan); in iounit_get_area() 116 if (scan + npages > limit) { in iounit_get_area() 117 if (limit != rotor) { in iounit_get_area() 118 limit = rotor; in iounit_get_area() [all …]
|
/arch/tile/lib/ |
D | uaccess.c | 20 unsigned long limit = current_thread_info()->addr_limit.seg; in __range_ok() local 21 return !((addr < limit && size <= limit - addr) || in __range_ok()
|
/arch/powerpc/mm/ |
D | subpage-prot.c | 100 unsigned long next, limit; in subpage_prot_clear() local 103 limit = addr + len; in subpage_prot_clear() 104 if (limit > spt->maxaddr) in subpage_prot_clear() 105 limit = spt->maxaddr; in subpage_prot_clear() 106 for (; addr < limit; addr = next) { in subpage_prot_clear() 107 next = pmd_addr_end(addr, limit); in subpage_prot_clear() 195 unsigned long next, limit; in sys_subpage_prot() local 217 for (limit = addr + len; addr < limit; addr = next) { in sys_subpage_prot() 218 next = pmd_addr_end(addr, limit); in sys_subpage_prot() 260 if (limit > spt->maxaddr) in sys_subpage_prot() [all …]
|
D | fsl_booke_mmu.c | 66 unsigned long limit; member 72 return tlbcam_addrs[idx].limit - tlbcam_addrs[idx].start + 1; in tlbcam_sz() 83 if (va >= tlbcam_addrs[b].start && va < tlbcam_addrs[b].limit) in v_block_mapped() 96 && pa < (tlbcam_addrs[b].limit-tlbcam_addrs[b].start) in p_block_mapped() 144 tlbcam_addrs[index].limit = virt + size - 1; in settlbcam() 226 return tlbcam_addrs[tlbcam_index - 1].limit - PAGE_OFFSET + 1; in mmu_mapin_ram() 261 phys_addr_t limit = first_memblock_base + first_memblock_size; in setup_initial_memory_limit() local 264 memblock_set_current_limit(min_t(u64, limit, 0x04000000)); in setup_initial_memory_limit()
|
D | ppc_mmu_32.c | 45 unsigned long limit; member 56 if (va >= bat_addrs[b].start && va < bat_addrs[b].limit) in v_block_mapped() 69 && pa < (bat_addrs[b].limit-bat_addrs[b].start) in p_block_mapped() 96 done = (unsigned long)bat_addrs[2].limit - PAGE_OFFSET + 1; in mmu_mapin_ram() 97 if ((done < tot) && !bat_addrs[3].limit) { in mmu_mapin_ram() 104 done = (unsigned long)bat_addrs[3].limit - PAGE_OFFSET + 1; in mmu_mapin_ram() 158 bat_addrs[index].limit = virt + ((bl + 1) << 17) - 1; in setbat()
|
/arch/powerpc/sysdev/ |
D | dart_iommu.c | 76 unsigned long limit; in dart_tlb_invalidate_all() local 90 limit = 0; in dart_tlb_invalidate_all() 99 while ((DART_IN(DART_CNTL) & inv_bit) && l < (1L << limit)) in dart_tlb_invalidate_all() 101 if (l == (1L << limit)) { in dart_tlb_invalidate_all() 102 if (limit < 4) { in dart_tlb_invalidate_all() 103 limit++; in dart_tlb_invalidate_all() 119 unsigned int l, limit; in dart_tlb_invalidate_one() local 128 limit = 0; in dart_tlb_invalidate_one() 131 while ((DART_IN(DART_CNTL) & DART_CNTL_U4_IONE) && l < (1L << limit)) { in dart_tlb_invalidate_one() 136 if (l == (1L << limit)) { in dart_tlb_invalidate_one() [all …]
|
/arch/arm/mach-rpc/include/mach/ |
D | acornfb.h | 18 u_long limit; in acornfb_valid_pixrate() local 28 limit = 6578; in acornfb_valid_pixrate() 30 limit = 13157; in acornfb_valid_pixrate() 32 limit = 26315; in acornfb_valid_pixrate() 35 return acornfb_bandwidth(var) >= limit; in acornfb_valid_pixrate()
|
/arch/sparc/include/asm/ |
D | obio.h | 122 unsigned int limit; in bw_get_prof_limit() local 125 "=r" (limit) : in bw_get_prof_limit() 128 return limit; in bw_get_prof_limit() 131 static inline void bw_set_prof_limit(int cpu, unsigned int limit) in bw_set_prof_limit() argument 134 "r" (limit), in bw_set_prof_limit()
|
/arch/x86/include/asm/ |
D | desc.h | 13 desc->limit0 = info->limit & 0x0ffff; in fill_ldt() 24 desc->limit = (info->limit & 0xf0000) >> 16; in fill_ldt() 144 unsigned long limit, unsigned char type, in pack_descriptor() argument 147 desc->a = ((base & 0xffff) << 16) | (limit & 0xffff); in pack_descriptor() 149 (limit & 0x000f0000) | ((type & 0xff) << 8) | in pack_descriptor() 257 (info)->limit == 0 && \ 269 info->limit == 0 && in LDT_zero() 297 return desc->limit0 | (desc->limit << 16); in get_desc_limit() 300 static inline void set_desc_limit(struct desc_struct *desc, unsigned long limit) in set_desc_limit() argument 302 desc->limit0 = limit & 0xffff; in set_desc_limit() [all …]
|
D | desc_defs.h | 32 unsigned limit: 4, avl: 1, l: 1, d: 1, g: 1, base2: 8; member 37 #define GDT_ENTRY_INIT(flags, base, limit) { { { \ argument 38 .a = ((limit) & 0xffff) | (((base) & 0xffff) << 16), \ 40 ((limit) & 0xf0000) | ((base) & 0xff000000), \
|
/arch/x86/pci/ |
D | numachip.c | 19 static u8 limit __read_mostly; 42 if (unlikely(bus == 0 && devfn >= limit)) { in pci_mmcfg_read_numachip() 80 if (unlikely(bus == 0 && devfn >= limit)) in pci_mmcfg_write_numachip() 123 limit = PCI_DEVFN(0x18 + ((val >> 4) & 7) + 1, 0); in pci_numachip_init()
|
/arch/mips/ath25/ |
D | board.c | 57 static const void __iomem * __init find_board_config(const void __iomem *limit, in find_board_config() argument 61 const void __iomem *begin = limit - 0x1000; in find_board_config() 62 const void __iomem *end = limit - 0x30000; in find_board_config() 71 static const void __iomem * __init find_radio_config(const void __iomem *limit, in find_radio_config() argument 82 end = limit; in find_radio_config() 89 end = limit - 0x1000 + 0xf8; in find_radio_config()
|
/arch/x86/um/asm/ |
D | mm_context.h | 38 ((((info)->base_addr & 0x0000ffff) << 16) | ((info)->limit & 0x0ffff)) 43 ((info)->limit & 0xf0000) | \ 54 (info)->limit == 0 && \
|
/arch/x86/math-emu/ |
D | get_address.c | 140 unsigned long base_address, limit, address, seg_top; in pm_address() local 164 limit = base_address in pm_address() 166 if (limit < base_address) in pm_address() 167 limit = 0xffffffff; in pm_address() 178 (address <= limit) || (address >= seg_top) ? 0 : in pm_address() 182 (address > limit) || (address < base_address) ? 0 : in pm_address() 183 ((limit - address) >= 254 ? 255 : limit - address + 1); in pm_address()
|