Home
last modified time | relevance | path

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

123

/linux-6.1.9/arch/arm/mm/
Dcache-feroceon-l2.c141 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 …]
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()
32 size <= range_end - start; 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()
250 unsigned long end = PFN_DOWN(range_end); in free_highpages()
/linux-6.1.9/net/bridge/
Dbr_vlan_options.c33 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()
223 struct net_bridge_vlan *range_end, in br_vlan_process_options() argument
241 if (!range_end || !br_vlan_should_use(range_end)) { in br_vlan_process_options()
247 for (vid = range_start->vid; vid <= range_end->vid; vid++) { in br_vlan_process_options()
Dbr_vlan.c1943 const struct net_bridge_vlan *range_end) in br_vlan_can_enter_range() argument
1945 return v_curr->vid - range_end->vid == 1 && in br_vlan_can_enter_range()
1946 range_end->flags == v_curr->flags && in br_vlan_can_enter_range()
1947 br_vlan_opts_eq_range(v_curr, range_end); in br_vlan_can_enter_range()
1955 struct net_bridge_vlan *v, *range_start = NULL, *range_end = NULL; in br_vlan_dump_dev() local
2010 range_end = v; in br_vlan_dump_dev()
2015 if (br_vlan_global_opts_can_enter_range(v, range_end)) in br_vlan_dump_dev()
2018 range_end->vid, in br_vlan_dump_dev()
2024 idx += range_end->vid - range_start->vid + 1; in br_vlan_dump_dev()
2028 !br_vlan_can_enter_range(v, range_end)) { in br_vlan_dump_dev()
[all …]
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dfault.c114 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()
/linux-6.1.9/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
1338 range_end, mode->mode); in evict_something()
1353 if (tmp.start < range_start || tmp.start + tmp.size > range_end) { in evict_something()
[all …]
/linux-6.1.9/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()
93 unsigned long end = PFN_DOWN(range_end); in free_highpages()
/linux-6.1.9/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()
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()
/linux-6.1.9/arch/powerpc/platforms/powernv/
Dopal-prd.c57 uint64_t range_addr, range_size, range_end; in opal_prd_range_is_valid() local
64 range_end = range_addr + range_size; in opal_prd_range_is_valid()
72 if (range_end <= range_addr) in opal_prd_range_is_valid()
75 if (addr >= range_addr && addr + size <= range_end) { in opal_prd_range_is_valid()
/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/
Dkfd_device.c1021 (*mem_obj)->range_end = found; in kfd_gtt_sa_allocate()
1044 (*mem_obj)->range_end = in kfd_gtt_sa_allocate()
1052 if ((*mem_obj)->range_end != found) { in kfd_gtt_sa_allocate()
1072 (*mem_obj)->range_start, (*mem_obj)->range_end); 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()
1102 mem_obj->range_end - mem_obj->range_start + 1); in kfd_gtt_sa_free()
/linux-6.1.9/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()
410 GEM_WARN_ON((vma->iova + obj->size) > range_end); 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-6.1.9/arch/arm64/kvm/hyp/include/nvhe/
Dgfp.h21 phys_addr_t range_end; member
/linux-6.1.9/fs/ocfs2/
Dfile.c861 u64 *range_start, u64 *range_end) in ocfs2_zero_extend_get_range() argument
889 *range_end = 0; in ocfs2_zero_extend_get_range()
921 *range_end = ocfs2_clusters_to_bytes(inode->i_sb, in ocfs2_zero_extend_get_range()
933 u64 range_end, struct buffer_head *di_bh) in ocfs2_zero_extend_range() argument
942 (unsigned long long)range_end); in ocfs2_zero_extend_range()
943 BUG_ON(range_start >= range_end); in ocfs2_zero_extend_range()
945 while (zero_pos < range_end) { in ocfs2_zero_extend_range()
947 if (next_pos > range_end) in ocfs2_zero_extend_range()
948 next_pos = range_end; in ocfs2_zero_extend_range()
970 u64 zero_start, range_start = 0, range_end = 0; in ocfs2_zero_extend() local
[all …]
/linux-6.1.9/arch/ia64/kernel/
Dsetup.c146 u64 range_start, range_end, prev_start; in filter_rsvd_memory() local
165 range_end = min(end, rsvd_region[i].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()
171 if (range_end == end) return 0; in filter_rsvd_memory()
/linux-6.1.9/arch/arm64/kvm/hyp/nvhe/
Dpage_alloc.c45 if (addr < pool->range_start || addr >= pool->range_end) in __find_buddy_nocheck()
248 pool->range_end = phys + (nr_pages << PAGE_SHIFT); in hyp_pool_init()
/linux-6.1.9/drivers/misc/habanalabs/goya/
Dgoya_coresight.c366 u64 range_start, range_end; in goya_etr_validate_address() local
376 range_end = prop->dmmu.end_addr; in goya_etr_validate_address()
379 range_end = prop->dram_end_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-6.1.9/include/trace/events/
Dwriteback.h457 __field(long, range_end)
471 __entry->range_end = (long)wbc->range_end;
487 __entry->range_end,
/linux-6.1.9/fs/nfs/
Dnfstrace.h281 loff_t range_end
284 TP_ARGS(inode, range_start, range_end),
292 __field(loff_t, range_end)
303 __entry->range_end = range_end;
312 __entry->range_start, __entry->range_end
321 loff_t range_end \
323 TP_ARGS(inode, range_start, range_end))
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/bpf/
Djit.c2734 s16 range_end = meta->pkt_cache.range_end; in mem_ldx_data_init_pktcache() local
2741 len = range_end - range_start; in mem_ldx_data_init_pktcache()
2866 if (meta->pkt_cache.range_end) { in mem_ldx()
4279 s16 range_start = 0, range_end = 0; in nfp_bpf_opt_pkt_cache() local
4332 s16 new_end = range_end; in nfp_bpf_opt_pkt_cache()
4341 if (end > range_end) { in nfp_bpf_opt_pkt_cache()
4352 range_end = new_end; in nfp_bpf_opt_pkt_cache()
4359 range_node->pkt_cache.range_end = range_end; in nfp_bpf_opt_pkt_cache()
4366 range_end = insn->off + BPF_LDST_BYTES(insn); in nfp_bpf_opt_pkt_cache()
4371 range_node->pkt_cache.range_end = range_end; in nfp_bpf_opt_pkt_cache()
[all …]
/linux-6.1.9/fs/btrfs/
Dreflink.c61 const u64 range_end = file_offset + block_size - 1; in copy_inline_to_page() local
93 clear_extent_bit(&inode->io_tree, file_offset, range_end, in copy_inline_to_page()
96 ret = btrfs_set_extent_delalloc(inode, file_offset, range_end, 0, NULL); in copy_inline_to_page()
Dextent_map.c85 static u64 range_end(u64 start, u64 len) in range_end() function
98 u64 end = range_end(em->start, em->len); in tree_insert()
435 u64 end = range_end(start, len); in __lookup_extent_mapping()
/linux-6.1.9/include/drm/
Ddrm_mm.h236 u64 range_end; member

123