• Home
  • Raw
  • Download

Lines Matching refs:dirty

353 		pack_bits(c, &addr, &pos, pnode->lprops[i].dirty >> 3,  in ubifs_pack_pnode()
415 pack_bits(c, &addr, &pos, ltab[i].dirty, c->lpt_spc_bits); in ubifs_pack_ltab()
452 void ubifs_add_lpt_dirt(struct ubifs_info *c, int lnum, int dirty) in ubifs_add_lpt_dirt() argument
454 if (!dirty || !lnum) in ubifs_add_lpt_dirt()
457 lnum, dirty, c->ltab[lnum - c->lpt_first].dirty); in ubifs_add_lpt_dirt()
459 c->ltab[lnum - c->lpt_first].dirty += dirty; in ubifs_add_lpt_dirt()
469 static void set_ltab(struct ubifs_info *c, int lnum, int free, int dirty) in set_ltab() argument
473 c->ltab[lnum - c->lpt_first].dirty, free, dirty); in set_ltab()
476 c->ltab[lnum - c->lpt_first].dirty = dirty; in set_ltab()
644 ltab[i].dirty = 0; in ubifs_create_dflt_lpt()
661 pnode->lprops[0].dirty = iopos - node_sz; in ubifs_create_dflt_lpt()
667 pnode->lprops[1].dirty = iopos - node_sz; in ubifs_create_dflt_lpt()
684 pnode->lprops[0].dirty = 0; in ubifs_create_dflt_lpt()
688 pnode->lprops[1].dirty = 0; in ubifs_create_dflt_lpt()
990 lprops->dirty = ubifs_unpack_bits(c, &addr, &pos, c->space_bits); in unpack_pnode()
991 lprops->dirty <<= 3; in unpack_pnode()
1054 int dirty = ubifs_unpack_bits(c, &addr, &pos, c->lpt_spc_bits); in unpack_ltab() local
1056 if (free < 0 || free > c->leb_size || dirty < 0 || in unpack_ltab()
1057 dirty > c->leb_size || free + dirty > c->leb_size) in unpack_ltab()
1061 c->ltab[i].dirty = dirty; in unpack_ltab()
1161 int dirty = pnode->lprops[i].dirty; in validate_pnode() local
1166 if (dirty < 0 || dirty > c->leb_size || (dirty & 7)) in validate_pnode()
1168 if (dirty + free > c->leb_size) in validate_pnode()
1499 pnode->lprops[iip].free, pnode->lprops[iip].dirty, in ubifs_lpt_lookup()
1639 pnode->lprops[iip].free, pnode->lprops[iip].dirty, in ubifs_lpt_lookup_dirty()
2353 lprops->dirty); in dbg_chk_pnode()
2359 if (lprops->free + lprops->dirty != c->leb_size) { in dbg_chk_pnode()
2362 lprops->dirty); in dbg_chk_pnode()