| /linux/fs/fuse/ |
| H A D | dax.c | 181 static int fuse_setup_one_mapping(struct inode *inode, unsigned long start_idx, in fuse_setup_one_mapping() argument 189 loff_t offset = start_idx << FUSE_DAX_SHIFT; in fuse_setup_one_mapping() 220 dmap->itn.start = dmap->itn.last = start_idx; in fuse_setup_one_mapping() 317 unsigned long start_idx = start >> FUSE_DAX_SHIFT; in inode_reclaim_dmap_range() local 322 node = interval_tree_iter_first(&fi->dax->tree, start_idx, in inode_reclaim_dmap_range() 441 unsigned long start_idx = pos >> FUSE_DAX_SHIFT; in fuse_setup_new_dax_mapping() local 477 node = interval_tree_iter_first(&fi->dax->tree, start_idx, start_idx); in fuse_setup_new_dax_mapping() 569 unsigned long start_idx = pos >> FUSE_DAX_SHIFT; in fuse_iomap_begin() local 589 node = interval_tree_iter_first(&fi->dax->tree, start_idx, start_idx); in fuse_iomap_begin() 918 unsigned long start_idx; in inode_inline_reclaim_one_dmap() local [all …]
|
| /linux/drivers/net/wireless/silabs/wfx/ |
| H A D | scan.c | 40 static int send_scan_req(struct wfx_vif *wvif, struct cfg80211_scan_request *req, int start_idx) in send_scan_req() argument 46 for (i = start_idx; i < req->n_channels; i++) { in send_scan_req() 47 ch_start = req->channels[start_idx]; in send_scan_req() 58 ret = wfx_hif_scan(wvif, req, start_idx, i - start_idx); in send_scan_req() 76 } else if (wvif->scan_nb_chan_done > i - start_idx) { in send_scan_req() 81 if (req->channels[start_idx]->max_power != vif->bss_conf.txpower) in send_scan_req()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
| H A D | rsc_dump.c | 59 int read_size, int start_idx) in mlx5_rsc_dump_read_menu_sgmt() argument 70 if (!start_idx) { in mlx5_rsc_dump_read_menu_sgmt() 79 for (i = 0; start_idx + i < num_of_items; i++) { in mlx5_rsc_dump_read_menu_sgmt() 82 return start_idx + i; in mlx5_rsc_dump_read_menu_sgmt() 189 int start_idx = 0; in mlx5_rsc_dump_menu() local 211 start_idx = mlx5_rsc_dump_read_menu_sgmt(dev->rsc_dump, page, size, start_idx); in mlx5_rsc_dump_menu()
|
| /linux/fs/squashfs/ |
| H A D | block.c | 85 int start_idx = 0, end_idx = 0; in squashfs_bio_read_cached() local 127 bio_trim(bio, start_idx * PAGE_SECTORS, in squashfs_bio_read_cached() 128 (end_idx - start_idx) * PAGE_SECTORS); in squashfs_bio_read_cached() 134 start_idx = idx; in squashfs_bio_read_cached() 142 bio_trim(bio, start_idx * PAGE_SECTORS, in squashfs_bio_read_cached() 143 (end_idx - start_idx) * PAGE_SECTORS); in squashfs_bio_read_cached()
|
| /linux/drivers/cpuidle/ |
| H A D | dt_idle_states.c | 146 unsigned int start_idx) in dt_init_idle_driver() argument 153 unsigned int state_idx = start_idx; in dt_init_idle_driver() 218 return state_idx - start_idx; in dt_init_idle_driver()
|
| H A D | dt_idle_states.h | 7 unsigned int start_idx);
|
| /linux/drivers/net/dsa/microchip/ |
| H A D | ksz9477_acl.c | 240 int start_idx, end_idx, contiguous_count; in ksz9477_acl_get_cont_entr() local 268 start_idx = find_first_bit((unsigned long *)&val, 16); in ksz9477_acl_get_cont_entr() 272 contiguous_count = end_idx - start_idx + 1; in ksz9477_acl_get_cont_entr() 284 for (i = start_idx; i <= end_idx; i++) { in ksz9477_acl_get_cont_entr() 296 if (i > start_idx) { in ksz9477_acl_get_cont_entr() 470 u16 start_idx, in ksz9477_move_entries_downwards() argument 477 for (i = start_idx; i < end_idx; i++) { in ksz9477_move_entries_downwards() 509 u16 start_idx, u16 num_entries_to_move, in ksz9477_move_entries_upwards() argument 515 for (i = start_idx; i > target_idx; i--) { in ksz9477_move_entries_upwards()
|
| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_lan_hmc.c | 304 if (info->start_idx >= info->hmc_info->hmc_obj[info->rsrc_type].cnt) { in i40e_create_lan_hmc_object() 310 if ((info->start_idx + info->count) > in i40e_create_lan_hmc_object() 320 info->start_idx, info->count, in i40e_create_lan_hmc_object() 329 info->start_idx, info->count, &pd_idx, in i40e_create_lan_hmc_object() 446 info.start_idx = 0; in i40e_configure_lan_hmc() 556 if (info->start_idx >= info->hmc_info->hmc_obj[info->rsrc_type].cnt) { in i40e_delete_lan_hmc_object() 563 if ((info->start_idx + info->count) > in i40e_delete_lan_hmc_object() 572 info->start_idx, info->count, &pd_idx, in i40e_delete_lan_hmc_object() 595 info->start_idx, info->count, in i40e_delete_lan_hmc_object() 639 info.start_idx = 0; in i40e_shutdown_lan_hmc()
|
| H A D | i40e_lan_hmc.h | 129 u32 start_idx; member 138 u32 start_idx; member
|
| /linux/drivers/infiniband/core/ |
| H A D | umem_odp.c | 330 int pfn_index, dma_index, ret = 0, start_idx; in ib_umem_odp_map_dma_and_lock() local 381 start_idx = (range.start - ib_umem_start(umem_odp)) >> page_shift; in ib_umem_odp_map_dma_and_lock() 382 dma_index = start_idx; in ib_umem_odp_map_dma_and_lock() 419 ret = dma_index - start_idx; in ib_umem_odp_map_dma_and_lock()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| H A D | dm.c | 256 u64 start_idx; in mlx5_dm_sw_icm_dealloc() local 295 start_idx = (addr - icm_start_addr) >> MLX5_LOG_SW_ICM_BLOCK_SIZE(dev); in mlx5_dm_sw_icm_dealloc() 298 start_idx, num_blocks); in mlx5_dm_sw_icm_dealloc()
|
| /linux/fs/verity/ |
| H A D | verify.c | 68 pgoff_t start_idx = (level_start + next_start_hidx) >> in fsverity_readahead() local 74 inode, start_idx, end_idx - start_idx + 1); in fsverity_readahead()
|
| /linux/drivers/media/test-drivers/vicodec/ |
| H A D | codec-v4l2-fwht.c | 60 unsigned int start_idx) in v4l2_fwht_find_nth_fmt() argument 69 if (start_idx == 0) in v4l2_fwht_find_nth_fmt() 71 start_idx--; in v4l2_fwht_find_nth_fmt()
|
| H A D | codec-v4l2-fwht.h | 59 unsigned int start_idx);
|
| /linux/tools/bpf/bpftool/ |
| H A D | cfg.c | 403 unsigned int start_idx; in draw_bb_node() local 405 start_idx = bb->head - func->start; in draw_bb_node() 406 dump_xlated_for_graph(dd, bb->head, bb->tail, start_idx, in draw_bb_node()
|
| H A D | xlated_dumper.c | 368 unsigned int start_idx, in dump_xlated_for_graph() argument 396 insn_off = (unsigned int)(cur - insn_start + start_idx); in dump_xlated_for_graph()
|
| /linux/drivers/perf/ |
| H A D | arm_dmc620_pmu.c | 296 int idx, start_idx, end_idx; in dmc620_get_event_idx() local 299 start_idx = 0; in dmc620_get_event_idx() 302 start_idx = DMC620_PMU_CLKDIV2_MAX_COUNTERS; in dmc620_get_event_idx() 306 for (idx = start_idx; idx < end_idx; ++idx) { in dmc620_get_event_idx()
|
| /linux/drivers/dma/ti/ |
| H A D | k3-udma.c | 165 u32 start_idx[3]; member 452 if (chan_id >= tpl_map->start_idx[i]) in udma_get_chan_tpl_index() 1357 start = ud->res##_tpl.start_idx[tpl]; \ 1510 chan_id = ud->tchan_tpl.start_idx[ud->tchan_tpl.levels - 1]; in udma_get_chan_pair() 4596 ud->tchan_tpl.start_idx[0] = 8; in udma_setup_resources() 4600 ud->tchan_tpl.start_idx[0] = 2; in udma_setup_resources() 4603 ud->tchan_tpl.start_idx[1] = UDMA_CAP3_UCHAN_CNT(cap3); in udma_setup_resources() 4604 ud->tchan_tpl.start_idx[0] = UDMA_CAP3_HCHAN_CNT(cap3); in udma_setup_resources() 4607 ud->tchan_tpl.start_idx[0] = UDMA_CAP3_HCHAN_CNT(cap3); in udma_setup_resources() 4613 ud->rchan_tpl.start_idx[0] = ud->tchan_tpl.start_idx[0]; in udma_setup_resources() [all …]
|
| /linux/include/uapi/cxl/ |
| H A D | features.h | 38 __le16 start_idx; member
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_dpll.c | 3090 int start_idx, int count, u64 clock_id) in ice_dpll_get_pins() argument 3096 pin_index = start_idx; in ice_dpll_get_pins() 3097 if (start_idx != DPLL_PIN_IDX_UNSPEC) in ice_dpll_get_pins() 3249 struct ice_dpll_pin *pins, int start_idx, int count, in ice_dpll_init_direct_pins() argument 3255 ret = ice_dpll_get_pins(pf, pins, start_idx, count, pf->dplls.clock_id); in ice_dpll_init_direct_pins() 3413 int start_idx, const struct dpll_pin_ops *ops) in ice_dpll_init_pin_common() argument 3418 ret = ice_dpll_get_pins(pf, pin, start_idx, 1, pf->dplls.clock_id); in ice_dpll_init_pin_common() 3470 ice_dpll_init_rclk_pin(struct ice_pf *pf, int start_idx, in ice_dpll_init_rclk_pin() argument 3476 ret = ice_dpll_init_pin_common(pf, &pf->dplls.rclk, start_idx, ops); in ice_dpll_init_rclk_pin() 3500 int start_idx) in ice_dpll_deinit_fwnode_pins() argument [all …]
|
| /linux/sound/hda/core/ext/ |
| H A D | stream.c | 90 int snd_hdac_ext_stream_init_all(struct hdac_bus *bus, int start_idx, in snd_hdac_ext_stream_init_all() argument 96 int i, tag, idx = start_idx; in snd_hdac_ext_stream_init_all()
|
| /linux/drivers/net/wireless/ath/wil6210/ |
| H A D | pcie_bus.c | 306 int i, start_idx; in wil_pcie_probe() local 384 start_idx = wil->use_enhanced_dma_hw ? 0 : 1; in wil_pcie_probe() 386 for (i = start_idx; i < ARRAY_SIZE(dma_addr_size); i++) { in wil_pcie_probe()
|
| /linux/drivers/input/rmi4/ |
| H A D | rmi_bus.c | 387 static void __rmi_unregister_function_handlers(int start_idx) in __rmi_unregister_function_handlers() argument 391 for (i = start_idx; i >= 0; i--) in __rmi_unregister_function_handlers()
|
| /linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
| H A D | main.c | 399 u32 start_idx, u32 num_events, in iwl_print_cont_event_trace() argument 407 ptr = base + (4 * sizeof(u32)) + (start_idx * 2 * sizeof(u32)); in iwl_print_cont_event_trace() 409 ptr = base + (4 * sizeof(u32)) + (start_idx * 3 * sizeof(u32)); in iwl_print_cont_event_trace() 424 if (WARN_ON(num_events > capacity - start_idx)) in iwl_print_cont_event_trace() 425 num_events = capacity - start_idx; in iwl_print_cont_event_trace() 1698 static int iwl_print_event_log(struct iwl_priv *priv, u32 start_idx, in iwl_print_event_log() argument 1727 ptr = base + EVENT_START_OFFSET + (start_idx * event_size); in iwl_print_event_log()
|
| /linux/drivers/block/drbd/ |
| H A D | drbd_debugfs.c | 522 unsigned int start_idx; in seq_print_timing_details() local 530 start_idx = cb_nr % DRBD_THREAD_DETAILS_HIST; in seq_print_timing_details() 531 for (i = start_idx; i < DRBD_THREAD_DETAILS_HIST; i++) in seq_print_timing_details() 533 for (i = 0; i < start_idx; i++) in seq_print_timing_details()
|