Searched refs:jheads (Results 1 – 11 of 11) sorted by relevance
118 struct ubifs_wbuf *wbuf = &c->jheads[jhead].wbuf; in reserve_space()253 struct ubifs_wbuf *wbuf = &c->jheads[jhead].wbuf; in write_node()257 *lnum = c->jheads[jhead].wbuf.lnum; in write_node()258 *offs = c->jheads[jhead].wbuf.offs + c->jheads[jhead].wbuf.used; in write_node()285 struct ubifs_wbuf *wbuf = &c->jheads[jhead].wbuf; in write_head()289 *lnum = c->jheads[jhead].wbuf.lnum; in write_head()290 *offs = c->jheads[jhead].wbuf.offs + c->jheads[jhead].wbuf.used; in write_head()405 mutex_unlock(&c->jheads[jhead].wbuf.io_mutex); in release_head()617 struct ubifs_wbuf *wbuf = &c->jheads[BASEHD].wbuf; in ubifs_jnl_update()741 ubifs_wbuf_add_ino_nolock(&c->jheads[DATAHD].wbuf, key_inum(c, key)); in ubifs_jnl_write_data()[all …]
81 if (!c->jheads) in ubifs_get_wbuf()95 return &c->jheads[jhead].wbuf; in ubifs_get_wbuf()158 if (c->jheads) { in ubifs_add_bud()159 jhead = &c->jheads[bud->jhead]; in ubifs_add_bud()330 wbuf = &c->jheads[bud->jhead].wbuf; in remove_buds()406 int lnum = c->jheads[i].wbuf.lnum; in ubifs_log_start_commit()407 int offs = c->jheads[i].wbuf.offs; in ubifs_log_start_commit()774 list_for_each_entry(bud, &c->jheads[i].buds_list, list) in dbg_check_bud_bytes()
468 err = ubifs_wbuf_sync(&c->jheads[i].wbuf); in ubifs_sync_fs()800 c->jheads = kzalloc(c->jhead_cnt * sizeof(struct ubifs_jhead), in alloc_wbufs()802 if (!c->jheads) in alloc_wbufs()807 INIT_LIST_HEAD(&c->jheads[i].buds_list); in alloc_wbufs()808 err = ubifs_wbuf_init(c, &c->jheads[i].wbuf); in alloc_wbufs()812 c->jheads[i].wbuf.sync_callback = &bud_wbuf_callback; in alloc_wbufs()813 c->jheads[i].wbuf.jhead = i; in alloc_wbufs()816 c->jheads[BASEHD].wbuf.dtype = UBI_SHORTTERM; in alloc_wbufs()821 c->jheads[GCHD].wbuf.dtype = UBI_LONGTERM; in alloc_wbufs()822 c->jheads[GCHD].wbuf.no_timer = 1; in alloc_wbufs()[all …]
84 struct ubifs_wbuf *wbuf = &c->jheads[GCHD].wbuf; in switch_gc_head()348 struct ubifs_wbuf *wbuf = &c->jheads[GCHD].wbuf; in move_nodes()448 err = ubifs_wbuf_sync(&c->jheads[i].wbuf); in gc_sync_wbufs()468 struct ubifs_wbuf *wbuf = &c->jheads[GCHD].wbuf; in ubifs_garbage_collect_leb()616 struct ubifs_wbuf *wbuf = &c->jheads[GCHD].wbuf; in ubifs_garbage_collect()920 wbuf = &c->jheads[GCHD].wbuf; in ubifs_gc_end_commit()
517 struct ubifs_wbuf *wbuf = &c->jheads[i].wbuf; in ubifs_bg_wbufs_sync()548 struct ubifs_wbuf *wbuf = &c->jheads[i].wbuf; in ubifs_bg_wbufs_sync()1034 struct ubifs_wbuf *wbuf = &c->jheads[i].wbuf; in ubifs_sync_wbufs_by_inode()
634 if (c->jheads) in dbg_dump_budg()637 dbg_jhead(c->jheads[i].wbuf.jhead), in dbg_dump_budg()638 c->jheads[i].wbuf.lnum); in dbg_dump_budg()732 if (lp->lnum == c->jheads[i].wbuf.lnum) { in dbg_dump_lprop()2596 } else if (c->jheads && lnum == c->jheads[GCHD].wbuf.lnum) { in do_fail()
131 err = ubifs_wbuf_sync(&c->jheads[i].wbuf); in do_commit()
166 err = ubifs_wbuf_seek_nolock(&c->jheads[r->jhead].wbuf, r->lnum, in set_bud_lprops()
1229 struct ubifs_jhead *jheads; member
1092 struct ubifs_wbuf *wbuf = &c->jheads[GCHD].wbuf; in ubifs_rcvry_gc_commit()
1292 err = ubifs_wbuf_sync(&c->jheads[i].wbuf); in dbg_check_lprops()