| /linux/kernel/ |
| A D | range.c | 14 if (start >= end) in add_range() 22 range[nr_range].end = end; in add_range() 34 if (start >= 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() 76 if (start <= range[j].start && end >= range[j].end) { in subtract_range() 82 if (start <= range[j].start && end < range[j].end && in subtract_range() 89 if (start > range[j].start && end >= range[j].end && in subtract_range() 95 if (start > range[j].start && end < range[j].end) { in subtract_range() 102 range[i].end = range[j].end; in subtract_range() [all …]
|
| A D | resource.c | 114 end = r->end; in r_show() 173 if (end > root->end) in __request_resource() 355 .end = min(end, p->end), in find_next_iomem_res() 678 tmp.end = root->end; in __find_resource_space() 688 avail.end = tmp.end; in __find_resource_space() 764 old->end = new.end; in reallocate_resource() 775 old->end = new.end; in reallocate_resource() 1047 res->end = end; in __adjust_resource() 1091 res->end = end; in __reserve_region_with_split() 1116 end = res->end; in __reserve_region_with_split() [all …]
|
| /linux/include/linux/ceph/ |
| A D | decode.h | 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))) \ 86 ceph_decode_need(p, end, n, bad); \ 114 ceph_decode_32_safe(&sp, end, len, bad); in ceph_extract_encoded_string() 115 if (!ceph_has_room(&sp, end, len)) in ceph_extract_encoded_string() 141 ceph_decode_need(p, end, n, bad); \ 298 BUG_ON(*p + sizeof(len) + len > end); in ceph_encode_string() 388 ceph_encode_need(p, end, n, bad); \ 393 ceph_encode_need(p, end, n, bad); \ [all …]
|
| /linux/drivers/net/dsa/sja1105/ |
| A D | sja1105_ethtool.c | 85 int end; member 96 .end = 24, 103 .end = 16, 110 .end = 8, 117 .end = 0, 125 .end = 27, 132 .end = 26, 209 .end = 8, 216 .end = 6, 223 .end = 5, [all …]
|
| /linux/arch/mips/pci/ |
| A D | pci-malta.c | 106 end = (end & GT_PCI_HD_MSK) | (start & ~GT_PCI_HD_MSK); in mips_pcibios_init() 114 end = end1; in mips_pcibios_init() 122 gt64120_mem_resource.end = end; in mips_pcibios_init() 133 end = (end & GT_PCI_HD_MSK) | (start & ~GT_PCI_HD_MSK); in mips_pcibios_init() 161 end = 1; in mips_pcibios_init() 165 end++; in mips_pcibios_init() 170 end++; in mips_pcibios_init() 215 end <= msc_mem_resource.end)) { in mips_pcibios_init() 218 end = min(end, msc_mem_resource.end); in mips_pcibios_init() 220 msc_mem_resource.end - end) in mips_pcibios_init() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
| A D | dr_ste_v2.c | 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, 75 .hw_field = DR_STE_V2_ACTION_MDFY_FLD_L3_OUT_0, .start = 8, .end = 15, 79 .hw_field = DR_STE_V2_ACTION_MDFY_FLD_L4_OUT_0, .start = 16, .end = 31, [all …]
|
| /linux/fs/ceph/ |
| A D | mdsmap.c | 60 if (*p + sizeof(type) > end) \ 69 ceph_decode_32_safe(p, end, n, bad); \ 103 ceph_decode_need(p, end, len, bad); in __decode_and_drop_compat_set() 119 void *end, bool msgr2) in ceph_mdsmap_decode() argument 134 ceph_decode_need(p, end, 1 + 1, bad); in ceph_mdsmap_decode() 140 if (end < *p + mdsmap_len) in ceph_mdsmap_decode() 142 end = *p + mdsmap_len; in ceph_mdsmap_decode() 199 if (info_end > end) in ceph_mdsmap_decode() 275 ceph_decode_32_safe(p, end, n, bad); in ceph_mdsmap_decode() 392 *p = end; in ceph_mdsmap_decode() [all …]
|
| /linux/arch/microblaze/kernel/cpu/ |
| A D | cache.c | 96 end = min(start + cache_size, end); \ 130 end = ((end & align) == end) ? end - line_length : end & align; \ 131 count = end - start; \ 146 end = ((end & align) == end) ? end - line_length : end & align; \ 147 WARN_ON(end < start); \ 186 unsigned long end) in __flush_icache_range_nomsr_irq() argument 214 unsigned long end) in __flush_icache_range_noirq() argument 378 unsigned long end) in __invalidate_dcache_range_wb() argument 398 unsigned long end) in __invalidate_dcache_range_nomsr_wt() argument 418 unsigned long end) in __invalidate_dcache_range_msr_irq_wt() argument [all …]
|
| /linux/lib/ |
| A D | vsprintf.c | 528 if (buf < end) in number() 557 if (buf < end) in number() 563 if (buf < end) in number() 569 if (buf < end) in number() 631 if (buf < end) in widen_string() 649 if (buf < end) in string_nocheck() 1826 if (buf < end) in date_str() 1831 if (buf < end) in date_str() 1842 if (buf < end) in time_str() 1847 if (buf < end) in time_str() [all …]
|
| A D | bitmap-str.c | 216 unsigned int end; member 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() 446 if (start > end || __end_of_region(*end)) in bitmap_get_x32_reverse() 454 return end; in bitmap_get_x32_reverse() 483 end = bitmap_find_region_reverse(start, end); in bitmap_parse() 484 if (start > end) in bitmap_parse() 491 end = bitmap_get_x32_reverse(start, end, &bitmap[chunk ^ 1]); in bitmap_parse() 493 end = bitmap_get_x32_reverse(start, end, &bitmap[chunk]); in bitmap_parse() [all …]
|
| /linux/tools/workqueue/ |
| A D | wq_dump.py | 126 print(' pod_cpus', end='') 131 print(' pod_node', end='') 136 print(f' cpu_pod ', end='') 162 print(f'cpu={pool.cpu.value_():3}', end='') 164 print(' bh', end='') 169 print(' strict', end='') 178 print(f' {cpu:{max_pool_id_len}}', end='') 187 print(f' {pool_id:{field_len}}', end='') 210 print(f' {"":{ucpus_len}}', end='') 234 print(f' NODE {node}', end='') [all …]
|
| /linux/fs/btrfs/ |
| A D | extent-io-tree.c | 70 if (end >= PAGE_SIZE && (end % 2) == 0 && end != isize - 1) { in __btrfs_debug_check_extent_io_range() 384 state->end = next->end; in merge_next_state() 724 if (state->end <= end) { in __clear_extent_bit() 735 if (state->start <= end && state->end > end) { in __clear_extent_bit() 1014 *end = state->end; in btrfs_find_delalloc_range() 1023 *end = state->end; in btrfs_find_delalloc_range() 1105 prealloc->end = end; in __set_extent_bit() 1185 if (state->end <= end) { in __set_extent_bit() 1243 if (state->start <= end && state->end > end) { in __set_extent_bit() 1358 prealloc->end = end; in convert_extent_bit() [all …]
|
| A D | extent-io-tree.h | 120 u64 end; /* inclusive */ member 152 u64 end, struct extent_state **cached) in try_lock_extent() argument 176 u64 end, u32 bits, in clear_extent_bit() argument 189 u64 end, u32 bits) in clear_extent_bits() argument 200 u64 end, struct extent_state **cached_state) in clear_extent_uptodate() argument 207 u64 end, struct extent_state **cached) in clear_extent_dirty() argument 209 return clear_extent_bit(tree, start, end, in clear_extent_dirty() 226 u64 *end, u64 max_bytes, 229 u64 end, struct extent_state **cached) in lock_dio_extent() argument 235 u64 end, struct extent_state **cached) in try_lock_dio_extent() argument [all …]
|
| /linux/arch/arm/mach-pxa/ |
| A D | devices.c | 40 .end = IRQ_PMU, 54 .end = 0x41100fff, 59 .end = IRQ_MMC, 93 .end = 0x4060ffff, 98 .end = IRQ_USB, 135 .end = IRQ_LCD, 265 .end = IRQ_I2C, 310 .end = IRQ_I2S, 423 .end = IRQ_SSP, 537 .end = IRQ_SSP, [all …]
|
| /linux/tools/perf/util/ |
| A D | block-range.c | 24 old = entry->end; in block_range__debug() 145 .end = end, in block_range__create() 200 if (end < entry->end) { /* split: [...end][...e->end] */ in block_range__create() 207 .end = entry->end, in block_range__create() 216 entry->end = end; in block_range__create() 225 iter.end = entry; in block_range__create() 232 if (end == entry->end) { in block_range__create() 234 iter.end = entry; in block_range__create() 254 .end = end, in block_range__create() 263 iter.end = tail; in block_range__create() [all …]
|
| A D | time-utils.c | 21 char *end; in parse_nsec_time() local 24 if (*end != '.' && *end != '\0') in parse_nsec_time() 27 if (*end == '.') { in parse_nsec_time() 42 if (*end != '\0') in parse_nsec_time() 89 *end = end_str; in split_start_end() 104 ptime->end = 0; in perf_time__parse_str() 111 if (rc == 0 && ptime->end && ptime->end < ptime->start) in perf_time__parse_str() 212 if (ptime->end > ptime->start && ptime->end != end) in set_percent_time() 213 ptime->end -= 1; in set_percent_time() 427 (ptime->end && timestamp > ptime->end)) { in perf_time__skip_sample() [all …]
|
| /linux/arch/nios2/mm/ |
| A D | cacheflush.c | 117 __flush_dcache(start, end); in flush_icache_range() 118 __flush_icache(start, end); in flush_icache_range() 123 __flush_dcache(start, end); in flush_dcache_range() 124 __flush_icache(start, end); in flush_dcache_range() 135 unsigned long end) in flush_cache_range() argument 137 __flush_dcache(start, end); in flush_cache_range() 139 __flush_icache(start, end); in flush_cache_range() 148 __flush_dcache(start, end); in flush_icache_pages() 149 __flush_icache(start, end); in flush_icache_pages() 158 __flush_dcache(start, end); in flush_cache_page() [all …]
|
| /linux/drivers/firmware/efi/ |
| A D | unaccepted_memory.c | 16 unsigned long end; member 38 phys_addr_t end = start + size; in accept_memory() local 59 end -= unaccepted->phys_base; in accept_memory() 86 if (!(end % unit_size)) in accept_memory() 87 end += unit_size; in accept_memory() 94 range.end = DIV_ROUND_UP(end, unit_size); in accept_memory() 128 range.end) { in accept_memory() 185 end -= unaccepted->phys_base; in range_contains_unaccepted_memory() 191 if (!(end % unit_size)) in range_contains_unaccepted_memory() 192 end += unit_size; in range_contains_unaccepted_memory() [all …]
|
| /linux/arch/x86/pci/ |
| A D | amd_bus.c | 80 u64 end; in early_root_info_init() local 179 if (end > 0xffff) in early_root_info_init() 180 end = 0xffff; in early_root_info_init() 189 if (!range[i].end) in early_root_info_init() 200 end++; in early_root_info_init() 207 printk(KERN_INFO "TOM: %016llx aka %lldM\n", end, end>>20); in early_root_info_init() 208 if (end < (1ULL<<32)) in early_root_info_init() 237 end <<= 8; in early_root_info_init() 238 end |= 0xffff; in early_root_info_init() 303 printk(KERN_INFO "TOM2: %016llx aka %lldM\n", end, end>>20); in early_root_info_init() [all …]
|
| /linux/mm/ |
| A D | numa_emulation.c | 75 nid, eb->start, eb->end - 1, (eb->end - eb->start) >> 20); in emu_setup_memblk() 150 while (end - start - mem_hole_size(start, end) < size) { in split_nodes_interleave() 153 end = limit; in split_nodes_interleave() 163 if (end < dma32_end && dma32_end - end - in split_nodes_interleave() 172 if (limit - end - mem_hole_size(end, limit) < size) in split_nodes_interleave() 173 end = limit; in split_nodes_interleave() 193 while (end - start - mem_hole_size(start, end) < size) { in find_end_of_node() 200 return end; in find_end_of_node() 299 if (end < dma32_end && dma32_end - end - in split_nodes_size_interleave_uniform() 308 if ((limit - end - mem_hole_size(end, limit) < size) in split_nodes_size_interleave_uniform() [all …]
|
| A D | numa_memblks.c | 137 if (start == end) in numa_add_memblk_to() 153 mi->blk[mi->nr_blks].end = end; in numa_add_memblk_to() 234 if (bi->end > high) { in numa_cleanup_meminfo() 237 bi->end = high; in numa_cleanup_meminfo() 251 u64 start, end; in numa_cleanup_meminfo() local 258 if (bi->end > bj->start && bi->start < bj->end) { in numa_cleanup_meminfo() 278 end = max(bi->end, bj->end); in numa_cleanup_meminfo() 284 if (start < bk->end && end > bk->start) in numa_cleanup_meminfo() 291 bj->end - 1, start, end - 1); in numa_cleanup_meminfo() 293 bi->end = end; in numa_cleanup_meminfo() [all …]
|
| /linux/arch/csky/mm/ |
| A D | cachev2.c | 24 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() 64 struct cache_range param = { start, end }; in icache_inv_range() 83 for (; i < end; i += L1_CACHE_BYTES) in dcache_wb_range() 90 dcache_wb_range(start, end); in cache_wbinv_range() 91 icache_inv_range(start, end); in cache_wbinv_range() 99 for (; i < end; i += L1_CACHE_BYTES) in dma_wbinv_range() 108 for (; i < end; i += L1_CACHE_BYTES) in dma_inv_range() [all …]
|
| /linux/tools/testing/selftests/kvm/lib/ |
| A D | guest_sprintf.c | 6 #define APPEND_BUFFER_SAFE(str, end, v) \ argument 8 GUEST_ASSERT(str < end); \ 107 APPEND_BUFFER_SAFE(str, end, c); in number() 109 APPEND_BUFFER_SAFE(str, end, '0'); in number() 113 APPEND_BUFFER_SAFE(str, end, ' '); in number() 120 char *str, *end; in guest_vsnprintf() local 135 end = buf + n; in guest_vsnprintf() 136 GUEST_ASSERT(buf < end); in guest_vsnprintf() 218 APPEND_BUFFER_SAFE(str, end, in guest_vsnprintf() 242 str = number(str, end, in guest_vsnprintf() [all …]
|
| /linux/arch/arm/mm/ |
| A D | cache-feroceon-l2.c | 79 BUG_ON((start ^ end) >> PAGE_SHIFT); in l2_clean_pa_range() 82 va_end = va_start + (end - start); in l2_clean_pa_range() 113 va_end = va_start + (end - start); in l2_inv_pa_range() 149 range_end = end; in calc_range_end() 181 if (start < end && end & (CACHE_LINE_SIZE - 1)) { in feroceon_l2_inv_range() 183 end &= ~(CACHE_LINE_SIZE - 1); in feroceon_l2_inv_range() 189 while (start < end) { in feroceon_l2_inv_range() 206 end = (end + CACHE_LINE_SIZE - 1) & ~(CACHE_LINE_SIZE - 1); in feroceon_l2_clean_range() 207 while (start != end) { in feroceon_l2_clean_range() 220 end = (end + CACHE_LINE_SIZE - 1) & ~(CACHE_LINE_SIZE - 1); in feroceon_l2_flush_range() [all …]
|
| /linux/arch/x86/mm/pat/ |
| A D | memtype_interval.c | 43 return entry->end - 1; in interval_end() 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() 78 static int memtype_check_conflict(u64 start, u64 end, in memtype_check_conflict() argument 95 entry_match = interval_iter_next(entry_match, start, end-1); in memtype_check_conflict() 110 current->comm, current->pid, start, end, in memtype_check_conflict() 131 struct memtype *memtype_erase(u64 start, u64 end) in memtype_erase() argument 142 entry_old = memtype_match(start, end, MEMTYPE_EXACT_MATCH); in memtype_erase() 144 entry_old = memtype_match(start, end, MEMTYPE_END_MATCH); in memtype_erase() [all …]
|