Searched refs:gc_lnum (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/fs/ubifs/ |
D | gc.c | 67 int err, gc_lnum = c->gc_lnum; in switch_gc_head() local 70 ubifs_assert(c, gc_lnum != -1); in switch_gc_head() 72 wbuf->lnum, wbuf->offs + wbuf->used, gc_lnum, in switch_gc_head() 83 err = ubifs_leb_unmap(c, gc_lnum); in switch_gc_head() 87 err = ubifs_add_bud_to_log(c, GCHD, gc_lnum, 0); in switch_gc_head() 91 c->gc_lnum = -1; in switch_gc_head() 92 err = ubifs_wbuf_seek_nolock(wbuf, gc_lnum, 0); in switch_gc_head() 498 ubifs_assert(c, c->gc_lnum != -1 || wbuf->offs + wbuf->used == 0 || in ubifs_garbage_collect_leb() 500 ubifs_assert(c, c->gc_lnum != lnum); in ubifs_garbage_collect_leb() 526 if (c->gc_lnum == -1) { in ubifs_garbage_collect_leb() [all …]
|
D | master.c | 211 if (c->gc_lnum >= c->leb_cnt || c->gc_lnum < c->main_first) { in validate_master() 359 c->gc_lnum = le32_to_cpu(c->mst_node->gc_lnum); in ubifs_read_master()
|
D | super.c | 804 if (c->gc_lnum == -1) { in take_gc_lnum() 810 err = ubifs_change_one_lp(c, c->gc_lnum, c->leb_size, 0, in take_gc_lnum() 1496 err = ubifs_leb_unmap(c, c->gc_lnum); in mount_ubifs() 1583 dbg_gen("reserved GC LEB: %d", c->gc_lnum); in mount_ubifs() 1820 err = ubifs_leb_unmap(c, c->gc_lnum); in ubifs_remount_rw() 1896 c->mst_node->gc_lnum = cpu_to_le32(c->gc_lnum); in ubifs_remount_ro() 1971 c->mst_node->gc_lnum = cpu_to_le32(c->gc_lnum); in ubifs_put_super()
|
D | ubifs-media.h | 731 __le32 gc_lnum; member
|
D | recovery.c | 1134 c->gc_lnum = lnum; in grab_empty_leb() 1166 c->gc_lnum = -1; in ubifs_rcvry_gc_commit() 1212 err = ubifs_leb_unmap(c, c->gc_lnum); in ubifs_rcvry_gc_commit()
|
D | debug.c | 400 pr_err("\tgc_lnum %u\n", le32_to_cpu(mst->gc_lnum)); in ubifs_dump_node() 649 pr_err("\tgc_lnum %d, ihead_lnum %d\n", c->gc_lnum, c->ihead_lnum); in ubifs_dump_budg() 766 if (lp->lnum == c->gc_lnum) in ubifs_dump_lprop()
|
D | sb.c | 232 mst->gc_lnum = cpu_to_le32(main_first + DEFAULT_GC_LEB); in create_default_filesystem()
|
D | ubifs.h | 1407 int gc_lnum; member
|