Home
last modified time | relevance | path

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

12345678910>>...115

/linux/kernel/
H A 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 …]
H A Dresource.c38 .end = IO_SPACE_LIMIT,
46 .end = -1,
122 unsigned long long start, end; in r_show() local
123 int width = root->end < 0x10000 ? 4 : 8; in r_show()
132 end = r->end; in r_show()
134 start = end = 0; in r_show()
140 width, end, in r_show()
184 resource_size_t end = new->end; in __request_resource() local
187 if (end < start) in __request_resource()
191 if (end > root->end) in __request_resource()
[all …]
/linux/include/linux/ceph/
H A 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/arch/mips/pci/
H A 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/fs/ceph/
H A Dmdsmap.c58 #define __decode_and_drop_type(p, end, type, bad) \ argument
60 if (*p + sizeof(type) > end) \
65 #define __decode_and_drop_set(p, end, type, bad) \ argument
69 ceph_decode_32_safe(p, end, n, bad); \
71 ceph_decode_need(p, end, need, bad); \
75 #define __decode_and_drop_map(p, end, ktype, vtype, bad) \ argument
79 ceph_decode_32_safe(p, end, n, bad); \
81 ceph_decode_need(p, end, need, bad); \
86 static int __decode_and_drop_compat_set(void **p, void* end) in __decode_and_drop_compat_set() argument
92 ceph_decode_need(p, end, sizeof(u64) + sizeof(u32), bad); in __decode_and_drop_compat_set()
[all …]
/linux/lib/
H A Dvsprintf.c444 char *number(char *buf, char *end, unsigned long long num, in number() argument
508 if (buf < end) in number()
515 if (buf < end) in number()
522 if (buf < end) in number()
527 if (buf < end) in number()
537 if (buf < end) in number()
544 if (buf < end) in number()
550 if (buf < end) in number()
556 if (buf < end) in number()
565 char *special_hex_number(char *buf, char *end, unsigned long long num, int size) in special_hex_number() argument
[all …]
H A Dbitmap-str.c216 unsigned int end; member
224 for (start = r->start; start <= r->end; start += r->group_len) in bitmap_set_region()
225 bitmap_set(bitmap, start, min(r->end - start + 1, r->off)); in bitmap_set_region()
230 if (r->start > r->end || r->group_len == 0 || r->off > r->group_len) in bitmap_check_region()
233 if (r->end >= r->nbits) in bitmap_check_region()
287 static const char *bitmap_find_region_reverse(const char *start, const char *end) in bitmap_find_region_reverse() argument
289 while (start <= end && __end_of_region(*end)) in bitmap_find_region_reverse()
290 end--; in bitmap_find_region_reverse()
292 return end; in bitmap_find_region_reverse()
301 r->end = lastbit; in bitmap_parse_region()
[all …]
/linux/arch/microblaze/kernel/cpu/
H A 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/fs/btrfs/
H A Dextent-io-tree.c47 state->start, state->end, state->state, in btrfs_extent_state_leak_debug_check()
56 #define btrfs_debug_check_extent_io_range(tree, start, end) \ argument
57 __btrfs_debug_check_extent_io_range(__func__, (tree), (start), (end))
60 u64 start, u64 end) in __btrfs_debug_check_extent_io_range() argument
70 if (end >= PAGE_SIZE && (end % 2) == 0 && end != isize - 1) { in __btrfs_debug_check_extent_io_range()
73 caller, btrfs_ino(inode), isize, start, end); in __btrfs_debug_check_extent_io_range()
215 changeset->bytes_changed += state->end - state->start + 1; in add_extent_changeset()
216 ret = ulist_add(&changeset->range_changed, state->start, state->end, in add_extent_changeset()
274 else if (offset > entry->end) in tree_search_for_insert()
286 while (entry && offset > entry->end) in tree_search_for_insert()
[all …]
H A Dextent-io-tree.h120 u64 end; /* inclusive */ member
140 int __lock_extent(struct extent_io_tree *tree, u64 start, u64 end, u32 bits,
142 bool __try_lock_extent(struct extent_io_tree *tree, u64 start, u64 end, u32 bits,
145 static inline int lock_extent(struct extent_io_tree *tree, u64 start, u64 end, in lock_extent() argument
148 return __lock_extent(tree, start, end, EXTENT_LOCKED, cached); in lock_extent()
152 u64 end, struct extent_state **cached) in try_lock_extent() argument
154 return __try_lock_extent(tree, start, end, EXTENT_LOCKED, cached); in try_lock_extent()
166 bool test_range_bit(struct extent_io_tree *tree, u64 start, u64 end, u32 bit,
168 bool test_range_bit_exists(struct extent_io_tree *tree, u64 start, u64 end, u32 bit);
169 int clear_record_extent_bits(struct extent_io_tree *tree, u64 start, u64 end,
[all …]
/linux/tools/workqueue/
H A Dwq_dump.py126 print(' pod_cpus', end='')
128 print(f' [{pod}]={cpumask_str(pt.pod_cpus[pod])}', end='')
131 print(' pod_node', end='')
133 print(f' [{pod}]={pt.pod_node[pod].value_()}', end='')
136 print(f' cpu_pod ', end='')
138 print(f' [{cpu}]={pt.cpu_pod[cpu].value_()}', end='')
159 …value_():02x} ref={pool.refcnt.value_():{max_ref_len}} nice={pool.attrs.nice.value_():3} ', end='')
160 print(f'idle/workers={pool.nr_idle.value_():3}/{pool.nr_workers.value_():3} ', end='')
162 print(f'cpu={pool.cpu.value_():3}', end='')
164 print(' bh', end='')
[all …]
/linux/arch/arm/mach-pxa/
H A Ddevices.c40 .end = IRQ_PMU,
54 .end = 0x41100fff,
59 .end = IRQ_MMC,
93 .end = 0x4060ffff,
98 .end = IRQ_USB,
130 .end = 0x4400ffff,
135 .end = IRQ_LCD,
162 .end = 0x40100023,
166 .end = IRQ_FFUART,
186 .end = 0x40200023,
[all …]
/linux/tools/perf/util/
H A 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 …]
H A Dtime-utils.c21 char *end; in parse_nsec_time() local
23 time_sec = strtoull(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 = strtoull(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/arch/nios2/mm/
H A 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/mm/
H A Dnuma_emulation.c35 static u64 __init mem_hole_size(u64 start, u64 end) in mem_hole_size()
38 unsigned long end_pfn = PFN_DOWN(end); in mem_hole_size()
46 * Sets up nid to range from @start to @end. The return value is -errno if
63 eb->end = pb->start + size; in emu_setup_memblk()
70 if (pb->start >= pb->end) { in emu_setup_memblk()
71 WARN_ON_ONCE(pb->start > pb->end); in emu_setup_memblk()
76 nid, eb->start, eb->end - 1, (eb->end - eb->start) >> 20); in emu_setup_memblk()
132 u64 start, limit, end; in split_nodes_interleave()
141 limit = pi->blk[phys_blk].end; in split_nodes_interleave()
34 mem_hole_size(u64 start,u64 end) mem_hole_size() argument
131 u64 start, limit, end; split_nodes_interleave() local
191 u64 end = start + size; find_end_of_node() local
278 u64 start, limit, end; split_nodes_size_interleave_uniform() local
[all...]
H A Dnuma_memblks.c27 if (mi->blk[i].start != mi->blk[i].end && in numa_nodemask_from_meminfo()
133 static int __init numa_add_memblk_to(int nid, u64 start, u64 end, in numa_add_memblk_to() argument
137 if (start == end) in numa_add_memblk_to()
141 if (start > end || nid < 0 || nid >= MAX_NUMNODES) { in numa_add_memblk_to()
143 nid, start, end - 1); in numa_add_memblk_to()
153 mi->blk[mi->nr_blks].end = end; in numa_add_memblk_to()
191 * @end: End address of the new memblk
198 int __init numa_add_memblk(int nid, u64 start, u64 end) in numa_add_memblk() argument
200 return numa_add_memblk_to(nid, start, end, in numa_add_memblk()
251 u64 start, end; numa_cleanup_meminfo() local
485 numa_fill_memblks(u64 start,u64 end) numa_fill_memblks() argument
[all...]
/linux/arch/x86/pci/
H A 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/tools/testing/selftests/kvm/lib/
H A 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/drivers/firmware/efi/
H A Dunaccepted_memory.c16 unsigned long end; member
38 phys_addr_t end = start + size; in accept_memory() local
54 if (end < unaccepted->phys_base) in accept_memory()
59 end -= unaccepted->phys_base; in accept_memory()
86 if (!(end % unit_size)) in accept_memory()
87 end += unit_size; in accept_memory()
90 if (end > unaccepted->size * unit_size * BITS_PER_BYTE) in accept_memory()
91 end = unaccepted->size * unit_size * BITS_PER_BYTE; in accept_memory()
94 range.end = DIV_ROUND_UP(end, unit_size); in accept_memory()
106 if (entry->end <= range.start) in accept_memory()
[all …]
/linux/arch/arm/mm/
H A 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/arch/csky/mm/
H A 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/arch/riscv/mm/
H A Dkasan_init.c21 * For sv48 and sv57, the region start is aligned on PGDIR_SIZE whereas the end
29 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()
77 } while (pmdp++, vaddr = next, vaddr != end); in kasan_populate_pmd()
81 unsigned long vaddr, unsigned long end) in kasan_populate_pud() argument
95 next = pud_addr_end(vaddr, end); in kasan_populate_pud()
108 } while (pudp++, vaddr = next, vaddr != end); in kasan_populate_pud()
112 unsigned long vaddr, unsigned long end) in kasan_populate_p4d() argument
143 kasan_populate_pgd(pgd_t * pgdp,unsigned long vaddr,unsigned long end) kasan_populate_pgd() argument
166 kasan_early_clear_pud(p4d_t * p4dp,unsigned long vaddr,unsigned long end) kasan_early_clear_pud() argument
191 kasan_early_clear_p4d(pgd_t * pgdp,unsigned long vaddr,unsigned long end) kasan_early_clear_p4d() argument
217 kasan_early_clear_pgd(pgd_t * pgdp,unsigned long vaddr,unsigned long end) kasan_early_clear_pgd() argument
236 kasan_early_populate_pud(p4d_t * p4dp,unsigned long vaddr,unsigned long end) kasan_early_populate_pud() argument
265 kasan_early_populate_p4d(pgd_t * pgdp,unsigned long vaddr,unsigned long end) kasan_early_populate_p4d() argument
303 kasan_early_populate_pgd(pgd_t * pgdp,unsigned long vaddr,unsigned long end) kasan_early_populate_pgd() argument
369 kasan_populate(void * start,void * end) kasan_populate() argument
378 kasan_shallow_populate_pud(p4d_t * p4d,unsigned long vaddr,unsigned long end) kasan_shallow_populate_pud() argument
398 kasan_shallow_populate_p4d(pgd_t * pgd,unsigned long vaddr,unsigned long end) kasan_shallow_populate_p4d() argument
417 kasan_shallow_populate_pgd(unsigned long vaddr,unsigned long end) kasan_shallow_populate_pgd() argument
436 kasan_shallow_populate(void * start,void * end) kasan_shallow_populate() argument
513 void *end = (void *)__va(p_end); kasan_init() local
[all...]
/linux/Documentation/admin-guide/kdump/
H A Dgdbmacros.txt32 end
34 end
46 end
48 end
50 end
52 end
53 end
56 end
75 end
76 end
[all …]
/linux/net/ceph/
H A 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 …]

12345678910>>...115