Home
last modified time | relevance | path

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

12

/linux/drivers/iommu/iommufd/
H A Dpages.c186 unsigned long start_index, in iopt_pages_err_unpin() argument
190 unsigned long npages = last_index - start_index + 1; in iopt_pages_err_unpin()
243 unsigned long start_index, in iopt_area_unmap_domain_range() argument
246 unsigned long start_iova = iopt_area_index_to_iova(area, start_index); in iopt_area_unmap_domain_range()
409 struct iopt_area *area, unsigned long start_index, in batch_from_domain() argument
416 iova = iopt_area_index_to_iova(area, start_index); in batch_from_domain()
417 if (start_index == iopt_area_index(area)) in batch_from_domain()
419 while (start_index <= last_index) { in batch_from_domain()
430 start_index++; in batch_from_domain()
436 unsigned long start_index, in raw_pages_from_domain() argument
461 batch_from_domain_continue(struct pfn_batch * batch,struct iommu_domain * domain,struct iopt_area * area,unsigned long start_index,unsigned long last_index) batch_from_domain_continue() argument
508 batch_to_domain(struct pfn_batch * batch,struct iommu_domain * domain,struct iopt_area * area,unsigned long start_index) batch_to_domain() argument
558 batch_from_xarray(struct pfn_batch * batch,struct xarray * xa,unsigned long start_index,unsigned long last_index) batch_from_xarray() argument
579 batch_from_xarray_clear(struct pfn_batch * batch,struct xarray * xa,unsigned long start_index,unsigned long last_index) batch_from_xarray_clear() argument
601 clear_xarray(struct xarray * xa,unsigned long start_index,unsigned long last_index) clear_xarray() argument
613 pages_to_xarray(struct xarray * xa,unsigned long start_index,unsigned long last_index,struct page ** pages) pages_to_xarray() argument
878 pfn_reader_user_pin(struct pfn_reader_user * user,struct iopt_pages * pages,unsigned long start_index,unsigned long last_index) pfn_reader_user_pin() argument
1099 pfn_reader_fill_dmabuf(struct pfn_reader_dmabuf * dmabuf,struct pfn_batch * batch,unsigned long start_index,unsigned long last_index) pfn_reader_fill_dmabuf() argument
1171 unsigned long start_index = pfns->batch_end_index; pfn_reader_fill_span() local
1268 pfn_reader_init(struct pfn_reader * pfns,struct iopt_pages * pages,unsigned long start_index,unsigned long last_index) pfn_reader_init() argument
1312 unsigned long start_index = pfns->batch_end_index - pfn_reader_release_pins() local
1344 pfn_reader_first(struct pfn_reader * pfns,struct iopt_pages * pages,unsigned long start_index,unsigned long last_index) pfn_reader_first() argument
1681 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) iopt_area_unpin_domain() argument
1745 unsigned long start_index = iopt_area_index(area); __iopt_area_unfill_domain() local
2036 iopt_pages_unpin_xarray(struct pfn_batch * batch,struct iopt_pages * pages,unsigned long start_index,unsigned long end_index) iopt_pages_unpin_xarray() argument
2058 iopt_pages_unfill_xarray(struct iopt_pages * pages,unsigned long start_index,unsigned long last_index) iopt_pages_unfill_xarray() argument
2106 iopt_pages_fill_from_xarray(struct iopt_pages * pages,unsigned long start_index,unsigned long last_index,struct page ** out_pages) iopt_pages_fill_from_xarray() argument
2126 iopt_pages_fill_from_domain(struct iopt_pages * pages,unsigned long start_index,unsigned long last_index,struct page ** out_pages) iopt_pages_fill_from_domain() argument
2149 iopt_pages_fill(struct iopt_pages * pages,struct pfn_reader_user * user,unsigned long start_index,unsigned long last_index,struct page ** out_pages) iopt_pages_fill() argument
2186 iopt_pages_fill_xarray(struct iopt_pages * pages,unsigned long start_index,unsigned long last_index,struct page ** out_pages) iopt_pages_fill_xarray() argument
2259 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) iopt_pages_rw_slow() argument
2353 unsigned long start_index = start_byte / PAGE_SIZE; iopt_pages_rw_access() local
2443 iopt_area_add_access(struct iopt_area * area,unsigned long start_index,unsigned long last_index,struct page ** out_pages,unsigned int flags,bool lock_area) iopt_area_add_access() argument
2507 iopt_area_remove_access(struct iopt_area * area,unsigned long start_index,unsigned long last_index,bool unlock_area) iopt_area_remove_access() argument
[all...]
/linux/drivers/soc/qcom/
H A Dspm.c73 u8 start_index[PM_SLEEP_MODE_NR]; member
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; spm_set_low_power_mode() local
[all...]
/linux/drivers/misc/altera-stapl/
H 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);
H A Daltera-jtag.c117 u32 count, u32 start_index, in altera_set_dr_pre() argument
136 j = i + start_index; in altera_set_dr_pre()
155 int altera_set_ir_pre(struct altera_jtag *js, u32 count, u32 start_index, in altera_set_ir_pre() argument
175 j = i + start_index; in altera_set_ir_pre()
193 int altera_set_dr_post(struct altera_jtag *js, u32 count, u32 start_index, in altera_set_dr_post() argument
214 j = i + start_index; in altera_set_dr_post()
233 int altera_set_ir_post(struct altera_jtag *js, u32 count, u32 start_index, in altera_set_ir_post() argument
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 altera_extract_target_data(u8 * buffer,u8 * target_data,u32 start_index,u32 preamble_count,u32 target_count) altera_extract_target_data() argument
586 altera_irscan(struct altera_state * astate,u32 count,u8 * tdi_data,u32 start_index) altera_irscan() argument
789 altera_drscan(struct altera_state * astate,u32 count,u8 * tdi_data,u32 start_index) altera_drscan() argument
[all...]
/linux/fs/ntfs/
H A Ddir.c687 unsigned long start_index; in ntfs_insert_rb()
700 if (nir->start_index < cnir->start_index) in ntfs_ia_blocks_readahead()
702 else if (nir->start_index >= cnir->start_index + cnir->count) in ntfs_ia_blocks_readahead()
705 pr_err("nir start index : %ld, count : %d, cnir start_index : %ld, count : %d\n", in ntfs_ia_blocks_readahead()
706 nir->start_index, nir->count, cnir->start_index, cnir->count); in ntfs_ia_blocks_readahead()
937 if (nir->start_index <= index && in ntfs_readdir()
938 index < nir->start_index in ntfs_readdir()
663 unsigned long start_index; global() member
[all...]
H A Dbitmap.c70 pgoff_t index, start_index, end_index; in ntfs_trim_fs()
100 start_index = start_cluster / buf_clusters; in ntfs_trim_fs()
103 for (index = start_index; index < end_index; index++) { in ntfs_trim_fs()
18 pgoff_t index, start_index, end_index; ntfs_trim_fs() local
/linux/drivers/net/ethernet/mellanox/mlxsw/
H 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()
284 info->start_index + 1) / in mlxsw_sp1_kvdl_part_occ()
H 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/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_cm_common.c123 uint32_t j, k, seg_distr[MAX_REGIONS_NUMBER], increment, start_index, hw_points; in cm3_helper_translate_curve_to_hw_format() local
178 start_index = (region_start + k + MAX_LOW_POINT) * in cm3_helper_translate_curve_to_hw_format()
180 int32_t index_end = (int32_t)(start_index + NUMBER_SW_SEGMENTS); in cm3_helper_translate_curve_to_hw_format()
181 for (i = start_index; i < index_end; in cm3_helper_translate_curve_to_hw_format()
195 start_index = (region_end + MAX_LOW_POINT) * NUMBER_SW_SEGMENTS; in cm3_helper_translate_curve_to_hw_format()
196 rgb_resulted[hw_points].red = output_tf->tf_pts.red[start_index]; in cm3_helper_translate_curve_to_hw_format()
197 rgb_resulted[hw_points].green = output_tf->tf_pts.green[start_index]; in cm3_helper_translate_curve_to_hw_format()
198 rgb_resulted[hw_points].blue = output_tf->tf_pts.blue[start_index]; in cm3_helper_translate_curve_to_hw_format()
336 uint32_t j, k, seg_distr[MAX_REGIONS_NUMBER], increment, start_index, hw_points; in cm3_helper_translate_curve_to_degamma_hw_format() local
369 start_index in cm3_helper_translate_curve_to_degamma_hw_format()
[all...]
/linux/arch/sparc/kernel/
H 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/drivers/infiniband/hw/mthca/
H A Dmthca_mr.c251 int start_index, u64 *buffer_list, int list_len) in __mthca_write_mtt()
266 start_index * 8); in __mthca_write_mtt()
286 start_index += i; in __mthca_write_mtt()
312 struct mthca_mtt *mtt, int start_index, in mthca_tavor_write_mtt_seg()
319 start_index * sizeof (u64); in mthca_tavor_write_mtt_seg()
326 struct mthca_mtt *mtt, int start_index, in mthca_arbel_write_mtt_seg()
332 int s = start_index * sizeof (u64); in mthca_arbel_write_mtt_seg()
355 int start_index, u64 *buffer_list, int list_len) in mthca_write_mtt()
362 return __mthca_write_mtt(dev, mtt, start_index, buffer_list, list_len); in mthca_write_mtt()
367 mthca_arbel_write_mtt_seg(dev, mtt, start_index, in mthca_write_mtt()
252 __mthca_write_mtt(struct mthca_dev * dev,struct mthca_mtt * mtt,int start_index,u64 * buffer_list,int list_len) __mthca_write_mtt() argument
313 mthca_tavor_write_mtt_seg(struct mthca_dev * dev,struct mthca_mtt * mtt,int start_index,u64 * buffer_list,int list_len) mthca_tavor_write_mtt_seg() argument
327 mthca_arbel_write_mtt_seg(struct mthca_dev * dev,struct mthca_mtt * mtt,int start_index,u64 * buffer_list,int list_len) mthca_arbel_write_mtt_seg() argument
356 mthca_write_mtt(struct mthca_dev * dev,struct mthca_mtt * mtt,int start_index,u64 * buffer_list,int list_len) mthca_write_mtt() argument
[all...]
/linux/fs/squashfs/
H A Dpage_actor.c111 struct page **page, int pages, int length, loff_t start_index) in squashfs_page_actor_init_special() argument
133 actor->next_index = start_index >> PAGE_SHIFT; in squashfs_page_actor_init_special()
H A Dpage_actor.h33 loff_t start_index);
H A Dfile.c400 int start_index = folio->index & ~mask, end_index = start_index | mask; in squashfs_copy_cache() local
408 for (i = start_index; i <= end_index && bytes > 0; i++, in squashfs_copy_cache()
/linux/drivers/mailbox/
H A Driscv-sbi-mpxy-mbox.c161 u32 remaining, returned, count, start_index = 0; in mpxy_get_channel_ids() local
173 start_index, 0, 0, 0, 0, 0); in mpxy_get_channel_ids()
180 count = returned < (channel_count - start_index) ? in mpxy_get_channel_ids()
181 returned : (channel_count - start_index); in mpxy_get_channel_ids()
182 memcpy_from_le32(&channel_ids[start_index], sdata->channel_array, count); in mpxy_get_channel_ids()
183 start_index += count; in mpxy_get_channel_ids()
184 } while (remaining && start_index < channel_count); in mpxy_get_channel_ids()
/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-desc.c427 unsigned int start_index, cur_index; in xgbe_map_tx_skb() local
434 start_index = ring->cur; in xgbe_map_tx_skb()
542 packet->rdesc_count = cur_index - start_index; in xgbe_map_tx_skb()
549 while (start_index < cur_index) { in xgbe_map_tx_skb()
550 rdata = XGBE_GET_DESC_DATA(ring, start_index++); in xgbe_map_tx_skb()
H A Dxgbe-dev.c1481 int start_index = ring->cur; in xgbe_tx_desc_init() local
1497 rdata = XGBE_GET_DESC_DATA(ring, start_index); in xgbe_tx_desc_init()
1559 unsigned int start_index = ring->cur; in xgbe_rx_desc_init() local
1576 rdata = XGBE_GET_DESC_DATA(ring, start_index); in xgbe_rx_desc_init()
1583 rdata = XGBE_GET_DESC_DATA(ring, start_index + ring->rdesc_count - 1); in xgbe_rx_desc_init()
1626 int start_index = ring->cur; in xgbe_dev_xmit() local
1748 if (cur_index != start_index) in xgbe_dev_xmit()
1781 for (i = cur_index - start_index + 1; i < packet->rdesc_count; i++) { in xgbe_dev_xmit()
1827 rdata = XGBE_GET_DESC_DATA(ring, start_index); in xgbe_dev_xmit()
1832 xgbe_dump_tx_desc(pdata, ring, start_index, in xgbe_dev_xmit()
[all …]
/linux/drivers/net/ethernet/synopsys/
H A Ddwc-xlgmac-desc.c498 unsigned int start_index, cur_index; in xlgmac_map_tx_skb() local
508 start_index = ring->cur; in xlgmac_map_tx_skb()
618 pkt_info->desc_count = cur_index - start_index; in xlgmac_map_tx_skb()
623 while (start_index < cur_index) { in xlgmac_map_tx_skb()
624 desc_data = XLGMAC_GET_DESC_DATA(ring, start_index++); in xlgmac_map_tx_skb()
H A Ddwc-xlgmac-hw.c711 int start_index = ring->cur; in xlgmac_dev_xmit() local
872 if (cur_index != start_index) in xlgmac_dev_xmit()
920 for (i = cur_index - start_index + 1; i < pkt_info->desc_count; i++) { in xlgmac_dev_xmit()
983 desc_data = XLGMAC_GET_DESC_DATA(ring, start_index); in xlgmac_dev_xmit()
991 xlgmac_dump_tx_desc(pdata, ring, start_index, in xlgmac_dev_xmit()
1006 channel->name, start_index & (ring->dma_desc_count - 1), in xlgmac_dev_xmit()
1060 int start_index = ring->cur; in xlgmac_tx_desc_init() local
1075 desc_data = XLGMAC_GET_DESC_DATA(ring, start_index); in xlgmac_tx_desc_init()
1143 unsigned int start_index = ring->cur; in xlgmac_rx_desc_init() local
1159 desc_data = XLGMAC_GET_DESC_DATA(ring, start_index); in xlgmac_rx_desc_init()
[all …]
/linux/drivers/tty/vt/
H A Dgen_ucs_fallback_table.py313 start_index = 0
319 start_index += count
/linux/tools/bpf/bpftool/
H A Dxlated_dumper.h39 unsigned int start_index,
/linux/drivers/scsi/
H A D3w-9xxx.c646 unsigned char event_index, start_index; in twa_chrdev_ioctl() local
796 start_index = tw_dev->error_index; in twa_chrdev_ioctl()
802 start_index = 0; in twa_chrdev_ioctl()
804 event_index = (start_index + sequence_id - tw_dev->event_queue[start_index]->sequence_id + 1) % TW_Q_LENGTH; in twa_chrdev_ioctl()
825 start_index = tw_dev->error_index; in twa_chrdev_ioctl()
831 start_index = 0; in twa_chrdev_ioctl()
833 event_index = (start_index + sequence_id - tw_dev->event_queue[start_index]->sequence_id - 1) % TW_Q_LENGTH; in twa_chrdev_ioctl()
/linux/drivers/net/ethernet/renesas/
H A Drswitch_main.c274 unsigned int start_index, in rswitch_gwca_queue_alloc_rx_buf() argument
280 index = (i + start_index) % gq->ring_size; in rswitch_gwca_queue_alloc_rx_buf()
292 index = (i + start_index) % gq->ring_size; in rswitch_gwca_queue_alloc_rx_buf()
451 unsigned int start_index, in rswitch_gwca_ts_queue_fill() argument
459 index = (i + start_index) % gq->ring_size; in rswitch_gwca_ts_queue_fill()
467 unsigned int start_index, in rswitch_gwca_queue_ext_ts_fill() argument
476 index = (i + start_index) % gq->ring_size; in rswitch_gwca_queue_ext_ts_fill()
501 index = (i + start_index) % gq->ring_size; in rswitch_gwca_queue_ext_ts_fill()
/linux/fs/btrfs/
H A Ddefrag.c1365 pgoff_t start_index; in btrfs_defrag_file()
1415 start_index = cur >> PAGE_SHIFT; in btrfs_defrag_file()
1416 if (start_index < inode->vfs_inode.i_mapping->writeback_index) in btrfs_defrag_file()
1417 inode->vfs_inode.i_mapping->writeback_index = start_index; in btrfs_defrag_file()
1360 pgoff_t start_index; btrfs_defrag_file() local
/linux/drivers/net/ethernet/mellanox/mlx5/core/diag/
H A Dfw_tracer.c979 u32 index, start_index, end_index; in mlx5_fw_tracer_get_saved_traces_objects() local
988 start_index = saved_traces_index; in mlx5_fw_tracer_get_saved_traces_objects()
990 start_index = 0; in mlx5_fw_tracer_get_saved_traces_objects()
994 index = start_index; in mlx5_fw_tracer_get_saved_traces_objects()

12