Searched refs:gc_lnum (Results 1 - 8 of 8) sorted by relevance
/linux-master/fs/ubifs/ |
H A D | gc.c | 62 * @c->gc_lnum. Returns %0 in case of success, %-EAGAIN if commit is required, 67 int err, gc_lnum = c->gc_lnum; local 70 ubifs_assert(c, gc_lnum != -1); 72 wbuf->lnum, wbuf->offs + wbuf->used, gc_lnum, 81 * 'c->gc_lnum'. 83 err = ubifs_leb_unmap(c, gc_lnum); 87 err = ubifs_add_bud_to_log(c, GCHD, gc_lnum, 0); 91 c->gc_lnum = -1; 92 err = ubifs_wbuf_seek_nolock(wbuf, gc_lnum, [all...] |
H A D | master.c | 211 if (c->gc_lnum >= c->leb_cnt || c->gc_lnum < c->main_first) { 359 c->gc_lnum = le32_to_cpu(c->mst_node->gc_lnum);
|
H A D | super.c | 800 if (c->gc_lnum == -1) { 806 err = ubifs_change_one_lp(c, c->gc_lnum, c->leb_size, 0, 1507 err = ubifs_leb_unmap(c, c->gc_lnum); 1594 dbg_gen("reserved GC LEB: %d", c->gc_lnum); 1833 err = ubifs_leb_unmap(c, c->gc_lnum); 1909 c->mst_node->gc_lnum = cpu_to_le32(c->gc_lnum); 1984 c->mst_node->gc_lnum = cpu_to_le32(c->gc_lnum);
|
H A D | ubifs-media.h | 695 * @gc_lnum: LEB reserved for garbage collection (%-1 value means the LEB was 731 __le32 gc_lnum; member in struct:ubifs_mst_node
|
H A D | recovery.c | 737 * the current GC head LEB). The @c->gc_lnum is -1, which means 1098 * LEB to be used as GC LEB (@c->gc_lnum), and then runs the commit. Returns 1109 * @c->gc_lnum just before the power cut happened. During the regular 1110 * UBIFS operation (not now) @c->gc_lnum is marked as "taken", so no 1134 c->gc_lnum = lnum; 1145 * start garbage collection. The LEB number is recorded in c->gc_lnum and is 1147 * the value of gc_lnum recorded in the master node is out of date and cannot 1166 c->gc_lnum = -1; 1212 err = ubifs_leb_unmap(c, c->gc_lnum);
|
H A D | debug.c | 400 pr_err("\tgc_lnum %u\n", le32_to_cpu(mst->gc_lnum)); 649 pr_err("\tgc_lnum %d, ihead_lnum %d\n", c->gc_lnum, c->ihead_lnum); 766 if (lp->lnum == c->gc_lnum)
|
H A D | sb.c | 235 mst->gc_lnum = cpu_to_le32(main_first + DEFAULT_GC_LEB);
|
H A D | ubifs.h | 525 * needed to account correctly for @gc_lnum, otherwise @empty_lebs could be 527 * case of @gc_lnum, it is "taken" at mount time or whenever a LEB is retained 530 * @gc_lnum must be specially accounted for, or the current approach followed 1185 * @gc_lnum: LEB number used for garbage collection 1439 int gc_lnum; member in struct:ubifs_info
|
Completed in 170 milliseconds