Home
last modified time | relevance | path

Searched defs:q (Results 1 – 25 of 72) sorted by relevance

123

/net/sched/
Dsch_red.c49 static inline int red_use_ecn(struct red_sched_data *q) in red_use_ecn()
54 static inline int red_use_harddrop(struct red_sched_data *q) in red_use_harddrop()
62 struct red_sched_data *q = qdisc_priv(sch); in red_enqueue() local
117 struct red_sched_data *q = qdisc_priv(sch); in red_dequeue() local
134 struct red_sched_data *q = qdisc_priv(sch); in red_peek() local
142 struct red_sched_data *q = qdisc_priv(sch); in red_reset() local
152 struct red_sched_data *q = qdisc_priv(sch); in red_destroy() local
166 struct red_sched_data *q = qdisc_priv(sch); in red_change() local
230 struct red_sched_data *q = qdisc_priv(sch); in red_adaptative_timer() local
241 struct red_sched_data *q = qdisc_priv(sch); in red_init() local
[all …]
Dsch_prio.c37 struct prio_sched_data *q = qdisc_priv(sch); in prio_classify() local
101 struct prio_sched_data *q = qdisc_priv(sch); in prio_peek() local
115 struct prio_sched_data *q = qdisc_priv(sch); in prio_dequeue() local
136 struct prio_sched_data *q = qdisc_priv(sch); in prio_reset() local
148 struct prio_sched_data *q = qdisc_priv(sch); in prio_destroy() local
157 struct prio_sched_data *q = qdisc_priv(sch); in prio_tune() local
209 struct prio_sched_data *q = qdisc_priv(sch); in prio_init() local
224 struct prio_sched_data *q = qdisc_priv(sch); in prio_dump() local
244 struct prio_sched_data *q = qdisc_priv(sch); in prio_graft() local
263 struct prio_sched_data *q = qdisc_priv(sch); in prio_leaf() local
[all …]
Dsch_multiq.c43 struct multiq_sched_data *q = qdisc_priv(sch); in multiq_classify() local
99 struct multiq_sched_data *q = qdisc_priv(sch); in multiq_dequeue() local
130 struct multiq_sched_data *q = qdisc_priv(sch); in multiq_peek() local
161 struct multiq_sched_data *q = qdisc_priv(sch); in multiq_reset() local
173 struct multiq_sched_data *q = qdisc_priv(sch); in multiq_destroy() local
184 struct multiq_sched_data *q = qdisc_priv(sch); in multiq_tune() local
240 struct multiq_sched_data *q = qdisc_priv(sch); in multiq_init() local
265 struct multiq_sched_data *q = qdisc_priv(sch); in multiq_dump() local
285 struct multiq_sched_data *q = qdisc_priv(sch); in multiq_graft() local
298 struct multiq_sched_data *q = qdisc_priv(sch); in multiq_leaf() local
[all …]
Dsch_choke.c80 static unsigned int choke_len(const struct choke_sched_data *q) in choke_len()
86 static int use_ecn(const struct choke_sched_data *q) in use_ecn()
92 static int use_harddrop(const struct choke_sched_data *q) in use_harddrop()
98 static void choke_zap_head_holes(struct choke_sched_data *q) in choke_zap_head_holes()
108 static void choke_zap_tail_holes(struct choke_sched_data *q) in choke_zap_tail_holes()
121 struct choke_sched_data *q = qdisc_priv(sch); in choke_drop_by_idx() local
190 static struct sk_buff *choke_peek_random(const struct choke_sched_data *q, in choke_peek_random()
210 static bool choke_match_random(const struct choke_sched_data *q, in choke_match_random()
226 struct choke_sched_data *q = qdisc_priv(sch); in choke_enqueue() local
296 struct choke_sched_data *q = qdisc_priv(sch); in choke_dequeue() local
[all …]
Dsch_cbq.c108 struct Qdisc *q; /* Elementary queueing discipline */ member
171 cbq_class_lookup(struct cbq_sched_data *q, u32 classid) in cbq_class_lookup()
212 struct cbq_sched_data *q = qdisc_priv(sch); in cbq_classify() local
297 struct cbq_sched_data *q = qdisc_priv(cl->qdisc); in cbq_activate_class() local
321 struct cbq_sched_data *q = qdisc_priv(this->qdisc); in cbq_deactivate_class() local
346 cbq_mark_toplevel(struct cbq_sched_data *q, struct cbq_class *cl) in cbq_mark_toplevel()
366 struct cbq_sched_data *q = qdisc_priv(sch); in cbq_enqueue() local
400 struct cbq_sched_data *q = qdisc_priv(cl->qdisc); in cbq_overlimit() local
448 static psched_tdiff_t cbq_undelay_prio(struct cbq_sched_data *q, int prio, in cbq_undelay_prio()
485 struct cbq_sched_data *q = container_of(timer, struct cbq_sched_data, in cbq_undelay() local
[all …]
Dsch_sfb.c127 static void increment_one_qlen(u32 sfbhash, u32 slot, struct sfb_sched_data *q) in increment_one_qlen()
142 static void increment_qlen(const struct sk_buff *skb, struct sfb_sched_data *q) in increment_qlen()
156 struct sfb_sched_data *q) in decrement_one_qlen()
171 static void decrement_qlen(const struct sk_buff *skb, struct sfb_sched_data *q) in decrement_qlen()
184 static void decrement_prob(struct sfb_bucket *b, struct sfb_sched_data *q) in decrement_prob()
189 static void increment_prob(struct sfb_bucket *b, struct sfb_sched_data *q) in increment_prob()
194 static void sfb_zero_all_buckets(struct sfb_sched_data *q) in sfb_zero_all_buckets()
202 static u32 sfb_compute_qlen(u32 *prob_r, u32 *avgpm_r, const struct sfb_sched_data *q) in sfb_compute_qlen()
222 static void sfb_init_perturbation(u32 slot, struct sfb_sched_data *q) in sfb_init_perturbation()
228 static void sfb_swap_slot(struct sfb_sched_data *q) in sfb_swap_slot()
[all …]
Dsch_qfq.c211 struct qfq_sched *q = qdisc_priv(sch); in qfq_find_class() local
265 static void qfq_init_agg(struct qfq_sched *q, struct qfq_aggregate *agg, in qfq_init_agg()
275 static struct qfq_aggregate *qfq_find_agg(struct qfq_sched *q, in qfq_find_agg()
289 static void qfq_update_agg(struct qfq_sched *q, struct qfq_aggregate *agg, in qfq_update_agg()
323 static void qfq_add_to_agg(struct qfq_sched *q, in qfq_add_to_agg()
340 static void qfq_destroy_agg(struct qfq_sched *q, struct qfq_aggregate *agg) in qfq_destroy_agg()
353 static void qfq_deactivate_class(struct qfq_sched *q, struct qfq_class *cl) in qfq_deactivate_class()
364 static void qfq_rm_from_agg(struct qfq_sched *q, struct qfq_class *cl) in qfq_rm_from_agg()
377 static void qfq_deact_rm_from_agg(struct qfq_sched *q, struct qfq_class *cl) in qfq_deact_rm_from_agg()
389 struct qfq_sched *q = qdisc_priv(sch); in qfq_change_agg() local
[all …]
Dsch_sfq.c153 static inline struct sfq_head *sfq_dep_head(struct sfq_sched_data *q, sfq_index val) in sfq_dep_head()
160 static unsigned int sfq_hash(const struct sfq_sched_data *q, in sfq_hash()
169 struct sfq_sched_data *q = qdisc_priv(sch); in sfq_classify() local
205 static inline void sfq_link(struct sfq_sched_data *q, sfq_index x) in sfq_link()
221 #define sfq_unlink(q, x, n, p) \ argument
230 static inline void sfq_dec(struct sfq_sched_data *q, sfq_index x) in sfq_dec()
243 static inline void sfq_inc(struct sfq_sched_data *q, sfq_index x) in sfq_inc()
297 struct sfq_sched_data *q = qdisc_priv(sch); in sfq_drop() local
331 static int sfq_prob_mark(const struct sfq_sched_data *q) in sfq_prob_mark()
337 static int sfq_hard_mark(const struct sfq_sched_data *q) in sfq_hard_mark()
[all …]
Dsch_tbf.c151 struct tbf_sched_data *q = qdisc_priv(sch); in tbf_segment() local
187 struct tbf_sched_data *q = qdisc_priv(sch); in tbf_enqueue() local
207 static bool tbf_peak_present(const struct tbf_sched_data *q) in tbf_peak_present()
214 struct tbf_sched_data *q = qdisc_priv(sch); in tbf_dequeue() local
274 struct tbf_sched_data *q = qdisc_priv(sch); in tbf_reset() local
298 struct tbf_sched_data *q = qdisc_priv(sch); in tbf_change() local
417 struct tbf_sched_data *q = qdisc_priv(sch); in tbf_init() local
432 struct tbf_sched_data *q = qdisc_priv(sch); in tbf_destroy() local
440 struct tbf_sched_data *q = qdisc_priv(sch); in tbf_dump() local
479 struct tbf_sched_data *q = qdisc_priv(sch); in tbf_dump_class() local
[all …]
Dsch_netem.c191 static bool loss_4state(struct netem_sched_data *q) in loss_4state()
256 static bool loss_gilb_ell(struct netem_sched_data *q) in loss_gilb_ell()
277 static bool loss_event(struct netem_sched_data *q) in loss_event()
336 static psched_time_t packet_len_2_sched_time(unsigned int len, struct netem_sched_data *q) in packet_len_2_sched_time()
358 struct netem_sched_data *q = qdisc_priv(sch); in tfifo_reset() local
371 struct netem_sched_data *q = qdisc_priv(sch); in tfifo_enqueue() local
429 struct netem_sched_data *q = qdisc_priv(sch); in netem_enqueue() local
614 struct netem_sched_data *q = qdisc_priv(sch); in netem_dequeue() local
692 struct netem_sched_data *q = qdisc_priv(sch); in netem_reset() local
712 struct netem_sched_data *q = qdisc_priv(sch); in get_dist_table() local
[all …]
Dsch_fq_codel.c76 static unsigned int fq_codel_hash(const struct fq_codel_sched_data *q, in fq_codel_hash()
85 struct fq_codel_sched_data *q = qdisc_priv(sch); in fq_codel_classify() local
145 struct fq_codel_sched_data *q = qdisc_priv(sch); in fq_codel_drop() local
191 struct fq_codel_sched_data *q = qdisc_priv(sch); in fq_codel_enqueue() local
263 struct fq_codel_sched_data *q = qdisc_priv(sch); in dequeue_func() local
288 struct fq_codel_sched_data *q = qdisc_priv(sch); in fq_codel_dequeue() local
349 struct fq_codel_sched_data *q = qdisc_priv(sch); in fq_codel_reset() local
381 struct fq_codel_sched_data *q = qdisc_priv(sch); in fq_codel_change() local
453 struct fq_codel_sched_data *q = qdisc_priv(sch); in fq_codel_destroy() local
462 struct fq_codel_sched_data *q = qdisc_priv(sch); in fq_codel_init() local
[all …]
Dsch_codel.c91 struct codel_sched_data *q = qdisc_priv(sch); in codel_qdisc_dequeue() local
114 struct codel_sched_data *q; in codel_qdisc_enqueue() local
135 struct codel_sched_data *q = qdisc_priv(sch); in codel_change() local
189 struct codel_sched_data *q = qdisc_priv(sch); in codel_init() local
215 struct codel_sched_data *q = qdisc_priv(sch); in codel_dump() local
244 const struct codel_sched_data *q = qdisc_priv(sch); in codel_dump_stats() local
270 struct codel_sched_data *q = qdisc_priv(sch); in codel_reset() local
Dsch_pie.c100 struct pie_sched_data *q = qdisc_priv(sch); in drop_early() local
140 struct pie_sched_data *q = qdisc_priv(sch); in pie_qdisc_enqueue() local
185 struct pie_sched_data *q = qdisc_priv(sch); in pie_change() local
249 struct pie_sched_data *q = qdisc_priv(sch); in pie_process_dequeue() local
314 struct pie_sched_data *q = qdisc_priv(sch); in calculate_probability() local
428 struct pie_sched_data *q = qdisc_priv(sch); in pie_timer() local
443 struct pie_sched_data *q = qdisc_priv(sch); in pie_init() local
464 struct pie_sched_data *q = qdisc_priv(sch); in pie_dump() local
493 struct pie_sched_data *q = qdisc_priv(sch); in pie_dump_stats() local
525 struct pie_sched_data *q = qdisc_priv(sch); in pie_reset() local
[all …]
Dsch_gred.c99 struct gred_sched_data *q = table->tab[i]; in gred_wred_mode_check() local
114 struct gred_sched_data *q, in gred_backlog()
129 struct gred_sched_data *q) in gred_load_wred_set()
136 struct gred_sched_data *q) in gred_store_wred_set()
155 struct gred_sched_data *q = NULL; in gred_enqueue() local
256 struct gred_sched_data *q; in gred_dequeue() local
288 struct gred_sched_data *q = t->tab[i]; in gred_reset() local
298 static inline void gred_destroy_vq(struct gred_sched_data *q) in gred_destroy_vq()
357 struct gred_sched_data *q = table->tab[dp]; in gred_change_vq() local
512 struct gred_sched_data *q = table->tab[i]; in gred_dump() local
[all …]
Dsch_htb.c131 struct Qdisc *q; member
186 struct htb_sched *q = qdisc_priv(sch); in htb_find() local
216 struct htb_sched *q = qdisc_priv(sch); in htb_classify() local
303 static void htb_add_to_wait_tree(struct htb_sched *q, in htb_add_to_wait_tree()
346 static inline void htb_add_class_to_row(struct htb_sched *q, in htb_add_class_to_row()
375 static inline void htb_remove_class_from_row(struct htb_sched *q, in htb_remove_class_from_row()
403 static void htb_activate_prios(struct htb_sched *q, struct htb_class *cl) in htb_activate_prios()
438 static void htb_deactivate_prios(struct htb_sched *q, struct htb_class *cl) in htb_deactivate_prios()
529 htb_change_class_mode(struct htb_sched *q, struct htb_class *cl, s64 *diff) in htb_change_class_mode()
553 static inline void htb_activate(struct htb_sched *q, struct htb_class *cl) in htb_activate()
[all …]
Dsch_drr.c44 struct drr_sched *q = qdisc_priv(sch); in drr_find_class() local
69 struct drr_sched *q = qdisc_priv(sch); in drr_change_class() local
153 struct drr_sched *q = qdisc_priv(sch); in drr_delete_class() local
177 struct drr_sched *q = qdisc_priv(sch); in drr_tcf_block() local
277 struct drr_sched *q = qdisc_priv(sch); in drr_walk() local
302 struct drr_sched *q = qdisc_priv(sch); in drr_classify() local
339 struct drr_sched *q = qdisc_priv(sch); in drr_enqueue() local
372 struct drr_sched *q = qdisc_priv(sch); in drr_dequeue() local
412 struct drr_sched *q = qdisc_priv(sch); in drr_init_qdisc() local
427 struct drr_sched *q = qdisc_priv(sch); in drr_reset_qdisc() local
[all …]
Dsch_teql.c70 struct sk_buff_head q; member
73 #define NEXT_SLAVE(q) (((struct teql_sched_data *)qdisc_priv(q))->next) argument
83 struct teql_sched_data *q = qdisc_priv(sch); in teql_enqueue() local
99 struct Qdisc *q; in teql_dequeue() local
137 struct Qdisc *q, *prev; in teql_destroy() local
174 struct teql_sched_data *q = qdisc_priv(sch); in teql_qdisc_init() local
281 struct Qdisc *start, *q; in teql_master_xmit() local
358 struct Qdisc *q; in teql_master_open() local
418 struct Qdisc *q; in teql_master_mtu() local
Dsch_ingress.c51 struct ingress_sched_data *q = qdisc_priv(sch); in ingress_tcf_block() local
58 struct ingress_sched_data *q = qdisc_priv(sch); in ingress_init() local
75 struct ingress_sched_data *q = qdisc_priv(sch); in ingress_destroy() local
139 struct clsact_sched_data *q = qdisc_priv(sch); in clsact_tcf_block() local
153 struct clsact_sched_data *q = qdisc_priv(sch); in clsact_init() local
175 struct clsact_sched_data *q = qdisc_priv(sch); in clsact_destroy() local
Dsch_api.c135 struct Qdisc_ops *q, **qp; in register_qdisc() local
179 struct Qdisc_ops *q, **qp; in unregister_qdisc() local
206 struct Qdisc_ops *q = NULL; in qdisc_lookup_default() local
264 struct Qdisc *q; in qdisc_match_from_root() local
280 void qdisc_hash_add(struct Qdisc *q, bool invisible) in qdisc_hash_add()
291 void qdisc_hash_del(struct Qdisc *q) in qdisc_hash_del()
302 struct Qdisc *q; in qdisc_lookup() local
338 struct Qdisc_ops *q = NULL; in qdisc_lookup_ops() local
772 static int tc_fill_qdisc(struct sk_buff *skb, struct Qdisc *q, u32 clid, in tc_fill_qdisc()
836 static bool tc_qdisc_dump_ignore(struct Qdisc *q, bool dump_invisible) in tc_qdisc_dump_ignore()
[all …]
Dsch_fq.c146 static void fq_flow_unset_throttled(struct fq_sched_data *q, struct fq_flow *f) in fq_flow_unset_throttled()
153 static void fq_flow_set_throttled(struct fq_sched_data *q, struct fq_flow *f) in fq_flow_set_throttled()
191 static void fq_gc(struct fq_sched_data *q, in fq_gc()
231 static struct fq_flow *fq_classify(struct sk_buff *skb, struct fq_sched_data *q) in fq_classify()
391 struct fq_sched_data *q = qdisc_priv(sch); in fq_enqueue() local
433 static void fq_check_throttled(struct fq_sched_data *q, u64 now) in fq_check_throttled()
462 struct fq_sched_data *q = qdisc_priv(sch); in fq_dequeue() local
570 struct fq_sched_data *q = qdisc_priv(sch); in fq_reset() local
603 static void fq_rehash(struct fq_sched_data *q, in fq_rehash()
655 struct fq_sched_data *q = qdisc_priv(sch); in fq_resize() local
[all …]
Dsch_plug.c94 struct plug_sched_data *q = qdisc_priv(sch); in plug_enqueue() local
107 struct plug_sched_data *q = qdisc_priv(sch); in plug_dequeue() local
128 struct plug_sched_data *q = qdisc_priv(sch); in plug_init() local
163 struct plug_sched_data *q = qdisc_priv(sch); in plug_change() local
Dsch_hhf.c181 struct hhf_sched_data *q) in seek_list()
212 struct hhf_sched_data *q) in alloc_new_hh()
248 struct hhf_sched_data *q = qdisc_priv(sch); in hhf_classify() local
350 struct hhf_sched_data *q = qdisc_priv(sch); in hhf_drop() local
373 struct hhf_sched_data *q = qdisc_priv(sch); in hhf_enqueue() local
419 struct hhf_sched_data *q = qdisc_priv(sch); in hhf_dequeue() local
473 struct hhf_sched_data *q = qdisc_priv(sch); in hhf_destroy() local
509 struct hhf_sched_data *q = qdisc_priv(sch); in hhf_change() local
576 struct hhf_sched_data *q = qdisc_priv(sch); in hhf_init() local
651 struct hhf_sched_data *q = qdisc_priv(sch); in hhf_dump() local
[all …]
/net/sctp/
Doutqueue.c74 static inline void sctp_outq_head_data(struct sctp_outq *q, in sctp_outq_head_data()
82 static inline struct sctp_chunk *sctp_outq_dequeue_data(struct sctp_outq *q) in sctp_outq_dequeue_data()
96 static inline void sctp_outq_tail_data(struct sctp_outq *q, in sctp_outq_tail_data()
200 void sctp_outq_init(struct sctp_association *asoc, struct sctp_outq *q) in sctp_outq_init()
214 static void __sctp_outq_teardown(struct sctp_outq *q) in __sctp_outq_teardown()
274 void sctp_outq_teardown(struct sctp_outq *q) in sctp_outq_teardown()
281 void sctp_outq_free(struct sctp_outq *q) in sctp_outq_free()
288 void sctp_outq_tail(struct sctp_outq *q, struct sctp_chunk *chunk, gfp_t gfp) in sctp_outq_tail()
392 struct sctp_outq *q = &asoc->outqueue; in sctp_prsctp_prune_unsent() local
450 void sctp_retransmit_mark(struct sctp_outq *q, in sctp_retransmit_mark()
[all …]
/net/ipv4/
Dinet_fragment.c57 static void fragrun_append_to_last(struct inet_frag_queue *q, in fragrun_append_to_last()
68 static void fragrun_create(struct inet_frag_queue *q, struct sk_buff *skb) in fragrun_create()
172 struct inet_frag_queue *q = container_of(head, struct inet_frag_queue, in inet_frag_destroy_rcu() local
203 void inet_frag_destroy(struct inet_frag_queue *q) in inet_frag_destroy()
240 struct inet_frag_queue *q; in inet_frag_alloc() local
265 struct inet_frag_queue *q; in inet_frag_create() local
306 int inet_frag_queue_insert(struct inet_frag_queue *q, struct sk_buff *skb, in inet_frag_queue_insert()
370 void *inet_frag_reasm_prepare(struct inet_frag_queue *q, struct sk_buff *skb, in inet_frag_reasm_prepare()
439 void inet_frag_reasm_finish(struct inet_frag_queue *q, struct sk_buff *head, in inet_frag_reasm_finish()
490 struct sk_buff *inet_frag_pull_head(struct inet_frag_queue *q) in inet_frag_pull_head()
/net/netfilter/
Dxt_quota.c28 struct xt_quota_info *q = (void *)par->matchinfo; in quota_mt() local
47 struct xt_quota_info *q = par->matchinfo; in quota_mt_check() local
63 const struct xt_quota_info *q = par->matchinfo; in quota_mt_destroy() local

123