Home
last modified time | relevance | path

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

12345678910>>...116

/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 …]
/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/drivers/net/dsa/sja1105/
H A 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/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/btrfs/
H A Dextent-io-tree.c48 state->start, state->end, state->state, in btrfs_extent_state_leak_debug_check()
57 #define btrfs_debug_check_extent_io_range(tree, start, end) \ argument
58 __btrfs_debug_check_extent_io_range(__func__, (tree), (start), (end))
61 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()
199 changeset->bytes_changed += state->end - state->start + 1; in add_extent_changeset()
203 ret = ulist_add(&changeset->range_changed, state->start, state->end, GFP_ATOMIC); in add_extent_changeset()
258 else if (offset > entry->end) in tree_search_for_insert()
274 while (entry && offset > entry->end) in tree_search_for_insert()
[all …]
H A Dextent-io-tree.h125 u64 end; /* inclusive */ member
144 int btrfs_lock_extent_bits(struct extent_io_tree *tree, u64 start, u64 end, u32 bits,
146 bool btrfs_try_lock_extent_bits(struct extent_io_tree *tree, u64 start, u64 end,
149 static inline int btrfs_lock_extent(struct extent_io_tree *tree, u64 start, u64 end, in btrfs_lock_extent() argument
152 return btrfs_lock_extent_bits(tree, start, end, EXTENT_LOCKED, cached); in btrfs_lock_extent()
156 u64 end, struct extent_state **cached) in btrfs_try_lock_extent() argument
158 return btrfs_try_lock_extent_bits(tree, start, end, EXTENT_LOCKED, cached); in btrfs_try_lock_extent()
170 bool btrfs_test_range_bit(struct extent_io_tree *tree, u64 start, u64 end, u32 bit,
172 bool btrfs_test_range_bit_exists(struct extent_io_tree *tree, u64 start, u64 end, u32 bit);
173 void btrfs_get_range_bits(struct extent_io_tree *tree, u64 start, u64 end, u32 *bits,
[all …]
/linux/drivers/net/wireless/realtek/rtw89/
H A Ddebug.c273 char *p = buf, *end = buf + bufsz; in rtw89_debug_priv_read_reg_get() local
298 p += scnprintf(p, end - p, "get %d bytes at 0x%08x=0x%08x\n", len, in rtw89_debug_priv_read_reg_get()
307 p += scnprintf(p, end - p, "%08xh : ", 0x18600000 + addr); in rtw89_debug_priv_read_reg_get()
310 p += scnprintf(p, end - p, "%08x ", data); in rtw89_debug_priv_read_reg_get()
312 p += scnprintf(p, end - p, "\n"); in rtw89_debug_priv_read_reg_get()
386 char *p = buf, *end = buf + bufsz; in rtw89_debug_priv_read_rf_get() local
396 p += scnprintf(p, end - p, "path %d, rf register 0x%08x=0x%08x\n", in rtw89_debug_priv_read_rf_get()
435 char *p = buf, *end = buf + bufsz; in rtw89_debug_priv_rf_reg_dump_get() local
440 p += scnprintf(p, end - p, "RF path %d:\n\n", path); in rtw89_debug_priv_rf_reg_dump_get()
442 p += scnprintf(p, end - p, "0x%08x: ", addr); in rtw89_debug_priv_rf_reg_dump_get()
[all …]
/linux/fs/ceph/
H A Dmdsmap.c59 #define __decode_and_drop_type(p, end, type, bad) \ argument
61 if (*p + sizeof(type) > end) \
66 #define __decode_and_drop_set(p, end, type, bad) \ argument
70 ceph_decode_32_safe(p, end, n, bad); \
72 ceph_decode_need(p, end, need, bad); \
76 #define __decode_and_drop_map(p, end, ktype, vtype, bad) \ argument
80 ceph_decode_32_safe(p, end, n, bad); \
82 ceph_decode_need(p, end, need, bad); \
87 static int __decode_and_drop_compat_set(void **p, void* end) in __decode_and_drop_compat_set() argument
93 ceph_decode_need(p, end, sizeof(u64) + sizeof(u32), bad); in __decode_and_drop_compat_set()
[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/tools/workqueue/
H A Dwq_dump.py133 print(' pod_cpus', end='')
135 print(f' [{pod}]={cpumask_str(pt.pod_cpus[pod])}', end='')
138 print(' pod_node', end='')
140 print(f' [{pod}]={pt.pod_node[pod].value_()}', end='')
143 print(f' cpu_pod ', end='')
145 print(f' [{cpu}]={pt.cpu_pod[cpu].value_()}', end='')
166 …value_():02x} ref={pool.refcnt.value_():{max_ref_len}} nice={pool.attrs.nice.value_():3} ', end='')
167 print(f'idle/workers={pool.nr_idle.value_():3}/{pool.nr_workers.value_():3} ', end='')
169 print(f'cpu={pool.cpu.value_():3}', end='')
171 print(' bh', end='')
[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()
73 * @end: branch ending this basic block
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()
97 * Didn't find anything.. there's a hole at @start, however @end might 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 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) ! in parse_timestr_sec_nsec()
67 split_start_end(char ** start,char ** end,const char * ostr,char ch) split_start_end() argument
200 set_percent_time(struct perf_time_interval * ptime,double start_pcnt,double end_pcnt,u64 start,u64 end) set_percent_time() argument
219 percent_slash_split(char * str,struct perf_time_interval * ptime,u64 start,u64 end) percent_slash_split() argument
254 percent_dash_split(char * str,struct perf_time_interval * ptime,u64 start,u64 end) percent_dash_split() argument
283 percent_comma_split(struct perf_time_interval * ptime_buf,int num,const char * ostr,u64 start,u64 end,time_pecent_split func) percent_comma_split() argument
328 one_percent_convert(struct perf_time_interval * ptime_buf,const char * ostr,u64 start,u64 end,const char * c) one_percent_convert() argument
359 perf_time__percent_parse_str(struct perf_time_interval * ptime_buf,int num,const char * ostr,u64 start,u64 end) perf_time__percent_parse_str() argument
[all...]
/linux/drivers/firmware/efi/
H A Dunaccepted_memory.c16 unsigned long end; member
39 phys_addr_t end; in accept_memory() local
46 end = PAGE_ALIGN(start + size); in accept_memory()
57 if (end < unaccepted->phys_base) in accept_memory()
62 end -= unaccepted->phys_base; in accept_memory()
89 if (!(end % unit_size)) in accept_memory()
90 end += unit_size; in accept_memory()
93 if (end > unaccepted->size * unit_size * BITS_PER_BYTE) in accept_memory()
94 end = unaccepted->size * unit_size * BITS_PER_BYTE; in accept_memory()
97 range.end = DIV_ROUND_UP(end, unit_size); in accept_memory()
[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 …]
H A Dosdmap.c71 static int crush_decode_uniform_bucket(void **p, void *end, in crush_decode_uniform_bucket() argument
74 dout("crush_decode_uniform_bucket %p to %p\n", *p, end); in crush_decode_uniform_bucket()
75 ceph_decode_32_safe(p, end, b->item_weight, bad); in crush_decode_uniform_bucket()
81 static int crush_decode_list_bucket(void **p, void *end, in crush_decode_list_bucket() argument
85 dout("crush_decode_list_bucket %p to %p\n", *p, end); in crush_decode_list_bucket()
92 ceph_decode_need(p, end, 2 * b->h.size * sizeof(u32), bad); in crush_decode_list_bucket()
102 static int crush_decode_tree_bucket(void **p, void *end, in crush_decode_tree_bucket() argument
106 dout("crush_decode_tree_bucket %p to %p\n", *p, end); in crush_decode_tree_bucket()
107 ceph_decode_8_safe(p, end, b->num_nodes, bad); in crush_decode_tree_bucket()
111 ceph_decode_need(p, end, b->num_nodes * sizeof(u32), bad); in crush_decode_tree_bucket()
[all …]
/linux/lib/
H A Dbitmap-str.c183 unsigned int end; member
191 for (start = r->start; start <= r->end; start += r->group_len) in bitmap_set_region()
192 bitmap_set(bitmap, start, min(r->end - start + 1, r->off)); in bitmap_set_region()
197 if (r->start > r->end || r->group_len == 0 || r->off > r->group_len) in bitmap_check_region()
200 if (r->end >= r->nbits) in bitmap_check_region()
254 static const char *bitmap_find_region_reverse(const char *start, const char *end) in bitmap_find_region_reverse() argument
256 while (start <= end && __end_of_region(*end)) in bitmap_find_region_reverse()
257 end--; in bitmap_find_region_reverse()
259 return end; in bitmap_find_region_reverse()
268 r->end = lastbit; in bitmap_parse_region()
[all …]
H A Dsiphash.c48 const u8 *end = data + len - (len % sizeof(u64)); in __siphash_aligned() local
52 for (; data != end; data += sizeof(u64)) { in __siphash_aligned()
65 case 7: b |= ((u64)end[6]) << 48; fallthrough; in __siphash_aligned()
66 case 6: b |= ((u64)end[5]) << 40; fallthrough; in __siphash_aligned()
67 case 5: b |= ((u64)end[4]) << 32; fallthrough; in __siphash_aligned()
69 case 3: b |= ((u64)end[2]) << 16; fallthrough; in __siphash_aligned()
71 case 1: b |= end[0]; in __siphash_aligned()
81 const u8 *end = data + len - (len % sizeof(u64)); in __siphash_unaligned() local
85 for (; data != end; data += sizeof(u64)) { in __siphash_unaligned()
98 case 7: b |= ((u64)end[6]) << 48; fallthrough; in __siphash_unaligned()
[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/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/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/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/drivers/firmware/efi/libstub/
H A Dunaccepted_memory.c97 void process_unaccepted_memory(u64 start, u64 end) in process_unaccepted_memory() argument
120 if (end - start < 2 * unit_size) { in process_unaccepted_memory()
121 arch_accept_memory(start, end); in process_unaccepted_memory()
137 if (end & unit_mask) { in process_unaccepted_memory()
138 arch_accept_memory(round_down(end, unit_size), end); in process_unaccepted_memory()
139 end = round_down(end, unit_size); in process_unaccepted_memory()
148 min(unaccepted_table->phys_base, end)); in process_unaccepted_memory()
153 if (end < unaccepted_table->phys_base) in process_unaccepted_memory()
158 end -= unaccepted_table->phys_base; in process_unaccepted_memory()
161 if (end > bitmap_size * unit_size * BITS_PER_BYTE) { in process_unaccepted_memory()
[all …]
/linux/arch/s390/include/asm/
H A Dphysmem_info.h19 u64 end; member
36 unsigned long end; member
61 void add_physmem_online_range(u64 start, u64 end);
64 unsigned long *end, bool respect_usable_limit) in __get_physmem_range() argument
68 *end = 0; in __get_physmem_range()
74 *end = (unsigned long)physmem_info.online[n].end; in __get_physmem_range()
77 *end = (unsigned long)physmem_info.online_extended[n - MEM_INLINED_ENTRIES].end; in __get_physmem_range()
83 if (*end > physmem_info.usable) in __get_physmem_range()
84 *end = physmem_info.usable; in __get_physmem_range()
139 for (range = &physmem_info.reserved[t], *p_start = range->start, *p_end = range->end; \
[all …]
/linux/arch/x86/mm/
H A Dkasan_init_64.c38 unsigned long end, int nid) in kasan_populate_pmd() argument
46 ((end - addr) == PMD_SIZE) && in kasan_populate_pmd()
69 } while (pte++, addr += PAGE_SIZE, addr != end); in kasan_populate_pmd()
73 unsigned long end, int nid) in kasan_populate_pud() argument
82 ((end - addr) == PUD_SIZE) && in kasan_populate_pud()
96 next = pmd_addr_end(addr, end); in kasan_populate_pud()
99 } while (pmd++, addr = next, addr != end); in kasan_populate_pud()
103 unsigned long end, int nid) in kasan_populate_p4d() argument
116 next = pud_addr_end(addr, end); in kasan_populate_p4d()
119 } while (pud++, addr = next, addr != end); in kasan_populate_p4d()
[all …]
/linux/arch/sh/mm/
H A Dcache-sh2a.c53 unsigned long begin, end; in sh2a__flush_wback_region() local
58 end = ((unsigned long)start + size + L1_CACHE_BYTES-1) in sh2a__flush_wback_region()
66 if (((end - begin) >> PAGE_SHIFT) >= MAX_OCACHE_PAGES) { in sh2a__flush_wback_region()
68 end = begin + (nr_ways * current_cpu_data.dcache.way_size); in sh2a__flush_wback_region()
70 for (v = begin; v < end; v += L1_CACHE_BYTES) { in sh2a__flush_wback_region()
78 for (v = begin; v < end; v += L1_CACHE_BYTES) in sh2a__flush_wback_region()
94 unsigned long begin, end; in sh2a__flush_purge_region() local
98 end = ((unsigned long)start + size + L1_CACHE_BYTES-1) in sh2a__flush_purge_region()
104 for (v = begin; v < end; v+=L1_CACHE_BYTES) { in sh2a__flush_purge_region()
124 unsigned long begin, end; in sh2a__flush_invalidate_region() local
[all …]

12345678910>>...116