Home
last modified time | relevance | path

Searched refs:jheads (Results 1 – 11 of 11) sorted by relevance

/linux-4.19.296/fs/ubifs/
Djournal.c107 struct ubifs_wbuf *wbuf = &c->jheads[jhead].wbuf; in reserve_space()
247 struct ubifs_wbuf *wbuf = &c->jheads[jhead].wbuf; in write_node()
251 *lnum = c->jheads[jhead].wbuf.lnum; in write_node()
252 *offs = c->jheads[jhead].wbuf.offs + c->jheads[jhead].wbuf.used; in write_node()
279 struct ubifs_wbuf *wbuf = &c->jheads[jhead].wbuf; in write_head()
283 *lnum = c->jheads[jhead].wbuf.lnum; in write_head()
284 *offs = c->jheads[jhead].wbuf.offs + c->jheads[jhead].wbuf.used; in write_head()
398 mutex_unlock(&c->jheads[jhead].wbuf.io_mutex); in release_head()
624 struct ubifs_wbuf *wbuf = &c->jheads[BASEHD].wbuf; in ubifs_jnl_update()
770 ubifs_wbuf_add_ino_nolock(&c->jheads[DATAHD].wbuf, key_inum(c, key)); in ubifs_jnl_write_data()
[all …]
Dlog.c77 if (!c->jheads) in ubifs_get_wbuf()
91 return &c->jheads[jhead].wbuf; in ubifs_get_wbuf()
144 if (c->jheads) { in ubifs_add_bud()
145 jhead = &c->jheads[bud->jhead]; in ubifs_add_bud()
315 wbuf = &c->jheads[bud->jhead].wbuf; in remove_buds()
389 int lnum = c->jheads[i].wbuf.lnum; in ubifs_log_start_commit()
390 int offs = c->jheads[i].wbuf.offs; in ubifs_log_start_commit()
742 list_for_each_entry(bud, &c->jheads[i].buds_list, list) in dbg_check_bud_bytes()
Dsuper.c472 err = ubifs_wbuf_sync(&c->jheads[i].wbuf); in ubifs_sync_fs()
804 c->jheads = kcalloc(c->jhead_cnt, sizeof(struct ubifs_jhead), in alloc_wbufs()
806 if (!c->jheads) in alloc_wbufs()
811 INIT_LIST_HEAD(&c->jheads[i].buds_list); in alloc_wbufs()
812 err = ubifs_wbuf_init(c, &c->jheads[i].wbuf); in alloc_wbufs()
816 c->jheads[i].wbuf.sync_callback = &bud_wbuf_callback; in alloc_wbufs()
817 c->jheads[i].wbuf.jhead = i; in alloc_wbufs()
818 c->jheads[i].grouped = 1; in alloc_wbufs()
825 c->jheads[GCHD].wbuf.no_timer = 1; in alloc_wbufs()
826 c->jheads[GCHD].grouped = 0; in alloc_wbufs()
[all …]
Dgc.c84 struct ubifs_wbuf *wbuf = &c->jheads[GCHD].wbuf; in switch_gc_head()
349 struct ubifs_wbuf *wbuf = &c->jheads[GCHD].wbuf; in move_nodes()
449 err = ubifs_wbuf_sync(&c->jheads[i].wbuf); in gc_sync_wbufs()
469 struct ubifs_wbuf *wbuf = &c->jheads[GCHD].wbuf; in ubifs_garbage_collect_leb()
648 struct ubifs_wbuf *wbuf = &c->jheads[GCHD].wbuf; in ubifs_garbage_collect()
916 wbuf = &c->jheads[GCHD].wbuf; in ubifs_gc_end_commit()
Ddebug.c621 if (c->jheads) in ubifs_dump_budg()
624 dbg_jhead(c->jheads[i].wbuf.jhead), in ubifs_dump_budg()
625 c->jheads[i].wbuf.lnum); in ubifs_dump_budg()
724 if (c->jheads && in ubifs_dump_lprop()
725 lp->lnum == c->jheads[i].wbuf.lnum) { in ubifs_dump_lprop()
2529 } else if (c->jheads && lnum == c->jheads[GCHD].wbuf.lnum) { in power_cut_emulated()
Dio.c638 struct ubifs_wbuf *wbuf = &c->jheads[i].wbuf; in ubifs_bg_wbufs_sync()
669 struct ubifs_wbuf *wbuf = &c->jheads[i].wbuf; in ubifs_bg_wbufs_sync()
1175 struct ubifs_wbuf *wbuf = &c->jheads[i].wbuf; in ubifs_sync_wbufs_by_inode()
Dreplay.c156 err = ubifs_wbuf_seek_nolock(&c->jheads[b->bud->jhead].wbuf, in set_bud_lprops()
522 struct ubifs_jhead *jh = &c->jheads[bud->jhead]; in is_last_bud()
Drecovery.c637 int grouped = jhead == -1 ? 0 : c->jheads[jhead].grouped; in ubifs_recover_leb()
1171 struct ubifs_wbuf *wbuf = &c->jheads[GCHD].wbuf; in ubifs_rcvry_gc_commit()
Dcommit.c131 err = ubifs_wbuf_sync(&c->jheads[i].wbuf); in do_commit()
Dubifs.h1253 struct ubifs_jhead *jheads; member
Dlprops.c1277 err = ubifs_wbuf_sync(&c->jheads[i].wbuf); in dbg_check_lprops()