Home
last modified time | relevance | path

Searched refs:zn (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/fs/ubifs/
H A Dtnc_misc.c34 struct ubifs_znode *zn; in ubifs_tnc_levelorder_next() local
82 zn = ubifs_tnc_find_child(znode->parent, iip + 1); in ubifs_tnc_levelorder_next()
83 if (!zn) { in ubifs_tnc_levelorder_next()
90 while (zn->level != level) { in ubifs_tnc_levelorder_next()
91 znode = zn; in ubifs_tnc_levelorder_next()
92 zn = ubifs_tnc_find_child(zn, 0); in ubifs_tnc_levelorder_next()
93 if (!zn) { in ubifs_tnc_levelorder_next()
103 if (zn) { in ubifs_tnc_levelorder_next()
104 ubifs_assert(c, zn in ubifs_tnc_levelorder_next()
197 struct ubifs_znode *zn; ubifs_tnc_postorder_next() local
224 struct ubifs_znode *zn = ubifs_tnc_postorder_first(znode); ubifs_destroy_tnc_subtree() local
[all...]
H A Dtnc.c199 struct ubifs_znode *zn; in copy_znode() local
201 zn = kmemdup(znode, c->max_znode_sz, GFP_NOFS); in copy_znode()
202 if (unlikely(!zn)) in copy_znode()
205 zn->cnext = NULL; in copy_znode()
206 __set_bit(DIRTY_ZNODE, &zn->flags); in copy_znode()
207 __clear_bit(COW_ZNODE, &zn->flags); in copy_znode()
209 return zn; in copy_znode()
273 struct ubifs_znode *zn; in dirty_cow_znode() local
289 zn = copy_znode(c, znode); in dirty_cow_znode()
290 if (IS_ERR(zn)) in dirty_cow_znode()
639 tnc_next(struct ubifs_info *c, struct ubifs_znode **zn, int *n) tnc_next() argument
684 tnc_prev(struct ubifs_info *c, struct ubifs_znode **zn, int *n) tnc_prev() argument
736 resolve_collision(struct ubifs_info *c, const union ubifs_key *key, struct ubifs_znode **zn, int *n, const struct fscrypt_name *nm) resolve_collision() argument
924 fallible_resolve_collision(struct ubifs_info *c, const union ubifs_key *key, struct ubifs_znode **zn, int *n, const struct fscrypt_name *nm, int adding) fallible_resolve_collision() argument
1069 resolve_collision_directly(struct ubifs_info *c, const union ubifs_key *key, struct ubifs_znode **zn, int *n, int lnum, int offs) resolve_collision_directly() argument
1206 ubifs_lookup_level0(struct ubifs_info *c, const union ubifs_key *key, struct ubifs_znode **zn, int *n) ubifs_lookup_level0() argument
1342 lookup_level0_dirty(struct ubifs_info *c, const union ubifs_key *key, struct ubifs_znode **zn, int *n) lookup_level0_dirty() argument
1919 search_dh_cookie(struct ubifs_info *c, const union ubifs_key *key, struct ubifs_dent_node *dent, uint32_t cookie, struct ubifs_znode **zn, int *n, int exact) search_dh_cookie() argument
2120 struct ubifs_znode *zn, *zi, *zp; tnc_insert() local
3233 struct ubifs_znode *znode, *zn; lookup_znode() local
3389 struct ubifs_znode *znode, *zn; is_leaf_node_in_tnc() local
[all...]
H A Dubifs.h1827 struct ubifs_znode **zn, int *n);
/kernel/linux/linux-6.6/fs/ubifs/
H A Dtnc_misc.c34 struct ubifs_znode *zn; in ubifs_tnc_levelorder_next() local
82 zn = ubifs_tnc_find_child(znode->parent, iip + 1); in ubifs_tnc_levelorder_next()
83 if (!zn) { in ubifs_tnc_levelorder_next()
90 while (zn->level != level) { in ubifs_tnc_levelorder_next()
91 znode = zn; in ubifs_tnc_levelorder_next()
92 zn = ubifs_tnc_find_child(zn, 0); in ubifs_tnc_levelorder_next()
93 if (!zn) { in ubifs_tnc_levelorder_next()
103 if (zn) { in ubifs_tnc_levelorder_next()
104 ubifs_assert(c, zn in ubifs_tnc_levelorder_next()
197 struct ubifs_znode *zn; ubifs_tnc_postorder_next() local
224 struct ubifs_znode *zn = ubifs_tnc_postorder_first(znode); ubifs_destroy_tnc_subtree() local
[all...]
H A Dtnc.c200 struct ubifs_znode *zn; in copy_znode() local
202 zn = kmemdup(znode, c->max_znode_sz, GFP_NOFS); in copy_znode()
203 if (unlikely(!zn)) in copy_znode()
206 zn->cnext = NULL; in copy_znode()
207 __set_bit(DIRTY_ZNODE, &zn->flags); in copy_znode()
208 __clear_bit(COW_ZNODE, &zn->flags); in copy_znode()
210 return zn; in copy_znode()
274 struct ubifs_znode *zn; in dirty_cow_znode() local
290 zn = copy_znode(c, znode); in dirty_cow_znode()
291 if (IS_ERR(zn)) in dirty_cow_znode()
640 tnc_next(struct ubifs_info *c, struct ubifs_znode **zn, int *n) tnc_next() argument
685 tnc_prev(struct ubifs_info *c, struct ubifs_znode **zn, int *n) tnc_prev() argument
737 resolve_collision(struct ubifs_info *c, const union ubifs_key *key, struct ubifs_znode **zn, int *n, const struct fscrypt_name *nm) resolve_collision() argument
925 fallible_resolve_collision(struct ubifs_info *c, const union ubifs_key *key, struct ubifs_znode **zn, int *n, const struct fscrypt_name *nm, int adding) fallible_resolve_collision() argument
1070 resolve_collision_directly(struct ubifs_info *c, const union ubifs_key *key, struct ubifs_znode **zn, int *n, int lnum, int offs) resolve_collision_directly() argument
1207 ubifs_lookup_level0(struct ubifs_info *c, const union ubifs_key *key, struct ubifs_znode **zn, int *n) ubifs_lookup_level0() argument
1343 lookup_level0_dirty(struct ubifs_info *c, const union ubifs_key *key, struct ubifs_znode **zn, int *n) lookup_level0_dirty() argument
1920 search_dh_cookie(struct ubifs_info *c, const union ubifs_key *key, struct ubifs_dent_node *dent, uint32_t cookie, struct ubifs_znode **zn, int *n, int exact) search_dh_cookie() argument
2121 struct ubifs_znode *zn, *zi, *zp; tnc_insert() local
3234 struct ubifs_znode *znode, *zn; lookup_znode() local
3390 struct ubifs_znode *znode, *zn; is_leaf_node_in_tnc() local
[all...]
H A Dubifs.h1856 struct ubifs_znode **zn, int *n);
/kernel/linux/linux-5.10/drivers/thermal/tegra/
H A Dsoctherm.c667 static void thermal_irq_enable(struct tegra_thermctl_zone *zn) in thermal_irq_enable() argument
672 mutex_lock(&zn->ts->thermctl_lock); in thermal_irq_enable()
673 r = readl(zn->ts->regs + THERMCTL_INTR_ENABLE); in thermal_irq_enable()
674 r = REG_SET_MASK(r, zn->sg->thermctl_isr_mask, TH_INTR_UP_DN_EN); in thermal_irq_enable()
675 writel(r, zn->ts->regs + THERMCTL_INTR_ENABLE); in thermal_irq_enable()
676 mutex_unlock(&zn->ts->thermctl_lock); in thermal_irq_enable()
679 static void thermal_irq_disable(struct tegra_thermctl_zone *zn) in thermal_irq_disable() argument
684 mutex_lock(&zn->ts->thermctl_lock); in thermal_irq_disable()
685 r = readl(zn->ts->regs + THERMCTL_INTR_DISABLE); in thermal_irq_disable()
686 r = REG_SET_MASK(r, zn in thermal_irq_disable()
[all...]
/kernel/linux/linux-6.6/drivers/thermal/tegra/
H A Dsoctherm.c635 static void thermal_irq_enable(struct tegra_thermctl_zone *zn) in thermal_irq_enable() argument
640 mutex_lock(&zn->ts->thermctl_lock); in thermal_irq_enable()
641 r = readl(zn->ts->regs + THERMCTL_INTR_ENABLE); in thermal_irq_enable()
642 r = REG_SET_MASK(r, zn->sg->thermctl_isr_mask, TH_INTR_UP_DN_EN); in thermal_irq_enable()
643 writel(r, zn->ts->regs + THERMCTL_INTR_ENABLE); in thermal_irq_enable()
644 mutex_unlock(&zn->ts->thermctl_lock); in thermal_irq_enable()
647 static void thermal_irq_disable(struct tegra_thermctl_zone *zn) in thermal_irq_disable() argument
652 mutex_lock(&zn->ts->thermctl_lock); in thermal_irq_disable()
653 r = readl(zn->ts->regs + THERMCTL_INTR_DISABLE); in thermal_irq_disable()
654 r = REG_SET_MASK(r, zn in thermal_irq_disable()
[all...]

Completed in 16 milliseconds