Home
last modified time | relevance | path

Searched refs:fq (Results 1 – 15 of 15) sorted by relevance

/net/ipv6/netfilter/
Dnf_conntrack_reasm.c139 static int nf_ct_frag6_reasm(struct frag_queue *fq, struct sk_buff *skb,
150 struct frag_queue *fq; in nf_ct_frag6_expire() local
153 fq = container_of(frag, struct frag_queue, q); in nf_ct_frag6_expire()
154 net = container_of(fq->q.net, struct net, nf_frag.frags); in nf_ct_frag6_expire()
156 ip6frag_expire_frag_queue(net, fq); in nf_ct_frag6_expire()
180 static int nf_ct_frag6_queue(struct frag_queue *fq, struct sk_buff *skb, in nf_ct_frag6_queue() argument
189 if (fq->q.flags & INET_FRAG_COMPLETE) { in nf_ct_frag6_queue()
219 if (end < fq->q.len || in nf_ct_frag6_queue()
220 ((fq->q.flags & INET_FRAG_LAST_IN) && end != fq->q.len)) { in nf_ct_frag6_queue()
224 fq->q.flags |= INET_FRAG_LAST_IN; in nf_ct_frag6_queue()
[all …]
/net/ieee802154/6lowpan/
Dreassembly.c37 static int lowpan_frag_reasm(struct lowpan_frag_queue *fq,
43 struct lowpan_frag_queue *fq; in lowpan_frag_init() local
45 fq = container_of(q, struct lowpan_frag_queue, q); in lowpan_frag_init()
54 struct frag_queue *fq; in lowpan_frag_expire() local
57 fq = container_of(frag, struct frag_queue, q); in lowpan_frag_expire()
58 net = container_of(fq->q.net, struct net, ieee802154_lowpan.frags); in lowpan_frag_expire()
60 spin_lock(&fq->q.lock); in lowpan_frag_expire()
62 if (fq->q.flags & INET_FRAG_COMPLETE) in lowpan_frag_expire()
65 inet_frag_kill(&fq->q); in lowpan_frag_expire()
67 spin_unlock(&fq->q.lock); in lowpan_frag_expire()
[all …]
/net/ipv6/
Dreassembly.c72 static int ip6_frag_reasm(struct frag_queue *fq, struct sk_buff *skb,
78 struct frag_queue *fq; in ip6_frag_expire() local
81 fq = container_of(frag, struct frag_queue, q); in ip6_frag_expire()
82 net = container_of(fq->q.net, struct net, ipv6.frags); in ip6_frag_expire()
84 ip6frag_expire_frag_queue(net, fq); in ip6_frag_expire()
110 static int ip6_frag_queue(struct frag_queue *fq, struct sk_buff *skb, in ip6_frag_queue() argument
121 if (fq->q.flags & INET_FRAG_COMPLETE) in ip6_frag_queue()
151 if (end < fq->q.len || in ip6_frag_queue()
152 ((fq->q.flags & INET_FRAG_LAST_IN) && end != fq->q.len)) in ip6_frag_queue()
154 fq->q.flags |= INET_FRAG_LAST_IN; in ip6_frag_queue()
[all …]
/net/ipv4/
Dinet_fragment.c128 struct inet_frag_queue *fq = ptr; in inet_frags_free_cb() local
134 if (!del_timer(&fq->timer)) in inet_frags_free_cb()
137 spin_lock_bh(&fq->lock); in inet_frags_free_cb()
138 if (!(fq->flags & INET_FRAG_COMPLETE)) { in inet_frags_free_cb()
139 fq->flags |= INET_FRAG_COMPLETE; in inet_frags_free_cb()
140 refcount_dec(&fq->refcnt); in inet_frags_free_cb()
142 spin_unlock_bh(&fq->lock); in inet_frags_free_cb()
144 inet_frag_put(fq); in inet_frags_free_cb()
155 void inet_frag_kill(struct inet_frag_queue *fq) in inet_frag_kill() argument
157 if (del_timer(&fq->timer)) in inet_frag_kill()
[all …]
Dip_fragment.c716 const struct inet_frag_queue *fq = data; in ip4_obj_hashfn() local
718 return jhash2((const u32 *)&fq->key.v4, in ip4_obj_hashfn()
725 const struct inet_frag_queue *fq = ptr; in ip4_obj_cmpfn() local
727 return !!memcmp(&fq->key, key, sizeof(*key)); in ip4_obj_cmpfn()
DKconfig677 signal. It requires the fq ("Fair Queue") pacing packet scheduler.
/net/mac80211/
Ddebugfs.c80 struct fq *fq = &local->fq; in aqm_read() local
84 spin_lock_bh(&local->fq.lock); in aqm_read()
98 fq->flows_cnt, in aqm_read()
99 fq->backlog, in aqm_read()
100 fq->overmemory, in aqm_read()
101 fq->overlimit, in aqm_read()
102 fq->collisions, in aqm_read()
103 fq->memory_usage, in aqm_read()
104 fq->memory_limit, in aqm_read()
105 fq->limit, in aqm_read()
[all …]
Dtx.c1298 struct fq *fq; in codel_dequeue_func() local
1303 fq = &local->fq; in codel_dequeue_func()
1308 flow = &fq->flows[cvars - local->cvars]; in codel_dequeue_func()
1310 return fq_flow_dequeue(fq, flow); in codel_dequeue_func()
1327 static struct sk_buff *fq_tin_dequeue_func(struct fq *fq, in fq_tin_dequeue_func() argument
1337 local = container_of(fq, struct ieee80211_local, fq); in fq_tin_dequeue_func()
1352 cvars = &local->cvars[flow - fq->flows]; in fq_tin_dequeue_func()
1365 static void fq_skb_free_func(struct fq *fq, in fq_skb_free_func() argument
1372 local = container_of(fq, struct ieee80211_local, fq); in fq_skb_free_func()
1376 static struct fq_flow *fq_flow_get_default_func(struct fq *fq, in fq_flow_get_default_func() argument
[all …]
Dagg-tx.c197 struct fq *fq; in ieee80211_agg_stop_txq() local
205 fq = &sdata->local->fq; in ieee80211_agg_stop_txq()
208 spin_lock_bh(&fq->lock); in ieee80211_agg_stop_txq()
210 spin_unlock_bh(&fq->lock); in ieee80211_agg_stop_txq()
Diface.c798 struct fq *fq = &local->fq; in ieee80211_do_stop() local
1027 spin_lock_bh(&fq->lock); in ieee80211_do_stop()
1029 spin_unlock_bh(&fq->lock); in ieee80211_do_stop()
Ddebugfs_sta.c152 spin_lock_bh(&local->fq.lock); in sta_aqm_read()
183 spin_unlock_bh(&local->fq.lock); in sta_aqm_read()
Dsta_info.c93 struct fq *fq = &local->fq; in __cleanup_single_sta() local
118 spin_lock_bh(&fq->lock); in __cleanup_single_sta()
120 spin_unlock_bh(&fq->lock); in __cleanup_single_sta()
Ddebugfs_netdev.c501 spin_lock_bh(&local->fq.lock); in ieee80211_if_fmt_aqm()
520 spin_unlock_bh(&local->fq.lock); in ieee80211_if_fmt_aqm()
Dieee80211_i.h1120 struct fq fq; member
/net/sched/
DKconfig394 default "fq" if DEFAULT_FQ