Home
last modified time | relevance | path

Searched refs:end (Results 1 – 25 of 3492) sorted by relevance

12345678910>>...140

/Linux-v6.6/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()
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 …]
Dresource.c36 .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-v6.6/include/linux/ceph/
Ddecode.h52 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-v6.6/drivers/net/dsa/sja1105/
Dsja1105_ethtool.c85 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-v6.6/arch/mips/pci/
Dpci-malta.c31 .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-v6.6/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-v6.6/fs/ceph/
Dmdsmap.c57 #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-v6.6/arch/microblaze/kernel/cpu/
Dcache.c92 #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-v6.6/lib/
Dvsprintf.c456 char *number(char *buf, char *end, unsigned long long num, in number() argument
520 if (buf < end) in number()
527 if (buf < end) in number()
534 if (buf < end) in number()
539 if (buf < end) in number()
549 if (buf < end) in number()
556 if (buf < end) in number()
562 if (buf < end) in number()
568 if (buf < end) in number()
577 char *special_hex_number(char *buf, char *end, unsigned long long num, int size) in special_hex_number() argument
[all …]
/Linux-v6.6/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
68 if (end >= PAGE_SIZE && (end % 2) == 0 && end != isize - 1) { in __btrfs_debug_check_extent_io_range()
71 caller, btrfs_ino(inode), isize, start, end); in __btrfs_debug_check_extent_io_range()
92 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-v6.6/tools/perf/util/
Dblock-range.c22 assert(entry->start <= entry->end); /* single instruction block; jump to a jump */ in block_range__debug()
24 old = entry->end; in block_range__debug()
41 else if (addr > entry->end) in block_range__find()
77 struct block_range_iter block_range__create(u64 start, u64 end) in block_range__create() argument
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()
122 .end = next->start - 1, in block_range__create()
145 .end = end, in block_range__create()
155 iter.end = entry; in block_range__create()
[all …]
Dtime-utils.c21 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-v6.6/drivers/firmware/efi/
Dunaccepted_memory.c14 unsigned long end; member
31 void accept_memory(phys_addr_t start, phys_addr_t end) in accept_memory() argument
51 if (end < unaccepted->phys_base) in accept_memory()
56 end -= unaccepted->phys_base; in accept_memory()
83 if (!(end % unit_size)) in accept_memory()
84 end += unit_size; in accept_memory()
87 if (end > unaccepted->size * unit_size * BITS_PER_BYTE) in accept_memory()
88 end = unaccepted->size * unit_size * BITS_PER_BYTE; in accept_memory()
91 range.end = DIV_ROUND_UP(end, unit_size); in accept_memory()
103 if (entry->end < range.start) in accept_memory()
[all …]
/Linux-v6.6/arch/arm/mach-pxa/
Ddevices.c39 .end = IRQ_PMU,
53 .end = 0x41100fff,
58 .end = IRQ_MMC,
88 .end = 0x4060ffff,
93 .end = IRQ_USB,
125 .end = 0x4400ffff,
130 .end = IRQ_LCD,
157 .end = 0x40100023,
161 .end = IRQ_FFUART,
181 .end = 0x40200023,
[all …]
/Linux-v6.6/tools/workqueue/
Dwq_dump.py103 print(' pod_cpus', end='')
105 print(f' [{pod}]={cpumask_str(pt.pod_cpus[pod])}', end='')
108 print(' pod_node', end='')
110 print(f' [{pod}]={pt.pod_node[pod].value_()}', end='')
113 print(f' cpu_pod ', end='')
115 print(f' [{cpu}]={pt.cpu_pod[cpu].value_()}', end='')
136 …ool_id_len}}] ref={pool.refcnt.value_():{max_ref_len}} nice={pool.attrs.nice.value_():3} ', end='')
137 print(f'idle/workers={pool.nr_idle.value_():3}/{pool.nr_workers.value_():3} ', end='')
139 print(f'cpu={pool.cpu.value_():3}', end='')
141 print(f'cpus={cpumask_str(pool.attrs.cpumask)}', end='')
[all …]
/Linux-v6.6/arch/nios2/mm/
Dcacheflush.c19 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-v6.6/arch/x86/pci/
Damd_bus.c80 u64 end; in early_root_info_init() local
169 end = (reg & 0xfff000) | 0xfff; in early_root_info_init()
176 node, link, start, end); in early_root_info_init()
179 if (end > 0xffff) in early_root_info_init()
180 end = 0xffff; in early_root_info_init()
181 update_res(info, start, end, IORESOURCE_IO, 1); in early_root_info_init()
182 subtract_range(range, RANGE_NUM, start, end + 1); in early_root_info_init()
189 if (!range[i].end) in early_root_info_init()
192 update_res(info, range[i].start, range[i].end - 1, in early_root_info_init()
199 end = cap_resource((0xfdULL<<32) - 1); in early_root_info_init()
[all …]
/Linux-v6.6/arch/csky/mm/
Dcachev2.c24 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-v6.6/tools/testing/selftests/kvm/lib/
Dguest_sprintf.c6 #define APPEND_BUFFER_SAFE(str, end, v) \ argument
8 GUEST_ASSERT(str < end); \
43 static char *number(char *str, const char *end, long num, int base, int size, in number() argument
94 APPEND_BUFFER_SAFE(str, end, ' '); in number()
96 APPEND_BUFFER_SAFE(str, end, sign); in number()
99 APPEND_BUFFER_SAFE(str, end, '0'); in number()
101 APPEND_BUFFER_SAFE(str, end, '0'); in number()
102 APPEND_BUFFER_SAFE(str, end, 'x'); in number()
107 APPEND_BUFFER_SAFE(str, end, c); in number()
109 APPEND_BUFFER_SAFE(str, end, '0'); in number()
[all …]
/Linux-v6.6/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()
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-v6.6/arch/x86/mm/
Dnuma_emulation.c32 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 …]
/Linux-v6.6/arch/s390/boot/
Dvmem.c35 static void pgtable_populate(unsigned long addr, unsigned long end, enum populate_mode mode);
48 static inline void kasan_populate(unsigned long start, unsigned long end, enum populate_mode mode) in kasan_populate() argument
51 end = PAGE_ALIGN(__sha(end)); in kasan_populate()
52 pgtable_populate(start, end, mode); in kasan_populate()
62 unsigned long start, end; in kasan_populate_shadow() local
105 for_each_physmem_usable_range(i, &start, &end) { in kasan_populate_shadow()
106 kasan_populate(start, end, POPULATE_KASAN_MAP_SHADOW); in kasan_populate_shadow()
109 memgap_start = end; in kasan_populate_shadow()
124 unsigned long end, enum populate_mode mode) in kasan_pgd_populate_zero_shadow() argument
127 IS_ALIGNED(addr, PGDIR_SIZE) && end - addr >= PGDIR_SIZE) { in kasan_pgd_populate_zero_shadow()
[all …]
/Linux-v6.6/arch/x86/mm/pat/
Dmemtype_interval.c43 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-v6.6/arch/riscv/mm/
Dkasan_init.c29 static void __init kasan_populate_pte(pmd_t *pmd, unsigned long vaddr, unsigned long end) in kasan_populate_pte() argument
47 } while (ptep++, vaddr += PAGE_SIZE, vaddr != end); in kasan_populate_pte()
50 static void __init kasan_populate_pmd(pud_t *pud, unsigned long vaddr, unsigned long end) in kasan_populate_pmd() argument
64 next = pmd_addr_end(vaddr, end); in kasan_populate_pmd()
76 } while (pmdp++, vaddr = next, vaddr != end); in kasan_populate_pmd()
80 unsigned long vaddr, unsigned long end) in kasan_populate_pud() argument
94 next = pud_addr_end(vaddr, end); in kasan_populate_pud()
106 } while (pudp++, vaddr = next, vaddr != end); in kasan_populate_pud()
110 unsigned long vaddr, unsigned long end) in kasan_populate_p4d() argument
124 next = p4d_addr_end(vaddr, end); in kasan_populate_p4d()
[all …]
/Linux-v6.6/drivers/gpu/drm/i915/
Dintel_uncore.c915 else if (offset > entry->end) in fw_range_cmp()
992 { .start = 0x2030, .end = 0x2030 },
993 { .start = 0xA008, .end = 0xA00C },
994 { .start = 0x12030, .end = 0x12030 },
995 { .start = 0x1a030, .end = 0x1a030 },
996 { .start = 0x22030, .end = 0x22030 },
1000 { .start = 0x2030, .end = 0x2030 },
1001 { .start = 0x2550, .end = 0x2550 },
1002 { .start = 0xA008, .end = 0xA00C },
1003 { .start = 0x22030, .end = 0x22030 },
[all …]

12345678910>>...140