Home
last modified time | relevance | path

Searched full:start (Results 1 – 25 of 7144) sorted by relevance

12345678910>>...286

/kernel/linux/linux-5.10/kernel/
Drange.c12 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()
37 /* get new start/end: */ in add_range_with_merge()
44 common_start = max(range[i].start, start); in add_range_with_merge()
49 /* new start/end, will add it back at last */ 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()
[all …]
Dresource.c32 .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/mips/pci/
Dpci-malta.c30 .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/drivers/usb/core/
Ddevices.c142 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()
185 return start; in usb_dump_endpoint_descriptor()
196 start += sprintf(start, format_endpt, desc->bEndpointAddress, dir, in usb_dump_endpoint_descriptor()
201 return start; in usb_dump_endpoint_descriptor()
204 static char *usb_dump_interface_descriptor(char *start, char *end, in usb_dump_interface_descriptor() argument
213 if (start > end) in usb_dump_interface_descriptor()
214 return start; in usb_dump_interface_descriptor()
222 start += sprintf(start, format_iface, in usb_dump_interface_descriptor()
[all …]
/kernel/linux/linux-5.10/fs/btrfs/
Dextent-io-tree.h69 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 …]
Dextent_map.c87 static u64 range_end(u64 start, u64 len) in range_end() argument
89 if (start + len < start) in range_end()
91 return start + len; in range_end()
100 u64 end = range_end(em->start, em->len); in tree_insert()
107 if (em->start < entry->start) { in tree_insert()
109 } else if (em->start >= extent_map_end(entry)) { in tree_insert()
118 while (parent && em->start >= extent_map_end(entry)) { in tree_insert()
123 if (end > entry->start && em->start < extent_map_end(entry)) in tree_insert()
128 while (parent && em->start < entry->start) { in tree_insert()
133 if (end > entry->start && em->start < extent_map_end(entry)) in tree_insert()
[all …]
/kernel/linux/linux-5.10/arch/nds32/mm/
Dproc.c175 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/tools/perf/util/
Dblock-range.c25 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()
76 * @start: branch target starting this basic block
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()
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()
[all …]
/kernel/linux/linux-5.10/drivers/nvdimm/
Dbadrange.c30 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()
111 * [start, clr_end] is the badrange interval being cleared. in badrange_forget()
112 * [bre->start, bre_end] is the badrange_list entry we're comparing in badrange_forget()
114 * to be modified (update either start or length), deleted, or 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()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/
Dregs-fimc.h24 /* Y 1st frame start address for output DMA */
26 /* Y 2nd frame start address for output DMA */
28 /* Y 3rd frame start address for output DMA */
30 /* Y 4th frame start address for output DMA */
32 /* Cb 1st frame start address for output DMA */
34 /* Cb 2nd frame start address for output DMA */
36 /* Cb 3rd frame start address for output DMA */
38 /* Cb 4th frame start address for output DMA */
40 /* Cr 1st frame start address for output DMA */
42 /* Cr 2nd frame start address for output DMA */
[all …]
/kernel/linux/linux-5.10/arch/nios2/mm/
Dcacheflush.c18 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/arch/arm/mach-omap1/
Dmcbsp.c97 .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/arch/arm/mm/
Dcache-feroceon-l2.c33 * Cache range operations are initiated by writing the start and
36 * [start:end].
73 static inline void l2_clean_pa_range(unsigned long start, unsigned long end) in l2_clean_pa_range() argument
78 * Make sure 'start' and 'end' reference the same page, as in l2_clean_pa_range()
80 * the start address. in l2_clean_pa_range()
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
109 * Make sure 'start' and 'end' reference the same page, as in l2_inv_pa_range()
[all …]
Dcache-v4.S47 * flush_user_cache_range(start, end, flags)
52 * - start - start address (may not be aligned)
66 * coherent_kern_range(start, end)
69 * region described by start. If you have non-snooping
72 * - start - virtual start address
79 * coherent_user_range(start, end)
82 * region described by start. If you have non-snooping
85 * - start - virtual start address
105 * dma_flush_range(start, end)
109 * - start - virtual start address
[all …]
/kernel/linux/linux-5.10/fs/btrfs/tests/
Dextent-io-tests.c19 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()
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
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()
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 …]
Dinode-tests.c15 static void insert_extent(struct btrfs_root *root, u64 start, u64 len, in insert_extent() argument
34 key.offset = start; in insert_extent()
293 if (em->start != 0 || em->len != 5) { in test_btrfs_get_extent()
295 "unexpected extent wanted start 0 len 5, got start %llu len %llu", in test_btrfs_get_extent()
296 em->start, em->len); in test_btrfs_get_extent()
303 offset = em->start + em->len; in test_btrfs_get_extent()
316 if (em->start != offset || em->len != (sectorsize - 5)) { in test_btrfs_get_extent()
318 "unexpected extent wanted start %llu len 1, got start %llu len %llu", in test_btrfs_get_extent()
319 offset, em->start, em->len); in test_btrfs_get_extent()
331 offset = em->start + em->len; in test_btrfs_get_extent()
[all …]
/kernel/linux/linux-5.10/arch/hexagon/mm/
Dcache.c12 #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/mm/
Dmsync.c21 * MS_ASYNC does not start I/O (it used to, up to 2.5.67).
27 * Or the application may run fadvise(FADV_DONTNEED) against the fd to start
32 SYSCALL_DEFINE3(msync, unsigned long, start, size_t, len, int, flags) in SYSCALL_DEFINE3() argument
40 start = untagged_addr(start); in SYSCALL_DEFINE3()
44 if (offset_in_page(start)) in SYSCALL_DEFINE3()
50 end = start + len; in SYSCALL_DEFINE3()
51 if (end < start) in SYSCALL_DEFINE3()
54 if (end == start) in SYSCALL_DEFINE3()
57 * If the interval [start,end) covers some unmapped address ranges, in SYSCALL_DEFINE3()
61 vma = find_vma(mm, start); in SYSCALL_DEFINE3()
[all …]
/kernel/linux/linux-5.10/arch/x86/kernel/
Dprobe_roms.c27 .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/powerpc/lib/
Dpmem.c12 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 …]
/kernel/linux/linux-5.10/arch/mips/bcm63xx/
Ddev-enet.c48 .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/drivers/infiniband/hw/usnic/
Dusnic_uiom_interval_tree.c42 #define START(node) ((node)->start) macro
45 #define MAKE_NODE(node, start, end, ref_cnt, flags, err, err_out) \ argument
47 node = usnic_uiom_interval_node_alloc(start, \
57 #define MAKE_NODE_AND_APPEND(node, start, end, ref_cnt, flags, err, \ argument
60 MAKE_NODE(node, start, end, \
70 usnic_uiom_interval_node_alloc(long int start, long int last, int ref_cnt, in usnic_uiom_interval_node_alloc() argument
78 interval->start = start; in usnic_uiom_interval_node_alloc()
95 if (node_a->start < node_b->start) in interval_cmp()
97 else if (node_a->start > node_b->start) in interval_cmp()
105 unsigned long start, unsigned long last, in find_intervals_intersection_sorted() argument
[all …]
/kernel/linux/linux-5.10/tools/testing/nvdimm/test/
Diomap.c72 - nfit_res->res.start; in __nfit_test_ioremap()
83 - nfit_res->res.start; in __wrap_devm_ioremap()
94 return nfit_res->buf + offset - nfit_res->res.start; in __wrap_devm_memremap()
129 resource_size_t offset = pgmap->range.start; in __wrap_devm_memremap_pages()
155 return nfit_res->buf + offset - nfit_res->res.start; in __wrap_devm_memremap_pages()
175 return nfit_res->buf + offset - nfit_res->res.start; in __wrap_memremap()
222 struct resource *parent, resource_size_t start,
229 WARN_ON(!nfit_test_release_region(NULL, &iomem_resource, res->start, in nfit_devres_release()
236 resource_size_t start = *((resource_size_t *) match_data); in match() local
238 return res->start == start; in match()
[all …]
/kernel/linux/linux-5.10/arch/microblaze/kernel/cpu/
Dcache.c92 #define CACHE_LOOP_LIMITS(start, end, cache_line_length, cache_size) \ argument
95 if (start < UINT_MAX - cache_size) \
96 end = min(start + cache_size, end); \
97 start &= align; \
120 * start address is cache aligned
125 #define CACHE_RANGE_LOOP_2(start, end, line_length, op) \ argument
131 count = end - start; \
137 : : "r" (start), "r" (count), \
142 #define CACHE_RANGE_LOOP_1(start, end, line_length, op) \ argument
147 WARN_ON(end < start); \
[all …]
/kernel/linux/linux-5.10/arch/s390/mm/
Dvmem.c92 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 …]

12345678910>>...286