/openbmc/u-boot/arch/nds32/lib/ |
H A D | cache.c | 48 end -= line_size; in invalidate_icache_all() 51 end -= line_size; in invalidate_icache_all() 54 end -= line_size; in invalidate_icache_all() 56 end -= line_size; in invalidate_icache_all() 58 } while (end > 0); in invalidate_icache_all() 66 while (end > start) { in invalidate_icache_range() 143 end -= line_size; in dcache_wbinval_all() 146 end -= line_size; in dcache_wbinval_all() 149 end -= line_size; in dcache_wbinval_all() 152 end -= line_size; in dcache_wbinval_all() [all …]
|
/openbmc/linux/kernel/ |
H 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 …]
|
H A D | resource.c | 122 end = r->end; in r_show() 181 if (end > root->end) in __request_resource() 363 .end = min(end, p->end), in find_next_iomem_res() 600 tmp.end = root->end; in __find_resource() 610 avail.end = tmp.end; in __find_resource() 670 old->end = new.end; in reallocate_resource() 681 old->end = new.end; in reallocate_resource() 959 res->end = end; in __adjust_resource() 1003 res->end = end; in __reserve_region_with_split() 1028 end = res->end; in __reserve_region_with_split() [all …]
|
/openbmc/linux/include/linux/ceph/ |
H 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 …]
|
/openbmc/linux/drivers/net/dsa/sja1105/ |
H 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 …]
|
/openbmc/linux/arch/mips/pci/ |
H 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 …]
|
/openbmc/phosphor-logging/test/openpower-pels/ |
H A D | pel_utils.cpp | 209 src.insert(src.end(), callouts.begin(), callouts.end()); in pelDataFactory() 227 data.insert(data.end(), src.begin(), src.end()); in pelDataFactory() 253 privateHeaderSection.end()); in pelFactory() 272 data.insert(data.end(), userHeaderSection.begin(), userHeaderSection.end()); in pelFactory() 280 data.insert(data.end(), src.begin(), src.end()); in pelFactory() 282 failingMTMSSection.end()); in pelFactory() 284 ExtUserHeaderSection.end()); in pelFactory() 309 data.insert(data.end(), udSection.begin(), udSection.end()); in pelFactory() 357 data.insert(data.end(), srcMRUCallout.begin(), srcMRUCallout.end()); in srcDataFactory() 370 data.insert(data.end(), callout.begin(), callout.end()); in srcDataFactory() [all …]
|
/openbmc/u-boot/arch/nios2/lib/ |
H A D | cache.c | 18 end += (gd->arch.dcache_line_size - 1); in __flush_dcache() 19 end &= ~(gd->arch.dcache_line_size - 1); in __flush_dcache() 34 end += (gd->arch.dcache_line_size - 1); in __flush_dcache_all() 35 end &= ~(gd->arch.dcache_line_size - 1); in __flush_dcache_all() 37 if (end > start + gd->arch.dcache_size) in __flush_dcache_all() 38 end = start + gd->arch.dcache_size; in __flush_dcache_all() 73 end = start + gd->arch.icache_size; in __flush_icache() 93 __flush_dcache(start, end); in flush_dcache_range() 95 __flush_dcache_all(start, end); in flush_dcache_range() 110 __invalidate_dcache(start, end); in invalidate_dcache_range() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H 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 …]
|
/openbmc/linux/fs/ceph/ |
H A D | mdsmap.c | 59 if (*p + sizeof(type) > end) \ 68 ceph_decode_32_safe(p, end, n, bad); \ 102 ceph_decode_need(p, end, len, bad); in __decode_and_drop_compat_set() 118 void *end, bool msgr2) in ceph_mdsmap_decode() argument 132 ceph_decode_need(p, end, 1 + 1, bad); in ceph_mdsmap_decode() 138 if (end < *p + mdsmap_len) in ceph_mdsmap_decode() 140 end = *p + mdsmap_len; in ceph_mdsmap_decode() 197 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 …]
|
/openbmc/linux/arch/microblaze/kernel/cpu/ |
H 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 …]
|
/openbmc/linux/lib/ |
H A D | vsprintf.c | 527 if (buf < end) in number() 556 if (buf < end) in number() 562 if (buf < end) in number() 568 if (buf < end) in number() 630 if (buf < end) in widen_string() 648 if (buf < end) in string_nocheck() 1825 if (buf < end) in date_str() 1830 if (buf < end) in date_str() 1841 if (buf < end) in time_str() 1846 if (buf < end) in time_str() [all …]
|
/openbmc/qemu/include/hw/ppc/ |
H A D | xive2_regs.h | 110 #define xive2_end_is_valid(end) (be32_to_cpu((end)->w0) & END2_W0_VALID) argument 111 #define xive2_end_is_enqueue(end) (be32_to_cpu((end)->w0) & END2_W0_ENQUEUE) argument 112 #define xive2_end_is_notify(end) \ argument 114 #define xive2_end_is_backlog(end) (be32_to_cpu((end)->w0) & END2_W0_BACKLOG) argument 125 #define xive2_end_is_firmware1(end) \ argument 126 (be32_to_cpu((end)->w0) & END2_W0_FIRMWARE1) 128 (be32_to_cpu((end)->w0) & END2_W0_FIRMWARE2) 129 #define xive2_end_is_ignore(end) \ argument 130 (be32_to_cpu((end)->w6) & END2_W6_IGNORE) 131 #define xive2_end_is_crowd(end) \ argument [all …]
|
/openbmc/linux/drivers/firmware/efi/ |
H A D | unaccepted_memory.c | 14 unsigned long end; member 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() 91 range.end = DIV_ROUND_UP(end, unit_size); in accept_memory() 125 range.end) { in accept_memory() 178 end -= unaccepted->phys_base; in range_contains_unaccepted_memory() 184 if (!(end % unit_size)) in range_contains_unaccepted_memory() 185 end += unit_size; in range_contains_unaccepted_memory() [all …]
|
/openbmc/linux/tools/perf/util/ |
H 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 …]
|
/openbmc/linux/fs/btrfs/ |
H A D | extent-io-tree.c | 68 if (end >= PAGE_SIZE && (end % 2) == 0 && end != isize - 1) { in __btrfs_debug_check_extent_io_range() 361 state->end = other->end; in merge_state() 399 const u64 end = state->end; in insert_state() local 658 if (state->end <= end) { in __clear_extent_bit() 669 if (state->start <= end && state->end > end) { in __clear_extent_bit() 945 *end = state->end; in btrfs_find_delalloc_range() 954 *end = state->end; in btrfs_find_delalloc_range() 1033 prealloc->end = end; in __set_extent_bit() 1166 if (state->start <= end && state->end > end) { in __set_extent_bit() 1281 prealloc->end = end; in convert_extent_bit() [all …]
|
/openbmc/linux/tools/workqueue/ |
H A D | wq_dump.py | 103 print(' pod_cpus', end='') 108 print(' pod_node', end='') 113 print(f' cpu_pod ', end='') 144 print(' strict', end='') 153 print(f' {cpu:{max_pool_id_len}}', end='') 160 print(' ordered ', end='') 162 print(' unbound', end='') 164 print(',S ', end='') 166 print(' ', end='') 168 print(' percpu ', end='') [all …]
|
/openbmc/linux/arch/arm/mach-pxa/ |
H A D | devices.c | 39 .end = IRQ_PMU, 53 .end = 0x41100fff, 58 .end = IRQ_MMC, 88 .end = 0x4060ffff, 93 .end = IRQ_USB, 130 .end = IRQ_LCD, 260 .end = IRQ_I2C, 305 .end = IRQ_I2S, 418 .end = IRQ_SSP, 532 .end = IRQ_SSP, [all …]
|
/openbmc/linux/arch/nios2/mm/ |
H 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 …]
|
/openbmc/qemu/hw/intc/ |
H A D | xive2.c | 85 if (!xive2_end_is_valid(end)) { in xive2_end_pic_print_info() 126 if (!xive2_end_is_escalate(end)) { in xive2_end_eas_pic_print_info() 190 end->w1 = xive_set_field32(END2_W1_GENERATION, end->w1, qgen); in xive2_end_enqueue() 193 end->w1 = xive_set_field32(END2_W1_GEN_FLIPPED, end->w1, qgen); in xive2_end_enqueue() 195 end->w1 = xive_set_field32(END2_W1_PAGE_OFF, end->w1, qindex); in xive2_end_enqueue() 584 end->w1 = xive_set_field32(end_esmask, end->w1, pq); in xive2_router_end_es_notify() 600 Xive2End end; in xive2_router_end_notify() local 849 Xive2End end; in xive2_end_source_read() local 901 end.w1 = xive_set_field32(end_esmask, end.w1, pq); in xive2_end_source_read() 915 Xive2End end; in xive2_end_source_write() local [all …]
|
/openbmc/linux/arch/csky/mm/ |
H 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 …]
|
/openbmc/linux/arch/x86/pci/ |
H 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 …]
|
/openbmc/linux/tools/testing/selftests/kvm/lib/ |
H 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 …]
|
/openbmc/linux/arch/arm/mm/ |
H 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 …]
|
/openbmc/linux/arch/x86/mm/pat/ |
H 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 …]
|