Searched refs:dql (Results 1 – 2 of 2) sorted by relevance
40 struct dql { struct72 static inline void dql_queued(struct dql *dql, unsigned int count) in dql_queued() argument76 dql->num_queued += count; in dql_queued()77 dql->last_obj_cnt = count; in dql_queued()81 static inline int dql_avail(const struct dql *dql) in dql_avail() argument83 return dql->adj_limit - dql->num_queued; in dql_avail()87 void dql_completed(struct dql *dql, unsigned int count);90 void dql_reset(struct dql *dql);93 int dql_init(struct dql *dql, unsigned hold_time);
546 struct dql dql; member1967 dql_queued(&dev_queue->dql, bytes); in netdev_tx_sent_queue()1969 if (likely(dql_avail(&dev_queue->dql) >= 0)) in netdev_tx_sent_queue()1982 if (unlikely(dql_avail(&dev_queue->dql) >= 0)) in netdev_tx_sent_queue()1999 dql_completed(&dev_queue->dql, bytes); in netdev_tx_completed_queue()2008 if (dql_avail(&dev_queue->dql) < 0) in netdev_tx_completed_queue()2026 dql_reset(&q->dql); in netdev_tx_reset_queue()