Lines Matching refs:rxdb
918 static void bdx_rxdb_destroy(struct rxdb *db) in bdx_rxdb_destroy()
923 static struct rxdb *bdx_rxdb_create(int nelem) in bdx_rxdb_create()
925 struct rxdb *db; in bdx_rxdb_create()
928 db = vmalloc(sizeof(struct rxdb) in bdx_rxdb_create()
944 static inline int bdx_rxdb_alloc_elem(struct rxdb *db) in bdx_rxdb_alloc_elem()
950 static inline void *bdx_rxdb_addr_elem(struct rxdb *db, int n) in bdx_rxdb_addr_elem()
956 static inline int bdx_rxdb_available(struct rxdb *db) in bdx_rxdb_available()
961 static inline void bdx_rxdb_free_elem(struct rxdb *db, int n) in bdx_rxdb_free_elem()
1001 priv->rxdb = bdx_rxdb_create(priv->rxf_fifo0.m.memsz / in bdx_rx_init()
1003 if (!priv->rxdb) in bdx_rx_init()
1022 struct rxdb *db = priv->rxdb; in bdx_rx_free_skbs()
1053 if (priv->rxdb) { in bdx_rx_free()
1055 bdx_rxdb_destroy(priv->rxdb); in bdx_rx_free()
1056 priv->rxdb = NULL; in bdx_rx_free()
1087 struct rxdb *db = priv->rxdb; in bdx_rx_alloc_skbs()
1149 struct rxdb *db; in bdx_recycle_skb()
1155 db = priv->rxdb; in bdx_recycle_skb()
1202 struct rxdb *db = NULL; in bdx_rx_receive()
1254 db = priv->rxdb; in bdx_rx_receive()