Lines Matching refs:lnum
155 * @lnum: LEB to add dirty space for
161 static inline int ubifs_add_dirt(struct ubifs_info *c, int lnum, int dirty)
163 return ubifs_update_one_lp(c, lnum, LPROPS_NC, dirty, 0, 0);
169 * @lnum: LEB to return
175 static inline int ubifs_return_leb(struct ubifs_info *c, int lnum)
177 return ubifs_change_one_lp(c, lnum, LPROPS_NC, LPROPS_NC, 0,
265 * @lnum: current log LEB
268 * 'lnum'.
270 static inline int ubifs_next_log_lnum(const struct ubifs_info *c, int lnum)
272 lnum += 1;
273 if (lnum > c->log_last)
274 lnum = UBIFS_LOG_LNUM;
276 return lnum;