Home
last modified time | relevance | path

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

123

/linux/drivers/firmware/efi/
H A Dunaccepted_memory.c36 unsigned long range_start, range_end; in accept_memory() local
126 range_start = range.start; in accept_memory()
127 for_each_set_bitrange_from(range_start, range_end, unaccepted->bitmap, in accept_memory()
130 unsigned long len = range_end - range_start; in accept_memory()
132 phys_start = range_start * unit_size + unaccepted->phys_base; in accept_memory()
150 bitmap_clear(unaccepted->bitmap, range_start, len); in accept_memory()
/linux/drivers/firmware/efi/libstub/
H A Dunaccepted_memory.c182 unsigned long range_start, range_end; in accept_memory() local
209 range_start = start / unit_size; in accept_memory()
212 for_each_set_bitrange_from(range_start, range_end, in accept_memory()
216 phys_start = range_start * unit_size + unaccepted_table->phys_base; in accept_memory()
221 range_start, range_end - range_start); in accept_memory()
/linux/drivers/gpu/drm/xe/
H A Dxe_reg_whitelist.c122 u32 range_start, range_end; in xe_reg_whitelist_print_entry() local
139 range_start = reg & REG_GENMASK(25, range_bit); in xe_reg_whitelist_print_entry()
140 range_end = range_start | REG_GENMASK(range_bit, 0); in xe_reg_whitelist_print_entry()
155 range_start, range_end, in xe_reg_whitelist_print_entry()
/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()
/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()
/linux/drivers/base/regmap/
H A Dregcache-maple.c349 int range_start; in regcache_maple_init() local
364 range_start = 0; in regcache_maple_init()
370 ret = regcache_maple_insert_block(map, range_start, in regcache_maple_init()
375 range_start = i; in regcache_maple_init()
380 ret = regcache_maple_insert_block(map, range_start, in regcache_maple_init()
/linux/net/bridge/
H A Dbr_vlan.c1956 struct net_bridge_vlan *v, *range_start = NULL, *range_end = NULL; in br_vlan_dump_dev() local
2009 if (!range_start) { in br_vlan_dump_dev()
2010 range_start = v; in br_vlan_dump_dev()
2018 if (!br_vlan_global_opts_fill(skb, range_start->vid, in br_vlan_dump_dev()
2020 range_start)) { in br_vlan_dump_dev()
2025 idx += range_end->vid - range_start->vid + 1; in br_vlan_dump_dev()
2027 range_start = v; in br_vlan_dump_dev()
2030 u16 vlan_flags = br_vlan_flags(range_start, pvid); in br_vlan_dump_dev()
2032 if (!br_vlan_fill_vids(skb, range_start->vid, in br_vlan_dump_dev()
2033 range_end->vid, range_start, in br_vlan_dump_dev()
[all …]
H A Dbr_vlan_options.c265 struct net_bridge_vlan *range_start, in br_vlan_process_options() argument
280 if (!range_start || !br_vlan_should_use(range_start)) { in br_vlan_process_options()
290 for (vid = range_start->vid; vid <= range_end->vid; vid++) { in br_vlan_process_options()
/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()
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_top/
H A Ddml_top_mcache.c28 int range_start; in calculate_first_second_splitting() local
40 range_start = 0; in calculate_first_second_splitting()
44 if (range_start <= pipe_h_vp_start && pipe_h_vp_start <= range_end) in calculate_first_second_splitting()
47 range_start = range_end + 1; in calculate_first_second_splitting()
53 range_start = mcache_boundaries[right_cache_id] - shift; in calculate_first_second_splitting()
55 range_start = 0; in calculate_first_second_splitting()
57 if (range_start <= pipe_h_vp_end && pipe_h_vp_end <= range_end) { in calculate_first_second_splitting()
60 range_end = range_start - 1; in calculate_first_second_splitting()
/linux/fs/btrfs/
H A Dfiemap.c642 u64 range_start; in extent_fiemap() local
660 range_start = round_down(start, sectorsize); in extent_fiemap()
662 prev_extent_end = range_start; in extent_fiemap()
664 lock_extent(&inode->io_tree, range_start, range_end, &cached_state); in extent_fiemap()
672 ret = fiemap_search_slot(inode, path, range_start); in extent_fiemap()
707 if (extent_end <= range_start) in extent_fiemap()
844 unlock_extent(&inode->io_tree, range_start, range_end, &cached_state); in extent_fiemap()
/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()
235 pool->range_start = phys; in hyp_pool_init()
/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.c244 phys_addr_t range_start, range_end; in free_highpages() local
249 &range_start, &range_end, NULL) { in free_highpages()
250 unsigned long start = PFN_UP(range_start); in free_highpages()
/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()
/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.c481 u64 range_start, u64 range_end) in get_vma_locked() argument
497 range_start, range_end); in get_vma_locked()
503 GEM_WARN_ON(vma->iova < range_start); in get_vma_locked()
571 u64 range_start, u64 range_end) in get_and_pin_iova_range_locked() argument
578 vma = get_vma_locked(obj, aspace, range_start, range_end); in get_and_pin_iova_range_locked()
597 u64 range_start, u64 range_end) in msm_gem_get_and_pin_iova_range() argument
602 ret = get_and_pin_iova_range_locked(obj, aspace, iova, range_start, range_end); in msm_gem_get_and_pin_iova_range()
H A Dmsm_gem.h71 u64 range_start, u64 range_end);
137 u64 range_start, u64 range_end);
/linux/arch/s390/boot/
H A Dphysmem_info.c303 unsigned long range_start, range_end; in __physmem_alloc_range() local
309 __get_physmem_range(nranges - 1, &range_start, &range_end, false); in __physmem_alloc_range()
315 if (range_start > addr) { in __physmem_alloc_range()
/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()
/linux/arch/arm64/kvm/hyp/include/nvhe/
H A Dgfp.h20 phys_addr_t range_start; member
/linux/drivers/media/i2c/
H A 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/drivers/net/ethernet/netronome/nfp/bpf/
H A 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/fs/ocfs2/
H A 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 …]
/linux/include/trace/events/
H A Dwriteback.h464 __field(long, range_start)
478 __entry->range_start = (long)wbc->range_start;
494 __entry->range_start,

123