Home
last modified time | relevance | path

Searched refs:dql (Results 1 – 3 of 3) sorted by relevance

/include/linux/
Ddynamic_queue_limits.h40 struct dql { struct
72 static inline void dql_queued(struct dql *dql, unsigned int count) in dql_queued() argument
76 dql->last_obj_cnt = count; in dql_queued()
85 dql->num_queued += count; in dql_queued()
89 static inline int dql_avail(const struct dql *dql) in dql_avail() argument
91 return ACCESS_ONCE(dql->adj_limit) - ACCESS_ONCE(dql->num_queued); in dql_avail()
95 void dql_completed(struct dql *dql, unsigned int count);
98 void dql_reset(struct dql *dql);
101 int dql_init(struct dql *dql, unsigned hold_time);
Dnetdevice.h594 struct dql dql; member
3002 prefetchw(&dev_queue->dql.num_queued); in netdev_txq_bql_enqueue_prefetchw()
3016 prefetchw(&dev_queue->dql.limit); in netdev_txq_bql_complete_prefetchw()
3024 dql_queued(&dev_queue->dql, bytes); in netdev_tx_sent_queue()
3026 if (likely(dql_avail(&dev_queue->dql) >= 0)) in netdev_tx_sent_queue()
3039 if (unlikely(dql_avail(&dev_queue->dql) >= 0)) in netdev_tx_sent_queue()
3065 dql_completed(&dev_queue->dql, bytes); in netdev_tx_completed_queue()
3074 if (dql_avail(&dev_queue->dql) < 0) in netdev_tx_completed_queue()
3102 dql_reset(&q->dql); in netdev_tx_reset_queue()
/include/net/
Dsch_generic.h132 return dql_avail(&txq->dql); in qdisc_avail_bulklimit()