Home
last modified time | relevance | path

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

123

/Linux-v6.1/drivers/infiniband/hw/hfi1/
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()
/Linux-v6.1/drivers/gpu/drm/tests/
Ddrm_mm_test.c703 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
1337 drm_mm_scan_init_with_range(&scan, mm, size, alignment, 0, range_start, in evict_something()
1353 if (tmp.start < range_start || tmp.start + tmp.size > range_end) { in evict_something()
[all …]
/Linux-v6.1/arch/x86/kvm/
Dmtrr.c138 int range_start; member
147 .range_start = 0,
158 .range_start = 8,
169 .range_start = 24,
226 return mtrr_seg->range_start + 8 * unit; in fixed_mtrr_seg_unit_range_index()
235 return mtrr_seg->range_start + n - 1; in fixed_mtrr_seg_end_range_index()
279 index = mtrr_seg->range_start; in fixed_mtrr_addr_seg_to_range_index()
287 int pos = index - mtrr_seg->range_start; in fixed_mtrr_range_end_addr()
/Linux-v6.1/arch/powerpc/sysdev/
Dfsl_rio.c457 u64 range_start, range_size; in fsl_rio_setup() local
556 range_start = of_read_number(dt_range, aw); in fsl_rio_setup()
558 (u32)range_start); in fsl_rio_setup()
584 range_start = of_read_number(dt_range, aw); in fsl_rio_setup()
585 pw->pw_regs = (struct rio_pw_regs *)(rmu_regs_win + (u32)range_start); in fsl_rio_setup()
617 range_start = of_read_number(dt_range + aw, paw); in fsl_rio_setup()
621 np, range_start, range_size); in fsl_rio_setup()
644 port->iores.start = range_start; in fsl_rio_setup()
731 rio_law_start = range_start; in fsl_rio_setup()
/Linux-v6.1/arch/xtensa/mm/
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()
/Linux-v6.1/drivers/gpu/drm/
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()
/Linux-v6.1/net/bridge/
Dbr_vlan.c1955 struct net_bridge_vlan *v, *range_start = NULL, *range_end = NULL; in br_vlan_dump_dev() local
2008 if (!range_start) { in br_vlan_dump_dev()
2009 range_start = v; in br_vlan_dump_dev()
2017 if (!br_vlan_global_opts_fill(skb, range_start->vid, in br_vlan_dump_dev()
2019 range_start)) { in br_vlan_dump_dev()
2024 idx += range_end->vid - range_start->vid + 1; in br_vlan_dump_dev()
2026 range_start = v; in br_vlan_dump_dev()
2029 u16 vlan_flags = br_vlan_flags(range_start, pvid); in br_vlan_dump_dev()
2031 if (!br_vlan_fill_vids(skb, range_start->vid, in br_vlan_dump_dev()
2032 range_end->vid, range_start, in br_vlan_dump_dev()
[all …]
Dbr_vlan_options.c222 struct net_bridge_vlan *range_start, in br_vlan_process_options() argument
237 if (!range_start || !br_vlan_should_use(range_start)) { in br_vlan_process_options()
247 for (vid = range_start->vid; vid <= range_end->vid; vid++) { in br_vlan_process_options()
/Linux-v6.1/arch/arm/mm/
Dpageattr.c29 unsigned long range_start, unsigned long range_end) in in_range() argument
31 return start >= range_start && start < range_end && in in_range()
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()
/Linux-v6.1/fs/btrfs/
Dordered-data.h203 const u64 range_start, const u64 range_len);
205 const u64 range_start, const u64 range_len);
Dordered-data.c625 const u64 range_start, const u64 range_len) in btrfs_wait_ordered_extents() argument
633 const u64 range_end = range_start + range_len; in btrfs_wait_ordered_extents()
643 ordered->disk_bytenr + ordered->disk_num_bytes <= range_start) { in btrfs_wait_ordered_extents()
681 const u64 range_start, const u64 range_len) in btrfs_wait_ordered_roots() argument
702 range_start, range_len); in btrfs_wait_ordered_roots()
/Linux-v6.1/drivers/gpu/drm/amd/amdkfd/
Dkfd_device.c1020 (*mem_obj)->range_start = found; in kfd_gtt_sa_allocate()
1072 (*mem_obj)->range_start, (*mem_obj)->range_end); in kfd_gtt_sa_allocate()
1075 bitmap_set(kfd->gtt_sa_bitmap, (*mem_obj)->range_start, in kfd_gtt_sa_allocate()
1076 (*mem_obj)->range_end - (*mem_obj)->range_start + 1); in kfd_gtt_sa_allocate()
1096 mem_obj, mem_obj->range_start, mem_obj->range_end); in kfd_gtt_sa_free()
1101 bitmap_clear(kfd->gtt_sa_bitmap, mem_obj->range_start, in kfd_gtt_sa_free()
1102 mem_obj->range_end - mem_obj->range_start + 1); in kfd_gtt_sa_free()
/Linux-v6.1/drivers/gpu/drm/msm/
Dmsm_gem_vma.c145 u64 range_start, u64 range_end) in msm_gem_init_vma() argument
155 range_start, range_end, 0); in msm_gem_init_vma()
Dmsm_gem.c387 u64 range_start, u64 range_end) in get_vma_locked() argument
403 range_start, range_end); in get_vma_locked()
409 GEM_WARN_ON(vma->iova < range_start); in get_vma_locked()
467 u64 range_start, u64 range_end) in get_and_pin_iova_range_locked() argument
474 vma = get_vma_locked(obj, aspace, range_start, range_end); in get_and_pin_iova_range_locked()
491 u64 range_start, u64 range_end) in msm_gem_get_and_pin_iova_range() argument
496 ret = get_and_pin_iova_range_locked(obj, aspace, iova, range_start, range_end); in msm_gem_get_and_pin_iova_range()
Dmsm_gem.h74 u64 range_start, u64 range_end);
135 u64 range_start, u64 range_end);
/Linux-v6.1/arch/arm64/kvm/hyp/include/nvhe/
Dgfp.h20 phys_addr_t range_start; member
/Linux-v6.1/arch/powerpc/platforms/powernv/
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()
/Linux-v6.1/drivers/mmc/host/
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()
/Linux-v6.1/arch/ia64/kernel/
Dsetup.c146 u64 range_start, range_end, prev_start; in filter_rsvd_memory() local
164 range_start = max(start, prev_start); in filter_rsvd_memory()
167 if (range_start < range_end) in filter_rsvd_memory()
168 call_pernode_memory(__pa(range_start), range_end - range_start, func); in filter_rsvd_memory()
/Linux-v6.1/arch/arm64/kvm/hyp/nvhe/
Dpage_alloc.c45 if (addr < pool->range_start || addr >= pool->range_end) in __find_buddy_nocheck()
247 pool->range_start = phys; in hyp_pool_init()
/Linux-v6.1/drivers/misc/habanalabs/goya/
Dgoya_coresight.c366 u64 range_start, range_end; in goya_etr_validate_address() local
375 range_start = prop->dmmu.start_addr; in goya_etr_validate_address()
378 range_start = prop->dram_user_base_address; in goya_etr_validate_address()
382 return hl_mem_area_inside_range(addr, size, range_start, range_end); in goya_etr_validate_address()
/Linux-v6.1/drivers/media/i2c/
Dimx274.c636 int range_start = -1; in imx274_write_table() local
642 if ((next->addr != range_start + range_count) || in imx274_write_table()
648 range_start, range_vals[0]); in imx274_write_table()
650 err = regmap_bulk_write(regmap, range_start, in imx274_write_table()
659 range_start = -1; in imx274_write_table()
674 if (range_start == -1) in imx274_write_table()
675 range_start = next->addr; in imx274_write_table()
/Linux-v6.1/drivers/net/ethernet/netronome/nfp/bpf/
Djit.c2733 s16 range_start = meta->pkt_cache.range_start; in mem_ldx_data_init_pktcache() local
2739 off = re_load_imm_any(nfp_prog, range_start, imm_b(nfp_prog)); in mem_ldx_data_init_pktcache()
2741 len = range_end - range_start; in mem_ldx_data_init_pktcache()
2760 s16 range_start = meta->pkt_cache.range_start; in mem_ldx_data_from_pktcache_unaligned() local
2761 s16 insn_off = meta->insn.off - range_start; in mem_ldx_data_from_pktcache_unaligned()
2817 idx = (meta->insn.off - meta->pkt_cache.range_start) / REG_WIDTH; in mem_ldx_data_from_pktcache_aligned()
2843 u8 off = meta->insn.off - meta->pkt_cache.range_start; in mem_ldx_data_from_pktcache()
4279 s16 range_start = 0, range_end = 0; in nfp_bpf_opt_pkt_cache() local
4330 s16 new_start = range_start; in nfp_bpf_opt_pkt_cache()
4335 if (off < range_start) { in nfp_bpf_opt_pkt_cache()
[all …]
/Linux-v6.1/fs/ocfs2/
Dfile.c861 u64 *range_start, u64 *range_end) in ocfs2_zero_extend_get_range() argument
920 *range_start = ocfs2_clusters_to_bytes(inode->i_sb, zero_cpos); in ocfs2_zero_extend_get_range()
932 static int ocfs2_zero_extend_range(struct inode *inode, u64 range_start, in ocfs2_zero_extend_range() argument
937 u64 zero_pos = range_start; in ocfs2_zero_extend_range()
941 (unsigned long long)range_start, in ocfs2_zero_extend_range()
943 BUG_ON(range_start >= range_end); in ocfs2_zero_extend_range()
970 u64 zero_start, range_start = 0, range_end = 0; in ocfs2_zero_extend() local
980 &range_start, in ocfs2_zero_extend()
989 if (range_start < zero_start) in ocfs2_zero_extend()
990 range_start = zero_start; in ocfs2_zero_extend()
[all …]

123