Lines Matching refs:rxdb
917 static void bdx_rxdb_destroy(struct rxdb *db) in bdx_rxdb_destroy()
922 static struct rxdb *bdx_rxdb_create(int nelem) in bdx_rxdb_create()
924 struct rxdb *db; in bdx_rxdb_create()
927 db = vmalloc(sizeof(struct rxdb) in bdx_rxdb_create()
943 static inline int bdx_rxdb_alloc_elem(struct rxdb *db) in bdx_rxdb_alloc_elem()
949 static inline void *bdx_rxdb_addr_elem(struct rxdb *db, int n) in bdx_rxdb_addr_elem()
955 static inline int bdx_rxdb_available(struct rxdb *db) in bdx_rxdb_available()
960 static inline void bdx_rxdb_free_elem(struct rxdb *db, int n) in bdx_rxdb_free_elem()
1000 priv->rxdb = bdx_rxdb_create(priv->rxf_fifo0.m.memsz / in bdx_rx_init()
1002 if (!priv->rxdb) in bdx_rx_init()
1021 struct rxdb *db = priv->rxdb; in bdx_rx_free_skbs()
1051 if (priv->rxdb) { in bdx_rx_free()
1053 bdx_rxdb_destroy(priv->rxdb); in bdx_rx_free()
1054 priv->rxdb = NULL; in bdx_rx_free()
1085 struct rxdb *db = priv->rxdb; in bdx_rx_alloc_skbs()
1146 struct rxdb *db; in bdx_recycle_skb()
1152 db = priv->rxdb; in bdx_recycle_skb()
1199 struct rxdb *db = NULL; in bdx_rx_receive()
1251 db = priv->rxdb; in bdx_rx_receive()