Home
last modified time | relevance | path

Searched refs:new_r (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/fs/bcachefs/
Dreplicas.c300 struct bch_replicas_cpu new_r, new_gc; in bch2_mark_replicas_slowpath() local
305 memset(&new_r, 0, sizeof(new_r)); in bch2_mark_replicas_slowpath()
320 new_r = cpu_replicas_add_entry(c, &c->replicas, new_entry); in bch2_mark_replicas_slowpath()
321 if (!new_r.entries) { in bch2_mark_replicas_slowpath()
326 ret = bch2_cpu_replicas_to_sb_replicas(c, &new_r); in bch2_mark_replicas_slowpath()
331 if (!new_r.entries && in bch2_mark_replicas_slowpath()
337 if (new_r.entries) in bch2_mark_replicas_slowpath()
342 if (new_r.entries) in bch2_mark_replicas_slowpath()
343 swap(c->replicas, new_r); in bch2_mark_replicas_slowpath()
350 kfree(new_r.entries); in bch2_mark_replicas_slowpath()
[all …]
/linux-6.12.1/drivers/media/platform/mediatek/mdp/
Dmtk_mdp_m2m.c842 struct v4l2_rect new_r; in mtk_mdp_m2m_s_selection() local
860 new_r = s->r; in mtk_mdp_m2m_s_selection()
861 ret = mtk_mdp_try_crop(ctx, s->type, &new_r); in mtk_mdp_m2m_s_selection()
872 ret = mtk_mdp_check_scaler_ratio(variant, new_r.width, in mtk_mdp_m2m_s_selection()
873 new_r.height, ctx->d_frame.crop.width, in mtk_mdp_m2m_s_selection()
879 ctx->s_frame.crop.height, new_r.width, in mtk_mdp_m2m_s_selection()
880 new_r.height, ctx->ctrls.rotate->val); in mtk_mdp_m2m_s_selection()
888 s->r = new_r; in mtk_mdp_m2m_s_selection()
889 frame->crop = new_r; in mtk_mdp_m2m_s_selection()