Searched refs:idx_gc (Results 1 - 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/fs/ubifs/ |
H A D | gc.c | 546 struct ubifs_gced_idx_leb *idx_gc; in ubifs_garbage_collect_leb() local 562 idx_gc = kmalloc(sizeof(struct ubifs_gced_idx_leb), GFP_NOFS); in ubifs_garbage_collect_leb() 563 if (!idx_gc) { in ubifs_garbage_collect_leb() 568 idx_gc->lnum = lnum; in ubifs_garbage_collect_leb() 569 idx_gc->unmap = 0; in ubifs_garbage_collect_leb() 570 list_add(&idx_gc->list, &c->idx_gc); in ubifs_garbage_collect_leb() 706 if (i > SOFT_LEBS_LIMIT && !list_empty(&c->idx_gc)) { in ubifs_garbage_collect() 834 if (ret == -ENOSPC && !list_empty(&c->idx_gc)) { in ubifs_garbage_collect() 875 struct ubifs_gced_idx_leb *idx_gc; in ubifs_gc_start_commit() local 950 struct ubifs_gced_idx_leb *idx_gc, *tmp; ubifs_gc_end_commit() local 985 struct ubifs_gced_idx_leb *idx_gc; ubifs_destroy_idx_gc() local 1003 struct ubifs_gced_idx_leb *idx_gc; ubifs_get_idx_gc_leb() local [all...] |
H A D | debug.c | 617 struct ubifs_gced_idx_leb *idx_gc; in ubifs_dump_budg() local 663 list_for_each_entry(idx_gc, &c->idx_gc, list) in ubifs_dump_budg() 665 idx_gc->lnum, idx_gc->unmap); in ubifs_dump_budg()
|
H A D | lprops.c | 510 * @idx_gc_cnt: change to the count of @idx_gc list 642 * @idx_gc_cnt: change to the count of idx_gc list 898 list_for_each(pos, &c->idx_gc) in dbg_check_cats() 901 ubifs_err(c, "idx_gc list count %d expected %d", i, in dbg_check_cats()
|
H A D | ubifs.h | 1164 * @idx_gc: list of index LEBs that have been garbage collected 1165 * @idx_gc_cnt: number of elements on the idx_gc list 1409 struct list_head idx_gc; member
|
H A D | super.c | 2155 INIT_LIST_HEAD(&c->idx_gc); in alloc_ubifs_info()
|
/kernel/linux/linux-6.6/fs/ubifs/ |
H A D | gc.c | 546 struct ubifs_gced_idx_leb *idx_gc; in ubifs_garbage_collect_leb() local 562 idx_gc = kmalloc(sizeof(struct ubifs_gced_idx_leb), GFP_NOFS); in ubifs_garbage_collect_leb() 563 if (!idx_gc) { in ubifs_garbage_collect_leb() 568 idx_gc->lnum = lnum; in ubifs_garbage_collect_leb() 569 idx_gc->unmap = 0; in ubifs_garbage_collect_leb() 570 list_add(&idx_gc->list, &c->idx_gc); in ubifs_garbage_collect_leb() 706 if (i > SOFT_LEBS_LIMIT && !list_empty(&c->idx_gc)) { in ubifs_garbage_collect() 837 if (ret == -ENOSPC && !list_empty(&c->idx_gc)) { in ubifs_garbage_collect() 878 struct ubifs_gced_idx_leb *idx_gc; in ubifs_gc_start_commit() local 953 struct ubifs_gced_idx_leb *idx_gc, *tmp; ubifs_gc_end_commit() local 988 struct ubifs_gced_idx_leb *idx_gc; ubifs_destroy_idx_gc() local 1006 struct ubifs_gced_idx_leb *idx_gc; ubifs_get_idx_gc_leb() local [all...] |
H A D | debug.c | 617 struct ubifs_gced_idx_leb *idx_gc; in ubifs_dump_budg() local 663 list_for_each_entry(idx_gc, &c->idx_gc, list) in ubifs_dump_budg() 665 idx_gc->lnum, idx_gc->unmap); in ubifs_dump_budg()
|
H A D | lprops.c | 510 * @idx_gc_cnt: change to the count of @idx_gc list 642 * @idx_gc_cnt: change to the count of idx_gc list 898 list_for_each(pos, &c->idx_gc) in dbg_check_cats() 901 ubifs_err(c, "idx_gc list count %d expected %d", i, in dbg_check_cats()
|
H A D | ubifs.h | 1185 * @idx_gc: list of index LEBs that have been garbage collected 1186 * @idx_gc_cnt: number of elements on the idx_gc list 1437 struct list_head idx_gc; member
|
H A D | super.c | 2160 INIT_LIST_HEAD(&c->idx_gc); in alloc_ubifs_info()
|
Completed in 23 milliseconds