Home
last modified time | relevance | path

Searched refs:gc_lnum (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/fs/ubifs/
Dgc.c67 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 …]
Dmaster.c211 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()
Dsuper.c804 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()
Dubifs-media.h731 __le32 gc_lnum; member
Drecovery.c1134 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()
Ddebug.c400 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()
Dsb.c232 mst->gc_lnum = cpu_to_le32(main_first + DEFAULT_GC_LEB); in create_default_filesystem()
Dubifs.h1407 int gc_lnum; member