/linux/lib/ |
H A D | interval_tree.c | 126 unsigned long new_index) in interval_tree_span_iter_advance() argument 131 iter->first_index = new_index; in interval_tree_span_iter_advance() 132 if (new_index > iter->last_index) { in interval_tree_span_iter_advance() 138 if (iter->start_hole <= new_index && new_index <= iter->last_hole) { in interval_tree_span_iter_advance() 139 iter->start_hole = new_index; in interval_tree_span_iter_advance() 142 if (new_index == iter->last_hole + 1) in interval_tree_span_iter_advance() 145 interval_tree_span_iter_first(iter, itree, new_index, in interval_tree_span_iter_advance()
|
H A D | parman.c | 186 unsigned long new_index; in parman_lsort_item_add() local 195 new_index = parman_lsort_new_index_find(parman, prio); in parman_lsort_item_add() 201 item->index = new_index; in parman_lsort_item_add()
|
/linux/drivers/cpuidle/ |
H A D | cpuidle-exynos.c | 62 int new_index = index; in exynos_enter_lowpower() local 66 new_index = drv->safe_state_index; in exynos_enter_lowpower() 68 if (new_index == 0) in exynos_enter_lowpower() 69 return arm_cpuidle_simple_enter(dev, drv, new_index); in exynos_enter_lowpower() 73 return new_index; in exynos_enter_lowpower()
|
/linux/drivers/cpufreq/ |
H A D | cpufreq_stats.c | 269 int old_index, new_index; in cpufreq_stats_record_transition() local 278 new_index = freq_table_get_index(stats, new_freq); in cpufreq_stats_record_transition() 281 if (unlikely(old_index == -1 || new_index == -1 || old_index == new_index)) in cpufreq_stats_record_transition() 286 stats->last_index = new_index; in cpufreq_stats_record_transition() 287 stats->trans_table[old_index * stats->max_state + new_index]++; in cpufreq_stats_record_transition()
|
H A D | powernv-cpufreq.c | 742 unsigned int new_index) in powernv_cpufreq_target_index() argument 748 if (unlikely(rebooting) && new_index != get_nominal_index()) in powernv_cpufreq_target_index() 762 freq_data.pstate_id = idx_to_pstate(new_index); in powernv_cpufreq_target_index() 771 gpstate_idx = new_index; in powernv_cpufreq_target_index() 772 gpstates->highest_lpstate_idx = new_index; in powernv_cpufreq_target_index() 776 if (gpstates->last_gpstate_idx < new_index) { in powernv_cpufreq_target_index() 787 gpstates->highest_lpstate_idx = new_index; in powernv_cpufreq_target_index() 788 gpstate_idx = new_index; in powernv_cpufreq_target_index() 793 new_index); in powernv_cpufreq_target_index() 797 gpstates->highest_lpstate_idx = new_index; in powernv_cpufreq_target_index() [all …]
|
/linux/arch/sparc/kernel/ |
H A D | cpumap.c | 321 int level, new_index, index = root_index; in iterate_cpu() local 342 new_index = t->nodes[index].rover; in iterate_cpu() 346 index = new_index; in iterate_cpu()
|
/linux/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc.h | 198 int new_index = *old_index; in enetc_rxbd_next() local 205 if (unlikely(++new_index == rx_ring->bd_count)) { in enetc_rxbd_next() 207 new_index = 0; in enetc_rxbd_next() 211 *old_index = new_index; in enetc_rxbd_next()
|
/linux/include/linux/ |
H A D | interval_tree.h | 73 unsigned long new_index);
|
/linux/drivers/md/dm-vdo/indexer/ |
H A D | index.h | 68 index_callback_fn callback, struct uds_index **new_index);
|
H A D | index.c | 1153 struct uds_index **new_index) in uds_make_index() argument 1268 *new_index = index; in uds_make_index()
|
/linux/mm/ |
H A D | readahead.c | 733 pgoff_t new_index, new_nr_pages; in readahead_expand() local 738 new_index = new_start / PAGE_SIZE; in readahead_expand() 746 while (ractl->_index > new_index) { in readahead_expand()
|
/linux/drivers/block/ |
H A D | nbd.c | 997 int new_index = -1; in find_fallback() local 1002 return new_index; in find_fallback() 1007 return new_index; in find_fallback() 1022 new_index = i; in find_fallback() 1026 nsock->fallback_index = new_index; in find_fallback() 1027 if (new_index < 0) { in find_fallback() 1030 return new_index; in find_fallback() 1033 new_index = nsock->fallback_index; in find_fallback() 1034 return new_index; in find_fallback()
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_tx.c | 466 u16 new_index; in mlx4_en_process_tx_cq() local 481 new_index = be16_to_cpu(cqe->wqe_index) & size_mask; in mlx4_en_process_tx_cq() 506 } while ((++done < budget) && (ring_index != new_index)); in mlx4_en_process_tx_cq()
|
H A D | resource_tracker.c | 696 u8 new_index; in update_pkey_index() local 702 new_index = priv->virt2phys_pkey[slave][port - 1][orig_index]; in update_pkey_index() 703 *(u8 *)(inbox->buf + 35) = new_index; in update_pkey_index()
|
/linux/fs/ |
H A D | libfs.c | 415 long new_index = dentry2offset(new_dentry); in simple_offset_rename_exchange() local 421 ret = simple_offset_replace(new_ctx, old_dentry, new_index); in simple_offset_rename_exchange() 441 (void)simple_offset_replace(new_ctx, new_dentry, new_index); in simple_offset_rename_exchange()
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
H A D | phy_lcn.c | 2317 s8 index, delta_brd, delta_temp, new_index, tempcorrx; in wlc_lcnphy_tempcompensated_txpwrctrl() local 2362 new_index = in wlc_lcnphy_tempcompensated_txpwrctrl() 2364 new_index += tempcorrx; in wlc_lcnphy_tempcompensated_txpwrctrl() 2369 if (new_index < 0 || new_index > 126) in wlc_lcnphy_tempcompensated_txpwrctrl() 2372 return new_index; in wlc_lcnphy_tempcompensated_txpwrctrl()
|
/linux/drivers/target/ |
H A D | target_core_transport.c | 185 u32 new_index; in scsi_get_new_index() local 190 new_index = ++scsi_mib_index[type]; in scsi_get_new_index() 193 return new_index; in scsi_get_new_index()
|
/linux/kernel/trace/ |
H A D | ring_buffer.c | 3645 unsigned long new_index, old_index; in rb_try_to_discard() local 3649 new_index = rb_event_index(cpu_buffer, event); in rb_try_to_discard() 3650 old_index = new_index + rb_event_ts_length(event); in rb_try_to_discard() 3693 new_index += write_mask; in rb_try_to_discard() 3696 if (local_try_cmpxchg(&bpage->write, &old_index, new_index)) { in rb_try_to_discard()
|
/linux/net/core/ |
H A D | dev.c | 4276 int new_index = get_xps_queue(dev, sb_dev, skb); in netdev_pick_tx() local 4278 if (new_index < 0) in netdev_pick_tx() 4279 new_index = skb_tx_hash(dev, sb_dev, skb); in netdev_pick_tx() 4281 if (queue_index != new_index && sk && in netdev_pick_tx() 4284 sk_tx_queue_set(sk, new_index); in netdev_pick_tx() 4286 queue_index = new_index; in netdev_pick_tx()
|