Lines Matching refs:rxdb
923 static void bdx_rxdb_destroy(struct rxdb *db) in bdx_rxdb_destroy()
928 static struct rxdb *bdx_rxdb_create(int nelem) in bdx_rxdb_create()
930 struct rxdb *db; in bdx_rxdb_create()
933 db = vmalloc(sizeof(struct rxdb) in bdx_rxdb_create()
949 static inline int bdx_rxdb_alloc_elem(struct rxdb *db) in bdx_rxdb_alloc_elem()
955 static inline void *bdx_rxdb_addr_elem(struct rxdb *db, int n) in bdx_rxdb_addr_elem()
961 static inline int bdx_rxdb_available(struct rxdb *db) in bdx_rxdb_available()
966 static inline void bdx_rxdb_free_elem(struct rxdb *db, int n) in bdx_rxdb_free_elem()
1006 priv->rxdb = bdx_rxdb_create(priv->rxf_fifo0.m.memsz / in bdx_rx_init()
1008 if (!priv->rxdb) in bdx_rx_init()
1027 struct rxdb *db = priv->rxdb; in bdx_rx_free_skbs()
1057 if (priv->rxdb) { in bdx_rx_free()
1059 bdx_rxdb_destroy(priv->rxdb); in bdx_rx_free()
1060 priv->rxdb = NULL; in bdx_rx_free()
1091 struct rxdb *db = priv->rxdb; in bdx_rx_alloc_skbs()
1152 struct rxdb *db; in bdx_recycle_skb()
1158 db = priv->rxdb; in bdx_recycle_skb()
1205 struct rxdb *db = NULL; in bdx_rx_receive()
1257 db = priv->rxdb; in bdx_rx_receive()