| /linux/drivers/iommu/iommufd/ |
| H A D | pages.c | 186 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() 408 struct iopt_area *area, unsigned long start_index, in batch_from_domain() argument 415 iova = iopt_area_index_to_iova(area, start_index); in batch_from_domain() 416 if (start_index == iopt_area_index(area)) in batch_from_domain() 418 while (start_index <= last_index) { in batch_from_domain() 429 start_index++; in batch_from_domain() 435 unsigned long start_index, in raw_pages_from_domain() argument [all …]
|
| /linux/kernel/trace/ |
| H A D | trace_printk.c | 123 find_next_mod_format(int start_index, void *v, const char **fmt, loff_t *pos) in find_next_mod_format() argument 136 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() 180 find_next_mod_format(int start_index, void *v, const char **fmt, loff_t *pos) in find_next_mod_format() argument 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() [all …]
|
| /linux/drivers/soc/qcom/ |
| H A D | spm.c | 73 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_STBY] = 0, [all …]
|
| /linux/mm/ |
| H A D | fadvise.c | 37 pgoff_t start_index; in generic_fadvise() local 98 start_index = offset >> PAGE_SHIFT; in generic_fadvise() 102 nrpages = end_index - start_index + 1; in generic_fadvise() 106 force_page_cache_readahead(mapping, file, start_index, nrpages); in generic_fadvise() 121 start_index = (offset+(PAGE_SIZE-1)) >> PAGE_SHIFT; in generic_fadvise() 143 if (end_index >= start_index) { in generic_fadvise() 157 mapping_try_invalidate(mapping, start_index, end_index, in generic_fadvise() 167 invalidate_mapping_pages(mapping, start_index, in generic_fadvise()
|
| /linux/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, 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() [all …]
|
| /linux/include/trace/events/ |
| H A D | fs_dax.h | 150 TP_PROTO(struct inode *inode, pgoff_t start_index, pgoff_t end_index), 151 TP_ARGS(inode, start_index, end_index), 154 __field(pgoff_t, start_index) 161 __entry->start_index = start_index; 168 __entry->start_index, 175 TP_PROTO(struct inode *inode, pgoff_t start_index, pgoff_t end_index),\ 176 TP_ARGS(inode, start_index, end_index))
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum1_kvdl.c | 33 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()
|
| H A D | spectrum_fid.c | 132 u16 start_index; member 372 return fid_family->end_index - fid_family->start_index + 1; in mlxsw_sp_fid_family_num_fids() 507 fid->fid_offset = fid->fid_index - fid->fid_family->start_index; in mlxsw_sp_fid_8021q_setup() 919 fid->fid_offset = fid->fid_index - fid->fid_family->start_index; in mlxsw_sp_fid_8021d_setup() 941 nr_fids = fid_family->end_index - fid_family->start_index + 1; in mlxsw_sp_fid_8021d_index_alloc() 945 *p_fid_index = fid_family->start_index + fid_index; in mlxsw_sp_fid_8021d_index_alloc() 1402 *p_fid_index = fid->fid_family->start_index + rif_index; in mlxsw_sp_fid_rfid_index_alloc() 1412 return fid->fid_index == rif_index + fid->fid_family->start_index; in mlxsw_sp_fid_rfid_compare() 1678 *p_fid_index = fid->fid_family->start_index; in mlxsw_sp_fid_dummy_index_alloc() 1863 .start_index = MLXSW_SP_FID_8021Q_START, [all …]
|
| H A D | spectrum_policer.c | 16 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/dcn10/ |
| H A D | dcn10_cm_common.c | 346 uint32_t j, k, seg_distr[MAX_REGIONS_NUMBER], increment, start_index, hw_points; in cm_helper_translate_curve_to_hw_format() local 394 start_index = (region_start + k + MAX_LOW_POINT) * in cm_helper_translate_curve_to_hw_format() 396 for (i = start_index; i < start_index + NUMBER_SW_SEGMENTS; in cm_helper_translate_curve_to_hw_format() 413 start_index = (region_end + MAX_LOW_POINT) * NUMBER_SW_SEGMENTS; in cm_helper_translate_curve_to_hw_format() 414 rgb_resulted[hw_points - 1].red = output_tf->tf_pts.red[start_index]; in cm_helper_translate_curve_to_hw_format() 415 rgb_resulted[hw_points - 1].green = output_tf->tf_pts.green[start_index]; in cm_helper_translate_curve_to_hw_format() 416 rgb_resulted[hw_points - 1].blue = output_tf->tf_pts.blue[start_index]; in cm_helper_translate_curve_to_hw_format() 551 uint32_t j, k, seg_distr[MAX_REGIONS_NUMBER], increment, start_index, hw_points; in cm_helper_translate_curve_to_degamma_hw_format() local 583 start_index = (region_start + k + MAX_LOW_POINT) * in cm_helper_translate_curve_to_degamma_hw_format() 585 for (i = start_index; i < start_index + NUMBER_SW_SEGMENTS; in cm_helper_translate_curve_to_degamma_hw_format() [all …]
|
| /linux/arch/sparc/kernel/ |
| H A D | cpumap.c | 43 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 D | mthca_mr.c | 253 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 364 return __mthca_write_mtt(dev, mtt, start_index, buffer_list, list_len); in mthca_write_mtt() 369 mthca_arbel_write_mtt_seg(dev, mtt, start_index, in mthca_write_mtt() [all …]
|
| /linux/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; in cm3_helper_translate_curve_to_hw_format() local 169 start_index = (region_start + k + MAX_LOW_POINT) * in cm3_helper_translate_curve_to_hw_format() 171 for (i = start_index; i < start_index + NUMBER_SW_SEGMENTS; in cm3_helper_translate_curve_to_hw_format() 185 start_index = (region_end + MAX_LOW_POINT) * NUMBER_SW_SEGMENTS; in cm3_helper_translate_curve_to_hw_format() 186 rgb_resulted[hw_points].red = output_tf->tf_pts.red[start_index]; in cm3_helper_translate_curve_to_hw_format() 187 rgb_resulted[hw_points].green = output_tf->tf_pts.green[start_index]; in cm3_helper_translate_curve_to_hw_format() 188 rgb_resulted[hw_points].blue = output_tf->tf_pts.blue[start_index]; in cm3_helper_translate_curve_to_hw_format()
|
| /linux/drivers/acpi/acpica/ |
| H A D | nsrepair2.c | 74 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()
|
| H A D | nsprepkg.c | 29 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/fs/squashfs/ |
| H A D | page_actor.c | 111 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 D | page_actor.h | 33 loff_t start_index);
|
| /linux/kernel/ |
| H A D | kcov.c | 243 u64 count, start_index, end_pos, max_pos; in write_comp_data() local 261 start_index = 1 + count * KCOV_WORDS_PER_CMP; in write_comp_data() 262 end_pos = (start_index + KCOV_WORDS_PER_CMP) * sizeof(u64); in write_comp_data() 267 area[start_index] = type; in write_comp_data() 268 area[start_index + 1] = arg1; in write_comp_data() 269 area[start_index + 2] = arg2; in write_comp_data() 270 area[start_index + 3] = ip; in write_comp_data()
|
| /linux/drivers/net/ethernet/amd/xgbe/ |
| H A D | xgbe-desc.c | 427 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()
|
| /linux/drivers/net/ethernet/synopsys/ |
| H A D | dwc-xlgmac-desc.c | 502 unsigned int start_index, cur_index; in xlgmac_map_tx_skb() local 512 start_index = ring->cur; in xlgmac_map_tx_skb() 622 pkt_info->desc_count = cur_index - start_index; in xlgmac_map_tx_skb() 627 while (start_index < cur_index) { in xlgmac_map_tx_skb() 628 desc_data = XLGMAC_GET_DESC_DATA(ring, start_index++); in xlgmac_map_tx_skb()
|
| H A D | dwc-xlgmac-hw.c | 711 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/fs/xfs/libxfs/ |
| H A D | xfs_group.c | 102 uint32_t start_index, in xfs_group_next_range() argument 106 uint32_t index = start_index; in xfs_group_next_range()
|
| /linux/drivers/tty/vt/ |
| H A D | gen_ucs_fallback_table.py | 313 start_index = 0 319 start_index += count
|
| /linux/tools/bpf/bpftool/ |
| H A D | xlated_dumper.h | 39 unsigned int start_index,
|