Home
last modified time | relevance | path

Searched refs:start (Results 1 – 25 of 4707) sorted by relevance

12345678910>>...189

/linux-6.6.21/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 …]
/linux-6.6.21/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()
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 …]
/linux-6.6.21/include/trace/events/
Dosnoise.h11 TP_PROTO(struct task_struct *t, u64 start, u64 duration),
13 TP_ARGS(t, start, duration),
17 __field( u64, start )
25 __entry->start = start;
32 __print_ns_to_secs(__entry->start),
33 __print_ns_without_secs(__entry->start),
39 TP_PROTO(int vector, u64 start, u64 duration),
41 TP_ARGS(vector, start, duration),
44 __field( u64, start )
51 __entry->start = start;
[all …]
/linux-6.6.21/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()
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 …]
Dresource.c35 .start = 0,
43 .start = 0,
112 unsigned long long start, end; in r_show() local
121 start = r->start; in r_show()
124 start = end = 0; in r_show()
129 width, start, in r_show()
136 .start = r_start,
173 resource_size_t start = new->start; in __request_resource() local
177 if (end < start) in __request_resource()
179 if (start < root->start) in __request_resource()
[all …]
/linux-6.6.21/drivers/net/dsa/sja1105/
Dsja1105_ethtool.c84 int start; member
95 .start = 31,
102 .start = 23,
109 .start = 15,
116 .start = 7,
124 .start = 27,
131 .start = 26,
138 .start = 25,
145 .start = 24,
152 .start = 23,
[all …]
/linux-6.6.21/fs/btrfs/
Dextent-io-tree.c47 state->start, state->end, state->state, in btrfs_extent_state_leak_debug_check()
55 #define btrfs_debug_check_extent_io_range(tree, start, end) \ argument
56 __btrfs_debug_check_extent_io_range(__func__, (tree), (start), (end))
59 u64 start, u64 end) in __btrfs_debug_check_extent_io_range() argument
71 caller, btrfs_ino(inode), isize, start, end); in __btrfs_debug_check_extent_io_range()
91 u64 start; 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()
247 if (offset < entry->start) in tree_search_for_insert()
295 if (offset < entry->start) in tree_search_prev_next()
[all …]
Dextent_map.c77 static u64 range_end(u64 start, u64 len) in range_end() argument
79 if (start + len < start) in range_end()
81 return start + len; in range_end()
90 u64 end = range_end(em->start, em->len); in tree_insert()
97 if (em->start < entry->start) { in tree_insert()
99 } else if (em->start >= extent_map_end(entry)) { in tree_insert()
108 while (parent && em->start >= extent_map_end(entry)) { in tree_insert()
113 if (end > entry->start && em->start < extent_map_end(entry)) in tree_insert()
118 while (parent && em->start < entry->start) { in tree_insert()
123 if (end > entry->start && em->start < extent_map_end(entry)) in tree_insert()
[all …]
/linux-6.6.21/arch/arm/mm/
Dcache-feroceon-l2.c70 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()
81 va_start = l2_get_va(start); 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()
112 va_start = l2_get_va(start); 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
143 BUG_ON(start & (CACHE_LINE_SIZE - 1)); in calc_range_end()
[all …]
Dcache-xsc3l2.c86 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 …]
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_ste_v2.c41 .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.6.21/arch/nios2/mm/
Dcacheflush.c19 static void __flush_dcache(unsigned long start, unsigned long end) in __flush_dcache() argument
23 start &= ~(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
42 start &= ~(cpuinfo.dcache_line_size - 1); in __invalidate_dcache()
46 for (addr = start; addr < end; addr += cpuinfo.dcache_line_size) { in __invalidate_dcache()
54 static void __flush_icache(unsigned long start, unsigned long end) in __flush_icache() argument
58 start &= ~(cpuinfo.icache_line_size - 1); in __flush_icache()
[all …]
/linux-6.6.21/arch/x86/kernel/
Dprobe_roms.c28 .start = 0xf0000,
35 .start = 0xe0000,
42 .start = 0xc8000,
47 .start = 0,
52 .start = 0,
57 .start = 0,
62 .start = 0,
67 .start = 0,
74 .start = 0xc0000,
128 rom = isa_bus_to_virt(res->start); in find_oprom()
[all …]
/linux-6.6.21/arch/riscv/mm/
Dtlbflush.c38 static void local_flush_tlb_range_threshold_asid(unsigned long start, in local_flush_tlb_range_threshold_asid() argument
52 local_flush_tlb_page_asid(start, asid); in local_flush_tlb_range_threshold_asid()
53 start += stride; in local_flush_tlb_range_threshold_asid()
57 static inline void local_flush_tlb_range_asid(unsigned long start, in local_flush_tlb_range_asid() argument
61 local_flush_tlb_page_asid(start, asid); in local_flush_tlb_range_asid()
65 local_flush_tlb_range_threshold_asid(start, size, stride, asid); in local_flush_tlb_range_asid()
69 void local_flush_tlb_kernel_range(unsigned long start, unsigned long end) in local_flush_tlb_kernel_range() argument
71 local_flush_tlb_range_asid(start, end - start, PAGE_SIZE, FLUSH_TLB_NO_ASID); in local_flush_tlb_kernel_range()
89 unsigned long start; member
98 local_flush_tlb_range_asid(d->start, d->size, d->stride, d->asid); in __ipi_flush_tlb_range_asid()
[all …]
/linux-6.6.21/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 …]
/linux-6.6.21/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()
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 …]
/linux-6.6.21/arch/powerpc/lib/
Dpmem.c13 static inline void __clean_pmem_range(unsigned long start, unsigned long stop) in __clean_pmem_range() argument
17 void *addr = (void *)(start & ~(bytes - 1)); in __clean_pmem_range()
25 static inline void __flush_pmem_range(unsigned long start, unsigned long stop) in __flush_pmem_range() argument
29 void *addr = (void *)(start & ~(bytes - 1)); in __flush_pmem_range()
37 static inline void clean_pmem_range(unsigned long start, unsigned long stop) in clean_pmem_range() argument
40 return __clean_pmem_range(start, stop); in clean_pmem_range()
43 static inline void flush_pmem_range(unsigned long start, unsigned long stop) in flush_pmem_range() argument
46 return __flush_pmem_range(start, stop); in flush_pmem_range()
54 unsigned long start = (unsigned long) addr; in arch_wb_cache_pmem() local
55 clean_pmem_range(start, start + size); in arch_wb_cache_pmem()
[all …]
/linux-6.6.21/include/linux/
Dioport.h22 resource_size_t start; member
159 .start = (_start), \
200 resource_size_t start, resource_size_t end,
215 struct resource *lookup_resource(struct resource *root, resource_size_t start);
216 int adjust_resource(struct resource *res, resource_size_t start,
221 return res->end - res->start + 1; in resource_size()
238 return r1->start <= r2->start && r1->end >= r2->end; in resource_contains()
244 return r1->start <= r2->end && r1->end >= r2->start; in resource_overlaps()
252 r->start = max(r1->start, r2->start); in resource_intersection()
262 r->start = min(r1->start, r2->start); in resource_union()
[all …]
/linux-6.6.21/fs/btrfs/tests/
Dextent-map-tests.c29 em->start, em->len, em->block_start, in free_extent_map_tree()
60 u64 start = 0; in test_case_1() local
71 em->start = 0; in test_case_1()
92 em->start = SZ_16K; in test_case_1()
113 em->start = start; in test_case_1()
115 em->block_start = start; in test_case_1()
118 ret = btrfs_add_extent_mapping(fs_info, em_tree, &em, em->start, em->len); in test_case_1()
121 test_err("case1 [%llu %llu]: ret %d", start, start + len, ret); in test_case_1()
125 (em->start != 0 || extent_map_end(em) != SZ_16K || in test_case_1()
129 start, start + len, ret, em->start, em->len, in test_case_1()
[all …]
/linux-6.6.21/arch/arm/mach-omap1/
Dmcbsp.c95 .start = OMAP1510_MCBSP1_BASE,
101 .start = INT_McBSP1RX,
106 .start = INT_McBSP1TX,
111 .start = 9,
116 .start = 8,
122 .start = OMAP1510_MCBSP2_BASE,
128 .start = INT_1510_SPI_RX,
133 .start = INT_1510_SPI_TX,
138 .start = 17,
143 .start = 16,
[all …]
/linux-6.6.21/tools/perf/util/
Dblock-range.c21 assert(old < entry->start); in block_range__debug()
22 assert(entry->start <= entry->end); /* single instruction block; jump to a jump */ in block_range__debug()
39 if (addr < entry->start) in block_range__find()
77 struct block_range_iter block_range__create(u64 start, u64 end) in block_range__create() argument
88 if (start < entry->start) in block_range__create()
90 else if (start > entry->end) in block_range__create()
108 if (entry->end < start) { in block_range__create()
115 if (next->start <= end) { /* add head: [start...][n->start...] */ in block_range__create()
121 .start = start, in block_range__create()
122 .end = next->start - 1, in block_range__create()
[all …]
/linux-6.6.21/arch/x86/boot/compressed/
Dkaslr.c105 if (one->start + one->size <= two->start) in mem_overlaps()
108 if (one->start >= two->start + two->size) in mem_overlaps()
128 parse_memmap(char *p, u64 *start, u64 *size, enum parse_mode mode) in parse_memmap() argument
148 *start = memparse(p + 1, &p); in parse_memmap()
164 *start = memparse(p + 1, &p); in parse_memmap()
181 *start = 0; in parse_memmap()
197 u64 start, size; in mem_avoid_memmap() local
203 rc = parse_memmap(str, &start, &size, mode); in mem_avoid_memmap()
208 if (start == 0) { in mem_avoid_memmap()
216 mem_avoid[MEM_AVOID_MEMMAP_BEGIN + i].start = start; in mem_avoid_memmap()
[all …]
/linux-6.6.21/arch/csky/mm/
Dcachev2.c24 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 …]
/linux-6.6.21/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 …]
/linux-6.6.21/arch/riscv/kernel/
Dhibernate.c168 static int temp_pgtable_map_pte(pmd_t *dst_pmdp, pmd_t *src_pmdp, unsigned long start, in temp_pgtable_map_pte() argument
182 dst_ptep = pte_offset_kernel(dst_pmdp, start); in temp_pgtable_map_pte()
183 src_ptep = pte_offset_kernel(src_pmdp, start); in temp_pgtable_map_pte()
190 } while (dst_ptep++, src_ptep++, start += PAGE_SIZE, start < end); in temp_pgtable_map_pte()
195 static int temp_pgtable_map_pmd(pud_t *dst_pudp, pud_t *src_pudp, unsigned long start, in temp_pgtable_map_pmd() argument
211 dst_pmdp = pmd_offset(dst_pudp, start); in temp_pgtable_map_pmd()
212 src_pmdp = pmd_offset(src_pudp, start); in temp_pgtable_map_pmd()
217 next = pmd_addr_end(start, end); in temp_pgtable_map_pmd()
225 ret = temp_pgtable_map_pte(dst_pmdp, src_pmdp, start, next, prot); in temp_pgtable_map_pmd()
229 } while (dst_pmdp++, src_pmdp++, start = next, start != end); in temp_pgtable_map_pmd()
[all …]

12345678910>>...189