Home
last modified time | relevance | path

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

/linux-2.6.39/fs/ubifs/
Dgc.c83 int err, gc_lnum = c->gc_lnum; in switch_gc_head() local
86 ubifs_assert(gc_lnum != -1); in switch_gc_head()
88 wbuf->lnum, wbuf->offs + wbuf->used, gc_lnum, in switch_gc_head()
99 err = ubifs_leb_unmap(c, gc_lnum); in switch_gc_head()
103 err = ubifs_add_bud_to_log(c, GCHD, gc_lnum, 0); in switch_gc_head()
107 c->gc_lnum = -1; in switch_gc_head()
108 err = ubifs_wbuf_seek_nolock(wbuf, gc_lnum, 0, UBI_LONGTERM); in switch_gc_head()
471 ubifs_assert(c->gc_lnum != -1 || wbuf->offs + wbuf->used == 0 || in ubifs_garbage_collect_leb()
473 ubifs_assert(c->gc_lnum != lnum); in ubifs_garbage_collect_leb()
547 if (c->gc_lnum == -1) { in ubifs_garbage_collect_leb()
[all …]
Dmaster.c138 if (c->gc_lnum >= c->leb_cnt || c->gc_lnum < c->main_first) { in validate_master()
286 c->gc_lnum = le32_to_cpu(c->mst_node->gc_lnum); in ubifs_read_master()
Dsuper.c778 if (c->gc_lnum == -1) { in take_gc_lnum()
784 err = ubifs_change_one_lp(c, c->gc_lnum, c->leb_size, 0, in take_gc_lnum()
1355 err = ubifs_leb_unmap(c, c->gc_lnum); in mount_ubifs()
1448 dbg_msg("reserved GC LEB: %d", c->gc_lnum); in mount_ubifs()
1664 err = ubifs_leb_unmap(c, c->gc_lnum); in ubifs_remount_rw()
1736 c->mst_node->gc_lnum = cpu_to_le32(c->gc_lnum); in ubifs_remount_ro()
1810 c->mst_node->gc_lnum = cpu_to_le32(c->gc_lnum); in ubifs_put_super()
Drecovery.c1096 c->gc_lnum = -1; in ubifs_rcvry_gc_commit()
1141 c->gc_lnum = lnum; in ubifs_rcvry_gc_commit()
1191 err = ubifs_leb_unmap(c, c->gc_lnum); in ubifs_rcvry_gc_commit()
1213 c->gc_lnum = lnum; in ubifs_rcvry_gc_commit()
Dubifs-media.h692 __le32 gc_lnum; member
Dsb.c219 mst->gc_lnum = cpu_to_le32(main_first + DEFAULT_GC_LEB); in create_default_filesystem()
Ddebug.c377 le32_to_cpu(mst->gc_lnum)); in dbg_dump_node()
632 c->gc_lnum, c->ihead_lnum); in dbg_dump_budg()
743 if (lp->lnum == c->gc_lnum) in dbg_dump_lprop()
Dubifs.h1364 int gc_lnum; member