Home
last modified time | relevance | path

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

/linux/kernel/sched/
A Dcpudeadline.c176 int old_idx, new_cpu; in cpudl_clear() local
183 old_idx = cp->elements[cpu].idx; in cpudl_clear()
184 if (old_idx == IDX_INVALID) { in cpudl_clear()
193 cp->elements[old_idx].cpu = new_cpu; in cpudl_clear()
195 cp->elements[new_cpu].idx = old_idx; in cpudl_clear()
197 cpudl_heapify(cp, old_idx); in cpudl_clear()
216 int old_idx; in cpudl_set() local
223 old_idx = cp->elements[cpu].idx; in cpudl_set()
224 if (old_idx == IDX_INVALID) { in cpudl_set()
233 cp->elements[old_idx].dl = dl; in cpudl_set()
[all …]
/linux/drivers/clk/tegra/
A Dclk-tegra210-emc.c126 u8 old_idx, new_idx, index; in tegra210_clk_emc_set_rate() local
144 old_idx = tegra210_clk_emc_get_parent(hw); in tegra210_clk_emc_set_rate()
147 old = clk_hw_get_parent_by_index(hw, old_idx); in tegra210_clk_emc_set_rate()
153 if (new_idx == old_idx) { in tegra210_clk_emc_set_rate()
177 if (WARN_ON(new_idx == old_idx)) in tegra210_clk_emc_set_rate()
186 index = old_idx; in tegra210_clk_emc_set_rate()
243 clk = tegra210_clk_emc_find_parent(emc, old_idx); in tegra210_clk_emc_set_rate()
248 old_idx, err); in tegra210_clk_emc_set_rate()
/linux/drivers/cpuidle/governors/
A Dladder.c53 int old_idx, int new_idx) in ladder_do_selection() argument
55 ldev->states[old_idx].stats.promotion_count = 0; in ladder_do_selection()
56 ldev->states[old_idx].stats.demotion_count = 0; in ladder_do_selection()
/linux/sound/soc/codecs/
A Dmt6351.c328 int idx, old_idx, offset, reg_idx; in hp_gain_ramp_set() local
332 old_idx = priv->ana_gain[AUDIO_ANALOG_VOLUME_HPOUTL]; in hp_gain_ramp_set()
335 old_idx = 8; /* 0dB */ in hp_gain_ramp_set()
338 __func__, idx, old_idx); in hp_gain_ramp_set()
340 if (idx > old_idx) in hp_gain_ramp_set()
341 offset = idx - old_idx; in hp_gain_ramp_set()
343 offset = old_idx - idx; in hp_gain_ramp_set()
345 reg_idx = old_idx; in hp_gain_ramp_set()
348 reg_idx = idx > old_idx ? reg_idx + 1 : reg_idx - 1; in hp_gain_ramp_set()
/linux/kernel/events/
A Dhw_breakpoint.c176 int old_idx, new_idx; in toggle_bp_task_slot() local
178 old_idx = task_bp_pinned(cpu, bp, type) - 1; in toggle_bp_task_slot()
179 new_idx = old_idx + weight; in toggle_bp_task_slot()
181 if (old_idx >= 0) in toggle_bp_task_slot()
182 tsk_pinned[old_idx]--; in toggle_bp_task_slot()
/linux/fs/ubifs/
A Dtnc.c72 struct ubifs_old_idx *old_idx, *o; in insert_old_idx() local
76 if (unlikely(!old_idx)) in insert_old_idx()
78 old_idx->lnum = lnum; in insert_old_idx()
79 old_idx->offs = offs; in insert_old_idx()
81 p = &c->old_idx.rb_node; in insert_old_idx()
95 kfree(old_idx); in insert_old_idx()
100 rb_insert_color(&old_idx->rb, &c->old_idx); in insert_old_idx()
174 struct ubifs_old_idx *old_idx, *n; in destroy_old_idx() local
176 rbtree_postorder_for_each_entry_safe(old_idx, n, &c->old_idx, rb) in destroy_old_idx()
177 kfree(old_idx); in destroy_old_idx()
[all …]
A Dtnc_commit.c168 p = c->old_idx.rb_node; in find_old_idx()
A Dubifs.h1314 struct rb_root old_idx; member
A Dsuper.c2143 c->old_idx = RB_ROOT; in alloc_ubifs_info()
/linux/drivers/scsi/mpi3mr/
A Dmpi3mr_fw.c126 u32 old_idx = 0; in mpi3mr_repost_reply_buf() local
129 old_idx = mrioc->reply_free_queue_host_index; in mpi3mr_repost_reply_buf()
134 mrioc->reply_free_q[old_idx] = cpu_to_le64(reply_dma); in mpi3mr_repost_reply_buf()
143 u32 old_idx = 0; in mpi3mr_repost_sense_buf() local
146 old_idx = mrioc->sbq_host_index; in mpi3mr_repost_sense_buf()
150 mrioc->sense_buf_q[old_idx] = cpu_to_le64(sense_buf_dma); in mpi3mr_repost_sense_buf()
/linux/drivers/net/hyperv/
A Dnetvsc_drv.c296 struct sk_buff *skb, int old_idx) in netvsc_get_tx_queue() argument
306 if (q_idx != old_idx && in netvsc_get_tx_queue()
/linux/fs/btrfs/
A Dinode.c9333 u64 old_idx = 0; in btrfs_rename_exchange() local
9380 ret = btrfs_set_inode_index(BTRFS_I(new_dir), &old_idx); in btrfs_rename_exchange()
9400 old_idx); in btrfs_rename_exchange()
9498 new_dentry->d_name.len, 0, old_idx); in btrfs_rename_exchange()
9513 BTRFS_I(old_inode)->dir_index = old_idx; in btrfs_rename_exchange()

Completed in 53 milliseconds