Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/kernel/sched/
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()
192 cp->elements[old_idx].dl = cp->elements[cp->size - 1].dl; 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()
[all …]
/kernel/linux/linux-5.10/drivers/clk/tegra/
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()
/kernel/linux/linux-5.10/drivers/cpuidle/governors/
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()
/kernel/linux/linux-5.10/sound/soc/codecs/
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()
/kernel/linux/linux-5.10/kernel/events/
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()
/kernel/linux/linux-5.10/fs/ubifs/
Dtnc.c72 struct ubifs_old_idx *old_idx, *o; in insert_old_idx() local
75 old_idx = kmalloc(sizeof(struct ubifs_old_idx), GFP_NOFS); in insert_old_idx()
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()
99 rb_link_node(&old_idx->rb, parent, p); 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
[all …]
Dtnc_commit.c168 p = c->old_idx.rb_node; in find_old_idx()
Dubifs.h1314 struct rb_root old_idx; member
Dsuper.c2142 c->old_idx = RB_ROOT; in alloc_ubifs_info()
/kernel/linux/linux-5.10/drivers/net/hyperv/
Dnetvsc_drv.c298 struct sk_buff *skb, int old_idx) in netvsc_get_tx_queue() argument
308 if (q_idx != old_idx && in netvsc_get_tx_queue()
/kernel/linux/linux-5.10/fs/btrfs/
Dinode.c8897 u64 old_idx = 0; in btrfs_rename_exchange() local
8941 ret = btrfs_set_inode_index(BTRFS_I(new_dir), &old_idx); in btrfs_rename_exchange()
8963 old_idx); in btrfs_rename_exchange()
9040 new_dentry->d_name.len, 0, old_idx); in btrfs_rename_exchange()
9055 BTRFS_I(old_inode)->dir_index = old_idx; in btrfs_rename_exchange()