Home
last modified time | relevance | path

Searched refs:znode (Results 1 – 9 of 9) sorted by relevance

/linux/fs/ubifs/
H A Dtnc.c625 znode = zbr->znode; in get_znode()
1179 znode = znode->zbranch[path[p - 1]].znode; in dirty_cow_bottom_up()
1217 znode = c->zroot.znode; in ubifs_lookup_level0()
1240 znode = zbr->znode; in ubifs_lookup_level0()
1352 znode = c->zroot.znode; in lookup_level0_dirty()
2046 znode = znode->parent; in correct_parent_keys()
2278 zi->zbranch[0].znode = znode; in tnc_insert()
2629 c->zroot.znode = znode; in tnc_delete()
3142 znode = znode->parent; in left_znode()
3179 znode = znode->parent; in right_znode()
[all …]
H A Dtnc_misc.c49 iip = znode->iip; in ubifs_tnc_levelorder_next()
57 while (znode->parent != zr && iip >= znode->parent->child_cnt) { in ubifs_tnc_levelorder_next()
58 znode = znode->parent; in ubifs_tnc_levelorder_next()
91 znode = zn; in ubifs_tnc_levelorder_next()
183 return znode; in ubifs_tnc_postorder_first()
204 zn = ubifs_tnc_find_child(znode->parent, znode->iip + 1); in ubifs_tnc_postorder_next()
317 lnum, offs, znode->level, znode->child_cnt); in read_znode()
444 if (!znode) in ubifs_load_znode()
461 zbr->znode = znode; in ubifs_load_znode()
466 return znode; in ubifs_load_znode()
[all …]
H A Dtnc_commit.c589 if (!znode) in find_first_dirty()
602 if (zbr->znode && ubifs_zn_dirty(zbr->znode)) { in find_first_dirty()
603 znode = zbr->znode; in find_first_dirty()
624 znode = znode->parent; in find_next_dirty()
625 if (!znode) in find_next_dirty()
630 if (zbr->znode && ubifs_zn_dirty(zbr->znode)) in find_next_dirty()
663 znode->cparent = znode->parent; in get_znodes_to_commit()
664 znode->ciip = znode->iip; in get_znodes_to_commit()
895 znode->cparent->zbranch[znode->ciip].hash); in write_index()
900 znode->parent->zbranch[znode->iip].hash); in write_index()
[all …]
H A Dshrinker.c61 struct ubifs_znode *znode, *zprev; in shrink_tnc() local
80 znode = ubifs_tnc_levelorder_next(c, c->zroot.znode, NULL); in shrink_tnc()
81 while (znode && total_freed < nr && in shrink_tnc()
103 if (znode->cnext) { in shrink_tnc()
111 if (znode->parent) in shrink_tnc()
112 znode->parent->zbranch[znode->iip].znode = NULL; in shrink_tnc()
114 c->zroot.znode = NULL; in shrink_tnc()
120 znode = zprev; in shrink_tnc()
123 if (unlikely(!c->zroot.znode)) in shrink_tnc()
126 zprev = znode; in shrink_tnc()
[all …]
H A Ddebug.c878 zbr = &znode->parent->zbranch[znode->iip]; in ubifs_dump_znode()
883 znode, zbr->lnum, zbr->offs, zbr->len, znode->parent, znode->iip, in ubifs_dump_znode()
884 znode->level, znode->child_cnt, znode->flags); in ubifs_dump_znode()
958 znode = ubifs_tnc_levelorder_next(c, c->zroot.znode, znode); in ubifs_dump_tnc()
1287 struct ubifs_znode *znode = zbr->znode; in dbg_check_znode() local
1435 if (!znode->zbranch[n].znode && in dbg_check_znode()
1460 if (znode->level != 0 && znode->zbranch[n].znode) in dbg_check_znode()
1461 if (znode->zbranch[n].znode->parent != znode) { in dbg_check_znode()
1606 znode = c->zroot.znode; in dbg_walk_index()
1652 znode = znode->parent; in dbg_walk_index()
[all …]
H A Dmisc.h24 static inline int ubifs_zn_dirty(const struct ubifs_znode *znode) in ubifs_zn_dirty() argument
26 return !!test_bit(DIRTY_ZNODE, &znode->flags); in ubifs_zn_dirty()
35 static inline int ubifs_zn_obsolete(const struct ubifs_znode *znode) in ubifs_zn_obsolete() argument
37 return !!test_bit(OBSOLETE_ZNODE, &znode->flags); in ubifs_zn_obsolete()
47 static inline int ubifs_zn_cow(const struct ubifs_znode *znode) in ubifs_zn_cow() argument
49 return !!test_bit(COW_ZNODE, &znode->flags); in ubifs_zn_cow()
73 ubifs_tnc_find_child(struct ubifs_znode *znode, int start) in ubifs_tnc_find_child() argument
75 while (start < znode->child_cnt) { in ubifs_tnc_find_child()
76 if (znode->zbranch[start].znode) in ubifs_tnc_find_child()
77 return znode->zbranch[start].znode; in ubifs_tnc_find_child()
H A Ddebug.h18 struct ubifs_znode *znode, void *priv);
257 const struct ubifs_znode *znode);
H A Dubifs.h750 struct ubifs_znode *znode; member
1884 int insert_old_idx_znode(struct ubifs_info *c, struct ubifs_znode *znode);
1891 struct ubifs_znode *znode);
1893 const struct ubifs_znode *znode,
1895 struct ubifs_znode *ubifs_tnc_postorder_first(struct ubifs_znode *znode);
1897 struct ubifs_znode *znode);
H A Dcommit.c69 if (c->zroot.znode && ubifs_zn_dirty(c->zroot.znode)) in nothing_to_commit()