Searched refs:jheads (Results 1 - 11 of 11) sorted by relevance

/linux-master/fs/ubifs/
H A Dlog.c65 if (!c->jheads)
79 return &c->jheads[jhead].wbuf;
132 if (c->jheads) {
133 jhead = &c->jheads[bud->jhead];
271 err = ubifs_shash_copy_state(c, c->log_hash, c->jheads[jhead].log_hash);
312 wbuf = &c->jheads[bud->jhead].wbuf;
394 int lnum = c->jheads[i].wbuf.lnum;
395 int offs = c->jheads[i].wbuf.offs;
415 ubifs_shash_copy_state(c, c->log_hash, c->jheads[i].log_hash);
751 list_for_each_entry(bud, &c->jheads[
[all...]
H A Dsuper.c481 err = ubifs_wbuf_sync(&c->jheads[i].wbuf);
822 c->jheads = kcalloc(c->jhead_cnt, sizeof(struct ubifs_jhead),
824 if (!c->jheads)
829 INIT_LIST_HEAD(&c->jheads[i].buds_list);
830 err = ubifs_wbuf_init(c, &c->jheads[i].wbuf);
834 c->jheads[i].wbuf.sync_callback = &bud_wbuf_callback;
835 c->jheads[i].wbuf.jhead = i;
836 c->jheads[i].grouped = 1;
837 c->jheads[i].log_hash = ubifs_hash_get_desc(c);
838 if (IS_ERR(c->jheads[
[all...]
H A Djournal.c101 struct ubifs_wbuf *wbuf = &c->jheads[jhead].wbuf;
272 struct ubifs_wbuf *wbuf = &c->jheads[jhead].wbuf;
276 *lnum = c->jheads[jhead].wbuf.lnum;
277 *offs = c->jheads[jhead].wbuf.offs + c->jheads[jhead].wbuf.used;
282 err = ubifs_hash_nodes(c, buf, len, c->jheads[jhead].log_hash);
524 mutex_unlock(&c->jheads[jhead].wbuf.io_mutex);
767 struct ubifs_wbuf *wbuf = &c->jheads[BASEHD].wbuf;
930 ubifs_wbuf_add_ino_nolock(&c->jheads[DATAHD].wbuf, key_inum(c, key));
1065 ubifs_wbuf_add_ino_nolock(&c->jheads[BASEH
[all...]
H A Dgc.c68 struct ubifs_wbuf *wbuf = &c->jheads[GCHD].wbuf;
335 struct ubifs_wbuf *wbuf = &c->jheads[GCHD].wbuf;
367 err = ubifs_shash_update(c, c->jheads[GCHD].log_hash,
399 err = ubifs_shash_update(c, c->jheads[GCHD].log_hash,
420 c->jheads[GCHD].log_hash);
475 err = ubifs_wbuf_sync(&c->jheads[i].wbuf);
495 struct ubifs_wbuf *wbuf = &c->jheads[GCHD].wbuf;
674 struct ubifs_wbuf *wbuf = &c->jheads[GCHD].wbuf;
957 wbuf = &c->jheads[GCHD].wbuf;
H A Dio.c684 struct ubifs_wbuf *wbuf = &c->jheads[i].wbuf;
715 struct ubifs_wbuf *wbuf = &c->jheads[i].wbuf;
1243 struct ubifs_wbuf *wbuf = &c->jheads[i].wbuf;
H A Dreplay.c146 err = ubifs_wbuf_seek_nolock(&c->jheads[b->bud->jhead].wbuf,
517 struct ubifs_jhead *jh = &c->jheads[bud->jhead];
698 c->jheads[b->bud->jhead].log_hash);
H A Ddebug.c652 if (c->jheads)
655 dbg_jhead(c->jheads[i].wbuf.jhead),
656 c->jheads[i].wbuf.lnum);
755 if (c->jheads &&
756 lp->lnum == c->jheads[i].wbuf.lnum) {
2547 } else if (c->jheads && lnum == c->jheads[GCHD].wbuf.lnum) {
H A Drecovery.c626 int grouped = jhead == -1 ? 0 : c->jheads[jhead].grouped;
1160 struct ubifs_wbuf *wbuf = &c->jheads[GCHD].wbuf;
H A Dcommit.c130 err = ubifs_wbuf_sync(&c->jheads[i].wbuf);
H A Dubifs.h1045 * @jheads: journal heads (head zero is base head)
1305 struct ubifs_jhead *jheads; member in struct:ubifs_info
H A Dlprops.c1266 err = ubifs_wbuf_sync(&c->jheads[i].wbuf);

Completed in 163 milliseconds