Lines Matching refs:jheads
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()
835 if (c->jheads) { in free_wbufs()
837 kfree(c->jheads[i].wbuf.buf); in free_wbufs()
838 kfree(c->jheads[i].wbuf.inodes); in free_wbufs()
840 kfree(c->jheads); in free_wbufs()
841 c->jheads = NULL; in free_wbufs()
1732 ubifs_wbuf_sync(&c->jheads[i].wbuf); in ubifs_remount_ro()
1801 ubifs_wbuf_sync(&c->jheads[i].wbuf); in ubifs_put_super()
1823 hrtimer_cancel(&c->jheads[i].wbuf.timer); in ubifs_put_super()