Lines Matching defs:lp
108 const struct ubifs_lprops *lp;
113 lp = ubifs_lpt_lookup_dirty(c, r->lnum);
114 if (IS_ERR(lp)) {
115 err = PTR_ERR(lp);
119 dirty = lp->dirty;
120 if (r->offs == 0 && (lp->free != c->leb_size || lp->dirty != 0)) {
124 * property values should be lp->free == c->leb_size and
125 * lp->dirty == 0, but that is not the case. The reason is that
140 lp->free, lp->dirty);
142 lp->free, lp->dirty);
143 dirty -= c->leb_size - lp->free;
152 dbg_msg("LEB %d lp: %d free %d dirty "
153 "replay: %d free %d dirty", r->lnum, lp->free,
154 lp->dirty, r->free, r->dirty);
156 lp = ubifs_change_lp(c, lp, r->free, dirty + r->dirty,
157 lp->flags | LPROPS_TAKEN, 0);
158 if (IS_ERR(lp)) {
159 err = PTR_ERR(lp);
977 const struct ubifs_lprops *lp;
982 lp = ubifs_lpt_lookup_dirty(c, c->ihead_lnum);
983 if (IS_ERR(lp)) {
984 err = PTR_ERR(lp);
988 free = lp->free;
990 lp = ubifs_change_lp(c, lp, LPROPS_NC, LPROPS_NC,
991 lp->flags | LPROPS_TAKEN, 0);
992 if (IS_ERR(lp)) {
993 err = PTR_ERR(lp);