Home
last modified time | relevance | path

Searched refs:range_start (Results 1 – 25 of 78) sorted by relevance

1234

/openbmc/linux/drivers/firmware/efi/
H A Dunaccepted_memory.c35 unsigned long range_start, range_end; in accept_memory() local
124 range_start = range.start; in accept_memory()
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()
130 phys_start = range_start * unit_size + unaccepted->phys_base; in accept_memory()
148 bitmap_clear(unaccepted->bitmap, range_start, len); in accept_memory()
/openbmc/qemu/qapi/
H A Dstring-output-visitor.c65 } range_start, range_end; member
158 sov->range_start.s = *obj; in print_type_int64()
167 if (sov->range_start.s == sov->range_end.s) { in print_type_int64()
170 assert(sov->range_start.s < sov->range_end.s); in print_type_int64()
171 string_output_append_range(sov, sov->range_start.s, in print_type_int64()
175 sov->range_start.s = *obj; in print_type_int64()
183 assert(sov->range_start.s < sov->range_end.s); in print_type_int64()
184 string_output_append_range(sov, sov->range_start.s, in print_type_int64()
187 if (sov->range_start.s == sov->range_end.s) { in print_type_int64()
190 assert(sov->range_start.s < sov->range_end.s); in print_type_int64()
[all …]
/openbmc/linux/drivers/firmware/efi/libstub/
H A Dunaccepted_memory.c182 unsigned long range_start, range_end; in accept_memory() local
208 range_start = start / unit_size; in accept_memory()
211 for_each_set_bitrange_from(range_start, range_end, in accept_memory()
215 phys_start = range_start * 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 Dfault.c114 unsigned long range_start, range_end, i; in fault_opcodes_write() local
128 if (kstrtoul(token, 0, &range_start)) 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 Ddrm_mm_test.c709 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
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()
1356 tmp.start, tmp.size, range_start, range_end); in evict_something()
1486 const unsigned int range_start = size / 4; in drm_test_mm_evict_range() local
1520 mode->name, n, range_start, range_end); in drm_test_mm_evict_range()
2014 tmp.start, tmp.size, range_start, range_end); in evict_color()
2131 const unsigned int range_start = total_size / 4; in drm_test_mm_color_evict_range() local
[all …]
/openbmc/linux/arch/x86/kvm/
H A Dmtrr.c150 int range_start; member
159 .range_start = 0,
170 .range_start = 8,
181 .range_start = 24,
238 return mtrr_seg->range_start + 8 * unit; in fixed_mtrr_seg_unit_range_index()
247 return mtrr_seg->range_start + n - 1; in fixed_mtrr_seg_end_range_index()
291 index = mtrr_seg->range_start; in fixed_mtrr_addr_seg_to_range_index()
299 int pos = index - mtrr_seg->range_start; in fixed_mtrr_range_end_addr()
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_doorbell.c212 int range_start = dev->shared_resources.non_cp_doorbells_start; in init_doorbell_bitmap() local
219 pr_debug("reserved doorbell 0x%03x - 0x%03x\n", range_start, range_end); in init_doorbell_bitmap()
221 range_start + KFD_QUEUE_DOORBELL_MIRROR_OFFSET, in init_doorbell_bitmap()
225 if (i >= range_start && i <= range_end) { in init_doorbell_bitmap()
H A Dkfd_device.c1207 (*mem_obj)->range_start = found; in kfd_gtt_sa_allocate()
1259 (*mem_obj)->range_start, (*mem_obj)->range_end); in kfd_gtt_sa_allocate()
1262 bitmap_set(kfd->gtt_sa_bitmap, (*mem_obj)->range_start, 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()
1290 bitmap_clear(kfd->gtt_sa_bitmap, mem_obj->range_start, in kfd_gtt_sa_free()
1291 mem_obj->range_end - mem_obj->range_start + 1); in kfd_gtt_sa_free()
/openbmc/linux/drivers/base/regmap/
H A Dregcache-maple.c350 int range_start; in regcache_maple_init() local
362 range_start = 0; in regcache_maple_init()
368 ret = regcache_maple_insert_block(map, range_start, in regcache_maple_init()
373 range_start = i; in regcache_maple_init()
378 ret = regcache_maple_insert_block(map, range_start, in regcache_maple_init()
/openbmc/linux/arch/xtensa/mm/
H A Dinit.c86 phys_addr_t range_start, range_end; in free_highpages() local
91 &range_start, &range_end, NULL) { in free_highpages()
92 unsigned long start = PFN_UP(range_start); in free_highpages()
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_mm.c518 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()
551 if (mode == DRM_MM_INSERT_HIGH && hole_end <= range_start) in drm_mm_insert_node_in_range()
559 adj_start = max(col_start, range_start); in drm_mm_insert_node_in_range()
580 if (adj_start < max(col_start, range_start) || in drm_mm_insert_node_in_range()
761 scan->range_start = start; in drm_mm_scan_init_with_range()
812 adj_start = max(col_start, scan->range_start); in drm_mm_scan_add_block()
831 if (adj_start < max(col_start, scan->range_start) || in drm_mm_scan_add_block()
/openbmc/linux/net/bridge/
H A Dbr_vlan.c2009 if (!range_start) { in br_vlan_dump_dev()
2010 range_start = v; in br_vlan_dump_dev()
2020 range_start)) { in br_vlan_dump_dev()
2027 range_start = v; in br_vlan_dump_dev()
2033 range_end->vid, range_start, in br_vlan_dump_dev()
2041 range_start = v; in br_vlan_dump_dev()
2052 if (!err && range_start) { in br_vlan_dump_dev()
2055 range_end->vid, range_start)) in br_vlan_dump_dev()
2058 !br_vlan_fill_vids(skb, range_start->vid, in br_vlan_dump_dev()
2059 range_end->vid, range_start, in br_vlan_dump_dev()
[all …]
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/
H A Dpage_alloc.c45 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()
234 pool->range_start = phys; in hyp_pool_init()
/openbmc/linux/arch/arm/mm/
H A Dpageattr.c29 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()
H A Dinit.c243 phys_addr_t range_start, range_end; in free_highpages() local
248 &range_start, &range_end, NULL) { in free_highpages()
249 unsigned long start = PFN_UP(range_start); in free_highpages()
/openbmc/linux/arch/powerpc/sysdev/
H A Dfsl_rio.c456 u64 range_start; in fsl_rio_setup() local
530 if (of_property_read_reg(np, 0, &range_start, NULL)) { in fsl_rio_setup()
537 (u32)range_start); in fsl_rio_setup()
555 if (of_property_read_reg(np, 0, &range_start, NULL)) { in fsl_rio_setup()
561 pw->pw_regs = (struct rio_pw_regs *)(rmu_regs_win + (u32)range_start); in fsl_rio_setup()
689 rio_law_start = range_start; in fsl_rio_setup()
/openbmc/linux/arch/s390/boot/
H A Dphysmem_info.c252 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()
264 if (range_start > addr) { in __physmem_alloc_range()
/openbmc/linux/drivers/gpu/drm/msm/
H A Dmsm_gem_vma.c125 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 Dmsm_gem.c446 u64 range_start, u64 range_end) in get_vma_locked() argument
462 range_start, range_end); in get_vma_locked()
468 GEM_WARN_ON(vma->iova < range_start); 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()
/openbmc/linux/fs/btrfs/
H A Dordered-data.h201 const u64 range_start, const u64 range_len);
203 const u64 range_start, const u64 range_len);
/openbmc/linux/include/uapi/linux/
H A Dsed-opal.h84 __u64 range_start; member
93 __u64 range_start; member
/openbmc/linux/arch/arm64/kvm/hyp/include/nvhe/
H A Dgfp.h20 phys_addr_t range_start; member
/openbmc/linux/arch/powerpc/platforms/powernv/
H A Docxl.c227 u16 actag_count, range_start = 0, total_desired = 0; in assign_actags() local
238 link->fn_actags[i].start = range_start; in assign_actags()
240 range_start += actag_count; in assign_actags()
241 WARN_ON(range_start >= PNV_OCXL_ACTAG_MAX); in assign_actags()
/openbmc/linux/drivers/mmc/host/
H A Ddw_mmc-k3.c327 unsigned int range_start = 0; in dw_mci_get_best_clksmpl() local
350 range_start = i; in dw_mci_get_best_clksmpl()
360 middle_range = range_start + range_length / 2; in dw_mci_get_best_clksmpl()
/openbmc/linux/arch/ia64/kernel/
H A Dsetup.c150 u64 range_start, range_end, prev_start; in filter_rsvd_memory() local
168 range_start = max(start, prev_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()

1234