/openbmc/linux/arch/arm/mm/ |
H A D | cache-feroceon-l2.c | 141 unsigned long range_end; in calc_range_end() local 149 range_end = end; in calc_range_end() 156 if (range_end > start + MAX_RANGE_SIZE) in calc_range_end() 157 range_end = start + MAX_RANGE_SIZE; in calc_range_end() 162 if (range_end > (start | (PAGE_SIZE - 1)) + 1) in calc_range_end() 163 range_end = (start | (PAGE_SIZE - 1)) + 1; in calc_range_end() 165 return range_end; in calc_range_end() 190 unsigned long range_end = calc_range_end(start, end); in feroceon_l2_inv_range() local 191 l2_inv_pa_range(start, range_end - CACHE_LINE_SIZE); in feroceon_l2_inv_range() 192 start = range_end; in feroceon_l2_inv_range() [all …]
|
H A D | pageattr.c | 29 unsigned long range_start, unsigned long range_end) in range_in_range() argument 31 return start >= range_start && start < range_end && in range_in_range() 32 size <= range_end - start; in range_in_range()
|
H A D | init.c | 243 phys_addr_t range_start, range_end; in free_highpages() local 248 &range_start, &range_end, NULL) { in free_highpages() 250 unsigned long end = PFN_DOWN(range_end); in free_highpages()
|
/openbmc/qemu/qapi/ |
H A D | string-output-visitor.c | 65 } range_start, range_end; member 159 sov->range_end.s = *obj; in print_type_int64() 164 if (sov->range_end.s + 1 == *obj) { in print_type_int64() 165 sov->range_end.s++; in print_type_int64() 167 if (sov->range_start.s == sov->range_end.s) { in print_type_int64() 168 string_output_append(sov, sov->range_end.s); in print_type_int64() 170 assert(sov->range_start.s < sov->range_end.s); in print_type_int64() 172 sov->range_end.s); in print_type_int64() 176 sov->range_end.s = *obj; in print_type_int64() 181 if (sov->range_end.s + 1 == *obj) { in print_type_int64() [all …]
|
/openbmc/linux/drivers/firmware/efi/ |
H A D | unaccepted_memory.c | 35 unsigned long range_start, range_end; in accept_memory() local 125 for_each_set_bitrange_from(range_start, range_end, unaccepted->bitmap, in accept_memory() 128 unsigned long len = range_end - range_start; in accept_memory() 131 phys_end = range_end * unit_size + unaccepted->phys_base; in accept_memory()
|
/openbmc/linux/net/bridge/ |
H A D | br_vlan_options.c | 33 const struct net_bridge_vlan *range_end) in __vlan_tun_can_enter_range() argument 35 return (!v_curr->tinfo.tunnel_dst && !range_end->tinfo.tunnel_dst) || in __vlan_tun_can_enter_range() 36 vlan_tunid_inrange(v_curr, range_end); in __vlan_tun_can_enter_range() 41 const struct net_bridge_vlan *range_end) in br_vlan_opts_eq_range() argument 43 u8 range_mc_rtr = br_vlan_multicast_router(range_end); in br_vlan_opts_eq_range() 46 return v_curr->state == range_end->state && in br_vlan_opts_eq_range() 47 __vlan_tun_can_enter_range(v_curr, range_end) && in br_vlan_opts_eq_range() 266 struct net_bridge_vlan *range_end, in br_vlan_process_options() argument 284 if (!range_end || !br_vlan_should_use(range_end)) { in br_vlan_process_options() 290 for (vid = range_start->vid; vid <= range_end->vid; vid++) { in br_vlan_process_options()
|
H A D | br_vlan.c | 1944 const struct net_bridge_vlan *range_end) in br_vlan_can_enter_range() argument 1946 return v_curr->vid - range_end->vid == 1 && in br_vlan_can_enter_range() 1947 range_end->flags == v_curr->flags && in br_vlan_can_enter_range() 1948 br_vlan_opts_eq_range(v_curr, range_end); in br_vlan_can_enter_range() 1956 struct net_bridge_vlan *v, *range_start = NULL, *range_end = NULL; in br_vlan_dump_dev() local 2011 range_end = v; in br_vlan_dump_dev() 2016 if (br_vlan_global_opts_can_enter_range(v, range_end)) in br_vlan_dump_dev() 2019 range_end->vid, in br_vlan_dump_dev() 2025 idx += range_end->vid - range_start->vid + 1; in br_vlan_dump_dev() 2029 !br_vlan_can_enter_range(v, range_end)) { in br_vlan_dump_dev() [all …]
|
/openbmc/linux/drivers/firmware/efi/libstub/ |
H A D | unaccepted_memory.c | 182 unsigned long range_start, range_end; in accept_memory() local 211 for_each_set_bitrange_from(range_start, range_end, in accept_memory() 216 phys_end = range_end * unit_size + unaccepted_table->phys_base; in accept_memory() 220 range_start, range_end - range_start); in accept_memory()
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | fault.c | 114 unsigned long range_start, range_end, i; in fault_opcodes_write() local 132 if (kstrtoul(token, 0, &range_end)) in fault_opcodes_write() 135 range_end = range_start; in fault_opcodes_write() 137 if (range_start == range_end && range_start == -1UL) { in fault_opcodes_write() 143 if (range_start >= bound || range_end >= bound) in fault_opcodes_write() 146 for (i = range_start; i <= range_end; i++) { in fault_opcodes_write()
|
/openbmc/linux/drivers/gpu/drm/tests/ |
H A D | drm_mm_test.c | 703 u64 range_start, u64 range_end, const struct insert_mode *mode) in expect_insert_in_range() argument 709 range_start, range_end, in expect_insert_in_range() 715 range_start, range_end, err); in expect_insert_in_range() 728 u64 size, u64 range_start, u64 range_end) in expect_insert_in_range_fail() argument 733 err = drm_mm_insert_node_in_range(mm, &tmp, size, 0, 0, range_start, range_end, in expect_insert_in_range_fail() 741 tmp.start, tmp.size, range_start, range_end); in expect_insert_in_range_fail() 746 err, -ENOSPC, size, range_start, range_end); in expect_insert_in_range_fail() 1327 u64 range_start, u64 range_end, struct evict_node *nodes, in evict_something() argument 1338 range_end, mode->mode); in evict_something() 1353 if (tmp.start < range_start || tmp.start + tmp.size > range_end) { in evict_something() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_doorbell.c | 213 int range_end = dev->shared_resources.non_cp_doorbells_end; in init_doorbell_bitmap() local 219 pr_debug("reserved doorbell 0x%03x - 0x%03x\n", range_start, range_end); in init_doorbell_bitmap() 222 range_end + KFD_QUEUE_DOORBELL_MIRROR_OFFSET); in init_doorbell_bitmap() 225 if (i >= range_start && i <= range_end) { in init_doorbell_bitmap()
|
H A D | kfd_device.c | 1208 (*mem_obj)->range_end = found; in kfd_gtt_sa_allocate() 1231 (*mem_obj)->range_end = in kfd_gtt_sa_allocate() 1239 if ((*mem_obj)->range_end != found) { in kfd_gtt_sa_allocate() 1259 (*mem_obj)->range_start, (*mem_obj)->range_end); in kfd_gtt_sa_allocate() 1263 (*mem_obj)->range_end - (*mem_obj)->range_start + 1); in kfd_gtt_sa_allocate() 1285 mem_obj, mem_obj->range_start, mem_obj->range_end); in kfd_gtt_sa_free() 1291 mem_obj->range_end - mem_obj->range_start + 1); in kfd_gtt_sa_free()
|
/openbmc/linux/arch/xtensa/mm/ |
H A D | init.c | 86 phys_addr_t range_start, range_end; in free_highpages() local 91 &range_start, &range_end, NULL) { in free_highpages() 93 unsigned long end = PFN_DOWN(range_end); in free_highpages()
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_mm.c | 518 u64 range_start, u64 range_end, in drm_mm_insert_node_in_range() argument 525 DRM_MM_BUG_ON(range_start > range_end); in drm_mm_insert_node_in_range() 527 if (unlikely(size == 0 || range_end - range_start < size)) in drm_mm_insert_node_in_range() 540 for (hole = first_hole(mm, range_start, range_end, size, mode); in drm_mm_insert_node_in_range() 548 if (mode == DRM_MM_INSERT_LOW && hole_start >= range_end) in drm_mm_insert_node_in_range() 560 adj_end = min(col_end, range_end); in drm_mm_insert_node_in_range() 581 min(col_end, range_end) - adj_start < size) in drm_mm_insert_node_in_range() 762 scan->range_end = end; in drm_mm_scan_init_with_range() 813 adj_end = min(col_end, scan->range_end); in drm_mm_scan_add_block() 832 min(col_end, scan->range_end) - adj_start < scan->size) in drm_mm_scan_add_block()
|
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/ |
H A D | page_alloc.c | 45 if (addr < pool->range_start || addr >= pool->range_end) in __find_buddy_nocheck() 103 if (phys < pool->range_start || phys >= pool->range_end) in __hyp_attach_page() 235 pool->range_end = phys + (nr_pages << PAGE_SHIFT); in hyp_pool_init()
|
/openbmc/linux/arch/powerpc/platforms/powernv/ |
H A D | opal-prd.c | 64 uint64_t range_addr, range_size, range_end; in opal_prd_range_is_valid() local 71 range_end = range_addr + range_size; in opal_prd_range_is_valid() 79 if (range_end <= range_addr) in opal_prd_range_is_valid() 82 if (addr >= range_addr && addr + size <= range_end) { in opal_prd_range_is_valid()
|
/openbmc/linux/arch/s390/boot/ |
H A D | physmem_info.c | 252 unsigned long range_start, range_end; in __physmem_alloc_range() local 258 __get_physmem_range(nranges - 1, &range_start, &range_end, false); in __physmem_alloc_range() 259 pos = min(range_end, pos); in __physmem_alloc_range()
|
/openbmc/linux/drivers/gpu/drm/msm/ |
H A D | msm_gem_vma.c | 125 u64 range_start, u64 range_end) in msm_gem_vma_init() argument 139 range_start, range_end, 0); in msm_gem_vma_init()
|
H A D | msm_gem.c | 446 u64 range_start, u64 range_end) in get_vma_locked() argument 462 range_start, range_end); in get_vma_locked() 469 GEM_WARN_ON((vma->iova + obj->size) > range_end); in get_vma_locked() 536 u64 range_start, u64 range_end) in get_and_pin_iova_range_locked() argument 543 vma = get_vma_locked(obj, aspace, range_start, range_end); in get_and_pin_iova_range_locked() 562 u64 range_start, u64 range_end) in msm_gem_get_and_pin_iova_range() argument 567 ret = get_and_pin_iova_range_locked(obj, aspace, iova, range_start, range_end); in msm_gem_get_and_pin_iova_range()
|
H A D | msm_gem.h | 70 u64 range_start, u64 range_end); 132 u64 range_start, u64 range_end);
|
/openbmc/linux/fs/ocfs2/ |
H A D | file.c | 860 u64 *range_start, u64 *range_end) in ocfs2_zero_extend_get_range() argument 888 *range_end = 0; in ocfs2_zero_extend_get_range() 920 *range_end = ocfs2_clusters_to_bytes(inode->i_sb, in ocfs2_zero_extend_get_range() 932 u64 range_end, struct buffer_head *di_bh) in ocfs2_zero_extend_range() argument 941 (unsigned long long)range_end); in ocfs2_zero_extend_range() 942 BUG_ON(range_start >= range_end); in ocfs2_zero_extend_range() 944 while (zero_pos < range_end) { in ocfs2_zero_extend_range() 946 if (next_pos > range_end) in ocfs2_zero_extend_range() 947 next_pos = range_end; in ocfs2_zero_extend_range() 969 u64 zero_start, range_start = 0, range_end = 0; in ocfs2_zero_extend() local [all …]
|
/openbmc/linux/arch/arm64/kvm/hyp/include/nvhe/ |
H A D | gfp.h | 21 phys_addr_t range_end; member
|
/openbmc/linux/arch/ia64/kernel/ |
H A D | setup.c | 150 u64 range_start, range_end, prev_start; in filter_rsvd_memory() local 169 range_end = min(end, rsvd_region[i].start); in filter_rsvd_memory() 171 if (range_start < range_end) in filter_rsvd_memory() 172 call_pernode_memory(__pa(range_start), range_end - range_start, func); in filter_rsvd_memory() 175 if (range_end == end) return 0; in filter_rsvd_memory()
|
/openbmc/linux/include/trace/events/ |
H A D | writeback.h | 457 __field(long, range_end) 471 __entry->range_end = (long)wbc->range_end; 487 __entry->range_end,
|
/openbmc/linux/drivers/mmc/host/ |
H A D | sdhci-sprd.c | 595 int range_end = SDHCI_SPRD_MAX_RANGE; in sdhci_sprd_get_best_clk_sample() local 609 range_end = i - 1; in sdhci_sprd_get_best_clk_sample() 620 range_end = i - 1; in sdhci_sprd_get_best_clk_sample() 623 middle_range = range_end - (range_length - 1) / 2; in sdhci_sprd_get_best_clk_sample()
|