Home
last modified time | relevance | path

Searched refs:old_idx (Results 1 – 13 of 13) sorted by relevance

/linux/kernel/sched/
H A Dcpudeadline.c177 int old_idx, new_cpu; in cpudl_clear() local
184 old_idx = cp->elements[cpu].idx; in cpudl_clear()
185 if (old_idx == IDX_INVALID) { in cpudl_clear()
193 cp->elements[old_idx].dl = cp->elements[cp->size - 1].dl; in cpudl_clear()
194 cp->elements[old_idx].cpu = new_cpu; in cpudl_clear()
196 cp->elements[new_cpu].idx = old_idx; in cpudl_clear()
198 cpudl_heapify(cp, old_idx); in cpudl_clear()
220 int old_idx; in cpudl_set() local
227 old_idx = cp->elements[cpu].idx; in cpudl_set()
228 if (old_idx == IDX_INVALID) { in cpudl_set()
[all …]
/linux/drivers/clk/tegra/
H A Dclk-tegra210-emc.c134 u8 old_idx, new_idx, index; in tegra210_clk_emc_set_rate() local
152 old_idx = tegra210_clk_emc_get_parent(hw); in tegra210_clk_emc_set_rate()
155 old = clk_hw_get_parent_by_index(hw, old_idx); in tegra210_clk_emc_set_rate()
161 if (new_idx == old_idx) { in tegra210_clk_emc_set_rate()
185 if (WARN_ON(new_idx == old_idx)) in tegra210_clk_emc_set_rate()
194 index = old_idx; in tegra210_clk_emc_set_rate()
251 clk = tegra210_clk_emc_find_parent(emc, old_idx); in tegra210_clk_emc_set_rate()
256 old_idx, err); in tegra210_clk_emc_set_rate()
/linux/fs/ubifs/
H A Dtnc.c48 struct ubifs_old_idx *old_idx) in do_insert_old_idx() argument
53 p = &c->old_idx.rb_node; in do_insert_old_idx()
57 if (old_idx->lnum < o->lnum) in do_insert_old_idx()
59 else if (old_idx->lnum > o->lnum) in do_insert_old_idx()
61 else if (old_idx->offs < o->offs) in do_insert_old_idx()
63 else if (old_idx->offs > o->offs) in do_insert_old_idx()
67 kfree(old_idx); in do_insert_old_idx()
71 rb_link_node(&old_idx->rb, parent, p); in do_insert_old_idx()
72 rb_insert_color(&old_idx->rb, &c->old_idx); in do_insert_old_idx()
100 struct ubifs_old_idx *old_idx; in insert_old_idx() local
[all …]
H A Dtnc_commit.c168 p = c->old_idx.rb_node; in find_old_idx()
H A Dsuper.c2102 c->old_idx = RB_ROOT; in alloc_ubifs_info()
/linux/drivers/cpuidle/governors/
H A Dladder.c54 int old_idx, int new_idx) in ladder_do_selection() argument
56 ldev->states[old_idx].stats.promotion_count = 0; in ladder_do_selection()
57 ldev->states[old_idx].stats.demotion_count = 0; in ladder_do_selection()
/linux/sound/soc/codecs/
H A Dmt6351.c325 int idx, old_idx, offset, reg_idx; in hp_gain_ramp_set() local
329 old_idx = priv->ana_gain[AUDIO_ANALOG_VOLUME_HPOUTL]; in hp_gain_ramp_set()
332 old_idx = 8; /* 0dB */ in hp_gain_ramp_set()
335 __func__, idx, old_idx); in hp_gain_ramp_set()
337 if (idx > old_idx) in hp_gain_ramp_set()
338 offset = idx - old_idx; in hp_gain_ramp_set()
340 offset = old_idx - idx; in hp_gain_ramp_set()
342 reg_idx = old_idx; in hp_gain_ramp_set()
345 reg_idx = idx > old_idx ? reg_idx + 1 : reg_idx - 1; in hp_gain_ramp_set()
/linux/kernel/events/
H A Dhw_breakpoint.c240 const int old_idx = old - 1; in bp_slots_histogram_add() local
241 const int new_idx = old_idx + val; in bp_slots_histogram_add()
243 if (old_idx >= 0) in bp_slots_histogram_add()
244 WARN_ON(atomic_dec_return_relaxed(&hist->count[old_idx]) < 0); in bp_slots_histogram_add()
/linux/drivers/net/dsa/microchip/
H A Dksz9477_acl.c334 u16 old_idx, u16 new_idx) in ksz9477_acl_update_linkage() argument
355 if (val0 != old_idx) { in ksz9477_acl_update_linkage()
357 old_idx, val0); in ksz9477_acl_update_linkage()
364 shift = new_idx - old_idx; in ksz9477_acl_update_linkage()
/linux/drivers/gpu/drm/rockchip/
H A Drockchip_drm_vop.c1282 u32 lut_idx, old_idx; in vop_crtc_gamma_set() local
1316 old_idx = vop_lut_buffer_index(vop); in vop_crtc_gamma_set()
1328 lut_idx, lut_idx != old_idx, 5, 30 * 1000); in vop_crtc_gamma_set()
/linux/drivers/scsi/mpi3mr/
H A Dmpi3mr_fw.c148 u32 old_idx = 0; in mpi3mr_repost_reply_buf() local
152 old_idx = mrioc->reply_free_queue_host_index; in mpi3mr_repost_reply_buf()
157 mrioc->reply_free_q[old_idx] = cpu_to_le64(reply_dma); in mpi3mr_repost_reply_buf()
166 u32 old_idx = 0; in mpi3mr_repost_sense_buf() local
170 old_idx = mrioc->sbq_host_index; in mpi3mr_repost_sense_buf()
174 mrioc->sense_buf_q[old_idx] = cpu_to_le64(sense_buf_dma); in mpi3mr_repost_sense_buf()
/linux/drivers/net/hyperv/
H A Dnetvsc_drv.c251 struct sk_buff *skb, int old_idx) in netvsc_get_tx_queue() argument
261 if (q_idx != old_idx && in netvsc_get_tx_queue()
/linux/fs/btrfs/
H A Dinode.c8292 u64 old_idx = 0; in btrfs_rename_exchange() local
8376 ret = btrfs_set_inode_index(BTRFS_I(new_dir), &old_idx); in btrfs_rename_exchange()
8393 old_idx); in btrfs_rename_exchange()
8498 new_name, 0, old_idx); in btrfs_rename_exchange()
8512 BTRFS_I(old_inode)->dir_index = old_idx; in btrfs_rename_exchange()