Home
last modified time | relevance | path

Searched full:end (Results 1 – 25 of 6046) sorted by relevance

12345678910>>...242

/Linux-v5.15/arch/nds32/mm/
Dproc.c103 unsigned long end, line_size; in cpu_icache_inval_all() local
106 end = in cpu_icache_inval_all()
110 end -= line_size; in cpu_icache_inval_all()
111 __asm__ volatile ("\n\tcctl %0, L1I_IX_INVAL"::"r" (end)); in cpu_icache_inval_all()
112 end -= line_size; in cpu_icache_inval_all()
113 __asm__ volatile ("\n\tcctl %0, L1I_IX_INVAL"::"r" (end)); in cpu_icache_inval_all()
114 end -= line_size; in cpu_icache_inval_all()
115 __asm__ volatile ("\n\tcctl %0, L1I_IX_INVAL"::"r" (end)); in cpu_icache_inval_all()
116 end -= line_size; in cpu_icache_inval_all()
117 __asm__ volatile ("\n\tcctl %0, L1I_IX_INVAL"::"r" (end)); in cpu_icache_inval_all()
[all …]
/Linux-v5.15/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()
37 /* get new 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()
49 /* new start/end, will add it back at last */ in add_range_with_merge()
51 end = max(range[i].end, end); in add_range_with_merge()
[all …]
Dresource.c36 .end = IO_SPACE_LIMIT,
44 .end = -1,
108 unsigned long long start, end; in r_show() local
109 int width = root->end < 0x10000 ? 4 : 8; in r_show()
118 end = r->end; in r_show()
120 start = end = 0; in r_show()
126 width, end, in r_show()
187 resource_size_t end = new->end; in __request_resource() local
190 if (end < start) in __request_resource()
194 if (end > root->end) in __request_resource()
[all …]
/Linux-v5.15/include/linux/ceph/
Ddecode.h16 * void *end pointer to end of buffer (last byte + 1)
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
[all …]
/Linux-v5.15/arch/arm64/mm/
Dcache.S18 * caches_clean_inval_pou_macro(start,end) [fixup]
25 * - end - virtual end address of region
46 * caches_clean_inval_pou(start,end)
53 * - end - virtual end address of region
61 * caches_clean_inval_user_pou(start,end)
68 * - end - virtual end address of region
84 * icache_inval_pou(start,end)
89 * - end - virtual end address of region
102 * dcache_clean_inval_poc(start, end)
104 * Ensure that any D-cache lines for the interval [start, end)
[all …]
/Linux-v5.15/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-v5.15/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-v5.15/tools/perf/util/
Dblock-range.c26 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()
77 * @end: branch ending this basic block
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()
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()
126 .end = next->start - 1, 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-v5.15/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
25 unsigned long end_index = end >> 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
115 end = 0; in test_find_delalloc()
117 &end); 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 …]
/Linux-v5.15/Documentation/admin-guide/kdump/
Dgdbmacros.txt32 end
34 end
46 end
48 end
50 end
52 end
53 end
56 end
75 end
76 end
[all …]
/Linux-v5.15/arch/microblaze/kernel/cpu/
Dcache.c89 * End address can be unaligned which is OK for C implementation.
92 #define CACHE_LOOP_LIMITS(start, end, cache_line_length, cache_size) \ argument
96 end = min(start + cache_size, end); \
121 * end address is not aligned, if end is aligned then I have to subtract
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); \
[all …]
/Linux-v5.15/fs/btrfs/
Dextent-io-tree.h84 u64 end; /* inclusive */ member
107 int lock_extent_bits(struct extent_io_tree *tree, u64 start, u64 end,
110 static inline int lock_extent(struct extent_io_tree *tree, u64 start, u64 end) in lock_extent() argument
112 return lock_extent_bits(tree, start, end, NULL); in lock_extent()
115 int try_lock_extent(struct extent_io_tree *tree, u64 start, u64 end);
125 int test_range_bit(struct extent_io_tree *tree, u64 start, u64 end,
127 int clear_record_extent_bits(struct extent_io_tree *tree, u64 start, u64 end,
129 int clear_extent_bit(struct extent_io_tree *tree, u64 start, u64 end,
132 int __clear_extent_bit(struct extent_io_tree *tree, u64 start, u64 end,
137 static inline int unlock_extent(struct extent_io_tree *tree, u64 start, u64 end) in unlock_extent() argument
[all …]
/Linux-v5.15/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-v5.15/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-v5.15/arch/arm64/include/asm/
Dcacheflush.h26 * Start addresses are inclusive and end addresses are exclusive; start
27 * addresses should be rounded down, end addresses up.
33 * All functions below apply to the interval [start, end)
35 * - end - virtual end address (exclusive)
37 * caches_clean_inval_pou(start, end)
42 * caches_clean_inval_user_pou(start, end)
48 * icache_inval_pou(start, end)
52 * dcache_clean_inval_poc(start, end)
56 * dcache_inval_poc(start, end)
60 * dcache_clean_poc(start, end)
[all …]
/Linux-v5.15/arch/arm/mach-pxa/
Ddevices.c43 .end = IRQ_PMU,
57 .end = 0x41100fff,
62 .end = IRQ_MMC,
98 .end = 0x4060ffff,
103 .end = IRQ_USB,
136 .end = 0x54100fff,
141 .end = IRQ_USB2,
162 .end = 0x4400ffff,
167 .end = IRQ_LCD,
194 .end = 0x40100023,
[all …]
/Linux-v5.15/drivers/android/
Dbinder_alloc_selftest.c24 * end with regard to the end of the previous buffer.
28 * Symbol [ means the start of a buffer, ] means the end
33 * @SAME_PAGE_UNALIGNED: The end of this buffer is on
34 * the same page as the end of the previous buffer and
41 * @SAME_PAGE_ALIGNED: When the end of the previous buffer
42 * is not page aligned, the end of this buffer is on the
43 * same page as the end of the previous buffer and is page
45 * end of this buffer is aligned to the next page boundary.
52 * @NEXT_PAGE_UNALIGNED: The end of this buffer is on
53 * the page next to the end of the previous buffer and
[all …]
/Linux-v5.15/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()
43 * Sets up nid to range from @start to @end. The return value is -errno if
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()
[all …]
/Linux-v5.15/arch/s390/mm/
Dvmem.c93 static void vmemmap_mark_sub_pmd_used(unsigned long start, unsigned long end) in vmemmap_mark_sub_pmd_used() argument
104 static void vmemmap_use_sub_pmd(unsigned long start, unsigned long end) in vmemmap_use_sub_pmd() argument
111 unused_sub_pmd_start = end; in vmemmap_use_sub_pmd()
117 vmemmap_mark_sub_pmd_used(start, end); in vmemmap_use_sub_pmd()
120 static void vmemmap_use_new_sub_pmd(unsigned long start, unsigned long end) in vmemmap_use_new_sub_pmd() argument
127 vmemmap_mark_sub_pmd_used(start, end); in vmemmap_use_new_sub_pmd()
137 if (!IS_ALIGNED(end, PMD_SIZE)) in vmemmap_use_new_sub_pmd()
138 unused_sub_pmd_start = end; in vmemmap_use_new_sub_pmd()
142 static bool vmemmap_unuse_sub_pmd(unsigned long start, unsigned long end) in vmemmap_unuse_sub_pmd() argument
147 memset((void *)start, PAGE_UNUSED, end - start); in vmemmap_unuse_sub_pmd()
[all …]
/Linux-v5.15/net/ceph/
Dcls_lock_client.c36 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-v5.15/arch/x86/pci/
Damd_bus.c72 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-v5.15/arch/arm/mm/
Dcache-feroceon-l2.c34 * end addresses to successive cp15 registers, and process every
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()
82 BUG_ON((start ^ end) >> PAGE_SHIFT); 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()
113 BUG_ON((start ^ end) >> PAGE_SHIFT); in l2_inv_pa_range()
116 va_end = va_start + (end - start); in l2_inv_pa_range()
[all …]
/Linux-v5.15/lib/
Dvsprintf.c84 * @endp: A pointer to the end of the parsed string will be placed here
99 * @endp: A pointer to the end of the parsed string will be placed here
113 * @endp: A pointer to the end of the parsed string will be placed here
145 * @endp: A pointer to the end of the parsed string will be placed here
449 char *number(char *buf, char *end, unsigned long long num, in number() argument
513 if (buf < end) in number()
520 if (buf < end) in number()
527 if (buf < end) in number()
532 if (buf < end) in number()
542 if (buf < end) in number()
[all …]
/Linux-v5.15/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 …]

12345678910>>...242