Home
last modified time | relevance | path

Searched refs:fifo_used (Results 1 – 8 of 8) sorted by relevance

/openbmc/qemu/hw/net/
H A Dlan9118.c167 int32_t fifo_used; member
183 VMSTATE_INT32(fifo_used, LAN9118Packet),
435 s->txp->fifo_used = 0; in lan9118_reset()
440 s->txp->fifo_used = 0; in lan9118_reset()
682 s->txp->fifo_used = 0; in do_tx_packet()
742 if (s->txp->fifo_used == s->tx_fifo_size) { in tx_fifo_push()
749 s->txp->fifo_used++; in tx_fifo_push()
758 s->txp->fifo_used++; in tx_fifo_push()
803 s->txp->fifo_used++; in tx_fifo_push()
1078 s->txp->fifo_used = 0; in lan9118_writel()
[all …]
/openbmc/linux/drivers/md/bcache/
H A Dutil.h160 #define fifo_used(fifo) (((fifo)->back - (fifo)->front) & (fifo)->mask) macro
161 #define fifo_free(fifo) ((fifo)->size - fifo_used(fifo))
163 #define fifo_empty(fifo) (!fifo_used(fifo))
H A Dmovinggc.c210 fifo_used(&ca->free[RESERVE_MOVINGGC]); in bch_moving_gc()
H A Djournal.c569 #define last_seq(j) ((j)->seq - fifo_used(&(j)->pin) + 1)
715 pr_debug("journal_pin full (%zu)\n", fifo_used(&j->pin)); in bch_journal_next()
H A Dsuper.c617 fifo_used(&ca->free[RESERVE_PRIO]), in bch_prio_write()
618 fifo_used(&ca->free[RESERVE_NONE]), in bch_prio_write()
619 fifo_used(&ca->free_inc)); in bch_prio_write()
627 size_t avail = fifo_used(&ca->free[RESERVE_PRIO]) + in bch_prio_write()
628 fifo_used(&ca->free[RESERVE_NONE]); in bch_prio_write()
H A Dsysfs.c790 sysfs_print(active_journal_entries, fifo_used(&c->journal.pin)); in SHOW()
H A Dbtree.c1208 if (fifo_used(&ca->free[RESERVE_BTREE]) < reserve) { in btree_check_reserve()
/openbmc/linux/include/trace/events/
H A Dbcache.h480 __entry->free = fifo_used(&ca->free[reserve]);
481 __entry->free_inc = fifo_used(&ca->free_inc);