/linux-master/drivers/iommu/iommufd/ |
H A D | pages.c | 182 unsigned long start_index, 186 unsigned long npages = last_index - start_index + 1; 239 unsigned long start_index, 242 unsigned long start_iova = iopt_area_index_to_iova(area, start_index); 377 struct iopt_area *area, unsigned long start_index, 384 iova = iopt_area_index_to_iova(area, start_index); 385 if (start_index == iopt_area_index(area)) 387 while (start_index <= last_index) { 398 start_index++; 404 unsigned long start_index, 181 iopt_pages_err_unpin(struct iopt_pages *pages, unsigned long start_index, unsigned long last_index, struct page **page_list) argument 237 iopt_area_unmap_domain_range(struct iopt_area *area, struct iommu_domain *domain, unsigned long start_index, unsigned long last_index) argument 375 batch_from_domain(struct pfn_batch *batch, struct iommu_domain *domain, struct iopt_area *area, unsigned long start_index, unsigned long last_index) argument 402 raw_pages_from_domain(struct iommu_domain *domain, struct iopt_area *area, unsigned long start_index, unsigned long last_index, struct page **out_pages) argument 426 batch_from_domain_continue(struct pfn_batch *batch, struct iommu_domain *domain, struct iopt_area *area, unsigned long start_index, unsigned long last_index) argument 475 batch_to_domain(struct pfn_batch *batch, struct iommu_domain *domain, struct iopt_area *area, unsigned long start_index) argument 519 batch_from_xarray(struct pfn_batch *batch, struct xarray *xa, unsigned long start_index, unsigned long last_index) argument 540 batch_from_xarray_clear(struct pfn_batch *batch, struct xarray *xa, unsigned long start_index, unsigned long last_index) argument 563 clear_xarray(struct xarray *xa, unsigned long start_index, unsigned long last_index) argument 575 pages_to_xarray(struct xarray *xa, unsigned long start_index, unsigned long last_index, struct page **pages) argument 736 pfn_reader_user_pin(struct pfn_reader_user *user, struct iopt_pages *pages, unsigned long start_index, unsigned long last_index) argument 979 unsigned long start_index = pfns->batch_end_index; local 1062 pfn_reader_init(struct pfn_reader *pfns, struct iopt_pages *pages, unsigned long start_index, unsigned long last_index) argument 1121 pfn_reader_first(struct pfn_reader *pfns, struct iopt_pages *pages, unsigned long start_index, unsigned long last_index) argument 1197 iopt_area_unpin_domain(struct pfn_batch *batch, struct iopt_area *area, struct iopt_pages *pages, struct iommu_domain *domain, unsigned long start_index, unsigned long last_index, unsigned long *unmapped_end_index, unsigned long real_last_index) argument 1263 unsigned long start_index = iopt_area_index(area); local 1519 iopt_pages_unpin_xarray(struct pfn_batch *batch, struct iopt_pages *pages, unsigned long start_index, unsigned long end_index) argument 1542 iopt_pages_unfill_xarray(struct iopt_pages *pages, unsigned long start_index, unsigned long last_index) argument 1590 iopt_pages_fill_from_xarray(struct iopt_pages *pages, unsigned long start_index, unsigned long last_index, struct page **out_pages) argument 1610 iopt_pages_fill_from_domain(struct iopt_pages *pages, unsigned long start_index, unsigned long last_index, struct page **out_pages) argument 1632 iopt_pages_fill_from_mm(struct iopt_pages *pages, struct pfn_reader_user *user, unsigned long start_index, unsigned long last_index, struct page **out_pages) argument 1671 iopt_pages_fill_xarray(struct iopt_pages *pages, unsigned long start_index, unsigned long last_index, struct page **out_pages) argument 1743 iopt_pages_rw_slow(struct iopt_pages *pages, unsigned long start_index, unsigned long last_index, unsigned long offset, void *data, unsigned long length, unsigned int flags) argument 1834 unsigned long start_index = start_byte / PAGE_SIZE; local 1915 iopt_area_add_access(struct iopt_area *area, unsigned long start_index, unsigned long last_index, struct page **out_pages, unsigned int flags) argument 1971 iopt_area_remove_access(struct iopt_area *area, unsigned long start_index, unsigned long last_index) argument [all...] |
/linux-master/drivers/misc/altera-stapl/ |
H A D | altera-jtag.h | 73 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);
|
H A D | altera-jtag.c | 117 u32 count, u32 start_index, 136 j = i + start_index; 155 int altera_set_ir_pre(struct altera_jtag *js, u32 count, u32 start_index, argument 175 j = i + start_index; 193 int altera_set_dr_post(struct altera_jtag *js, u32 count, u32 start_index, argument 214 j = i + start_index; 233 int altera_set_ir_post(struct altera_jtag *js, u32 count, u32 start_index, argument 255 j = i + start_index; 394 u32 start_index, 413 j = start_index; 116 altera_set_dr_pre(struct altera_jtag *js, u32 count, u32 start_index, u8 *preamble_data) argument 390 altera_concatenate_data(u8 *buffer, u8 *preamble_data, u32 preamble_count, u8 *target_data, u32 start_index, u32 target_count, u8 *postamble_data, u32 postamble_count) argument 558 altera_extract_target_data(u8 *buffer, u8 *target_data, u32 start_index, u32 preamble_count, u32 target_count) argument 583 altera_irscan(struct altera_state *astate, u32 count, u8 *tdi_data, u32 start_index) argument 786 altera_drscan(struct altera_state *astate, u32 count, u8 *tdi_data, u32 start_index) argument [all...] |
/linux-master/drivers/video/fbdev/core/ |
H A D | sysimgblt.c | 53 void *dst1, u32 start_index, u32 pitch_index) 70 if (start_index) { 72 start_index)); 74 shift = start_index; 105 start_index += pitch_index; 106 start_index &= 32 - 1; 113 u32 start_index, u32 pitch_index) 135 if (start_index) { 137 start_index)); 139 shift = start_index; 52 color_imageblit(const struct fb_image *image, struct fb_info *p, void *dst1, u32 start_index, u32 pitch_index) argument 111 slow_imageblit(const struct fb_image *image, struct fb_info *p, void *dst1, u32 fgcolor, u32 bgcolor, u32 start_index, u32 pitch_index) argument 290 u32 fgcolor, bgcolor, start_index, bitstart, pitch_index = 0; local [all...] |
H A D | cfbimgblt.c | 77 u32 start_index, 96 if (start_index) { 98 start_index, bswapmask); 100 shift = start_index; 131 start_index += pitch_index; 132 start_index &= 32 - 1; 140 u32 start_index, 164 if (start_index) { 166 start_index, bswapmask); 168 shift = start_index; 75 color_imageblit(const struct fb_image *image, struct fb_info *p, u8 __iomem *dst1, u32 start_index, u32 pitch_index) argument 137 slow_imageblit(const struct fb_image *image, struct fb_info *p, u8 __iomem *dst1, u32 fgcolor, u32 bgcolor, u32 start_index, u32 pitch_index) argument 320 u32 fgcolor, bgcolor, start_index, bitstart, pitch_index = 0; local [all...] |
/linux-master/kernel/trace/ |
H A D | trace_printk.c | 123 find_next_mod_format(int start_index, void *v, const char **fmt, loff_t *pos) argument 136 if (!v || start_index == *pos) { 141 if (start_index == *pos) 143 start_index++; 180 find_next_mod_format(int start_index, void *v, const char **fmt, loff_t *pos) argument 268 int start_index; local 271 start_index = __stop___trace_bprintk_fmt - __start___trace_bprintk_fmt; 273 if (*pos < start_index) 288 last_index = start_index; 289 start_index [all...] |
/linux-master/mm/ |
H A D | fadvise.c | 37 pgoff_t start_index; local 98 start_index = offset >> PAGE_SHIFT; 102 nrpages = end_index - start_index + 1; 106 force_page_cache_readahead(mapping, file, start_index, nrpages); 122 start_index = (offset+(PAGE_SIZE-1)) >> PAGE_SHIFT; 134 * is unsigned, so the end_index >= start_index 144 if (end_index >= start_index) { 158 mapping_try_invalidate(mapping, start_index, end_index, 168 invalidate_mapping_pages(mapping, start_index,
|
/linux-master/fs/squashfs/ |
H A D | file_direct.c | 31 loff_t start_index = target_page->index & ~mask; local 32 loff_t end_index = start_index | mask; 41 pages = end_index - start_index + 1; 48 for (i = 0, n = start_index; n <= end_index; n++) {
|
/linux-master/drivers/soc/qcom/ |
H A D | spm.c | 73 u8 start_index[PM_SLEEP_MODE_NR]; member in struct:spm_reg_data 134 .start_index[PM_SLEEP_MODE_STBY] = 0, 135 .start_index[PM_SLEEP_MODE_SPC] = 5, 146 .start_index[PM_SLEEP_MODE_STBY] = 0, 147 .start_index[PM_SLEEP_MODE_SPC] = 5, 157 .start_index[PM_SLEEP_MODE_STBY] = 0, 158 .start_index[PM_SLEEP_MODE_SPC] = 5, 176 .start_index[PM_SLEEP_MODE_STBY] = 0, 177 .start_index[PM_SLEEP_MODE_SPC] = 3, 186 .start_index[PM_SLEEP_MODE_STB 293 u32 start_index; local [all...] |
/linux-master/tools/bpf/bpftool/ |
H A D | xlated_dumper.h | 39 unsigned int start_index,
|
/linux-master/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_cm_common.c | 120 uint32_t j, k, seg_distr[MAX_REGIONS_NUMBER], increment, start_index, hw_points; local 174 start_index = (region_start + k + MAX_LOW_POINT) * 176 for (i = start_index; i < start_index + NUMBER_SW_SEGMENTS; 188 start_index = (region_end + MAX_LOW_POINT) * NUMBER_SW_SEGMENTS; 189 rgb_resulted[hw_points].red = output_tf->tf_pts.red[start_index]; 190 rgb_resulted[hw_points].green = output_tf->tf_pts.green[start_index]; 191 rgb_resulted[hw_points].blue = output_tf->tf_pts.blue[start_index]; 300 uint32_t j, k, seg_distr[MAX_REGIONS_NUMBER], increment, start_index, hw_points; local 332 start_index [all...] |
/linux-master/arch/sparc/kernel/ |
H A D | cpumap.c | 43 int start_index; /* Index of first node of a level in a cpuinfo tree */ member in struct:cpuinfo_level 133 lv->start_index = lv->end_index = lv->num_nodes = 0; 165 tree_level[CPUINFO_LVL_NODE].start_index = 1; 169 tree_level[CPUINFO_LVL_CORE].start_index = n; 173 tree_level[CPUINFO_LVL_PROC].start_index = n; 208 n = new_tree->level[level].start_index; 223 ? new_tree->level[level - 1].start_index : -1; 227 ? cpu : new_tree->level[level + 1].start_index;
|
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum1_kvdl.c | 33 unsigned int start_index; member in struct:mlxsw_sp1_kvdl_part_info 47 .start_index = MLXSW_SP1_KVDL_##id##_BASE, \ 96 if (kvdl_index >= part->info.start_index && 108 return info->start_index + entry_index * info->alloc_size; 115 return (kvdl_index - info->start_index) / info->alloc_size; 124 nr_entries = (info->end_index - info->start_index + 1) / 202 part->info.start_index = part_prev->info.end_index + 1; 203 part->info.end_index = part->info.start_index + size - 1; 223 resource_size = info->end_index - info->start_index + 1; 285 info->start_index [all...] |
H A D | spectrum_policer.c | 16 u16 start_index; /* Inclusive */ member in struct:mlxsw_sp_policer_family 92 family->start_index = MLXSW_CORE_RES_GET(core, MAX_CPU_POLICERS); 122 id = idr_alloc(&family->policer_idr, policer, family->start_index, 326 if (WARN_ON(family->start_index >= family->end_index)) {
|
H A D | spectrum_fid.c | 132 u16 start_index; member in struct:mlxsw_sp_fid_family 372 return fid_family->end_index - fid_family->start_index + 1; 507 fid->fid_offset = fid->fid_index - fid->fid_family->start_index; 919 fid->fid_offset = fid->fid_index - fid->fid_family->start_index; 941 nr_fids = fid_family->end_index - fid_family->start_index + 1; 945 *p_fid_index = fid_family->start_index + fid_index; 1402 *p_fid_index = fid->fid_family->start_index + rif_index; 1412 return fid->fid_index == rif_index + fid->fid_family->start_index; 1678 *p_fid_index = fid->fid_family->start_index; 1863 .start_index [all...] |
/linux-master/drivers/infiniband/hw/mthca/ |
H A D | mthca_mr.c | 253 int start_index, u64 *buffer_list, int list_len) 268 start_index * 8); 288 start_index += i; 314 struct mthca_mtt *mtt, int start_index, 321 start_index * sizeof (u64); 328 struct mthca_mtt *mtt, int start_index, 334 int s = start_index * sizeof (u64); 357 int start_index, u64 *buffer_list, int list_len) 364 return __mthca_write_mtt(dev, mtt, start_index, buffer_list, list_len); 369 mthca_arbel_write_mtt_seg(dev, mtt, start_index, 252 __mthca_write_mtt(struct mthca_dev *dev, struct mthca_mtt *mtt, int start_index, u64 *buffer_list, int list_len) argument 313 mthca_tavor_write_mtt_seg(struct mthca_dev *dev, struct mthca_mtt *mtt, int start_index, u64 *buffer_list, int list_len) argument 327 mthca_arbel_write_mtt_seg(struct mthca_dev *dev, struct mthca_mtt *mtt, int start_index, u64 *buffer_list, int list_len) argument 356 mthca_write_mtt(struct mthca_dev *dev, struct mthca_mtt *mtt, int start_index, u64 *buffer_list, int list_len) argument [all...] |
/linux-master/include/trace/events/ |
H A D | fs_dax.h | 228 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-master/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_cm_common.c | 346 uint32_t j, k, seg_distr[MAX_REGIONS_NUMBER], increment, start_index, hw_points; local 399 start_index = (region_start + k + MAX_LOW_POINT) * 401 for (i = start_index; i < start_index + NUMBER_SW_SEGMENTS; 413 start_index = (region_end + MAX_LOW_POINT) * NUMBER_SW_SEGMENTS; 414 rgb_resulted[hw_points - 1].red = output_tf->tf_pts.red[start_index]; 415 rgb_resulted[hw_points - 1].green = output_tf->tf_pts.green[start_index]; 416 rgb_resulted[hw_points - 1].blue = output_tf->tf_pts.blue[start_index]; 551 uint32_t j, k, seg_distr[MAX_REGIONS_NUMBER], increment, start_index, hw_points; local 583 start_index [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
H A D | fs_tracepoint.h | 105 __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-master/drivers/acpi/acpica/ |
H A D | nsrepair2.c | 74 u32 start_index, 748 * start_index - Index of the first subpackage 765 u32 start_index, 791 if (!outer_element_count || start_index >= outer_element_count) { 795 outer_elements = &return_object->package.elements[start_index]; 796 outer_element_count -= start_index; 835 elements[start_index], 763 acpi_ns_check_sorted_list(struct acpi_evaluate_info *info, union acpi_operand_object *return_object, u32 start_index, u32 expected_count, u32 sort_index, u8 sort_direction, char *sort_key_name) argument
|
H A D | nsprepkg.c | 29 u8 type2, u32 count2, u32 start_index); 691 * start_index - Start of the first group of elements 705 u8 type2, u32 count2, u32 start_index) 720 type1, i + start_index); 731 (i + count1 + start_index)); 701 acpi_ns_check_package_elements(struct acpi_evaluate_info *info, union acpi_operand_object **elements, u8 type1, u32 count1, u8 type2, u32 count2, u32 start_index) argument
|
/linux-master/arch/powerpc/mm/book3s64/ |
H A D | slice.c | 78 unsigned long start_index = GET_HIGH_SLICE_INDEX(start); local 80 unsigned long count = GET_HIGH_SLICE_INDEX(align_end) - start_index; 82 bitmap_set(ret->high_slices, start_index, count); 156 unsigned long start_index = GET_HIGH_SLICE_INDEX(start); local 158 unsigned long count = GET_HIGH_SLICE_INDEX(align_end) - start_index; 161 for (i = start_index; i < start_index + count; i++) {
|
/linux-master/drivers/infiniband/hw/mlx4/ |
H A D | mr.c | 98 int *start_index, int *npages) 134 err = mlx4_write_mtt(dev->dev, mtt, *start_index, 139 (*start_index) += *npages; 191 int start_index = 0; local 217 pages, &start_index, 235 &start_index, &npages); 241 err = mlx4_write_mtt(dev->dev, mtt, start_index, npages, pages); 94 mlx4_ib_umem_write_mtt_block(struct mlx4_ib_dev *dev, struct mlx4_mtt *mtt, u64 mtt_size, u64 mtt_shift, u64 len, u64 cur_start_addr, u64 *pages, int *start_index, int *npages) argument
|
/linux-master/drivers/net/ethernet/mellanox/mlx4/ |
H A D | mr.c | 693 int start_index, int npages, u64 *page_list) 701 start_index, &dma_handle); 719 int start_index, int npages, u64 *page_list) 728 max_mtts_first_page = mtts_per_page - (mtt->offset + start_index) 734 err = mlx4_write_mtt_chunk(dev, mtt, start_index, chunk, page_list); 738 start_index += chunk; 747 int start_index, int npages, u64 *page_list) 767 inbox[0] = cpu_to_be64(mtt->offset + start_index); 779 start_index += chunk; 786 return __mlx4_write_mtt(dev, mtt, start_index, npage 692 mlx4_write_mtt_chunk(struct mlx4_dev *dev, struct mlx4_mtt *mtt, int start_index, int npages, u64 *page_list) argument 718 __mlx4_write_mtt(struct mlx4_dev *dev, struct mlx4_mtt *mtt, int start_index, int npages, u64 *page_list) argument 746 mlx4_write_mtt(struct mlx4_dev *dev, struct mlx4_mtt *mtt, int start_index, int npages, u64 *page_list) argument [all...] |
/linux-master/fs/btrfs/ |
H A D | defrag.c | 1173 unsigned long start_index = start >> PAGE_SHIFT; local 1190 for (i = start_index - first_index; i <= last_index - first_index; i++) { 1211 u64 start_index = start >> PAGE_SHIFT; local 1212 unsigned int nr_pages = last_index - start_index + 1; 1225 folios[i] = defrag_prepare_one_folio(inode, start_index + i); 1236 lock_extent(&inode->io_tree, start_index << PAGE_SHIFT, 1264 unlock_extent(&inode->io_tree, start_index << PAGE_SHIFT, 1377 pgoff_t start_index; local 1423 start_index = cur >> PAGE_SHIFT; 1424 if (start_index < inod [all...] |