Home
last modified time | relevance | path

Searched refs:start_index (Results 1 – 25 of 69) sorted by relevance

123

/linux-6.3-rc2/drivers/iommu/iommufd/
A Dpages.c182 unsigned long start_index, in iopt_pages_err_unpin() argument
239 unsigned long start_index, in iopt_area_unmap_domain_range() argument
398 start_index++; in batch_from_domain()
420 start_index++; in raw_pages_from_domain()
523 XA_STATE(xas, xa, start_index); in batch_from_xarray()
533 start_index == last_index) in batch_from_xarray()
535 start_index++; in batch_from_xarray()
558 start_index++; in batch_from_xarray_clear()
1591 start_index++; in iopt_pages_fill_from_xarray()
1637 if (start_index != cur_index) in iopt_pages_fill_from_mm()
[all …]
/linux-6.3-rc2/drivers/soc/qcom/
A Dspm.c85 .start_index[PM_SLEEP_MODE_STBY] = 0,
86 .start_index[PM_SLEEP_MODE_SPC] = 5,
97 .start_index[PM_SLEEP_MODE_STBY] = 0,
98 .start_index[PM_SLEEP_MODE_SPC] = 5,
108 .start_index[PM_SLEEP_MODE_STBY] = 0,
109 .start_index[PM_SLEEP_MODE_SPC] = 5,
128 .start_index[PM_SLEEP_MODE_SPC] = 3,
138 .start_index[PM_SLEEP_MODE_SPC] = 2,
157 .start_index[PM_SLEEP_MODE_SPC] = 3,
231 u32 start_index; in spm_set_low_power_mode() local
[all …]
/linux-6.3-rc2/drivers/video/fbdev/core/
A Dsysimgblt.c70 if (start_index) { in color_imageblit()
72 start_index)); in color_imageblit()
74 shift = start_index; in color_imageblit()
105 start_index += pitch_index; in color_imageblit()
106 start_index &= 32 - 1; in color_imageblit()
135 if (start_index) { in slow_imageblit()
137 start_index)); in slow_imageblit()
139 shift = start_index; in slow_imageblit()
171 start_index += pitch_index; in slow_imageblit()
172 start_index &= 32 - 1; in slow_imageblit()
[all …]
A Dcfbimgblt.c77 u32 start_index, in color_imageblit() argument
96 if (start_index) { in color_imageblit()
98 start_index, bswapmask); in color_imageblit()
100 shift = start_index; in color_imageblit()
131 start_index += pitch_index; in color_imageblit()
132 start_index &= 32 - 1; in color_imageblit()
140 u32 start_index, in slow_imageblit() argument
164 if (start_index) { in slow_imageblit()
166 start_index, bswapmask); in slow_imageblit()
168 shift = start_index; in slow_imageblit()
[all …]
/linux-6.3-rc2/kernel/trace/
A Dtrace_printk.c136 if (!v || start_index == *pos) { in find_next_mod_format()
141 if (start_index == *pos) in find_next_mod_format()
143 start_index++; in find_next_mod_format()
268 int start_index; in find_next() local
271 start_index = __stop___trace_bprintk_fmt - __start___trace_bprintk_fmt; in find_next()
273 if (*pos < start_index) in find_next()
288 last_index = start_index; in find_next()
289 start_index = __stop___tracepoint_str - __start___tracepoint_str; in find_next()
291 if (*pos < last_index + start_index) in find_next()
294 start_index += last_index; in find_next()
[all …]
/linux-6.3-rc2/mm/
A Dfadvise.c38 pgoff_t start_index; in generic_fadvise() local
99 start_index = offset >> PAGE_SHIFT; in generic_fadvise()
103 nrpages = end_index - start_index + 1; in generic_fadvise()
107 force_page_cache_readahead(mapping, file, start_index, nrpages); in generic_fadvise()
123 start_index = (offset+(PAGE_SIZE-1)) >> PAGE_SHIFT; in generic_fadvise()
145 if (end_index >= start_index) { in generic_fadvise()
160 start_index, end_index, in generic_fadvise()
171 invalidate_mapping_pages(mapping, start_index, in generic_fadvise()
/linux-6.3-rc2/drivers/misc/altera-stapl/
A Daltera-jtag.h73 int altera_set_dr_pre(struct altera_jtag *js, u32 count, u32 start_index,
75 int altera_set_ir_pre(struct altera_jtag *js, u32 count, u32 start_index,
77 int altera_set_dr_post(struct altera_jtag *js, u32 count, u32 start_index,
79 int altera_set_ir_post(struct altera_jtag *js, u32 count, u32 start_index,
88 u8 *tdi_data, u32 start_index);
94 u8 *tdi_data, u32 start_index);
A Daltera-jtag.c136 j = i + start_index; in altera_set_dr_pre()
175 j = i + start_index; in altera_set_ir_pre()
214 j = i + start_index; in altera_set_dr_post()
255 j = i + start_index; in altera_set_ir_post()
394 u32 start_index, in altera_concatenate_data() argument
413 j = start_index; in altera_concatenate_data()
560 u32 start_index, in altera_extract_target_data() argument
586 u32 start_index) in altera_irscan() argument
657 start_index, in altera_irscan()
789 u32 start_index) in altera_drscan() argument
[all …]
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum1_kvdl.c33 unsigned int start_index; member
47 .start_index = MLXSW_SP1_KVDL_##id##_BASE, \
96 if (kvdl_index >= part->info.start_index && in mlxsw_sp1_kvdl_index_part()
108 return info->start_index + entry_index * info->alloc_size; in mlxsw_sp1_kvdl_to_kvdl_index()
115 return (kvdl_index - info->start_index) / info->alloc_size; in mlxsw_sp1_kvdl_to_entry_index()
124 nr_entries = (info->end_index - info->start_index + 1) / in mlxsw_sp1_kvdl_part_alloc()
202 part->info.start_index = part_prev->info.end_index + 1; in mlxsw_sp1_kvdl_part_update()
203 part->info.end_index = part->info.start_index + size - 1; in mlxsw_sp1_kvdl_part_update()
223 resource_size = info->end_index - info->start_index + 1; in mlxsw_sp1_kvdl_part_init()
285 info->start_index + 1) / in mlxsw_sp1_kvdl_part_occ()
A Dspectrum_fid.c103 u16 start_index; member
147 return fid_family->start_index == fid_index; in mlxsw_sp_fid_is_dummy()
1278 *p_fid_index = fid->fid_family->start_index; in mlxsw_sp_fid_dummy_index_alloc()
1439 .start_index = MLXSW_SP_FID_8021Q_START,
1454 .start_index = MLXSW_SP_FID_8021D_START,
1468 .start_index = MLXSW_SP_FID_DUMMY,
1477 .start_index = MLXSW_SP_RFID_START,
1495 .start_index = MLXSW_SP_FID_8021Q_START,
1510 .start_index = MLXSW_SP_FID_8021D_START,
1524 .start_index = MLXSW_SP_FID_DUMMY,
[all …]
A Dspectrum_policer.c16 u16 start_index; /* Inclusive */ member
92 family->start_index = MLXSW_CORE_RES_GET(core, MAX_CPU_POLICERS); in mlxsw_sp_policer_single_rate_family_init()
122 id = idr_alloc(&family->policer_idr, policer, family->start_index, in mlxsw_sp_policer_single_rate_index_alloc()
326 if (WARN_ON(family->start_index >= family->end_index)) { in mlxsw_sp_policer_family_register()
/linux-6.3-rc2/arch/sparc/kernel/
A Dcpumap.c43 int start_index; /* Index of first node of a level in a cpuinfo tree */ member
133 lv->start_index = lv->end_index = lv->num_nodes = 0; in enumerate_cpuinfo_nodes()
165 tree_level[CPUINFO_LVL_NODE].start_index = 1; in enumerate_cpuinfo_nodes()
169 tree_level[CPUINFO_LVL_CORE].start_index = n; in enumerate_cpuinfo_nodes()
173 tree_level[CPUINFO_LVL_PROC].start_index = n; in enumerate_cpuinfo_nodes()
208 n = new_tree->level[level].start_index; in build_cpuinfo_tree()
223 ? new_tree->level[level - 1].start_index : -1; in build_cpuinfo_tree()
227 ? cpu : new_tree->level[level + 1].start_index; in build_cpuinfo_tree()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn10/
A Ddcn10_cm_common.c376 start_index = (region_start + k + MAX_LOW_POINT) * in cm_helper_translate_curve_to_hw_format()
378 for (i = start_index; i < start_index + NUMBER_SW_SEGMENTS; in cm_helper_translate_curve_to_hw_format()
390 start_index = (region_end + MAX_LOW_POINT) * NUMBER_SW_SEGMENTS; in cm_helper_translate_curve_to_hw_format()
391 rgb_resulted[hw_points - 1].red = output_tf->tf_pts.red[start_index]; in cm_helper_translate_curve_to_hw_format()
392 rgb_resulted[hw_points - 1].green = output_tf->tf_pts.green[start_index]; in cm_helper_translate_curve_to_hw_format()
393 rgb_resulted[hw_points - 1].blue = output_tf->tf_pts.blue[start_index]; in cm_helper_translate_curve_to_hw_format()
552 start_index = (region_start + k + MAX_LOW_POINT) * in cm_helper_translate_curve_to_degamma_hw_format()
554 for (i = start_index; i < start_index + NUMBER_SW_SEGMENTS; in cm_helper_translate_curve_to_degamma_hw_format()
566 start_index = (region_end + MAX_LOW_POINT) * NUMBER_SW_SEGMENTS; in cm_helper_translate_curve_to_degamma_hw_format()
567 rgb_resulted[hw_points - 1].red = output_tf->tf_pts.red[start_index]; in cm_helper_translate_curve_to_degamma_hw_format()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn30/
A Ddcn30_cm_common.c175 start_index = (region_start + k + MAX_LOW_POINT) * in cm3_helper_translate_curve_to_hw_format()
177 for (i = start_index; i < start_index + NUMBER_SW_SEGMENTS; in cm3_helper_translate_curve_to_hw_format()
189 start_index = (region_end + MAX_LOW_POINT) * NUMBER_SW_SEGMENTS; in cm3_helper_translate_curve_to_hw_format()
190 rgb_resulted[hw_points - 1].red = output_tf->tf_pts.red[start_index]; in cm3_helper_translate_curve_to_hw_format()
191 rgb_resulted[hw_points - 1].green = output_tf->tf_pts.green[start_index]; in cm3_helper_translate_curve_to_hw_format()
192 rgb_resulted[hw_points - 1].blue = output_tf->tf_pts.blue[start_index]; in cm3_helper_translate_curve_to_hw_format()
352 start_index = (region_start + k + MAX_LOW_POINT) * in cm3_helper_translate_curve_to_degamma_hw_format()
354 for (i = start_index; i < start_index + NUMBER_SW_SEGMENTS; in cm3_helper_translate_curve_to_degamma_hw_format()
366 start_index = (region_end + MAX_LOW_POINT) * NUMBER_SW_SEGMENTS; in cm3_helper_translate_curve_to_degamma_hw_format()
367 rgb_resulted[hw_points - 1].red = output_tf->tf_pts.red[start_index]; in cm3_helper_translate_curve_to_degamma_hw_format()
[all …]
/linux-6.3-rc2/fs/squashfs/
A Dfile_direct.c31 int start_index = target_page->index & ~mask; in squashfs_readpage_block() local
32 int end_index = start_index | mask; in squashfs_readpage_block()
41 pages = end_index - start_index + 1; in squashfs_readpage_block()
48 for (i = 0, n = start_index; n <= end_index; n++) { in squashfs_readpage_block()
/linux-6.3-rc2/include/trace/events/
A Dfs_dax.h228 TP_PROTO(struct inode *inode, pgoff_t start_index, pgoff_t end_index),
229 TP_ARGS(inode, start_index, end_index),
232 __field(pgoff_t, start_index)
239 __entry->start_index = start_index;
246 __entry->start_index,
253 TP_PROTO(struct inode *inode, pgoff_t start_index, pgoff_t end_index),\
254 TP_ARGS(inode, start_index, end_index))
/linux-6.3-rc2/drivers/infiniband/hw/mthca/
A Dmthca_mr.c253 int start_index, u64 *buffer_list, int list_len) in __mthca_write_mtt() argument
268 start_index * 8); in __mthca_write_mtt()
288 start_index += i; in __mthca_write_mtt()
314 struct mthca_mtt *mtt, int start_index, in mthca_tavor_write_mtt_seg() argument
321 start_index * sizeof (u64); in mthca_tavor_write_mtt_seg()
328 struct mthca_mtt *mtt, int start_index, in mthca_arbel_write_mtt_seg() argument
334 int s = start_index * sizeof (u64); in mthca_arbel_write_mtt_seg()
357 int start_index, u64 *buffer_list, int list_len) in mthca_write_mtt() argument
369 mthca_arbel_write_mtt_seg(dev, mtt, start_index, in mthca_write_mtt()
372 mthca_tavor_write_mtt_seg(dev, mtt, start_index, in mthca_write_mtt()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/diag/
A Dfs_tracepoint.h105 __field(u32, start_index)
116 __entry->start_index = fg->start_index;
117 __entry->end_index = fg->start_index + fg->max_ftes;
139 __entry->start_index, __entry->end_index,
/linux-6.3-rc2/drivers/acpi/acpica/
A Dnsrepair2.c74 u32 start_index,
765 u32 start_index, in acpi_ns_check_sorted_list() argument
791 if (!outer_element_count || start_index >= outer_element_count) { in acpi_ns_check_sorted_list()
795 outer_elements = &return_object->package.elements[start_index]; in acpi_ns_check_sorted_list()
796 outer_element_count -= start_index; in acpi_ns_check_sorted_list()
835 elements[start_index], in acpi_ns_check_sorted_list()
A Dnsprepkg.c29 u8 type2, u32 count2, u32 start_index);
705 u8 type2, u32 count2, u32 start_index) in acpi_ns_check_package_elements() argument
720 type1, i + start_index); in acpi_ns_check_package_elements()
731 (i + count1 + start_index)); in acpi_ns_check_package_elements()
/linux-6.3-rc2/drivers/infiniband/hw/mlx4/
A Dmr.c98 int *start_index, int *npages) in mlx4_ib_umem_write_mtt_block() argument
134 err = mlx4_write_mtt(dev->dev, mtt, *start_index, in mlx4_ib_umem_write_mtt_block()
139 (*start_index) += *npages; in mlx4_ib_umem_write_mtt_block()
191 int start_index = 0; in mlx4_ib_umem_write_mtt() local
217 pages, &start_index, in mlx4_ib_umem_write_mtt()
235 &start_index, &npages); in mlx4_ib_umem_write_mtt()
241 err = mlx4_write_mtt(dev->dev, mtt, start_index, npages, pages); in mlx4_ib_umem_write_mtt()
/linux-6.3-rc2/arch/powerpc/mm/book3s64/
A Dslice.c78 unsigned long start_index = GET_HIGH_SLICE_INDEX(start); in slice_range_to_mask() local
80 unsigned long count = GET_HIGH_SLICE_INDEX(align_end) - start_index; in slice_range_to_mask()
82 bitmap_set(ret->high_slices, start_index, count); in slice_range_to_mask()
156 unsigned long start_index = GET_HIGH_SLICE_INDEX(start); in slice_check_range_fits() local
158 unsigned long count = GET_HIGH_SLICE_INDEX(align_end) - start_index; in slice_check_range_fits()
161 for (i = start_index; i < start_index + count; i++) { in slice_check_range_fits()
/linux-6.3-rc2/fs/btrfs/
A Ddefrag.c1030 unsigned long start_index = start >> PAGE_SHIFT; in defrag_one_locked_target() local
1046 for (i = start_index - first_index; i <= last_index - first_index; i++) { in defrag_one_locked_target()
1067 u64 start_index = start >> PAGE_SHIFT; in defrag_one_range() local
1068 unsigned int nr_pages = last_index - start_index + 1; in defrag_one_range()
1081 pages[i] = defrag_prepare_one_page(inode, start_index + i); in defrag_one_range()
1092 lock_extent(&inode->io_tree, start_index << PAGE_SHIFT, in defrag_one_range()
1120 unlock_extent(&inode->io_tree, start_index << PAGE_SHIFT, in defrag_one_range()
1235 pgoff_t start_index; in btrfs_defrag_file() local
1281 start_index = cur >> PAGE_SHIFT; in btrfs_defrag_file()
1282 if (start_index < inode->i_mapping->writeback_index) in btrfs_defrag_file()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx4/
A Dmr.c693 int start_index, int npages, u64 *page_list) in mlx4_write_mtt_chunk() argument
701 start_index, &dma_handle); in mlx4_write_mtt_chunk()
719 int start_index, int npages, u64 *page_list) in __mlx4_write_mtt() argument
728 max_mtts_first_page = mtts_per_page - (mtt->offset + start_index) in __mlx4_write_mtt()
734 err = mlx4_write_mtt_chunk(dev, mtt, start_index, chunk, page_list); in __mlx4_write_mtt()
738 start_index += chunk; in __mlx4_write_mtt()
747 int start_index, int npages, u64 *page_list) in mlx4_write_mtt() argument
767 inbox[0] = cpu_to_be64(mtt->offset + start_index); in mlx4_write_mtt()
779 start_index += chunk; in mlx4_write_mtt()
786 return __mlx4_write_mtt(dev, mtt, start_index, npages, page_list); in mlx4_write_mtt()
/linux-6.3-rc2/kernel/
A Dkcov.c233 u64 count, start_index, end_pos, max_pos; in write_comp_data() local
251 start_index = 1 + count * KCOV_WORDS_PER_CMP; in write_comp_data()
252 end_pos = (start_index + KCOV_WORDS_PER_CMP) * sizeof(u64); in write_comp_data()
257 area[start_index] = type; in write_comp_data()
258 area[start_index + 1] = arg1; in write_comp_data()
259 area[start_index + 2] = arg2; in write_comp_data()
260 area[start_index + 3] = ip; in write_comp_data()

Completed in 62 milliseconds

123