| /u-boot/fs/ubifs/ |
| A D | io.c | 513 wbuf->lnum, wbuf->offs, wbuf->used, dbg_jhead(wbuf->jhead)); in ubifs_wbuf_sync_nolock() 556 wbuf->avail = wbuf->size; in ubifs_wbuf_sync_nolock() 597 wbuf->avail = wbuf->size; in ubifs_wbuf_seek_nolock() 692 dbg_jhead(wbuf->jhead), wbuf->lnum, wbuf->offs + wbuf->used); in ubifs_wbuf_write_nolock() 732 wbuf->offs += wbuf->size; in ubifs_wbuf_write_nolock() 737 wbuf->avail = wbuf->size; in ubifs_wbuf_write_nolock() 760 dbg_jhead(wbuf->jhead), wbuf->lnum, wbuf->offs); in ubifs_wbuf_write_nolock() 761 memcpy(wbuf->buf + wbuf->used, buf, wbuf->avail); in ubifs_wbuf_write_nolock() 767 wbuf->offs += wbuf->size; in ubifs_wbuf_write_nolock() 780 wbuf->size, wbuf->lnum, wbuf->offs); in ubifs_wbuf_write_nolock() [all …]
|
| A D | gc.c | 76 struct ubifs_wbuf *wbuf = &c->jheads[GCHD].wbuf; in switch_gc_head() local 80 wbuf->lnum, wbuf->offs + wbuf->used, gc_lnum, in switch_gc_head() 81 c->leb_size - wbuf->offs - wbuf->used); in switch_gc_head() 316 int err, new_lnum = wbuf->lnum, new_offs = wbuf->offs + wbuf->used; in move_node() 345 struct ubifs_wbuf *wbuf = &c->jheads[GCHD].wbuf; in move_nodes() local 368 avail = c->leb_size - wbuf->offs - wbuf->used; in move_nodes() 383 avail = c->leb_size - wbuf->offs - wbuf->used; in move_nodes() 465 struct ubifs_wbuf *wbuf = &c->jheads[GCHD].wbuf; in ubifs_garbage_collect_leb() local 644 struct ubifs_wbuf *wbuf = &c->jheads[GCHD].wbuf; in ubifs_garbage_collect() local 652 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_garbage_collect() [all …]
|
| A D | misc.h | 125 static inline int ubifs_wbuf_sync(struct ubifs_wbuf *wbuf) in ubifs_wbuf_sync() argument 129 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_wbuf_sync() 130 err = ubifs_wbuf_sync_nolock(wbuf); in ubifs_wbuf_sync() 131 mutex_unlock(&wbuf->io_mutex); in ubifs_wbuf_sync()
|
| A D | log.c | 84 return &c->jheads[jhead].wbuf; in ubifs_get_wbuf() 304 struct ubifs_wbuf *wbuf; in remove_buds() local 308 wbuf = &c->jheads[bud->jhead].wbuf; in remove_buds() 310 if (wbuf->lnum == bud->lnum) { in remove_buds() 315 c->cmt_bud_bytes += wbuf->offs - bud->start; in remove_buds() 318 wbuf->offs - bud->start, c->cmt_bud_bytes); in remove_buds() 319 bud->start = wbuf->offs; in remove_buds() 382 int lnum = c->jheads[i].wbuf.lnum; in ubifs_log_start_commit() 383 int offs = c->jheads[i].wbuf.offs; in ubifs_log_start_commit()
|
| A D | recovery.c | 1172 struct ubifs_wbuf *wbuf = &c->jheads[GCHD].wbuf; in ubifs_rcvry_gc_commit() local 1176 dbg_rcvry("GC head LEB %d, offs %d", wbuf->lnum, wbuf->offs); in ubifs_rcvry_gc_commit() 1179 if (wbuf->lnum == -1 || wbuf->offs == c->leb_size) in ubifs_rcvry_gc_commit() 1182 err = ubifs_find_dirty_leb(c, &lp, wbuf->offs, 2); in ubifs_rcvry_gc_commit() 1192 ubifs_assert(lp.free + lp.dirty >= wbuf->offs); in ubifs_rcvry_gc_commit() 1204 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_rcvry_gc_commit() 1207 int err2 = ubifs_wbuf_sync_nolock(wbuf); in ubifs_rcvry_gc_commit() 1212 mutex_unlock(&wbuf->io_mutex); in ubifs_rcvry_gc_commit()
|
| A D | tnc_misc.c | 456 struct ubifs_wbuf *wbuf; in ubifs_tnc_read_node() local 462 wbuf = ubifs_get_wbuf(c, zbr->lnum); in ubifs_tnc_read_node() 463 if (wbuf) in ubifs_tnc_read_node() 464 err = ubifs_read_node_wbuf(wbuf, node, type, zbr->len, in ubifs_tnc_read_node()
|
| A D | tnc.c | 1642 const struct ubifs_info *c = wbuf->c; in read_wbuf() 1650 spin_lock(&wbuf->lock); in read_wbuf() 1651 overlap = (lnum == wbuf->lnum && offs + len > wbuf->offs); in read_wbuf() 1654 spin_unlock(&wbuf->lock); in read_wbuf() 1659 rlen = wbuf->offs - offs; in read_wbuf() 1664 memcpy(buf + rlen, wbuf->buf + offs + rlen - wbuf->offs, len - rlen); in read_wbuf() 1665 spin_unlock(&wbuf->lock); in read_wbuf() 1741 struct ubifs_wbuf *wbuf; in ubifs_tnc_bulk_read() local 1752 wbuf = ubifs_get_wbuf(c, lnum); in ubifs_tnc_bulk_read() 1753 if (wbuf) in ubifs_tnc_bulk_read() [all …]
|
| A D | ubifs.h | 1327 struct ubifs_wbuf wbuf; member 2093 int ubifs_wbuf_write_nolock(struct ubifs_wbuf *wbuf, void *buf, int len); 2094 int ubifs_wbuf_seek_nolock(struct ubifs_wbuf *wbuf, int lnum, int offs); 2095 int ubifs_wbuf_init(struct ubifs_info *c, struct ubifs_wbuf *wbuf); 2098 int ubifs_read_node_wbuf(struct ubifs_wbuf *wbuf, void *buf, int type, int len, 2108 int ubifs_wbuf_sync_nolock(struct ubifs_wbuf *wbuf); 2110 void ubifs_wbuf_add_ino_nolock(struct ubifs_wbuf *wbuf, ino_t inum);
|
| A D | super.c | 653 err = ubifs_wbuf_sync(&c->jheads[i].wbuf); in ubifs_sync_fs() 994 err = ubifs_wbuf_init(c, &c->jheads[i].wbuf); in alloc_wbufs() 998 c->jheads[i].wbuf.sync_callback = &bud_wbuf_callback; in alloc_wbufs() 999 c->jheads[i].wbuf.jhead = i; in alloc_wbufs() 1007 c->jheads[GCHD].wbuf.no_timer = 1; in alloc_wbufs() 1023 kfree(c->jheads[i].wbuf.buf); in free_wbufs() 1024 kfree(c->jheads[i].wbuf.inodes); in free_wbufs() 1963 ubifs_wbuf_sync(&c->jheads[i].wbuf); in ubifs_remount_ro() 2030 ubifs_wbuf_sync(&c->jheads[i].wbuf); in ubifs_put_super() 2053 hrtimer_cancel(&c->jheads[i].wbuf.timer); in ubifs_put_super()
|
| A D | debug.c | 624 dbg_jhead(c->jheads[i].wbuf.jhead), in ubifs_dump_budg() 625 c->jheads[i].wbuf.lnum); in ubifs_dump_budg() 730 lp->lnum == c->jheads[i].wbuf.lnum) { in ubifs_dump_lprop() 2570 } else if (c->jheads && lnum == c->jheads[GCHD].wbuf.lnum) { in power_cut_emulated()
|
| A D | replay.c | 151 err = ubifs_wbuf_seek_nolock(&c->jheads[b->bud->jhead].wbuf, in set_bud_lprops()
|
| A D | lprops.c | 1272 err = ubifs_wbuf_sync(&c->jheads[i].wbuf); in dbg_check_lprops()
|
| /u-boot/drivers/video/ |
| A D | ld9040.c | 65 static void ld9040_spi_write(const unsigned char *wbuf, unsigned int size_cmd) in ld9040_spi_write() argument 77 data_out = wbuf[i] >> 1; in ld9040_spi_write() 80 if (wbuf[i] & 0x01) in ld9040_spi_write()
|
| /u-boot/arch/x86/lib/ |
| A D | scu.c | 31 u32 wbuf[4]; member 93 writel(*in++, ®s->wbuf[i]); in scu_ipc_cmd()
|
| /u-boot/drivers/mmc/ |
| A D | mtk-sd.c | 620 u32 *wbuf; in msdc_fifo_read() local 627 wbuf = (u32 *)buf; in msdc_fifo_read() 629 *wbuf++ = readl(&host->base->msdc_rxdata); in msdc_fifo_read() 633 buf = (u8 *)wbuf; in msdc_fifo_read() 642 const u32 *wbuf; in msdc_fifo_write() local 649 wbuf = (const u32 *)buf; in msdc_fifo_write() 651 writel(*wbuf++, &host->base->msdc_txdata); in msdc_fifo_write() 655 buf = (const u8 *)wbuf; in msdc_fifo_write()
|
| /u-boot/drivers/mtd/onenand/ |
| A D | onenand_base.c | 1450 u_char *wbuf = (u_char *) buf; in onenand_write_ops_nolock() local 1462 wbuf = this->page_buf; in onenand_write_ops_nolock() 1465 this->write_bufferram(mtd, to, ONENAND_DATARAM, wbuf, 0, mtd->writesize); in onenand_write_ops_nolock()
|
| /u-boot/drivers/mtd/nand/raw/ |
| A D | nand_base.c | 3249 uint8_t *wbuf = buf; in nand_do_write_ops() local 3271 wbuf = chip->buffers->databuf; in nand_do_write_ops() 3282 ret = chip->write_page(mtd, chip, column, bytes, wbuf, in nand_do_write_ops()
|
| /u-boot/arch/arm/dts/ |
| A D | r8a774b1.dtsi | 2184 reg-names = "regs", "dirmap", "wbuf";
|
| A D | r8a774a1.dtsi | 2326 reg-names = "regs", "dirmap", "wbuf";
|
| A D | r8a774e1.dtsi | 2417 reg-names = "regs", "dirmap", "wbuf";
|