Lines Matching defs:fq

1363 	struct fq *fq;
1368 fq = &local->fq;
1373 flow = &fq->flows[cvars - local->cvars];
1375 return fq_flow_dequeue(fq, flow);
1392 static struct sk_buff *fq_tin_dequeue_func(struct fq *fq,
1402 local = container_of(fq, struct ieee80211_local, fq);
1417 cvars = &local->cvars[flow - fq->flows];
1430 static void fq_skb_free_func(struct fq *fq,
1437 local = container_of(fq, struct ieee80211_local, fq);
1445 struct fq *fq = &local->fq;
1447 u32 flow_idx = fq_flow_idx(fq, skb);
1451 spin_lock_bh(&fq->lock);
1463 fq_tin_enqueue(fq, tin, flow_idx, skb,
1466 spin_unlock_bh(&fq->lock);
1469 static bool fq_vlan_filter_func(struct fq *fq, struct fq_tin *tin,
1481 struct fq *fq = &local->fq;
1497 spin_lock_bh(&fq->lock);
1498 fq_tin_filter(fq, tin, fq_vlan_filter_func, &sdata->vif,
1500 spin_unlock_bh(&fq->lock);
1547 struct fq *fq = &local->fq;
1550 spin_lock_bh(&fq->lock);
1551 fq_tin_reset(fq, tin, fq_skb_free_func);
1553 spin_unlock_bh(&fq->lock);
1563 local->fq.limit = local->hw.wiphy->txq_limit;
1565 local->hw.wiphy->txq_limit = local->fq.limit;
1568 local->fq.memory_limit = local->hw.wiphy->txq_memory_limit;
1570 local->hw.wiphy->txq_memory_limit = local->fq.memory_limit;
1573 local->fq.quantum = local->hw.wiphy->txq_quantum;
1575 local->hw.wiphy->txq_quantum = local->fq.quantum;
1580 struct fq *fq = &local->fq;
1586 ret = fq_init(fq, 4096);
1605 fq->memory_limit = 4 << 20; /* 4 Mbytes */
1612 local->cvars = kvcalloc(fq->flows_cnt, sizeof(local->cvars[0]),
1615 spin_lock_bh(&fq->lock);
1616 fq_reset(fq, fq_skb_free_func);
1617 spin_unlock_bh(&fq->lock);
1621 for (i = 0; i < fq->flows_cnt; i++)
1631 struct fq *fq = &local->fq;
1636 spin_lock_bh(&fq->lock);
1637 fq_reset(fq, fq_skb_free_func);
1638 spin_unlock_bh(&fq->lock);
3406 struct fq *fq = &local->fq;
3453 flow_idx = fq_flow_idx(fq, skb);
3455 spin_lock_bh(&fq->lock);
3462 flow = fq_flow_classify(fq, tin, flow_idx, skb);
3534 fq->memory_usage += head->truesize - orig_truesize;
3540 spin_unlock_bh(&fq->lock);
3814 struct fq *fq = &local->fq;
3840 spin_lock_bh(&fq->lock);
3854 skb = fq_tin_dequeue(fq, tin, fq_tin_dequeue_func);
3860 spin_unlock_bh(&fq->lock);
3941 spin_lock_bh(&fq->lock);
3943 spin_unlock_bh(&fq->lock);
4005 spin_unlock_bh(&fq->lock);