/u-boot/fs/ubifs/ |
H A D | log.c | 68 int jhead; local 82 jhead = bud->jhead; 84 return &c->jheads[jhead].wbuf; 121 struct ubifs_jhead *jhead; local 138 jhead = &c->jheads[bud->jhead]; 139 list_add_tail(&bud->list, &jhead->buds_list); 151 dbg_log("LEB %d:%d, jhead %s, bud_bytes %lld", bud->lnum, 152 bud->start, dbg_jhead(bud->jhead), 169 ubifs_add_bud_to_log(struct ubifs_info *c, int jhead, int lnum, int offs) argument [all...] |
H A D | replay.c | 151 err = ubifs_wbuf_seek_nolock(&c->jheads[b->bud->jhead].wbuf, 481 struct ubifs_jhead *jh = &c->jheads[bud->jhead]; 544 lnum, b->bud->jhead, offs, is_last); 553 sleb = ubifs_recover_leb(c, lnum, offs, c->sbuf, b->bud->jhead); 734 * @jhead: journal head to which this bud belongs 740 static int add_replay_bud(struct ubifs_info *c, int lnum, int offs, int jhead, argument 746 dbg_mnt("add replay bud LEB %d:%d, head %d", lnum, offs, jhead); 760 bud->jhead = jhead; 786 unsigned int jhead local [all...] |
H A D | io.c | 448 dbg_io("jhead %s", dbg_jhead(wbuf->jhead)); 465 dbg_io("set timer for jhead %s, %llu-%llu millisecs", 466 dbg_jhead(wbuf->jhead), 512 dbg_io("LEB %d:%d, %d bytes, jhead %s", 513 wbuf->lnum, wbuf->offs, wbuf->used, dbg_jhead(wbuf->jhead)); 581 dbg_io("LEB %d:%d, jhead %s", lnum, offs, dbg_jhead(wbuf->jhead)); 640 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); 662 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); [all...] |
H A D | misc.h | 129 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead);
|
H A D | recovery.c | 625 * @jhead: journal head number this LEB belongs to (%-1 if the LEB does not 634 int offs, void *sbuf, int jhead) 637 int grouped = jhead == -1 ? 0 : c->jheads[jhead].grouped; 641 dbg_rcvry("%d:%d, jhead %d, grouped %d", lnum, offs, jhead, grouped); 721 if (jhead == GCHD) { 1204 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); 633 ubifs_recover_leb(struct ubifs_info *c, int lnum, int offs, void *sbuf, int jhead) argument
|
H A D | ubifs-media.h | 715 * @jhead: journal head number 722 __le32 jhead; member in struct:ubifs_ref_node
|
H A D | gc.c | 652 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); 917 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead);
|
H A D | debug.h | 293 const char *dbg_jhead(int jhead);
|
H A D | ubifs.h | 1256 * @jhead: journal head the mutex belongs to (note, needed only to shut lockdep 1289 int jhead; member in struct:ubifs_wbuf 1306 * @jhead: journal head number this bud belongs to 1313 int jhead; member in struct:ubifs_bud 2131 int ubifs_add_bud_to_log(struct ubifs_info *c, int jhead, int lnum, int offs); 2376 int offs, void *sbuf, int jhead);
|
H A D | debug.c | 209 const char *dbg_jhead(int jhead) argument 211 switch (jhead) { 419 pr_err("\tjhead %u\n", le32_to_cpu(ref->jhead)); 633 dbg_jhead(c->jheads[i].wbuf.jhead), 741 pr_cont(", jhead %s", dbg_jhead(i)); 746 pr_cont(", bud of jhead %s", 747 dbg_jhead(bud->jhead));
|
H A D | super.c | 1000 c->jheads[i].wbuf.jhead = i;
|