Home
last modified time | relevance | path

Searched refs:pnode (Results 1 – 8 of 8) sorted by relevance

/fs/ubifs/
Dlpt.c351 struct ubifs_pnode *pnode) in ubifs_pack_pnode() argument
359 pack_bits(&addr, &pos, pnode->num, c->pcnt_bits); in ubifs_pack_pnode()
361 pack_bits(&addr, &pos, pnode->lprops[i].free >> 3, in ubifs_pack_pnode()
363 pack_bits(&addr, &pos, pnode->lprops[i].dirty >> 3, in ubifs_pack_pnode()
365 if (pnode->lprops[i].flags & LPROPS_INDEX) in ubifs_pack_pnode()
515 static void add_pnode_dirt(struct ubifs_info *c, struct ubifs_pnode *pnode) in add_pnode_dirt() argument
517 ubifs_add_lpt_dirt(c, pnode->parent->nbranch[pnode->iip].lnum, in add_pnode_dirt()
613 struct ubifs_pnode *pnode = NULL; in ubifs_create_dflt_lpt() local
632 pnode = kzalloc(sizeof(struct ubifs_pnode), GFP_KERNEL); in ubifs_create_dflt_lpt()
636 if (!pnode || !nnode || !buf || !ltab || !lsave) { in ubifs_create_dflt_lpt()
[all …]
Dlpt_commit.c564 struct ubifs_pnode *pnode) in next_pnode_to_dirty() argument
570 nnode = pnode->parent; in next_pnode_to_dirty()
571 for (iip = pnode->iip + 1; iip < UBIFS_LPT_FANOUT; iip++) { in next_pnode_to_dirty()
657 static void add_pnode_dirt(struct ubifs_info *c, struct ubifs_pnode *pnode) in add_pnode_dirt() argument
659 ubifs_add_lpt_dirt(c, pnode->parent->nbranch[pnode->iip].lnum, in add_pnode_dirt()
668 static void do_make_pnode_dirty(struct ubifs_info *c, struct ubifs_pnode *pnode) in do_make_pnode_dirty() argument
671 if (!test_and_set_bit(DIRTY_CNODE, &pnode->flags)) { in do_make_pnode_dirty()
675 add_pnode_dirt(c, pnode); in do_make_pnode_dirty()
677 nnode = pnode->parent; in do_make_pnode_dirty()
702 struct ubifs_pnode *pnode; in make_tree_dirty() local
[all …]
Dlprops.c506 struct ubifs_pnode *pnode; in is_lprops_dirty() local
510 pnode = (struct ubifs_pnode *)container_of(lprops - pos, in is_lprops_dirty()
513 return !test_bit(COW_CNODE, &pnode->flags) && in is_lprops_dirty()
514 test_bit(DIRTY_CNODE, &pnode->flags); in is_lprops_dirty()
Ddebug.c905 void ubifs_dump_pnode(struct ubifs_info *c, struct ubifs_pnode *pnode, in ubifs_dump_pnode() argument
912 (size_t)pnode, (size_t)parent, (size_t)pnode->cnext); in ubifs_dump_pnode()
914 pnode->flags, iip, pnode->level, pnode->num); in ubifs_dump_pnode()
916 struct ubifs_lprops *lp = &pnode->lprops[i]; in ubifs_dump_pnode()
Ddebug.h270 void ubifs_dump_pnode(struct ubifs_info *c, struct ubifs_pnode *pnode,
Dubifs.h591 struct ubifs_pnode *pnode; member
1694 struct ubifs_pnode *pnode);
/fs/f2fs/
Dextent_cache.c104 struct rb_node **pnode = &root->rb_node; in __lookup_rb_tree_ret() local
121 while (*pnode) { in __lookup_rb_tree_ret()
122 parent = *pnode; in __lookup_rb_tree_ret()
123 re = rb_entry(*pnode, struct rb_entry, rb_node); in __lookup_rb_tree_ret()
126 pnode = &(*pnode)->rb_left; in __lookup_rb_tree_ret()
128 pnode = &(*pnode)->rb_right; in __lookup_rb_tree_ret()
133 *insert_p = pnode; in __lookup_rb_tree_ret()
/fs/
DMakefile13 pnode.o splice.o sync.o utimes.o \