Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dfault.c156 unsigned long range_start, range_end, i; in fault_opcodes_write() local
170 if (kstrtoul(token, 0, &range_start)) in fault_opcodes_write()
177 range_end = range_start; in fault_opcodes_write()
179 if (range_start == range_end && range_start == -1UL) { in fault_opcodes_write()
185 if (range_start >= bound || range_end >= bound) in fault_opcodes_write()
188 for (i = range_start; i <= range_end; i++) { in fault_opcodes_write()
/kernel/linux/linux-5.10/drivers/gpu/drm/selftests/
Dtest-drm_mm.c765 u64 range_start, u64 range_end, in expect_insert_in_range() argument
772 range_start, range_end, in expect_insert_in_range()
777 range_start, range_end, err); in expect_insert_in_range()
791 u64 range_start, in expect_insert_in_range_fail() argument
799 range_start, range_end, in expect_insert_in_range_fail()
806 tmp.start, tmp.size, range_start, range_end); in expect_insert_in_range_fail()
810 err, -ENOSPC, size, range_start, range_end); in expect_insert_in_range_fail()
1448 u64 range_start, u64 range_end, in evict_something() argument
1464 range_start, range_end, in evict_something()
1482 if (tmp.start < range_start || tmp.start + tmp.size > range_end) { in evict_something()
[all …]
/kernel/linux/linux-5.10/arch/x86/kvm/
Dmtrr.c142 int range_start; member
151 .range_start = 0,
162 .range_start = 8,
173 .range_start = 24,
230 return mtrr_seg->range_start + 8 * unit; in fixed_mtrr_seg_unit_range_index()
239 return mtrr_seg->range_start + n - 1; in fixed_mtrr_seg_end_range_index()
283 index = mtrr_seg->range_start; in fixed_mtrr_addr_seg_to_range_index()
291 int pos = index - mtrr_seg->range_start; in fixed_mtrr_range_end_addr()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/net/bridge/
Dbr_vlan_options.c189 struct net_bridge_vlan *range_start, in br_vlan_process_options() argument
204 if (!range_start || !br_vlan_should_use(range_start)) { in br_vlan_process_options()
214 for (vid = range_start->vid; vid <= range_end->vid; vid++) { in br_vlan_process_options()
Dbr_vlan.c1756 struct net_bridge_vlan *v, *range_start = NULL, *range_end = NULL; in br_vlan_dump_dev() local
1804 if (!range_start) { in br_vlan_dump_dev()
1805 range_start = v; in br_vlan_dump_dev()
1812 u16 vlan_flags = br_vlan_flags(range_start, pvid); in br_vlan_dump_dev()
1814 if (!br_vlan_fill_vids(skb, range_start->vid, in br_vlan_dump_dev()
1815 range_end->vid, range_start, in br_vlan_dump_dev()
1821 idx += range_end->vid - range_start->vid + 1; in br_vlan_dump_dev()
1823 range_start = v; in br_vlan_dump_dev()
1833 if (!err && range_start && in br_vlan_dump_dev()
1834 !br_vlan_fill_vids(skb, range_start->vid, range_end->vid, in br_vlan_dump_dev()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/sysdev/
Dfsl_rio.c449 u64 range_start, range_size; in fsl_rio_setup() local
546 range_start = of_read_number(dt_range, aw); in fsl_rio_setup()
548 (u32)range_start); in fsl_rio_setup()
574 range_start = of_read_number(dt_range, aw); in fsl_rio_setup()
575 pw->pw_regs = (struct rio_pw_regs *)(rmu_regs_win + (u32)range_start); in fsl_rio_setup()
607 range_start = of_read_number(dt_range + aw, paw); in fsl_rio_setup()
611 np, range_start, range_size); in fsl_rio_setup()
634 port->iores.start = range_start; in fsl_rio_setup()
721 rio_law_start = range_start; in fsl_rio_setup()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_mm.c521 u64 range_start, u64 range_end, in drm_mm_insert_node_in_range() argument
528 DRM_MM_BUG_ON(range_start > range_end); in drm_mm_insert_node_in_range()
530 if (unlikely(size == 0 || range_end - range_start < size)) in drm_mm_insert_node_in_range()
543 for (hole = first_hole(mm, range_start, range_end, size, mode); in drm_mm_insert_node_in_range()
554 if (mode == DRM_MM_INSERT_HIGH && hole_end <= range_start) in drm_mm_insert_node_in_range()
562 adj_start = max(col_start, range_start); in drm_mm_insert_node_in_range()
583 if (adj_start < max(col_start, range_start) || in drm_mm_insert_node_in_range()
764 scan->range_start = start; in drm_mm_scan_init_with_range()
815 adj_start = max(col_start, scan->range_start); in drm_mm_scan_add_block()
834 if (adj_start < max(col_start, scan->range_start) || in drm_mm_scan_add_block()
/kernel/linux/linux-5.10/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.c363 phys_addr_t range_start, range_end; in free_highpages() local
368 &range_start, &range_end, NULL) { in free_highpages()
369 unsigned long start = PFN_UP(range_start); in free_highpages()
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
Docxl.c226 u16 actag_count, range_start = 0, total_desired = 0; in assign_actags() local
237 link->fn_actags[i].start = range_start; in assign_actags()
239 range_start += actag_count; in assign_actags()
240 WARN_ON(range_start >= PNV_OCXL_ACTAG_MAX); in assign_actags()
/kernel/linux/linux-5.10/fs/btrfs/
Dordered-data.h190 const u64 range_start, const u64 range_len);
192 const u64 range_start, const u64 range_len);
Dordered-data.c555 const u64 range_start, const u64 range_len) in btrfs_wait_ordered_extents() argument
563 const u64 range_end = range_start + range_len; in btrfs_wait_ordered_extents()
573 ordered->disk_bytenr + ordered->disk_num_bytes <= range_start) { in btrfs_wait_ordered_extents()
611 const u64 range_start, const u64 range_len) in btrfs_wait_ordered_roots() argument
632 range_start, range_len); in btrfs_wait_ordered_roots()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/
Dmsm_gem_vma.c119 u64 range_start, u64 range_end) in msm_gem_init_vma() argument
128 0, range_start, range_end, 0); in msm_gem_init_vma()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dsed-opal.h51 __u64 range_start; member
/kernel/linux/linux-5.10/drivers/media/i2c/
Dimx274.c574 int range_start = -1; in imx274_write_table() local
580 if ((next->addr != range_start + range_count) || in imx274_write_table()
586 range_start, range_vals[0]); in imx274_write_table()
588 err = regmap_bulk_write(regmap, range_start, in imx274_write_table()
597 range_start = -1; in imx274_write_table()
612 if (range_start == -1) in imx274_write_table()
613 range_start = next->addr; in imx274_write_table()
/kernel/linux/linux-5.10/drivers/misc/habanalabs/goya/
Dgoya_coresight.c368 u64 range_start, range_end; in goya_etr_validate_address() local
377 range_start = prop->dmmu.start_addr; in goya_etr_validate_address()
380 range_start = prop->dram_user_base_address; in goya_etr_validate_address()
384 return hl_mem_area_inside_range(addr, size, range_start, range_end); in goya_etr_validate_address()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_device.c1150 (*mem_obj)->range_start = found; in kfd_gtt_sa_allocate()
1202 (*mem_obj)->range_start, (*mem_obj)->range_end); in kfd_gtt_sa_allocate()
1205 for (found = (*mem_obj)->range_start; in kfd_gtt_sa_allocate()
1230 mem_obj, mem_obj->range_start, mem_obj->range_end); in kfd_gtt_sa_free()
1235 for (bit = mem_obj->range_start; in kfd_gtt_sa_free()
/kernel/linux/linux-5.10/drivers/staging/gasket/
Dgasket_core.c772 ulong range_start = region->start; in gasket_mm_get_mapping_addrs() local
774 ulong range_end = range_start + range_length; in gasket_mm_get_mapping_addrs()
777 if (bar_offset + requested_length < range_start) { in gasket_mm_get_mapping_addrs()
783 } else if (bar_offset <= range_start) { in gasket_mm_get_mapping_addrs()
797 mappable_region->start = range_start; in gasket_mm_get_mapping_addrs()
798 *virt_offset = range_start - bar_offset; in gasket_mm_get_mapping_addrs()
802 } else if (bar_offset > range_start && in gasket_mm_get_mapping_addrs()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dsed-opal.h68 __u64 range_start; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dsed-opal.h69 __u64 range_start; member
/kernel/linux/linux-5.10/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()
4273 s16 range_start = 0, range_end = 0; in nfp_bpf_opt_pkt_cache() local
4324 s16 new_start = range_start; in nfp_bpf_opt_pkt_cache()
4329 if (off < range_start) { in nfp_bpf_opt_pkt_cache()
[all …]
/kernel/linux/linux-5.10/fs/ocfs2/
Dfile.c866 u64 *range_start, u64 *range_end) in ocfs2_zero_extend_get_range() argument
925 *range_start = ocfs2_clusters_to_bytes(inode->i_sb, zero_cpos); in ocfs2_zero_extend_get_range()
937 static int ocfs2_zero_extend_range(struct inode *inode, u64 range_start, in ocfs2_zero_extend_range() argument
942 u64 zero_pos = range_start; in ocfs2_zero_extend_range()
946 (unsigned long long)range_start, in ocfs2_zero_extend_range()
948 BUG_ON(range_start >= range_end); in ocfs2_zero_extend_range()
975 u64 zero_start, range_start = 0, range_end = 0; in ocfs2_zero_extend() local
985 &range_start, in ocfs2_zero_extend()
994 if (range_start < zero_start) in ocfs2_zero_extend()
995 range_start = zero_start; in ocfs2_zero_extend()
[all …]

123