Searched refs:jheads (Results 1 – 9 of 9) sorted by relevance
68 if (!c->jheads) in ubifs_get_wbuf()82 return &c->jheads[jhead].wbuf; in ubifs_get_wbuf()135 if (c->jheads) { in ubifs_add_bud()136 jhead = &c->jheads[bud->jhead]; in ubifs_add_bud()306 wbuf = &c->jheads[bud->jhead].wbuf; in remove_buds()380 int lnum = c->jheads[i].wbuf.lnum; in ubifs_log_start_commit()381 int offs = c->jheads[i].wbuf.offs; in ubifs_log_start_commit()733 list_for_each_entry(bud, &c->jheads[i].buds_list, list) in dbg_check_bud_bytes()
649 err = ubifs_wbuf_sync(&c->jheads[i].wbuf); in ubifs_sync_fs()982 c->jheads = kcalloc(c->jhead_cnt, sizeof(struct ubifs_jhead), in alloc_wbufs()984 if (!c->jheads) in alloc_wbufs()989 INIT_LIST_HEAD(&c->jheads[i].buds_list); in alloc_wbufs()990 err = ubifs_wbuf_init(c, &c->jheads[i].wbuf); in alloc_wbufs()994 c->jheads[i].wbuf.sync_callback = &bud_wbuf_callback; in alloc_wbufs()995 c->jheads[i].wbuf.jhead = i; in alloc_wbufs()996 c->jheads[i].grouped = 1; in alloc_wbufs()1003 c->jheads[GCHD].wbuf.no_timer = 1; in alloc_wbufs()1004 c->jheads[GCHD].grouped = 0; in alloc_wbufs()[all …]
74 struct ubifs_wbuf *wbuf = &c->jheads[GCHD].wbuf; in switch_gc_head()343 struct ubifs_wbuf *wbuf = &c->jheads[GCHD].wbuf; in move_nodes()443 err = ubifs_wbuf_sync(&c->jheads[i].wbuf); in gc_sync_wbufs()463 struct ubifs_wbuf *wbuf = &c->jheads[GCHD].wbuf; in ubifs_garbage_collect_leb()642 struct ubifs_wbuf *wbuf = &c->jheads[GCHD].wbuf; in ubifs_garbage_collect()914 wbuf = &c->jheads[GCHD].wbuf; in ubifs_gc_end_commit()
625 struct ubifs_wbuf *wbuf = &c->jheads[i].wbuf; in ubifs_bg_wbufs_sync()656 struct ubifs_wbuf *wbuf = &c->jheads[i].wbuf; in ubifs_bg_wbufs_sync()1134 struct ubifs_wbuf *wbuf = &c->jheads[i].wbuf; in ubifs_sync_wbufs_by_inode()
619 if (c->jheads) in ubifs_dump_budg()622 dbg_jhead(c->jheads[i].wbuf.jhead), in ubifs_dump_budg()623 c->jheads[i].wbuf.lnum); in ubifs_dump_budg()727 if (c->jheads && in ubifs_dump_lprop()728 lp->lnum == c->jheads[i].wbuf.lnum) { in ubifs_dump_lprop()2568 } else if (c->jheads && lnum == c->jheads[GCHD].wbuf.lnum) { in power_cut_emulated()
149 err = ubifs_wbuf_seek_nolock(&c->jheads[b->bud->jhead].wbuf, in set_bud_lprops()479 struct ubifs_jhead *jh = &c->jheads[bud->jhead]; in is_last_bud()
634 int grouped = jhead == -1 ? 0 : c->jheads[jhead].grouped; in ubifs_recover_leb()1169 struct ubifs_wbuf *wbuf = &c->jheads[GCHD].wbuf; in ubifs_rcvry_gc_commit()
1270 err = ubifs_wbuf_sync(&c->jheads[i].wbuf); in dbg_check_lprops()
1859 struct ubifs_jhead *jheads; member