/linux-6.1.9/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() 41 if (!range[i].end) in add_range_with_merge() 45 common_end = min(range[i].end, end); in add_range_with_merge() 51 end = max(range[i].end, end); in add_range_with_merge() 56 range[nr_range - 1].end = 0; in add_range_with_merge() 62 return add_range(range, az, nr_range, start, end); in add_range_with_merge() [all …]
|
D | resource.c | 36 .end = IO_SPACE_LIMIT, 44 .end = -1, 112 unsigned long long start, end; in r_show() local 113 int width = root->end < 0x10000 ? 4 : 8; in r_show() 122 end = r->end; in r_show() 124 start = end = 0; in r_show() 130 width, end, in r_show() 174 resource_size_t end = new->end; in __request_resource() local 177 if (end < start) in __request_resource() 181 if (end > root->end) in __request_resource() [all …]
|
/linux-6.1.9/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-6.1.9/drivers/net/dsa/sja1105/ |
D | sja1105_ethtool.c | 85 int end; member 96 .end = 24, 103 .end = 16, 110 .end = 8, 117 .end = 0, 125 .end = 27, 132 .end = 26, 139 .end = 25, 146 .end = 24, 153 .end = 23, [all …]
|
/linux-6.1.9/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-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_ste_v2.c | 41 .hw_field = DR_STE_V2_ACTION_MDFY_FLD_SRC_L2_OUT_0, .start = 0, .end = 31, 44 .hw_field = DR_STE_V2_ACTION_MDFY_FLD_SRC_L2_OUT_1, .start = 16, .end = 31, 47 .hw_field = DR_STE_V2_ACTION_MDFY_FLD_L2_OUT_1, .start = 0, .end = 15, 50 .hw_field = DR_STE_V2_ACTION_MDFY_FLD_L2_OUT_0, .start = 0, .end = 31, 53 .hw_field = DR_STE_V2_ACTION_MDFY_FLD_L2_OUT_1, .start = 16, .end = 31, 56 .hw_field = DR_STE_V2_ACTION_MDFY_FLD_L3_OUT_0, .start = 18, .end = 23, 59 .hw_field = DR_STE_V2_ACTION_MDFY_FLD_L4_OUT_1, .start = 16, .end = 24, 63 .hw_field = DR_STE_V2_ACTION_MDFY_FLD_L4_OUT_0, .start = 16, .end = 31, 67 .hw_field = DR_STE_V2_ACTION_MDFY_FLD_L4_OUT_0, .start = 0, .end = 15, 71 .hw_field = DR_STE_V2_ACTION_MDFY_FLD_L3_OUT_0, .start = 8, .end = 15, [all …]
|
/linux-6.1.9/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 …]
|
/linux-6.1.9/arch/microblaze/kernel/cpu/ |
D | cache.c | 92 #define CACHE_LOOP_LIMITS(start, end, cache_line_length, cache_size) \ argument 96 end = min(start + cache_size, end); \ 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); \ 153 : : "r" (temp), "r" (start), "r" (end), \ 159 static void __flush_icache_range_msr_irq(unsigned long start, unsigned long end) in __flush_icache_range_msr_irq() argument [all …]
|
/linux-6.1.9/fs/btrfs/ |
D | extent-io-tree.h | 88 u64 end; /* inclusive */ member 106 int lock_extent(struct extent_io_tree *tree, u64 start, u64 end, 109 int try_lock_extent(struct extent_io_tree *tree, u64 start, u64 end); 119 int test_range_bit(struct extent_io_tree *tree, u64 start, u64 end, 121 int clear_record_extent_bits(struct extent_io_tree *tree, u64 start, u64 end, 123 int __clear_extent_bit(struct extent_io_tree *tree, u64 start, u64 end, 128 u64 end, u32 bits, in clear_extent_bit() argument 131 return __clear_extent_bit(tree, start, end, bits, cached, in clear_extent_bit() 135 static inline int unlock_extent(struct extent_io_tree *tree, u64 start, u64 end, in unlock_extent() argument 138 return __clear_extent_bit(tree, start, end, EXTENT_LOCKED, cached, in unlock_extent() [all …]
|
D | extent-io-tree.c | 46 state->start, state->end, state->state, in btrfs_extent_state_leak_debug_check() 54 #define btrfs_debug_check_extent_io_range(tree, start, end) \ argument 55 __btrfs_debug_check_extent_io_range(__func__, (tree), (start), (end)) 58 u64 start, u64 end) in __btrfs_debug_check_extent_io_range() argument 67 if (end >= PAGE_SIZE && (end % 2) == 0 && end != isize - 1) { in __btrfs_debug_check_extent_io_range() 70 caller, btrfs_ino(BTRFS_I(inode)), isize, start, end); in __btrfs_debug_check_extent_io_range() 91 u64 end; member 190 changeset->bytes_changed += state->end - state->start + 1; in add_extent_changeset() 191 ret = ulist_add(&changeset->range_changed, state->start, state->end, in add_extent_changeset() 249 else if (offset > entry->end) in tree_search_for_insert() [all …]
|
/linux-6.1.9/lib/ |
D | vsprintf.c | 454 char *number(char *buf, char *end, unsigned long long num, in number() argument 518 if (buf < end) in number() 525 if (buf < end) in number() 532 if (buf < end) in number() 537 if (buf < end) in number() 547 if (buf < end) in number() 554 if (buf < end) in number() 560 if (buf < end) in number() 566 if (buf < end) in number() 575 char *special_hex_number(char *buf, char *end, unsigned long long num, int size) in special_hex_number() argument [all …]
|
/linux-6.1.9/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-6.1.9/arch/nios2/mm/ |
D | cacheflush.c | 19 static void __flush_dcache(unsigned long start, unsigned long end) in __flush_dcache() argument 24 end += (cpuinfo.dcache_line_size - 1); in __flush_dcache() 25 end &= ~(cpuinfo.dcache_line_size - 1); in __flush_dcache() 27 if (end > start + cpuinfo.dcache_size) in __flush_dcache() 28 end = start + cpuinfo.dcache_size; in __flush_dcache() 30 for (addr = start; addr < end; addr += cpuinfo.dcache_line_size) { in __flush_dcache() 38 static void __invalidate_dcache(unsigned long start, unsigned long end) in __invalidate_dcache() argument 43 end += (cpuinfo.dcache_line_size - 1); in __invalidate_dcache() 44 end &= ~(cpuinfo.dcache_line_size - 1); in __invalidate_dcache() 46 for (addr = start; addr < end; addr += cpuinfo.dcache_line_size) { in __invalidate_dcache() [all …]
|
/linux-6.1.9/arch/arm/mach-pxa/ |
D | devices.c | 45 .end = IRQ_PMU, 59 .end = 0x41100fff, 64 .end = IRQ_MMC, 100 .end = 0x4060ffff, 105 .end = IRQ_USB, 138 .end = 0x54100fff, 143 .end = IRQ_USB2, 164 .end = 0x4400ffff, 169 .end = IRQ_LCD, 196 .end = 0x40100023, [all …]
|
/linux-6.1.9/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-6.1.9/fs/btrfs/tests/ |
D | extent-io-tests.c | 20 static noinline int process_page_range(struct inode *inode, u64 start, u64 end, in process_page_range() argument 26 unsigned long end_index = end >> PAGE_SHIFT; in process_page_range() 53 start, end, ret); in process_page_range() 103 state->end + 1 - state->start, flags_str); in dump_extent_io_tree() 118 u64 start, end, test_start; in test_find_delalloc() local 164 end = start + PAGE_SIZE - 1; in test_find_delalloc() 166 &end); in test_find_delalloc() 171 if (start != 0 || end != (sectorsize - 1)) { in test_find_delalloc() 173 sectorsize - 1, start, end); in test_find_delalloc() 176 unlock_extent(tmp, start, end, NULL); in test_find_delalloc() [all …]
|
/linux-6.1.9/arch/csky/mm/ |
D | cachev2.c | 24 void icache_inv_range(unsigned long start, unsigned long end) in icache_inv_range() argument 28 for (; i < end; i += L1_CACHE_BYTES) in icache_inv_range() 35 unsigned long end; member 54 for (; i < param->end; i += L1_CACHE_BYTES) in local_icache_inv_range() 62 void icache_inv_range(unsigned long start, unsigned long end) in icache_inv_range() argument 64 struct cache_range param = { start, end }; in icache_inv_range() 79 void dcache_wb_range(unsigned long start, unsigned long end) in dcache_wb_range() argument 83 for (; i < end; i += L1_CACHE_BYTES) in dcache_wb_range() 88 void cache_wbinv_range(unsigned long start, unsigned long end) in cache_wbinv_range() argument 90 dcache_wb_range(start, end); in cache_wbinv_range() [all …]
|
/linux-6.1.9/arch/arm/mm/ |
D | cache-feroceon-l2.c | 70 static inline void l2_clean_pa_range(unsigned long start, unsigned long end) in l2_clean_pa_range() argument 79 BUG_ON((start ^ end) >> PAGE_SHIFT); in l2_clean_pa_range() 82 va_end = va_start + (end - start); in l2_clean_pa_range() 101 static inline void l2_inv_pa_range(unsigned long start, unsigned long end) in l2_inv_pa_range() argument 110 BUG_ON((start ^ end) >> PAGE_SHIFT); in l2_inv_pa_range() 113 va_end = va_start + (end - start); in l2_inv_pa_range() 139 static unsigned long calc_range_end(unsigned long start, unsigned long end) in calc_range_end() argument 144 BUG_ON(end & (CACHE_LINE_SIZE - 1)); in calc_range_end() 149 range_end = end; in calc_range_end() 168 static void feroceon_l2_inv_range(unsigned long start, unsigned long end) in feroceon_l2_inv_range() argument [all …]
|
/linux-6.1.9/arch/x86/mm/ |
D | numa_emulation.c | 32 static u64 __init mem_hole_size(u64 start, u64 end) in mem_hole_size() argument 35 unsigned long end_pfn = PFN_DOWN(end); in mem_hole_size() 60 eb->end = pb->start + size; in emu_setup_memblk() 67 if (pb->start >= pb->end) { in emu_setup_memblk() 68 WARN_ON_ONCE(pb->start > pb->end); in emu_setup_memblk() 73 nid, eb->start, eb->end - 1, (eb->end - eb->start) >> 20); in emu_setup_memblk() 129 u64 start, limit, end; in split_nodes_interleave() local 138 limit = pi->blk[phys_blk].end; in split_nodes_interleave() 139 end = start + size; in split_nodes_interleave() 142 end += FAKE_NODE_MIN_SIZE; in split_nodes_interleave() [all …]
|
D | kasan_init_64.c | 39 unsigned long end, int nid) in kasan_populate_pmd() argument 47 ((end - addr) == PMD_SIZE) && in kasan_populate_pmd() 70 } while (pte++, addr += PAGE_SIZE, addr != end); in kasan_populate_pmd() 74 unsigned long end, int nid) in kasan_populate_pud() argument 83 ((end - addr) == PUD_SIZE) && in kasan_populate_pud() 97 next = pmd_addr_end(addr, end); in kasan_populate_pud() 100 } while (pmd++, addr = next, addr != end); in kasan_populate_pud() 104 unsigned long end, int nid) in kasan_populate_p4d() argument 117 next = pud_addr_end(addr, end); in kasan_populate_p4d() 120 } while (pud++, addr = next, addr != end); in kasan_populate_p4d() [all …]
|
/linux-6.1.9/arch/x86/mm/pat/ |
D | memtype_interval.c | 43 return entry->end - 1; in interval_end() 57 static struct memtype *memtype_match(u64 start, u64 end, int match_type) in memtype_match() argument 61 entry_match = interval_iter_first(&memtype_rbroot, start, end-1); in memtype_match() 63 while (entry_match != NULL && entry_match->start < end) { in memtype_match() 65 (entry_match->start == start) && (entry_match->end == end)) in memtype_match() 69 (entry_match->start < start) && (entry_match->end == end)) in memtype_match() 72 entry_match = interval_iter_next(entry_match, start, end-1); in memtype_match() 78 static int memtype_check_conflict(u64 start, u64 end, in memtype_check_conflict() argument 85 entry_match = interval_iter_first(&memtype_rbroot, start, end-1); in memtype_check_conflict() 92 dprintk("Overlap at 0x%Lx-0x%Lx\n", entry_match->start, entry_match->end); in memtype_check_conflict() [all …]
|
/linux-6.1.9/arch/arm/mach-davinci/ |
D | devices-da8xx.c | 153 .end = DA8XX_TPCC_BASE + SZ_32K - 1, 159 .end = DA8XX_TPTC0_BASE + SZ_1K - 1, 165 .end = DA8XX_TPTC1_BASE + SZ_1K - 1, 184 .end = DA850_TPCC1_BASE + SZ_32K - 1, 190 .end = DA850_TPTC2_BASE + SZ_1K - 1, 301 .end = DA8XX_I2C0_BASE + SZ_4K - 1, 306 .end = DAVINCI_INTC_IRQ(IRQ_DA8XX_I2CINT0), 321 .end = DA8XX_I2C1_BASE + SZ_4K - 1, 326 .end = DAVINCI_INTC_IRQ(IRQ_DA8XX_I2CINT1), 357 .end = DA8XX_WDOG_BASE + SZ_4K - 1, [all …]
|
/linux-6.1.9/net/ceph/ |
D | cls_lock_client.c | 36 void *p, *end; in ceph_cls_lock() local 57 end = p + lock_op_buf_size; in ceph_cls_lock() 62 ceph_encode_string(&p, end, lock_name, name_len); in ceph_cls_lock() 64 ceph_encode_string(&p, end, cookie, cookie_len); in ceph_cls_lock() 65 ceph_encode_string(&p, end, tag, tag_len); in ceph_cls_lock() 66 ceph_encode_string(&p, end, desc, desc_len); in ceph_cls_lock() 101 void *p, *end; in ceph_cls_unlock() local 116 end = p + unlock_op_buf_size; in ceph_cls_unlock() 121 ceph_encode_string(&p, end, lock_name, name_len); in ceph_cls_unlock() 122 ceph_encode_string(&p, end, cookie, cookie_len); in ceph_cls_unlock() [all …]
|
/linux-6.1.9/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_page_dirty.c | 65 unsigned long end; member 92 &dirty->start, &dirty->end); in vmw_bo_dirty_scan_pagetable() 106 &dirty->start, &dirty->end); in vmw_bo_dirty_scan_pagetable() 126 if (dirty->end <= dirty->start) in vmw_bo_dirty_scan_mkwrite() 131 dirty->end - dirty->start); in vmw_bo_dirty_scan_mkwrite() 142 pgoff_t end = dirty->bitmap_size; in vmw_bo_dirty_scan_mkwrite() local 145 clean_record_shared_mapping_range(mapping, offset, end, offset, in vmw_bo_dirty_scan_mkwrite() 147 &start, &end); in vmw_bo_dirty_scan_mkwrite() 149 if (dirty->start < dirty->end) in vmw_bo_dirty_scan_mkwrite() 151 dirty->end - dirty->start); in vmw_bo_dirty_scan_mkwrite() [all …]
|