/fs/ubifs/ |
H A D | log.c | 75 int jhead; local 89 jhead = bud->jhead; 91 return &c->jheads[jhead].wbuf; 128 struct ubifs_jhead *jhead; local 145 jhead = &c->jheads[bud->jhead]; 146 list_add_tail(&bud->list, &jhead->buds_list); 158 dbg_log("LEB %d:%d, jhead %s, bud_bytes %lld", bud->lnum, 159 bud->start, dbg_jhead(bud->jhead), 176 ubifs_add_bud_to_log(struct ubifs_info *c, int jhead, int lnum, int offs) argument [all...] |
H A D | replay.c | 156 err = ubifs_wbuf_seek_nolock(&c->jheads[b->bud->jhead].wbuf, 486 struct ubifs_jhead *jh = &c->jheads[bud->jhead]; 549 lnum, b->bud->jhead, offs, is_last); 558 sleb = ubifs_recover_leb(c, lnum, offs, c->sbuf, b->bud->jhead); 739 * @jhead: journal head to which this bud belongs 745 static int add_replay_bud(struct ubifs_info *c, int lnum, int offs, int jhead, argument 751 dbg_mnt("add replay bud LEB %d:%d, head %d", lnum, offs, jhead); 765 bud->jhead = jhead; 791 unsigned int jhead local [all...] |
H A D | journal.c | 106 * @jhead: journal head number 115 static int reserve_space(struct ubifs_info *c, int jhead, int len) argument 118 struct ubifs_wbuf *wbuf = &c->jheads[jhead].wbuf; 126 squeeze = (jhead == BASEHD); 128 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); 156 dbg_jnl("no free space in jhead %s, run GC", dbg_jhead(jhead)); 171 dbg_jnl("GC couldn't make a free LEB for jhead %s", 172 dbg_jhead(jhead)); 182 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); 255 write_node(struct ubifs_info *c, int jhead, void *node, int len, int *lnum, int *offs) argument 286 write_head(struct ubifs_info *c, int jhead, void *buf, int len, int *lnum, int *offs, int sync) argument 323 make_reservation(struct ubifs_info *c, int jhead, int len) argument 406 release_head(struct ubifs_info *c, int jhead) argument [all...] |
H A D | recovery.c | 626 * @jhead: journal head number this LEB belongs to (%-1 if the LEB does not 635 int offs, void *sbuf, int jhead) 638 int grouped = jhead == -1 ? 0 : c->jheads[jhead].grouped; 642 dbg_rcvry("%d:%d, jhead %d, grouped %d", lnum, offs, jhead, grouped); 722 if (jhead == GCHD) { 1210 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); 634 ubifs_recover_leb(struct ubifs_info *c, int lnum, int offs, void *sbuf, int jhead) argument
|
H A D | debug.c | 206 const char *dbg_jhead(int jhead) argument 208 switch (jhead) { 412 pr_err("\tjhead %u\n", le32_to_cpu(ref->jhead)); 620 dbg_jhead(c->jheads[i].wbuf.jhead), 722 pr_cont(", jhead %s", dbg_jhead(i)); 727 pr_cont(", bud of jhead %s", 728 dbg_jhead(bud->jhead));
|
H A D | ubifs-media.h | 723 * @jhead: journal head number 730 __le32 jhead; member in struct:ubifs_ref_node
|
H A D | ubifs.h | 659 * @jhead: journal head the mutex belongs to (note, needed only to shut lockdep 692 int jhead; member in struct:ubifs_wbuf 709 * @jhead: journal head number this bud belongs to 716 int jhead; member in struct:ubifs_bud 1525 int ubifs_add_bud_to_log(struct ubifs_info *c, int jhead, int lnum, int offs); 1765 int offs, void *sbuf, int jhead);
|