/kernel/linux/linux-5.10/drivers/usb/core/ |
D | devices.c | 142 static char *usb_dump_endpoint_descriptor(int speed, char *start, char *end, in usb_dump_endpoint_descriptor() argument 148 if (start > end) in usb_dump_endpoint_descriptor() 149 return start; in usb_dump_endpoint_descriptor() 172 return start; in usb_dump_endpoint_descriptor() 183 start += sprintf(start, format_endpt, desc->bEndpointAddress, dir, in usb_dump_endpoint_descriptor() 188 return start; in usb_dump_endpoint_descriptor() 191 static char *usb_dump_interface_descriptor(char *start, char *end, in usb_dump_interface_descriptor() argument 200 if (start > end) in usb_dump_interface_descriptor() 201 return start; in usb_dump_interface_descriptor() 209 start += sprintf(start, format_iface, in usb_dump_interface_descriptor() [all …]
|
/kernel/linux/linux-5.10/arch/mips/pci/ |
D | pci-malta.c | 30 .start = 0x00000000UL, 81 resource_size_t start, end, map, start1, end1, map1, map2, map3, mask; in mips_pcibios_init() local 103 start = GT_READ(GT_PCI0M0LD_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() 113 start = start1; in mips_pcibios_init() 117 mask = ~(start ^ end); in mips_pcibios_init() 119 BUG_ON((start & GT_PCI_HD_MSK) != (map & GT_PCI_HD_MSK) && in mips_pcibios_init() 121 gt64120_mem_resource.start = start; in mips_pcibios_init() 123 gt64120_controller.mem_offset = (start & mask) - (map & mask); in mips_pcibios_init() [all …]
|
/kernel/linux/linux-5.10/arch/nds32/mm/ |
D | proc.c | 175 void cpu_icache_inval_page(unsigned long start) in cpu_icache_inval_page() argument 180 end = start + PAGE_SIZE; in cpu_icache_inval_page() 191 } while (end != start); in cpu_icache_inval_page() 195 void cpu_dcache_inval_page(unsigned long start) in cpu_dcache_inval_page() argument 200 end = start + PAGE_SIZE; in cpu_dcache_inval_page() 211 } while (end != start); in cpu_dcache_inval_page() 214 void cpu_dcache_wb_page(unsigned long start) in cpu_dcache_wb_page() argument 220 end = start + PAGE_SIZE; in cpu_dcache_wb_page() 231 } while (end != start); in cpu_dcache_wb_page() 236 void cpu_dcache_wbinval_page(unsigned long start) in cpu_dcache_wbinval_page() argument [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() 21 range[nr_range].start = start; in add_range() 30 u64 start, u64 end) in add_range_with_merge() argument 34 if (start >= end) in add_range_with_merge() 44 common_start = max(range[i].start, start); in add_range_with_merge() 50 start = min(range[i].start, start); in add_range_with_merge() 55 range[nr_range - 1].start = 0; in add_range_with_merge() 62 return add_range(range, az, nr_range, start, end); in add_range_with_merge() 65 void subtract_range(struct range *range, int az, u64 start, u64 end) in subtract_range() argument [all …]
|
D | resource.c | 32 .start = 0, 40 .start = 0, 109 unsigned long long start, end; in r_show() local 118 start = r->start; in r_show() 121 start = end = 0; in r_show() 126 width, start, in r_show() 133 .start = r_start, 187 resource_size_t start = new->start; in __request_resource() local 191 if (end < start) in __request_resource() 193 if (start < root->start) in __request_resource() [all …]
|
/kernel/linux/linux-5.10/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() 84 va_start = l2_get_va(start); 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() 115 va_start = l2_get_va(start); 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 146 BUG_ON(start & (CACHE_LINE_SIZE - 1)); in calc_range_end() [all …]
|
D | cache-xsc3l2.c | 86 static void xsc3_l2_inv_range(unsigned long start, unsigned long end) in xsc3_l2_inv_range() argument 90 if (start == 0 && end == -1ul) { in xsc3_l2_inv_range() 100 if (start & (CACHE_LINE_SIZE - 1)) { in xsc3_l2_inv_range() 101 vaddr = l2_map_va(start & ~(CACHE_LINE_SIZE - 1), vaddr); in xsc3_l2_inv_range() 104 start = (start | (CACHE_LINE_SIZE - 1)) + 1; in xsc3_l2_inv_range() 110 while (start < (end & ~(CACHE_LINE_SIZE - 1))) { in xsc3_l2_inv_range() 111 vaddr = l2_map_va(start, vaddr); in xsc3_l2_inv_range() 113 start += CACHE_LINE_SIZE; in xsc3_l2_inv_range() 119 if (start < end) { in xsc3_l2_inv_range() 120 vaddr = l2_map_va(start, vaddr); in xsc3_l2_inv_range() [all …]
|
/kernel/linux/linux-5.10/arch/arm/mach-omap1/ |
D | mcbsp.c | 97 .start = OMAP7XX_MCBSP1_BASE, 103 .start = INT_7XX_McBSP1RX, 108 .start = INT_7XX_McBSP1TX, 113 .start = 9, 118 .start = 8, 124 .start = OMAP7XX_MCBSP2_BASE, 130 .start = INT_7XX_McBSP2RX, 135 .start = INT_7XX_McBSP2TX, 140 .start = 11, 145 .start = 10, [all …]
|
/kernel/linux/linux-5.10/fs/btrfs/ |
D | extent-io-tree.h | 69 u64 start; 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); 107 u64 *start, u64 search_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, [all …]
|
/kernel/linux/linux-5.10/arch/hexagon/mm/ |
D | cache.c | 12 #define spanlines(start, end) \ argument 13 (((end - (start & ~(LINESIZE - 1))) >> LINEBITS) + 1) 15 void flush_dcache_range(unsigned long start, unsigned long end) in flush_dcache_range() argument 17 unsigned long lines = spanlines(start, end-1); in flush_dcache_range() 20 start &= ~(LINESIZE - 1); in flush_dcache_range() 28 : "r" (start) in flush_dcache_range() 30 start += LINESIZE; in flush_dcache_range() 35 void flush_icache_range(unsigned long start, unsigned long end) in flush_icache_range() argument 37 unsigned long lines = spanlines(start, end-1); in flush_icache_range() 40 start &= ~(LINESIZE - 1); in flush_icache_range() [all …]
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | probe_roms.c | 27 .start = 0xf0000, 34 .start = 0xe0000, 41 .start = 0xc8000, 46 .start = 0, 51 .start = 0, 56 .start = 0, 61 .start = 0, 66 .start = 0, 73 .start = 0xc0000, 127 rom = isa_bus_to_virt(res->start); in find_oprom() [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 22 start &= ~(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 41 start &= ~(cpuinfo.dcache_line_size - 1); in __invalidate_dcache() 45 for (addr = start; addr < end; addr += cpuinfo.dcache_line_size) { in __invalidate_dcache() 53 static void __flush_icache(unsigned long start, unsigned long end) in __flush_icache() argument 57 start &= ~(cpuinfo.icache_line_size - 1); in __flush_icache() [all …]
|
/kernel/linux/linux-5.10/drivers/nvdimm/ |
D | badrange.c | 30 bre->start = addr; in append_badrange_entry() 69 if (bre->start == addr) { in add_badrange() 101 void badrange_forget(struct badrange *badrange, phys_addr_t start, in badrange_forget() argument 105 u64 clr_end = start + len - 1; in badrange_forget() 119 u64 bre_end = bre->start + bre->length - 1; in badrange_forget() 122 if (bre_end < start) in badrange_forget() 124 if (bre->start > clr_end) in badrange_forget() 127 if ((bre->start >= start) && (bre_end <= clr_end)) { in badrange_forget() 133 if ((start <= bre->start) && (clr_end > bre->start)) { in badrange_forget() 134 bre->length -= clr_end - bre->start + 1; in badrange_forget() [all …]
|
/kernel/linux/linux-5.10/arch/powerpc/lib/ |
D | pmem.c | 12 static inline void __clean_pmem_range(unsigned long start, unsigned long stop) in __clean_pmem_range() argument 16 void *addr = (void *)(start & ~(bytes - 1)); in __clean_pmem_range() 24 static inline void __flush_pmem_range(unsigned long start, unsigned long stop) in __flush_pmem_range() argument 28 void *addr = (void *)(start & ~(bytes - 1)); in __flush_pmem_range() 36 static inline void clean_pmem_range(unsigned long start, unsigned long stop) in clean_pmem_range() argument 39 return __clean_pmem_range(start, stop); in clean_pmem_range() 42 static inline void flush_pmem_range(unsigned long start, unsigned long stop) in flush_pmem_range() argument 45 return __flush_pmem_range(start, stop); in flush_pmem_range() 53 unsigned long start = (unsigned long) addr; in arch_wb_cache_pmem() local 54 clean_pmem_range(start, start + size); in arch_wb_cache_pmem() [all …]
|
D | rheap.c | 138 blk->start = 0; in get_slot() 163 s = blkn->start; in attach_free_block() 175 bs = blk->start; in attach_free_block() 193 if (before && s != (before->start + before->size)) in attach_free_block() 196 if (after && e != after->start) in attach_free_block() 221 after->start -= size; in attach_free_block() 240 if (blk->start > blkn->start) { in attach_taken_block() 329 int rh_attach_region(rh_info_t * info, unsigned long start, int size) in rh_attach_region() argument 336 s = start; in rh_attach_region() 350 start = s; in rh_attach_region() [all …]
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | block-range.c | 25 assert(old < entry->start); in block_range__debug() 26 assert(entry->start <= entry->end); /* single instruction block; jump to a jump */ in block_range__debug() 43 if (addr < entry->start) in block_range__find() 81 struct block_range_iter block_range__create(u64 start, u64 end) in block_range__create() argument 92 if (start < entry->start) in block_range__create() 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() 125 .start = start, in block_range__create() 126 .end = next->start - 1, in block_range__create() [all …]
|
/kernel/linux/linux-5.10/arch/csky/mm/ |
D | cachev2.c | 24 void icache_inv_range(unsigned long start, unsigned long end) in icache_inv_range() argument 26 unsigned long i = start & ~(L1_CACHE_BYTES - 1); in icache_inv_range() 34 unsigned long start; member 49 unsigned long i = param->start & ~(L1_CACHE_BYTES - 1); 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() 73 inline void dcache_wb_line(unsigned long start) in dcache_wb_line() argument 75 asm volatile("dcache.cval1 %0\n"::"r"(start):"memory"); in dcache_wb_line() 79 void dcache_wb_range(unsigned long start, unsigned long end) in dcache_wb_range() argument 81 unsigned long i = start & ~(L1_CACHE_BYTES - 1); in dcache_wb_range() [all …]
|
/kernel/linux/linux-5.10/arch/c6x/platforms/ |
D | cache.c | 129 static void cache_block_operation(unsigned int *start, in cache_block_operation() argument 137 - L2_CACHE_ALIGN_LOW((unsigned int) start)) >> 2; in cache_block_operation() 140 for (; wcnt; wcnt -= wc, start += wc) { in cache_block_operation() 157 imcr_set(bar_reg, L2_CACHE_ALIGN_LOW((unsigned int) start)); in cache_block_operation() 174 static void cache_block_operation_nowait(unsigned int *start, in cache_block_operation_nowait() argument 182 - L2_CACHE_ALIGN_LOW((unsigned int) start)) >> 2; in cache_block_operation_nowait() 185 for (; wcnt; wcnt -= wc, start += wc) { in cache_block_operation_nowait() 189 imcr_set(bar_reg, L2_CACHE_ALIGN_LOW((unsigned int) start)); in cache_block_operation_nowait() 322 void enable_caching(unsigned long start, unsigned long end) in enable_caching() argument 324 unsigned int mar = IMCR_MAR_BASE + ((start >> 24) << 2); in enable_caching() [all …]
|
/kernel/linux/linux-5.10/arch/x86/boot/compressed/ |
D | kaslr.c | 109 if (one->start + one->size <= two->start) in mem_overlaps() 112 if (one->start >= two->start + two->size) in mem_overlaps() 132 parse_memmap(char *p, u64 *start, u64 *size, enum parse_mode mode) in parse_memmap() argument 152 *start = memparse(p + 1, &p); in parse_memmap() 168 *start = memparse(p + 1, &p); in parse_memmap() 185 *start = 0; in parse_memmap() 201 u64 start, size; in mem_avoid_memmap() local 207 rc = parse_memmap(str, &start, &size, mode); in mem_avoid_memmap() 212 if (start == 0) { in mem_avoid_memmap() 220 mem_avoid[MEM_AVOID_MEMMAP_BEGIN + i].start = start; in mem_avoid_memmap() [all …]
|
/kernel/linux/linux-5.10/arch/mips/bcm63xx/ |
D | dev-enet.c | 48 .start = -1, /* filled at runtime */ 53 .start = -1, /* filled at runtime */ 58 .start = -1, /* filled at runtime */ 77 .start = -1, /* filled at runtime */ 82 .start = -1, /* filled at runtime */ 86 .start = -1, /* filled at runtime */ 90 .start = -1, /* filled at runtime */ 111 .start = -1, /* filled at runtime */ 116 .start = -1, /* filled at runtime */ 120 .start = -1, /* filled at runtime */ [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 24 unsigned long index = start >> 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 114 start = 0; in test_find_delalloc() 116 found = find_lock_delalloc_range(inode, locked_page, &start, 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() 145 start = test_start; in test_find_delalloc() [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | ioport.h | 21 resource_size_t start; member 155 .start = (_start), \ 191 resource_size_t start, resource_size_t end, 206 struct resource *lookup_resource(struct resource *root, resource_size_t start); 207 int adjust_resource(struct resource *res, resource_size_t start, 212 return res->end - res->start + 1; in resource_size() 229 return r1->start <= r2->start && r1->end >= r2->end; in resource_contains() 234 #define request_region(start,n,name) __request_region(&ioport_resource, (start), (n), (name), 0) argument 235 #define request_muxed_region(start,n,name) __request_region(&ioport_resource, (start), (n), (name),… argument 236 #define __request_mem_region(start,n,name, excl) __request_region(&iomem_resource, (start), (n), (n… argument [all …]
|
/kernel/linux/linux-5.10/arch/arm/mach-pxa/ |
D | devices.c | 41 .start = IRQ_PMU, 55 .start = 0x41100000, 60 .start = IRQ_MMC, 96 .start = 0x40600000, 101 .start = IRQ_USB, 134 .start = 0x54100000, 139 .start = IRQ_USB2, 160 .start = 0x44000000, 165 .start = IRQ_LCD, 192 .start = 0x40100000, [all …]
|
/kernel/linux/linux-5.10/arch/powerpc/mm/ |
D | init_64.c | 96 struct page *start; in vmemmap_populated() local 98 start = vmemmap_subsection_start(vmemmap_addr); in vmemmap_populated() 100 for (; (unsigned long)start < vmemmap_end; start += PAGES_PER_SUBSECTION) in vmemmap_populated() 106 if (pfn_valid(page_to_pfn(start))) in vmemmap_populated() 166 unsigned long start, in vmemmap_list_populate() argument 178 vmem_back->virt_addr = start; in vmemmap_list_populate() 185 static bool altmap_cross_boundary(struct vmem_altmap *altmap, unsigned long start, in altmap_cross_boundary() argument 189 unsigned long start_pfn = page_to_pfn((struct page *)start); in altmap_cross_boundary() 200 int __meminit vmemmap_populate(unsigned long start, unsigned long end, int node, in vmemmap_populate() argument 207 start = ALIGN_DOWN(start, page_size); in vmemmap_populate() [all …]
|
/kernel/linux/linux-5.10/arch/s390/mm/ |
D | vmem.c | 92 static void __vmemmap_use_sub_pmd(unsigned long start, unsigned long end) in __vmemmap_use_sub_pmd() argument 100 memset(__va(start), 0, sizeof(struct page)); in __vmemmap_use_sub_pmd() 103 static void vmemmap_use_sub_pmd(unsigned long start, unsigned long end) in vmemmap_use_sub_pmd() argument 109 if (unused_pmd_start == start) { in vmemmap_use_sub_pmd() 116 __vmemmap_use_sub_pmd(start, end); in vmemmap_use_sub_pmd() 119 static void vmemmap_use_new_sub_pmd(unsigned long start, unsigned long end) in vmemmap_use_new_sub_pmd() argument 121 void *page = __va(ALIGN_DOWN(start, PMD_SIZE)); in vmemmap_use_new_sub_pmd() 126 __vmemmap_use_sub_pmd(start, end); in vmemmap_use_new_sub_pmd() 129 if (!IS_ALIGNED(start, PMD_SIZE)) in vmemmap_use_new_sub_pmd() 130 memset(page, PAGE_UNUSED, start - __pa(page)); in vmemmap_use_new_sub_pmd() [all …]
|