/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/fs/ubifs/ |
H A D | gc.c | 78 * @c->gc_lnum. Returns %0 in case of success, %-EAGAIN if commit is required, 83 int err, gc_lnum = c->gc_lnum; local 86 ubifs_assert(gc_lnum != -1); 88 wbuf->lnum, wbuf->offs + wbuf->used, gc_lnum, 97 * 'c->gc_lnum'. 99 err = ubifs_leb_unmap(c, gc_lnum); 103 err = ubifs_add_bud_to_log(c, GCHD, gc_lnum, 0); 107 c->gc_lnum = -1; 108 err = ubifs_wbuf_seek_nolock(wbuf, gc_lnum, [all...] |
H A D | master.c | 138 if (c->gc_lnum >= c->leb_cnt || c->gc_lnum < c->main_first) { 286 c->gc_lnum = le32_to_cpu(c->mst_node->gc_lnum);
|
H A D | super.c | 751 if (c->gc_lnum == -1) { 757 err = ubifs_change_one_lp(c, c->gc_lnum, c->leb_size, 0, 1325 err = ubifs_leb_unmap(c, c->gc_lnum); 1417 dbg_msg("reserved GC LEB: %d", c->gc_lnum); 1633 err = ubifs_leb_unmap(c, c->gc_lnum); 1696 c->mst_node->gc_lnum = cpu_to_le32(c->gc_lnum); 1767 c->mst_node->gc_lnum = cpu_to_le32(c->gc_lnum);
|
H A D | recovery.c | 1032 * start garbage collection. The LEB number is recorded in c->gc_lnum and is 1034 * the value of gc_lnum recorded in the master node is out of date and cannot 1051 c->gc_lnum = -1; 1096 c->gc_lnum = lnum; 1146 err = ubifs_leb_unmap(c, c->gc_lnum); 1155 * small, or there are not dirty LEBs. Allocate gc_lnum by calling 1168 c->gc_lnum = lnum;
|
H A D | ubifs-media.h | 659 * @gc_lnum: LEB reserved for garbage collection (%-1 value means the LEB was 692 __le32 gc_lnum; member in struct:ubifs_mst_node
|
H A D | sb.c | 219 mst->gc_lnum = cpu_to_le32(main_first + DEFAULT_GC_LEB);
|
H A D | debug.c | 377 le32_to_cpu(mst->gc_lnum)); 632 c->gc_lnum, c->ihead_lnum); 743 if (lp->lnum == c->gc_lnum)
|
H A D | ubifs.h | 501 * needed to account correctly for @gc_lnum, otherwise @empty_lebs could be 503 * case of @gc_lnum, it is "taken" at mount time or whenever a LEB is retained 506 * @gc_lnum must be specially accounted for, or the current approach followed 1099 * @gc_lnum: LEB number used for garbage collection 1330 int gc_lnum; member in struct:ubifs_info
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/fs/ubifs/ |
H A D | gc.c | 78 * @c->gc_lnum. Returns %0 in case of success, %-EAGAIN if commit is required, 83 int err, gc_lnum = c->gc_lnum; local 86 ubifs_assert(gc_lnum != -1); 88 wbuf->lnum, wbuf->offs + wbuf->used, gc_lnum, 97 * 'c->gc_lnum'. 99 err = ubifs_leb_unmap(c, gc_lnum); 103 err = ubifs_add_bud_to_log(c, GCHD, gc_lnum, 0); 107 c->gc_lnum = -1; 108 err = ubifs_wbuf_seek_nolock(wbuf, gc_lnum, [all...] |
H A D | master.c | 138 if (c->gc_lnum >= c->leb_cnt || c->gc_lnum < c->main_first) { 286 c->gc_lnum = le32_to_cpu(c->mst_node->gc_lnum);
|
H A D | super.c | 751 if (c->gc_lnum == -1) { 757 err = ubifs_change_one_lp(c, c->gc_lnum, c->leb_size, 0, 1325 err = ubifs_leb_unmap(c, c->gc_lnum); 1417 dbg_msg("reserved GC LEB: %d", c->gc_lnum); 1633 err = ubifs_leb_unmap(c, c->gc_lnum); 1696 c->mst_node->gc_lnum = cpu_to_le32(c->gc_lnum); 1767 c->mst_node->gc_lnum = cpu_to_le32(c->gc_lnum);
|
H A D | recovery.c | 1032 * start garbage collection. The LEB number is recorded in c->gc_lnum and is 1034 * the value of gc_lnum recorded in the master node is out of date and cannot 1051 c->gc_lnum = -1; 1096 c->gc_lnum = lnum; 1146 err = ubifs_leb_unmap(c, c->gc_lnum); 1155 * small, or there are not dirty LEBs. Allocate gc_lnum by calling 1168 c->gc_lnum = lnum;
|
H A D | ubifs-media.h | 659 * @gc_lnum: LEB reserved for garbage collection (%-1 value means the LEB was 692 __le32 gc_lnum; member in struct:ubifs_mst_node
|
H A D | sb.c | 219 mst->gc_lnum = cpu_to_le32(main_first + DEFAULT_GC_LEB);
|
H A D | debug.c | 377 le32_to_cpu(mst->gc_lnum)); 632 c->gc_lnum, c->ihead_lnum); 743 if (lp->lnum == c->gc_lnum)
|
H A D | ubifs.h | 501 * needed to account correctly for @gc_lnum, otherwise @empty_lebs could be 503 * case of @gc_lnum, it is "taken" at mount time or whenever a LEB is retained 506 * @gc_lnum must be specially accounted for, or the current approach followed 1099 * @gc_lnum: LEB number used for garbage collection 1330 int gc_lnum; member in struct:ubifs_info
|