Lines Matching refs:fq

1380 	struct fq *fq;  in codel_dequeue_func()  local
1385 fq = &local->fq; in codel_dequeue_func()
1390 flow = &fq->flows[cvars - local->cvars]; in codel_dequeue_func()
1392 return fq_flow_dequeue(fq, flow); in codel_dequeue_func()
1409 static struct sk_buff *fq_tin_dequeue_func(struct fq *fq, in fq_tin_dequeue_func() argument
1419 local = container_of(fq, struct ieee80211_local, fq); in fq_tin_dequeue_func()
1434 cvars = &local->cvars[flow - fq->flows]; in fq_tin_dequeue_func()
1447 static void fq_skb_free_func(struct fq *fq, in fq_skb_free_func() argument
1454 local = container_of(fq, struct ieee80211_local, fq); in fq_skb_free_func()
1462 struct fq *fq = &local->fq; in ieee80211_txq_enqueue() local
1464 u32 flow_idx = fq_flow_idx(fq, skb); in ieee80211_txq_enqueue()
1468 spin_lock_bh(&fq->lock); in ieee80211_txq_enqueue()
1480 fq_tin_enqueue(fq, tin, flow_idx, skb, in ieee80211_txq_enqueue()
1483 spin_unlock_bh(&fq->lock); in ieee80211_txq_enqueue()
1486 static bool fq_vlan_filter_func(struct fq *fq, struct fq_tin *tin, in fq_vlan_filter_func() argument
1498 struct fq *fq = &local->fq; in ieee80211_txq_remove_vlan() local
1514 spin_lock_bh(&fq->lock); in ieee80211_txq_remove_vlan()
1515 fq_tin_filter(fq, tin, fq_vlan_filter_func, &sdata->vif, in ieee80211_txq_remove_vlan()
1517 spin_unlock_bh(&fq->lock); in ieee80211_txq_remove_vlan()
1564 struct fq *fq = &local->fq; in ieee80211_txq_purge() local
1567 spin_lock_bh(&fq->lock); in ieee80211_txq_purge()
1568 fq_tin_reset(fq, tin, fq_skb_free_func); in ieee80211_txq_purge()
1570 spin_unlock_bh(&fq->lock); in ieee80211_txq_purge()
1580 local->fq.limit = local->hw.wiphy->txq_limit; in ieee80211_txq_set_params()
1582 local->hw.wiphy->txq_limit = local->fq.limit; in ieee80211_txq_set_params()
1585 local->fq.memory_limit = local->hw.wiphy->txq_memory_limit; in ieee80211_txq_set_params()
1587 local->hw.wiphy->txq_memory_limit = local->fq.memory_limit; in ieee80211_txq_set_params()
1590 local->fq.quantum = local->hw.wiphy->txq_quantum; in ieee80211_txq_set_params()
1592 local->hw.wiphy->txq_quantum = local->fq.quantum; in ieee80211_txq_set_params()
1597 struct fq *fq = &local->fq; in ieee80211_txq_setup_flows() local
1606 ret = fq_init(fq, 4096); in ieee80211_txq_setup_flows()
1625 fq->memory_limit = 4 << 20; /* 4 Mbytes */ in ieee80211_txq_setup_flows()
1632 local->cvars = kcalloc(fq->flows_cnt, sizeof(local->cvars[0]), in ieee80211_txq_setup_flows()
1635 spin_lock_bh(&fq->lock); in ieee80211_txq_setup_flows()
1636 fq_reset(fq, fq_skb_free_func); in ieee80211_txq_setup_flows()
1637 spin_unlock_bh(&fq->lock); in ieee80211_txq_setup_flows()
1641 for (i = 0; i < fq->flows_cnt; i++) in ieee80211_txq_setup_flows()
1651 struct fq *fq = &local->fq; in ieee80211_txq_teardown_flows() local
1659 spin_lock_bh(&fq->lock); in ieee80211_txq_teardown_flows()
1660 fq_reset(fq, fq_skb_free_func); in ieee80211_txq_teardown_flows()
1661 spin_unlock_bh(&fq->lock); in ieee80211_txq_teardown_flows()
3383 struct fq *fq = &local->fq; in ieee80211_amsdu_aggregate() local
3427 flow_idx = fq_flow_idx(fq, skb); in ieee80211_amsdu_aggregate()
3429 spin_lock_bh(&fq->lock); in ieee80211_amsdu_aggregate()
3436 flow = fq_flow_classify(fq, tin, flow_idx, skb); in ieee80211_amsdu_aggregate()
3507 fq->memory_usage += head->truesize - orig_truesize; in ieee80211_amsdu_aggregate()
3513 spin_unlock_bh(&fq->lock); in ieee80211_amsdu_aggregate()
3713 struct fq *fq = &local->fq; in ieee80211_tx_dequeue() local
3739 spin_lock_bh(&fq->lock); in ieee80211_tx_dequeue()
3753 skb = fq_tin_dequeue(fq, tin, fq_tin_dequeue_func); in ieee80211_tx_dequeue()
3759 spin_unlock_bh(&fq->lock); in ieee80211_tx_dequeue()
3841 spin_lock_bh(&fq->lock); in ieee80211_tx_dequeue()
3843 spin_unlock_bh(&fq->lock); in ieee80211_tx_dequeue()
3904 spin_unlock_bh(&fq->lock); in ieee80211_tx_dequeue()