/Linux-v5.4/arch/nds32/mm/ |
D | proc.c | 100 unsigned long end, line_size; in cpu_icache_inval_all() local 103 end = in cpu_icache_inval_all() 107 end -= line_size; in cpu_icache_inval_all() 108 __asm__ volatile ("\n\tcctl %0, L1I_IX_INVAL"::"r" (end)); in cpu_icache_inval_all() 109 end -= line_size; in cpu_icache_inval_all() 110 __asm__ volatile ("\n\tcctl %0, L1I_IX_INVAL"::"r" (end)); in cpu_icache_inval_all() 111 end -= line_size; in cpu_icache_inval_all() 112 __asm__ volatile ("\n\tcctl %0, L1I_IX_INVAL"::"r" (end)); in cpu_icache_inval_all() 113 end -= line_size; in cpu_icache_inval_all() 114 __asm__ volatile ("\n\tcctl %0, L1I_IX_INVAL"::"r" (end)); in cpu_icache_inval_all() [all …]
|
/Linux-v5.4/kernel/ |
D | range.c | 11 int add_range(struct range *range, int az, int nr_range, u64 start, u64 end) in add_range() argument 13 if (start >= end) in add_range() 21 range[nr_range].end = end; in add_range() 29 u64 start, u64 end) in add_range_with_merge() argument 33 if (start >= end) in add_range_with_merge() 40 if (!range[i].end) in add_range_with_merge() 44 common_end = min(range[i].end, end); in add_range_with_merge() 50 end = max(range[i].end, end); in add_range_with_merge() 55 range[nr_range - 1].end = 0; in add_range_with_merge() 61 return add_range(range, az, nr_range, start, end); in add_range_with_merge() [all …]
|
D | resource.c | 33 .end = IO_SPACE_LIMIT, 41 .end = -1, 109 unsigned long long start, end; in r_show() local 110 int width = root->end < 0x10000 ? 4 : 8; in r_show() 119 end = r->end; in r_show() 121 start = end = 0; in r_show() 127 width, end, in r_show() 188 resource_size_t end = new->end; in __request_resource() local 191 if (end < start) in __request_resource() 195 if (end > root->end) in __request_resource() [all …]
|
/Linux-v5.4/include/linux/ceph/ |
D | decode.h | 52 static inline bool ceph_has_room(void **p, void *end, size_t n) in ceph_has_room() argument 54 return end >= *p && n <= end - *p; in ceph_has_room() 57 #define ceph_decode_need(p, end, n, bad) \ argument 59 if (!likely(ceph_has_room(p, end, n))) \ 63 #define ceph_decode_64_safe(p, end, v, bad) \ argument 65 ceph_decode_need(p, end, sizeof(u64), bad); \ 68 #define ceph_decode_32_safe(p, end, v, bad) \ argument 70 ceph_decode_need(p, end, sizeof(u32), bad); \ 73 #define ceph_decode_16_safe(p, end, v, bad) \ argument 75 ceph_decode_need(p, end, sizeof(u16), bad); \ [all …]
|
/Linux-v5.4/arch/mips/pci/ |
D | pci-malta.c | 31 .end = 0x000fffffUL, 81 resource_size_t start, end, map, start1, end1, map1, map2, map3, mask; in mips_pcibios_init() local 104 end = GT_READ(GT_PCI0M0HD_OFS); in mips_pcibios_init() 106 end = (end & GT_PCI_HD_MSK) | (start & ~GT_PCI_HD_MSK); in mips_pcibios_init() 112 if (end1 - start1 > end - start) { in mips_pcibios_init() 114 end = end1; in mips_pcibios_init() 117 mask = ~(start ^ end); in mips_pcibios_init() 122 gt64120_mem_resource.end = end; in mips_pcibios_init() 126 gt64120_mem_resource.end <<= GT_PCI_DCRM_SHF; in mips_pcibios_init() 127 gt64120_mem_resource.end |= (1 << GT_PCI_DCRM_SHF) - 1; in mips_pcibios_init() [all …]
|
/Linux-v5.4/arch/microblaze/kernel/cpu/ |
D | cache.c | 92 #define CACHE_LOOP_LIMITS(start, end, cache_line_length, cache_size) \ argument 95 end = min(start + cache_size, end); \ 124 #define CACHE_RANGE_LOOP_2(start, end, line_length, op) \ argument 129 end = ((end & align) == end) ? end - line_length : end & align; \ 130 count = end - start; \ 141 #define CACHE_RANGE_LOOP_1(start, end, line_length, op) \ argument 145 end = ((end & align) == end) ? end - line_length : end & align; \ 146 WARN_ON(end < start); \ 152 : : "r" (temp), "r" (start), "r" (end), \ 158 static void __flush_icache_range_msr_irq(unsigned long start, unsigned long end) in __flush_icache_range_msr_irq() argument [all …]
|
/Linux-v5.4/fs/ceph/ |
D | mdsmap.c | 45 #define __decode_and_drop_type(p, end, type, bad) \ argument 47 if (*p + sizeof(type) > end) \ 52 #define __decode_and_drop_set(p, end, type, bad) \ argument 56 ceph_decode_32_safe(p, end, n, bad); \ 58 ceph_decode_need(p, end, need, bad); \ 62 #define __decode_and_drop_map(p, end, ktype, vtype, bad) \ argument 66 ceph_decode_32_safe(p, end, n, bad); \ 68 ceph_decode_need(p, end, need, bad); \ 73 static int __decode_and_drop_compat_set(void **p, void* end) in __decode_and_drop_compat_set() argument 79 ceph_decode_need(p, end, sizeof(u64) + sizeof(u32), bad); in __decode_and_drop_compat_set() [all …]
|
/Linux-v5.4/tools/perf/util/ |
D | block-range.c | 26 assert(entry->start <= entry->end); /* single instruction block; jump to a jump */ in block_range__debug() 28 old = entry->end; in block_range__debug() 45 else if (addr > entry->end) in block_range__find() 81 struct block_range_iter block_range__create(u64 start, u64 end) in block_range__create() argument 94 else if (start > entry->end) in block_range__create() 112 if (entry->end < start) { in block_range__create() 119 if (next->start <= end) { /* add head: [start...][n->start...] */ in block_range__create() 126 .end = next->start - 1, in block_range__create() 149 .end = end, in block_range__create() 159 iter.end = entry; in block_range__create() [all …]
|
D | time-utils.c | 21 char *end; in parse_nsec_time() local 23 time_sec = strtoul(str, &end, 10); in parse_nsec_time() 24 if (*end != '.' && *end != '\0') in parse_nsec_time() 27 if (*end == '.') { in parse_nsec_time() 31 if (strlen(++end) > 9) in parse_nsec_time() 34 strncpy(nsec_buf, end, 9); in parse_nsec_time() 41 time_nsec = strtoul(nsec_buf, &end, 10); in parse_nsec_time() 42 if (*end != '\0') in parse_nsec_time() 60 (parse_nsec_time(end_str, &ptime->end) != 0)) { in parse_timestr_sec_nsec() 67 static int split_start_end(char **start, char **end, const char *ostr, char ch) in split_start_end() argument [all …]
|
/Linux-v5.4/lib/ |
D | vsprintf.c | 416 char *number(char *buf, char *end, unsigned long long num, in number() argument 480 if (buf < end) in number() 487 if (buf < end) in number() 494 if (buf < end) in number() 499 if (buf < end) in number() 509 if (buf < end) in number() 516 if (buf < end) in number() 522 if (buf < end) in number() 528 if (buf < end) in number() 537 char *special_hex_number(char *buf, char *end, unsigned long long num, int size) in special_hex_number() argument [all …]
|
/Linux-v5.4/arch/nios2/mm/ |
D | cacheflush.c | 18 static void __flush_dcache(unsigned long start, unsigned long end) in __flush_dcache() argument 23 end += (cpuinfo.dcache_line_size - 1); in __flush_dcache() 24 end &= ~(cpuinfo.dcache_line_size - 1); in __flush_dcache() 26 if (end > start + cpuinfo.dcache_size) in __flush_dcache() 27 end = start + cpuinfo.dcache_size; in __flush_dcache() 29 for (addr = start; addr < end; addr += cpuinfo.dcache_line_size) { in __flush_dcache() 37 static void __invalidate_dcache(unsigned long start, unsigned long end) in __invalidate_dcache() argument 42 end += (cpuinfo.dcache_line_size - 1); in __invalidate_dcache() 43 end &= ~(cpuinfo.dcache_line_size - 1); in __invalidate_dcache() 45 for (addr = start; addr < end; addr += cpuinfo.dcache_line_size) { in __invalidate_dcache() [all …]
|
/Linux-v5.4/arch/arm/mach-pxa/ |
D | devices.c | 42 .end = IRQ_PMU, 56 .end = 0x41100fff, 61 .end = IRQ_MMC, 97 .end = 0x4060ffff, 102 .end = IRQ_USB, 135 .end = 0x54100fff, 140 .end = IRQ_USB2, 161 .end = 0x4400ffff, 166 .end = IRQ_LCD, 193 .end = 0x40100023, [all …]
|
/Linux-v5.4/fs/btrfs/tests/ |
D | extent-io-tests.c | 19 static noinline int process_page_range(struct inode *inode, u64 start, u64 end, in process_page_range() argument 25 unsigned long end_index = end >> PAGE_SHIFT; in process_page_range() 52 start, end, nr_pages, ret); in process_page_range() 69 u64 start, end, test_start; in test_find_delalloc() local 115 end = 0; in test_find_delalloc() 117 &end); in test_find_delalloc() 122 if (start != 0 || end != (sectorsize - 1)) { in test_find_delalloc() 124 sectorsize - 1, start, end); in test_find_delalloc() 127 unlock_extent(tmp, start, end); in test_find_delalloc() 146 end = 0; in test_find_delalloc() [all …]
|
/Linux-v5.4/arch/x86/pci/ |
D | amd_bus.c | 72 u64 end; in early_root_info_init() local 161 end = (reg & 0xfff000) | 0xfff; in early_root_info_init() 168 node, link, start, end); in early_root_info_init() 171 if (end > 0xffff) in early_root_info_init() 172 end = 0xffff; in early_root_info_init() 173 update_res(info, start, end, IORESOURCE_IO, 1); in early_root_info_init() 174 subtract_range(range, RANGE_NUM, start, end + 1); in early_root_info_init() 181 if (!range[i].end) in early_root_info_init() 184 update_res(info, range[i].start, range[i].end - 1, in early_root_info_init() 191 end = cap_resource((0xfdULL<<32) - 1); in early_root_info_init() [all …]
|
/Linux-v5.4/arch/x86/mm/ |
D | pat_rbtree.c | 39 static int is_node_overlap(struct memtype *node, u64 start, u64 end) in is_node_overlap() argument 41 if (node->start >= end || node->end <= start) in is_node_overlap() 57 #define NODE_END(node) ((node)->end) 64 u64 start, u64 end) in RB_DECLARE_CALLBACKS_MAX() 75 } else if (is_node_overlap(data, start, end)) { in RB_DECLARE_CALLBACKS_MAX() 94 u64 start, u64 end, int match_type) in memtype_rb_match() argument 98 match = memtype_rb_lowest_match(root, start, end); in memtype_rb_match() 99 while (match != NULL && match->start < end) { in memtype_rb_match() 103 (match->start == start) && (match->end == end)) in memtype_rb_match() 107 (match->start < start) && (match->end == end)) in memtype_rb_match() [all …]
|
D | numa_emulation.c | 31 static u64 __init mem_hole_size(u64 start, u64 end) in mem_hole_size() argument 34 unsigned long end_pfn = PFN_DOWN(end); in mem_hole_size() 59 eb->end = pb->start + size; in emu_setup_memblk() 66 if (pb->start >= pb->end) { in emu_setup_memblk() 67 WARN_ON_ONCE(pb->start > pb->end); in emu_setup_memblk() 72 nid, eb->start, eb->end - 1, (eb->end - eb->start) >> 20); in emu_setup_memblk() 128 u64 start, limit, end; in split_nodes_interleave() local 137 limit = pi->blk[phys_blk].end; in split_nodes_interleave() 138 end = start + size; in split_nodes_interleave() 141 end += FAKE_NODE_MIN_SIZE; in split_nodes_interleave() [all …]
|
/Linux-v5.4/arch/csky/mm/ |
D | cachev2.c | 15 void icache_inv_range(unsigned long start, unsigned long end) in icache_inv_range() argument 19 for (; i < end; i += L1_CACHE_BYTES) in icache_inv_range() 30 void dcache_wb_range(unsigned long start, unsigned long end) in dcache_wb_range() argument 34 for (; i < end; i += L1_CACHE_BYTES) in dcache_wb_range() 39 void dcache_inv_range(unsigned long start, unsigned long end) in dcache_inv_range() argument 43 for (; i < end; i += L1_CACHE_BYTES) in dcache_inv_range() 48 void cache_wbinv_range(unsigned long start, unsigned long end) in cache_wbinv_range() argument 52 for (; i < end; i += L1_CACHE_BYTES) in cache_wbinv_range() 57 for (; i < end; i += L1_CACHE_BYTES) in cache_wbinv_range() 63 void dma_wbinv_range(unsigned long start, unsigned long end) in dma_wbinv_range() argument [all …]
|
/Linux-v5.4/arch/c6x/platforms/ |
D | cache.c | 130 unsigned int *end, in cache_block_operation() argument 136 (L2_CACHE_ALIGN_CNT((unsigned int) end) in cache_block_operation() 175 unsigned int *end, in cache_block_operation_nowait() argument 181 (L2_CACHE_ALIGN_CNT((unsigned int) end) in cache_block_operation_nowait() 322 void enable_caching(unsigned long start, unsigned long end) in enable_caching() argument 325 unsigned int mar_e = IMCR_MAR_BASE + ((end >> 24) << 2); in enable_caching() 331 void disable_caching(unsigned long start, unsigned long end) in disable_caching() argument 334 unsigned int mar_e = IMCR_MAR_BASE + ((end >> 24) << 2); in disable_caching() 344 void L1P_cache_block_invalidate(unsigned int start, unsigned int end) in L1P_cache_block_invalidate() argument 347 (unsigned int *) end, in L1P_cache_block_invalidate() [all …]
|
/Linux-v5.4/arch/arm/mm/ |
D | cache-feroceon-l2.c | 73 static inline void l2_clean_pa_range(unsigned long start, unsigned long end) in l2_clean_pa_range() argument 82 BUG_ON((start ^ end) >> PAGE_SHIFT); in l2_clean_pa_range() 85 va_end = va_start + (end - start); in l2_clean_pa_range() 104 static inline void l2_inv_pa_range(unsigned long start, unsigned long end) in l2_inv_pa_range() argument 113 BUG_ON((start ^ end) >> PAGE_SHIFT); in l2_inv_pa_range() 116 va_end = va_start + (end - start); in l2_inv_pa_range() 142 static unsigned long calc_range_end(unsigned long start, unsigned long end) in calc_range_end() argument 147 BUG_ON(end & (CACHE_LINE_SIZE - 1)); in calc_range_end() 152 range_end = end; in calc_range_end() 171 static void feroceon_l2_inv_range(unsigned long start, unsigned long end) in feroceon_l2_inv_range() argument [all …]
|
/Linux-v5.4/arch/arm/mach-davinci/ |
D | devices-da8xx.c | 155 .end = DA8XX_TPCC_BASE + SZ_32K - 1, 161 .end = DA8XX_TPTC0_BASE + SZ_1K - 1, 167 .end = DA8XX_TPTC1_BASE + SZ_1K - 1, 186 .end = DA850_TPCC1_BASE + SZ_32K - 1, 192 .end = DA850_TPTC2_BASE + SZ_1K - 1, 303 .end = DA8XX_I2C0_BASE + SZ_4K - 1, 308 .end = DAVINCI_INTC_IRQ(IRQ_DA8XX_I2CINT0), 323 .end = DA8XX_I2C1_BASE + SZ_4K - 1, 328 .end = DAVINCI_INTC_IRQ(IRQ_DA8XX_I2CINT1), 359 .end = DA8XX_WDOG_BASE + SZ_4K - 1, [all …]
|
/Linux-v5.4/mm/ |
D | pagewalk.c | 7 static int walk_pte_range(pmd_t *pmd, unsigned long addr, unsigned long end, in walk_pte_range() argument 20 if (addr == end) in walk_pte_range() 29 static int walk_pmd_range(pud_t *pud, unsigned long addr, unsigned long end, in walk_pmd_range() argument 40 next = pmd_addr_end(addr, end); in walk_pmd_range() 70 } while (pmd++, addr = next, addr != end); in walk_pmd_range() 75 static int walk_pud_range(p4d_t *p4d, unsigned long addr, unsigned long end, in walk_pud_range() argument 86 next = pud_addr_end(addr, end); in walk_pud_range() 115 } while (pud++, addr = next, addr != end); in walk_pud_range() 120 static int walk_p4d_range(pgd_t *pgd, unsigned long addr, unsigned long end, in walk_p4d_range() argument 130 next = p4d_addr_end(addr, end); in walk_p4d_range() [all …]
|
/Linux-v5.4/Documentation/admin-guide/kdump/ |
D | gdbmacros.txt | 32 end 34 end 46 end 48 end 50 end 52 end 53 end 56 end 75 end 76 end [all …]
|
/Linux-v5.4/net/ceph/ |
D | osdmap.c | 55 static int crush_decode_uniform_bucket(void **p, void *end, in crush_decode_uniform_bucket() argument 58 dout("crush_decode_uniform_bucket %p to %p\n", *p, end); in crush_decode_uniform_bucket() 59 ceph_decode_need(p, end, (1+b->h.size) * sizeof(u32), bad); in crush_decode_uniform_bucket() 66 static int crush_decode_list_bucket(void **p, void *end, in crush_decode_list_bucket() argument 70 dout("crush_decode_list_bucket %p to %p\n", *p, end); in crush_decode_list_bucket() 77 ceph_decode_need(p, end, 2 * b->h.size * sizeof(u32), bad); in crush_decode_list_bucket() 87 static int crush_decode_tree_bucket(void **p, void *end, in crush_decode_tree_bucket() argument 91 dout("crush_decode_tree_bucket %p to %p\n", *p, end); in crush_decode_tree_bucket() 92 ceph_decode_8_safe(p, end, b->num_nodes, bad); in crush_decode_tree_bucket() 96 ceph_decode_need(p, end, b->num_nodes * sizeof(u32), bad); in crush_decode_tree_bucket() [all …]
|
D | cls_lock_client.c | 34 void *p, *end; in ceph_cls_lock() local 55 end = p + lock_op_buf_size; in ceph_cls_lock() 60 ceph_encode_string(&p, end, lock_name, name_len); in ceph_cls_lock() 62 ceph_encode_string(&p, end, cookie, cookie_len); in ceph_cls_lock() 63 ceph_encode_string(&p, end, tag, tag_len); in ceph_cls_lock() 64 ceph_encode_string(&p, end, desc, desc_len); in ceph_cls_lock() 97 void *p, *end; in ceph_cls_unlock() local 112 end = p + unlock_op_buf_size; in ceph_cls_unlock() 117 ceph_encode_string(&p, end, lock_name, name_len); in ceph_cls_unlock() 118 ceph_encode_string(&p, end, cookie, cookie_len); in ceph_cls_unlock() [all …]
|
/Linux-v5.4/arch/s390/lib/ |
D | delay.c | 38 u64 end; in __udelay_disabled() local 40 end = get_tod_clock() + (usecs << 12); in __udelay_disabled() 46 set_clock_comparator(end); in __udelay_disabled() 56 u64 clock_saved, end; in __udelay_enabled() local 58 end = get_tod_clock_fast() + (usecs << 12); in __udelay_enabled() 61 if (tod_after(S390_lowcore.clock_comparator, end)) { in __udelay_enabled() 63 set_clock_comparator(end); in __udelay_enabled() 68 } while (get_tod_clock_fast() < end); in __udelay_enabled() 110 u64 end; in udelay_simple() local 112 end = get_tod_clock_fast() + (usecs << 12); in udelay_simple() [all …]
|