Lines Matching refs:rxdb
930 static void bdx_rxdb_destroy(struct rxdb *db) in bdx_rxdb_destroy()
935 static struct rxdb *bdx_rxdb_create(int nelem) in bdx_rxdb_create()
937 struct rxdb *db; in bdx_rxdb_create()
940 db = vmalloc(sizeof(struct rxdb) in bdx_rxdb_create()
956 static inline int bdx_rxdb_alloc_elem(struct rxdb *db) in bdx_rxdb_alloc_elem()
962 static inline void *bdx_rxdb_addr_elem(struct rxdb *db, int n) in bdx_rxdb_addr_elem()
968 static inline int bdx_rxdb_available(struct rxdb *db) in bdx_rxdb_available()
973 static inline void bdx_rxdb_free_elem(struct rxdb *db, int n) in bdx_rxdb_free_elem()
1013 priv->rxdb = bdx_rxdb_create(priv->rxf_fifo0.m.memsz / in bdx_rx_init()
1015 if (!priv->rxdb) in bdx_rx_init()
1034 struct rxdb *db = priv->rxdb; in bdx_rx_free_skbs()
1065 if (priv->rxdb) { in bdx_rx_free()
1067 bdx_rxdb_destroy(priv->rxdb); in bdx_rx_free()
1068 priv->rxdb = NULL; in bdx_rx_free()
1099 struct rxdb *db = priv->rxdb; in bdx_rx_alloc_skbs()
1161 struct rxdb *db; in bdx_recycle_skb()
1168 db = priv->rxdb; in bdx_recycle_skb()
1216 struct rxdb *db = NULL; in bdx_rx_receive()
1268 db = priv->rxdb; in bdx_rx_receive()