/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() 276 u64 start, limit, end; in split_nodes_size_interleave_uniform() local 286 limit = pi->blk[phys_blk].end; in split_nodes_size_interleave_uniform() 291 end = find_end_of_node(start, limit, size); in split_nodes_size_interleave_uniform() [all …]
|
/arch/arm64/lib/ |
D | memcmp.S | 31 limit .req x2 label 50 cbz limit, .Lret0 56 sub limit_wd, limit, #1 /* limit != 0, so no underflow. */ 75 ands limit, limit, #7 81 lsl limit, limit, #3 /* bytes-> bits. */ 83 CPU_BE( lsr mask, mask, limit ) 84 CPU_LE( lsl mask, mask, limit ) 105 sub limit_wd, limit, #1/*limit != 0, so no underflow.*/ 110 add limit, limit, tmp1/* Adjust the limit for the extra. */ 126 cmp limit, #8 [all …]
|
D | strncmp.S | 35 limit .req x2 label 56 cbz limit, .Lret0 68 sub limit_wd, limit, #1 /* limit != 0, so no underflow. */ 93 ands limit, limit, #7 96 lsl limit, limit, #3 /* Bits -> bytes. */ 98 CPU_BE( lsr mask, mask, limit ) 99 CPU_LE( lsl mask, mask, limit ) 124 sub limit_wd, limit, #1 /* limit != 0, so no underflow. */ 133 add limit, limit, tmp1 142 cmp limit, #8 [all …]
|
D | strnlen.S | 29 limit .req x1 label 51 cbz limit, .Lhit_limit 57 sub limit_wd, limit, #1 /* Limit != 0, so no underflow. */ 114 cmp len, limit 115 csel len, len, limit, ls /* Return the lower value. */ 131 sub limit_wd, limit, #1 157 mov len, limit
|
/arch/powerpc/kernel/ |
D | paca.c | 28 unsigned long limit, int cpu) in alloc_paca_data() argument 46 limit, nid); in alloc_paca_data() 60 static void *__init alloc_shared_lppaca(unsigned long size, unsigned long limit, in alloc_shared_lppaca() argument 81 limit, NUMA_NO_NODE); in alloc_shared_lppaca() 122 static struct lppaca * __init new_lppaca(int cpu, unsigned long limit) in new_lppaca() argument 132 lp = alloc_shared_lppaca(LPPACA_SIZE, limit, cpu); in new_lppaca() 134 lp = alloc_paca_data(LPPACA_SIZE, 0x400, limit, cpu); in new_lppaca() 151 static struct slb_shadow * __init new_slb_shadow(int cpu, unsigned long limit) in new_slb_shadow() argument 165 s = alloc_paca_data(sizeof(*s), L1_CACHE_BYTES, limit, cpu); in new_slb_shadow() 187 static struct rtas_args * __init new_rtas_args(int cpu, unsigned long limit) in new_rtas_args() argument [all …]
|
D | setup_64.c | 667 static void *__init alloc_stack(unsigned long limit, int cpu) in alloc_stack() argument 674 MEMBLOCK_LOW_LIMIT, limit, in alloc_stack() 684 u64 limit = ppc64_bolted_size(); in irqstack_early_init() local 693 softirq_ctx[i] = alloc_stack(limit, i); in irqstack_early_init() 694 hardirq_ctx[i] = alloc_stack(limit, i); in irqstack_early_init() 731 u64 limit, mce_limit; in emergency_stack_init() local 748 limit = mce_limit = min(ppc64_bolted_size(), ppc64_rma_size); in emergency_stack_init() 760 paca_ptrs[i]->emergency_sp = alloc_stack(limit, i) + THREAD_SIZE; in emergency_stack_init() 764 paca_ptrs[i]->nmi_emergency_sp = alloc_stack(limit, i) + THREAD_SIZE; in emergency_stack_init() 1052 u64 l1d_size, limit; in init_fallback_flush() local [all …]
|
/arch/powerpc/boot/ |
D | decompress.c | 43 static unsigned long limit; variable 63 if (decompressed_bytes >= limit) in flush() 82 size = min(decompressed_bytes + size, limit) - decompressed_bytes; in flush() 93 if (decompressed_bytes >= limit) in print_err() 130 limit = output_size; in partial_decompress() 140 if (decompressed_bytes < limit) in partial_decompress()
|
/arch/arm/boot/dts/ |
D | omap3-gta04a3.dts | 29 st,click-click-time-limit = <9>; 38 st,min-limit-x = <32>; 39 st,min-limit-y = <3>; 40 st,min-limit-z = <3>; 41 st,max-limit-x = <3>; 42 st,max-limit-y = <32>; 43 st,max-limit-z = <32>;
|
D | omap3-n9.dts | 71 st,min-limit-x = <(-46)>; 72 st,min-limit-y = <3>; 73 st,min-limit-z = <3>; 75 st,max-limit-x = <(-3)>; 76 st,max-limit-y = <46>; 77 st,max-limit-z = <46>;
|
D | omap3-overo-common-peripherals.dtsi | 74 st,min-limit-x = <120>; 75 st,min-limit-y = <120>; 76 st,min-limit-z = <140>; 77 st,max-limit-x = <550>; 78 st,max-limit-y = <550>; 79 st,max-limit-z = <750>;
|
/arch/powerpc/sysdev/ |
D | dart_iommu.c | 63 unsigned long limit; in dart_tlb_invalidate_all() local 77 limit = 0; in dart_tlb_invalidate_all() 86 while ((DART_IN(DART_CNTL) & inv_bit) && l < (1L << limit)) in dart_tlb_invalidate_all() 88 if (l == (1L << limit)) { in dart_tlb_invalidate_all() 89 if (limit < 4) { in dart_tlb_invalidate_all() 90 limit++; in dart_tlb_invalidate_all() 106 unsigned int l, limit; in dart_tlb_invalidate_one() local 115 limit = 0; in dart_tlb_invalidate_one() 118 while ((DART_IN(DART_CNTL) & DART_CNTL_U4_IONE) && l < (1L << limit)) { in dart_tlb_invalidate_one() 123 if (l == (1L << limit)) { in dart_tlb_invalidate_one() [all …]
|
/arch/powerpc/mm/book3s64/ |
D | subpage_prot.c | 95 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() 198 unsigned long next, limit; in SYSCALL_DEFINE3() local 239 for (limit = addr + len; addr < limit; addr = next) { in SYSCALL_DEFINE3() 240 next = pmd_addr_end(addr, limit); in SYSCALL_DEFINE3() 281 if (limit > spt->maxaddr) in SYSCALL_DEFINE3() [all …]
|
/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() 99 unsigned long rotor, scan, limit; in iounit_get_area() local 115 limit = iounit->limit[j]; in iounit_get_area() 117 nexti: scan = find_next_zero_bit(iounit->bmap, limit, scan); in iounit_get_area() 118 if (scan + npages > limit) { in iounit_get_area() 119 if (limit != rotor) { in iounit_get_area() 120 limit = rotor; in iounit_get_area() [all …]
|
/arch/arm/mach-rpc/include/mach/ |
D | acornfb.h | 15 u_long limit; in acornfb_valid_pixrate() local 25 limit = 6578; in acornfb_valid_pixrate() 27 limit = 13157; in acornfb_valid_pixrate() 29 limit = 26315; in acornfb_valid_pixrate() 32 return acornfb_bandwidth(var) >= limit; in acornfb_valid_pixrate()
|
/arch/arm/include/asm/ |
D | uaccess-asm.h | 19 .macro check_uaccess, addr:req, size:req, limit:req, tmp:req, bad:req 22 sbcscc \tmp, \tmp, \limit 31 .macro uaccess_mask_range_ptr, addr:req, size:req, limit:req, tmp:req 33 sub \tmp, \limit, #1 34 subs \tmp, \tmp, \addr @ tmp = limit - 1 - addr 36 subshs \tmp, \tmp, \size @ tmp = limit - (addr + size) }
|
/arch/sparc/include/asm/ |
D | obio.h | 123 unsigned int limit; in bw_get_prof_limit() local 126 "=r" (limit) : in bw_get_prof_limit() 129 return limit; in bw_get_prof_limit() 132 static inline void bw_set_prof_limit(int cpu, unsigned int limit) in bw_set_prof_limit() argument 135 "r" (limit), in bw_set_prof_limit()
|
D | uaccess_64.h | 47 static inline bool __chk_range_not_ok(unsigned long addr, unsigned long size, unsigned long limit) in __chk_range_not_ok() argument 50 return addr > limit - size; in __chk_range_not_ok() 56 return addr > limit; in __chk_range_not_ok() 59 #define __range_not_ok(addr, size, limit) \ argument 62 __chk_range_not_ok((unsigned long __force)(addr), size, limit); \
|
/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/math-emu/ |
D | get_address.c | 141 unsigned long base_address, limit, address, seg_top; in pm_address() local 165 limit = seg_get_limit(&descriptor) + 1; in pm_address() 166 limit *= seg_get_granularity(&descriptor); in pm_address() 167 limit += base_address - 1; in pm_address() 168 if (limit < base_address) in pm_address() 169 limit = 0xffffffff; in pm_address() 180 (address <= limit) || (address >= seg_top) ? 0 : in pm_address() 184 (address > limit) || (address < base_address) ? 0 : in pm_address() 185 ((limit - address) >= 254 ? 255 : limit - address + 1); in pm_address()
|
/arch/x86/pci/ |
D | numachip.c | 16 static u8 limit __read_mostly; 39 if (unlikely(bus == 0 && devfn >= limit)) { in pci_mmcfg_read_numachip() 77 if (unlikely(bus == 0 && devfn >= limit)) in pci_mmcfg_write_numachip() 120 limit = PCI_DEVFN(0x18 + ((val >> 4) & 7) + 1, 0); in pci_numachip_init()
|
/arch/powerpc/mm/nohash/ |
D | fsl_booke.c | 59 unsigned long limit; member 65 return tlbcam_addrs[idx].limit - tlbcam_addrs[idx].start + 1; in tlbcam_sz() 76 if (va >= tlbcam_addrs[b].start && va < tlbcam_addrs[b].limit) in v_block_mapped() 89 && pa < (tlbcam_addrs[b].limit-tlbcam_addrs[b].start) in p_block_mapped() 137 tlbcam_addrs[index].limit = virt + size - 1; in settlbcam() 219 return tlbcam_addrs[tlbcam_index - 1].limit - PAGE_OFFSET + 1; in mmu_mapin_ram() 270 phys_addr_t limit = first_memblock_base + first_memblock_size; in setup_initial_memory_limit() local 273 memblock_set_current_limit(min_t(u64, limit, 0x04000000)); in setup_initial_memory_limit()
|
/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/sparc/kernel/ |
D | iommu-common.c | 105 unsigned long n, end, start, limit, boundary_size; in iommu_tbl_range_alloc() local 142 limit = pool->end; in iommu_tbl_range_alloc() 150 if (start >= limit) in iommu_tbl_range_alloc() 153 if (limit + shift > mask) { in iommu_tbl_range_alloc() 154 limit = mask - shift + 1; in iommu_tbl_range_alloc() 159 if ((start & mask) >= limit || pass > 0) { in iommu_tbl_range_alloc() 181 n = iommu_area_alloc(iommu->map, limit, start, npages, shift, in iommu_tbl_range_alloc()
|
/arch/arm64/kernel/ |
D | signal.c | 55 unsigned long limit; /* largest allowed size */ member 76 user->limit = user->size + reserved_size; in init_user_layout() 78 user->limit -= TERMINATOR_SIZE; in init_user_layout() 79 user->limit -= EXTRA_CONTEXT_SIZE; in init_user_layout() 101 if (padded_size > user->limit - user->size && in __sigframe_alloc() 106 user->limit += EXTRA_CONTEXT_SIZE; in __sigframe_alloc() 110 user->limit -= EXTRA_CONTEXT_SIZE; in __sigframe_alloc() 121 user->limit = SIGFRAME_MAXSZ - TERMINATOR_SIZE; in __sigframe_alloc() 125 if (padded_size > user->limit - user->size) in __sigframe_alloc() 151 user->limit += TERMINATOR_SIZE; in sigframe_alloc_end() [all …]
|