Home
last modified time | relevance | path

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

/u-boot/fs/ubifs/
A Dlog.c68 int jhead; in ubifs_get_wbuf() local
82 jhead = bud->jhead; in ubifs_get_wbuf()
84 return &c->jheads[jhead].wbuf; in ubifs_get_wbuf()
121 struct ubifs_jhead *jhead; in ubifs_add_bud() local
138 jhead = &c->jheads[bud->jhead]; in ubifs_add_bud()
139 list_add_tail(&bud->list, &jhead->buds_list); in ubifs_add_bud()
231 bud->jhead = jhead; in ubifs_add_bud_to_log()
236 ref->jhead = cpu_to_le32(jhead); in ubifs_add_bud_to_log()
308 wbuf = &c->jheads[bud->jhead].wbuf; in remove_buds()
317 bud->lnum, bud->start, dbg_jhead(bud->jhead), in remove_buds()
[all …]
A Dreplay.c151 err = ubifs_wbuf_seek_nolock(&c->jheads[b->bud->jhead].wbuf, in set_bud_lprops()
481 struct ubifs_jhead *jh = &c->jheads[bud->jhead]; in is_last_bud()
544 lnum, b->bud->jhead, offs, is_last); in replay_bud()
553 sleb = ubifs_recover_leb(c, lnum, offs, c->sbuf, b->bud->jhead); in replay_bud()
740 static int add_replay_bud(struct ubifs_info *c, int lnum, int offs, int jhead, in add_replay_bud() argument
746 dbg_mnt("add replay bud LEB %d:%d, head %d", lnum, offs, jhead); in add_replay_bud()
760 bud->jhead = jhead; in add_replay_bud()
786 unsigned int jhead = le32_to_cpu(ref->jhead); in validate_ref() local
793 if (jhead >= c->jhead_cnt || lnum >= c->leb_cnt || in validate_ref()
801 if (bud->jhead == jhead && bud->start <= offs) in validate_ref()
[all …]
A Dio.c448 dbg_io("jhead %s", dbg_jhead(wbuf->jhead)); in wbuf_timer_callback_nolock()
466 dbg_jhead(wbuf->jhead), in new_wbuf_timer_nolock()
513 wbuf->lnum, wbuf->offs, wbuf->used, dbg_jhead(wbuf->jhead)); in ubifs_wbuf_sync_nolock()
581 dbg_io("LEB %d:%d, jhead %s", lnum, offs, dbg_jhead(wbuf->jhead)); in ubifs_wbuf_seek_nolock()
640 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_bg_wbufs_sync()
662 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_bg_wbufs_sync()
692 dbg_jhead(wbuf->jhead), wbuf->lnum, wbuf->offs + wbuf->used); in ubifs_wbuf_write_nolock()
725 dbg_jhead(wbuf->jhead), wbuf->lnum, wbuf->offs); in ubifs_wbuf_write_nolock()
760 dbg_jhead(wbuf->jhead), wbuf->lnum, wbuf->offs); in ubifs_wbuf_write_nolock()
916 dbg_ntype(type), len, dbg_jhead(wbuf->jhead)); in ubifs_read_node_wbuf()
[all …]
A Dmisc.h129 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_wbuf_sync()
A Drecovery.c634 int offs, void *sbuf, int jhead) in ubifs_recover_leb() argument
637 int grouped = jhead == -1 ? 0 : c->jheads[jhead].grouped; in ubifs_recover_leb()
641 dbg_rcvry("%d:%d, jhead %d, grouped %d", lnum, offs, jhead, grouped); in ubifs_recover_leb()
721 if (jhead == GCHD) { in ubifs_recover_leb()
1204 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_rcvry_gc_commit()
A Dubifs-media.h722 __le32 jhead; member
A Dubifs.h1289 int jhead; member
1313 int jhead; member
2131 int ubifs_add_bud_to_log(struct ubifs_info *c, int jhead, int lnum, int offs);
2376 int offs, void *sbuf, int jhead);
A Ddebug.h303 const char *dbg_jhead(int jhead);
A Dgc.c652 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_garbage_collect()
917 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_gc_end_commit()
A Ddebug.c207 const char *dbg_jhead(int jhead) in dbg_jhead() argument
209 switch (jhead) { in dbg_jhead()
415 pr_err("\tjhead %u\n", le32_to_cpu(ref->jhead)); in ubifs_dump_node()
624 dbg_jhead(c->jheads[i].wbuf.jhead), in ubifs_dump_budg()
737 dbg_jhead(bud->jhead)); in ubifs_dump_lprop()
A Dsuper.c999 c->jheads[i].wbuf.jhead = i; in alloc_wbufs()

Completed in 42 milliseconds