| /kernel/linux/linux-4.19/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 …]
|
| /kernel/linux/linux-5.10/arch/nds32/mm/ |
| D | proc.c | 103 unsigned long end, line_size; in cpu_icache_inval_all() local 106 end = in cpu_icache_inval_all() 110 end -= line_size; in cpu_icache_inval_all() 111 __asm__ volatile ("\n\tcctl %0, L1I_IX_INVAL"::"r" (end)); in cpu_icache_inval_all() 112 end -= line_size; in cpu_icache_inval_all() 113 __asm__ volatile ("\n\tcctl %0, L1I_IX_INVAL"::"r" (end)); in cpu_icache_inval_all() 114 end -= line_size; in cpu_icache_inval_all() 115 __asm__ volatile ("\n\tcctl %0, L1I_IX_INVAL"::"r" (end)); in cpu_icache_inval_all() 116 end -= line_size; in cpu_icache_inval_all() 117 __asm__ volatile ("\n\tcctl %0, L1I_IX_INVAL"::"r" (end)); in cpu_icache_inval_all() [all …]
|
| /kernel/linux/linux-4.19/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() 36 /* get new 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() 48 /* new start/end, will add it back at last */ in add_range_with_merge() 50 end = max(range[i].end, end); in add_range_with_merge() [all …]
|
| D | resource.c | 32 .end = IO_SPACE_LIMIT, 40 .end = -1, 108 unsigned long long start, end; in r_show() local 109 int width = root->end < 0x10000 ? 4 : 8; in r_show() 118 end = r->end; in r_show() 120 start = end = 0; in r_show() 126 width, end, in r_show() 187 resource_size_t end = new->end; in __request_resource() local 190 if (end < start) in __request_resource() 194 if (end > root->end) in __request_resource() [all …]
|
| /kernel/linux/linux-5.10/kernel/ |
| D | range.c | 12 int add_range(struct range *range, int az, int nr_range, u64 start, u64 end) in add_range() argument 14 if (start >= end) in add_range() 22 range[nr_range].end = end; in add_range() 30 u64 start, u64 end) in add_range_with_merge() argument 34 if (start >= end) in add_range_with_merge() 37 /* get new start/end: */ in add_range_with_merge() 41 if (!range[i].end) in add_range_with_merge() 45 common_end = min(range[i].end, end); in add_range_with_merge() 49 /* new start/end, will add it back at last */ in add_range_with_merge() 51 end = max(range[i].end, 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 …]
|
| /kernel/linux/linux-5.10/include/linux/ceph/ |
| D | decode.h | 16 * void *end pointer to end of buffer (last byte + 1) 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 [all …]
|
| /kernel/linux/linux-4.19/include/linux/ceph/ |
| D | decode.h | 16 * void *end pointer to end of buffer (last byte + 1) 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 [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-4.19/tools/perf/util/ |
| D | block-range.c | 24 assert(entry->start <= entry->end); /* single instruction block; jump to a jump */ in block_range__debug() 26 old = entry->end; in block_range__debug() 43 else if (addr > entry->end) in block_range__find() 75 * @end: branch ending this basic block 79 struct block_range_iter block_range__create(u64 start, u64 end) in block_range__create() argument 92 else if (start > entry->end) in block_range__create() 99 * Didn't find anything.. there's a hole at @start, however @end might in block_range__create() 110 if (entry->end < start) { in block_range__create() 117 if (next->start <= end) { /* add head: [start...][n->start...] */ in block_range__create() 124 .end = next->start - 1, in block_range__create() [all …]
|
| D | time-utils.c | 18 char *end; in parse_nsec_time() local 20 time_sec = strtoul(str, &end, 10); in parse_nsec_time() 21 if (*end != '.' && *end != '\0') in parse_nsec_time() 24 if (*end == '.') { in parse_nsec_time() 28 if (strlen(++end) > 9) in parse_nsec_time() 31 strncpy(nsec_buf, end, 9); in parse_nsec_time() 38 time_nsec = strtoul(nsec_buf, &end, 10); in parse_nsec_time() 39 if (*end != '\0') in parse_nsec_time() 57 (parse_nsec_time(end_str, &ptime->end) != 0)) { in parse_timestr_sec_nsec() 64 static int split_start_end(char **start, char **end, const char *ostr, char ch) in split_start_end() argument [all …]
|
| /kernel/linux/linux-5.10/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() 77 * @end: branch ending this basic block 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() 101 * Didn't find anything.. there's a hole at @start, however @end might 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() [all …]
|
| /kernel/linux/linux-5.10/fs/btrfs/ |
| D | extent-io-tree.h | 70 u64 end; /* inclusive */ member 93 int lock_extent_bits(struct extent_io_tree *tree, u64 start, u64 end, 96 static inline int lock_extent(struct extent_io_tree *tree, u64 start, u64 end) in lock_extent() argument 98 return lock_extent_bits(tree, start, end, NULL); in lock_extent() 101 int try_lock_extent(struct extent_io_tree *tree, u64 start, u64 end); 111 int test_range_bit(struct extent_io_tree *tree, u64 start, u64 end, 114 int clear_record_extent_bits(struct extent_io_tree *tree, u64 start, u64 end, 116 int clear_extent_bit(struct extent_io_tree *tree, u64 start, u64 end, 119 int __clear_extent_bit(struct extent_io_tree *tree, u64 start, u64 end, 124 static inline int unlock_extent(struct extent_io_tree *tree, u64 start, u64 end) in unlock_extent() argument [all …]
|
| /kernel/linux/linux-4.19/Documentation/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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() 51 "stuck in a loop, start %llu, end %llu, nr_pages %lu, ret %d\n", 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() 123 test_err("expected start 0 end %u, got start %llu end %llu", in test_find_delalloc() 124 sectorsize - 1, start, end); in test_find_delalloc() [all …]
|
| /kernel/linux/linux-4.19/arch/mips/pci/ |
| D | pci-malta.c | 43 .end = 0x000fffffUL, 93 resource_size_t start, end, map, start1, end1, map1, map2, map3, mask; in mips_pcibios_init() local 116 end = GT_READ(GT_PCI0M0HD_OFS); in mips_pcibios_init() 118 end = (end & GT_PCI_HD_MSK) | (start & ~GT_PCI_HD_MSK); in mips_pcibios_init() 124 if (end1 - start1 > end - start) { in mips_pcibios_init() 126 end = end1; in mips_pcibios_init() 129 mask = ~(start ^ end); in mips_pcibios_init() 134 gt64120_mem_resource.end = end; in mips_pcibios_init() 138 gt64120_mem_resource.end <<= GT_PCI_DCRM_SHF; in mips_pcibios_init() 139 gt64120_mem_resource.end |= (1 << GT_PCI_DCRM_SHF) - 1; in mips_pcibios_init() [all …]
|
| /kernel/linux/linux-4.19/arch/microblaze/kernel/cpu/ |
| D | cache.c | 89 * End address can be unaligned which is OK for C implementation. 92 #define CACHE_LOOP_LIMITS(start, end, cache_line_length, cache_size) \ argument 96 end = min(start + cache_size, end); \ 121 * end address is not aligned, if end is aligned then I have to subtract 125 #define CACHE_RANGE_LOOP_2(start, end, line_length, op) \ argument 130 end = ((end & align) == end) ? end - line_length : end & align; \ 131 count = end - start; \ 142 #define CACHE_RANGE_LOOP_1(start, end, line_length, op) \ argument 146 end = ((end & align) == end) ? end - line_length : end & align; \ 147 WARN_ON(end < start); \ [all …]
|
| /kernel/linux/linux-5.10/arch/microblaze/kernel/cpu/ |
| D | cache.c | 89 * End address can be unaligned which is OK for C implementation. 92 #define CACHE_LOOP_LIMITS(start, end, cache_line_length, cache_size) \ argument 96 end = min(start + cache_size, end); \ 121 * end address is not aligned, if end is aligned then I have to subtract 125 #define CACHE_RANGE_LOOP_2(start, end, line_length, op) \ argument 130 end = ((end & align) == end) ? end - line_length : end & align; \ 131 count = end - start; \ 142 #define CACHE_RANGE_LOOP_1(start, end, line_length, op) \ argument 146 end = ((end & align) == end) ? end - line_length : end & align; \ 147 WARN_ON(end < start); \ [all …]
|
| /kernel/linux/linux-4.19/fs/ceph/ |
| D | mdsmap.c | 46 #define __decode_and_drop_type(p, end, type, bad) \ argument 48 if (*p + sizeof(type) > end) \ 53 #define __decode_and_drop_set(p, end, type, bad) \ argument 57 ceph_decode_32_safe(p, end, n, bad); \ 59 ceph_decode_need(p, end, need, bad); \ 63 #define __decode_and_drop_map(p, end, ktype, vtype, bad) \ argument 67 ceph_decode_32_safe(p, end, n, bad); \ 69 ceph_decode_need(p, end, need, bad); \ 74 static int __decode_and_drop_compat_set(void **p, void* end) in __decode_and_drop_compat_set() argument 80 ceph_decode_need(p, end, sizeof(u64) + sizeof(u32), bad); in __decode_and_drop_compat_set() [all …]
|
| /kernel/linux/linux-5.10/fs/ceph/ |
| D | mdsmap.c | 57 #define __decode_and_drop_type(p, end, type, bad) \ argument 59 if (*p + sizeof(type) > end) \ 64 #define __decode_and_drop_set(p, end, type, bad) \ argument 68 ceph_decode_32_safe(p, end, n, bad); \ 70 ceph_decode_need(p, end, need, bad); \ 74 #define __decode_and_drop_map(p, end, ktype, vtype, bad) \ argument 78 ceph_decode_32_safe(p, end, n, bad); \ 80 ceph_decode_need(p, end, need, bad); \ 85 static int __decode_and_drop_compat_set(void **p, void* end) in __decode_and_drop_compat_set() argument 91 ceph_decode_need(p, end, sizeof(u64) + sizeof(u32), bad); in __decode_and_drop_compat_set() [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-4.19/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 …]
|
| /kernel/linux/linux-4.19/mm/ |
| D | pagewalk.c | 7 static int walk_pte_range(pmd_t *pmd, unsigned long addr, unsigned long end, in walk_pte_range() argument 18 if (addr >= end - PAGE_SIZE) in walk_pte_range() 28 static int walk_pmd_range(pud_t *pud, unsigned long addr, unsigned long end, in walk_pmd_range() argument 38 next = pmd_addr_end(addr, end); in walk_pmd_range() 68 } while (pmd++, addr = next, addr != end); in walk_pmd_range() 73 static int walk_pud_range(p4d_t *p4d, unsigned long addr, unsigned long end, in walk_pud_range() argument 83 next = pud_addr_end(addr, end); in walk_pud_range() 112 } while (pud++, addr = next, addr != end); in walk_pud_range() 117 static int walk_p4d_range(pgd_t *pgd, unsigned long addr, unsigned long end, in walk_p4d_range() argument 126 next = p4d_addr_end(addr, end); in walk_p4d_range() [all …]
|
| /kernel/linux/linux-4.19/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() 59 u64 max_end = data->end, child_max_end; in compute_subtree_max_end() 77 u64 start, u64 end) in RB_DECLARE_CALLBACKS() 88 } else if (is_node_overlap(data, start, end)) { in RB_DECLARE_CALLBACKS() 107 u64 start, u64 end, int match_type) in memtype_rb_match() argument 111 match = memtype_rb_lowest_match(root, start, end); in memtype_rb_match() 112 while (match != NULL && match->start < end) { in memtype_rb_match() 116 (match->start == start) && (match->end == end)) in memtype_rb_match() 120 (match->start < start) && (match->end == end)) in memtype_rb_match() [all …]
|