Home
last modified time | relevance | path

Searched refs:dql (Results 1 – 2 of 2) 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->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() argument
83 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);
Dnetdevice.h546 struct dql dql; member
1967 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()