Home
last modified time | relevance | path

Searched refs:prio (Results 1 – 25 of 33) sorted by relevance

12

/net/sched/
Dsch_prio.c97 int prio; in prio_peek() local
99 for (prio = 0; prio < q->bands; prio++) { in prio_peek()
100 struct Qdisc *qdisc = q->queues[prio]; in prio_peek()
111 int prio; in prio_dequeue() local
113 for (prio = 0; prio < q->bands; prio++) { in prio_dequeue()
114 struct Qdisc *qdisc = q->queues[prio]; in prio_dequeue()
129 int prio; in prio_drop() local
133 for (prio = q->bands-1; prio >= 0; prio--) { in prio_drop()
134 qdisc = q->queues[prio]; in prio_drop()
147 int prio; in prio_reset() local
[all …]
Dsch_htb.c90 int prio; /* these two are used only by leaves... */ member
251 struct htb_class *cl, int prio) in htb_add_to_id_tree() argument
258 c = rb_entry(parent, struct htb_class, node[prio]); in htb_add_to_id_tree()
265 rb_link_node(&cl->node[prio], parent, p); in htb_add_to_id_tree()
266 rb_insert_color(&cl->node[prio], root); in htb_add_to_id_tree()
324 int prio = ffz(~mask); in htb_add_class_to_row() local
325 mask &= ~(1 << prio); in htb_add_class_to_row()
326 htb_add_to_id_tree(q->row[cl->level] + prio, cl, prio); in htb_add_class_to_row()
354 int prio = ffz(~mask); in htb_remove_class_from_row() local
356 mask &= ~(1 << prio); in htb_remove_class_from_row()
[all …]
Dsch_cbq.c224 u32 prio = skb->priority; in cbq_classify() local
230 if (TC_H_MAJ(prio ^ sch->handle) == 0 && in cbq_classify()
231 (cl = cbq_class_lookup(q, prio)) != NULL) in cbq_classify()
286 if (TC_H_MAJ(prio) == 0 && in cbq_classify()
287 !(cl = head->defaults[prio & TC_PRIO_MAX]) && in cbq_classify()
303 int prio = cl->cpriority; in cbq_activate_class() local
306 cl_tail = q->active[prio]; in cbq_activate_class()
307 q->active[prio] = cl; in cbq_activate_class()
314 q->activemask |= (1<<prio); in cbq_activate_class()
327 int prio = this->cpriority; in cbq_deactivate_class() local
[all …]
Dsch_gred.c41 u8 prio; /* the prio of this vq */ member
106 if (table->tab[n] && table->tab[n]->prio == q->prio) in gred_wred_mode_check()
184 if (t->tab[i] && t->tab[i]->prio < q->prio && in gred_enqueue()
384 struct tc_gred_qopt *ctl, int prio, in gred_change_vq() argument
399 q->prio = prio; in gred_change_vq()
424 int err, prio = GRED_DEF_PRIO; in gred_change() local
453 if (ctl->prio == 0) { in gred_change()
457 def_prio = table->tab[table->def]->prio; in gred_change()
462 prio = def_prio; in gred_change()
464 prio = ctl->prio; in gred_change()
[all …]
Dcls_api.c113 first = tp->prio - 1; in tcf_auto_prio()
127 u32 prio; in tc_ctl_tfilter() local
151 prio = TC_H_MAJ(t->tcm_info); in tc_ctl_tfilter()
152 nprio = prio; in tc_ctl_tfilter()
156 if (prio == 0) { in tc_ctl_tfilter()
161 prio = TC_H_MAKE(0x80000000U, 0U); in tc_ctl_tfilter()
204 if (tp->prio >= prio) { in tc_ctl_tfilter()
205 if (tp->prio == prio) { in tc_ctl_tfilter()
265 tp->prio = nprio ? : TC_H_MAJ(tcf_auto_prio(*back)); in tc_ctl_tfilter()
363 tcm->tcm_info = TC_H_MAKE(tp->prio, tp->protocol); in tcf_fill_node()
[all …]
Dsch_generic.c480 int prio; in pfifo_fast_reset() local
483 for (prio = 0; prio < PFIFO_FAST_BANDS; prio++) in pfifo_fast_reset()
484 __qdisc_reset_queue(qdisc, band2list(priv, prio)); in pfifo_fast_reset()
506 int prio; in pfifo_fast_init() local
509 for (prio = 0; prio < PFIFO_FAST_BANDS; prio++) in pfifo_fast_init()
510 skb_queue_head_init(band2list(priv, prio)); in pfifo_fast_init()
Dcls_u32.c68 u32 prio; member
320 root_ht->prio = tp->prio; in u32_init()
596 ht->prio = tp->prio; in u32_change()
693 if (ht->prio != tp->prio) in u32_walk()
/net/core/
Dnetprio_cgroup.c114 u32 prio) in netprio_set_prio() argument
121 if (!prio && (!map || map->priomap_len <= cgrp->id)) in netprio_set_prio()
129 map->priomap[cgrp->id] = prio; in netprio_set_prio()
159 u32 prio = netprio_prio(parent, dev); in cgrp_css_online() local
161 ret = netprio_set_prio(cgrp, dev, prio); in cgrp_css_online()
196 u32 prio; in write_priomap() local
199 if (sscanf(buffer, "%"__stringify(IFNAMSIZ)"s %u", devname, &prio) != 2) in write_priomap()
208 ret = netprio_set_prio(cgrp, dev, prio); in write_priomap()
/net/bridge/
Dbr_stp_bpdu.c89 buf[5] = bpdu->root.prio[0]; in br_send_config_bpdu()
90 buf[6] = bpdu->root.prio[1]; in br_send_config_bpdu()
101 buf[17] = bpdu->bridge_id.prio[0]; in br_send_config_bpdu()
102 buf[18] = bpdu->bridge_id.prio[1]; in br_send_config_bpdu()
194 bpdu.root.prio[0] = buf[2]; in br_stp_rcv()
195 bpdu.root.prio[1] = buf[3]; in br_stp_rcv()
207 bpdu.bridge_id.prio[0] = buf[14]; in br_stp_rcv()
208 bpdu.bridge_id.prio[1] = buf[15]; in br_stp_rcv()
Dbr_stp_if.c247 p->designated_bridge.prio[0] = (newprio >> 8) & 0xFF; in br_stp_set_bridge_priority()
248 p->designated_bridge.prio[1] = newprio & 0xFF; in br_stp_set_bridge_priority()
253 br->bridge_id.prio[0] = (newprio >> 8) & 0xFF; in br_stp_set_bridge_priority()
254 br->bridge_id.prio[1] = newprio & 0xFF; in br_stp_set_bridge_priority()
301 id->prio[0], id->prio[1], in br_show_bridge_id()
Dbr_stp_timer.c60 id->prio[0], id->prio[1], &id->addr); in br_message_age_timer_expired()
Dbr_device.c362 br->bridge_id.prio[0] = 0x80; in br_dev_setup()
363 br->bridge_id.prio[1] = 0x00; in br_dev_setup()
Dbr_sysfs_br.c191 (br->bridge_id.prio[0] << 8) | br->bridge_id.prio[1]); in show_priority()
/net/bridge/netfilter/
Debt_vlan.c45 unsigned char prio; /* user_priority, given from frame TCI */ in ebt_vlan_mt() local
72 prio = (TCI >> 13) & 0x7; in ebt_vlan_mt()
80 EXIT_ON_MISMATCH(prio, EBT_VLAN_PRIO); in ebt_vlan_mt()
139 if ((unsigned char) info->prio > 7) { in ebt_vlan_mt_check()
141 info->prio); in ebt_vlan_mt_check()
/net/dcb/
Ddcbnl.c562 u8 prio, pgid, tc_pct, up_map; in __dcbnl_pg_getcfg() local
606 prio = DCB_ATTR_VALUE_UNDEFINED; in __dcbnl_pg_getcfg()
613 i - DCB_PG_ATTR_TC_0, &prio, in __dcbnl_pg_getcfg()
618 i - DCB_PG_ATTR_TC_0, &prio, in __dcbnl_pg_getcfg()
639 DCB_TC_ATTR_PARAM_STRICT_PRIO, prio); in __dcbnl_pg_getcfg()
778 u8 prio; in __dcbnl_pg_setcfg() local
805 prio = DCB_ATTR_VALUE_UNDEFINED; in __dcbnl_pg_setcfg()
810 prio = in __dcbnl_pg_setcfg()
828 prio, pgid, tc_pct, up_map); in __dcbnl_pg_setcfg()
833 prio, pgid, tc_pct, up_map); in __dcbnl_pg_setcfg()
[all …]
/net/ipv4/
Dip_vti.c117 int prio = 0; in __vti_bucket() local
120 prio |= 2; in __vti_bucket()
124 prio |= 1; in __vti_bucket()
127 return &ipn->tunnels[prio][h]; in __vti_bucket()
635 int prio; in vti_destroy_tunnels() local
637 for (prio = 1; prio < 4; prio++) { in vti_destroy_tunnels()
642 t = rtnl_dereference(ipn->tunnels[prio][h]); in vti_destroy_tunnels()
Dfib_lookup.h38 u8 tos, u32 prio);
/net/ipv6/
Dsit.c132 int prio = 0; in __ipip6_bucket() local
135 prio |= 2; in __ipip6_bucket()
139 prio |= 1; in __ipip6_bucket()
142 return &sitn->tunnels[prio][h]; in __ipip6_bucket()
1476 int prio; in sit_destroy_tunnels() local
1478 for (prio = 1; prio < 4; prio++) { in sit_destroy_tunnels()
1483 t = rtnl_dereference(sitn->tunnels[prio][h]); in sit_destroy_tunnels()
Dip6_gre.c244 int prio = 0; in __ip6gre_bucket() local
247 prio |= 1; in __ip6gre_bucket()
249 prio |= 2; in __ip6gre_bucket()
253 return &ign->tunnels[prio][h]; in __ip6gre_bucket()
1301 int prio; in ip6gre_destroy_tunnels() local
1303 for (prio = 0; prio < 4; prio++) { in ip6gre_destroy_tunnels()
1308 t = rtnl_dereference(ign->tunnels[prio][h]); in ip6gre_destroy_tunnels()
/net/caif/
Dcfpkt_skbuff.c399 void cfpkt_set_prio(struct cfpkt *pkt, int prio) in cfpkt_set_prio() argument
401 pkt_to_skb(pkt)->priority = prio; in cfpkt_set_prio()
Dcfctrl.c378 u8 prio; in cfctrl_recv() local
396 prio = tmp >> 3; in cfctrl_recv()
398 linkparam.priority = prio; in cfctrl_recv()
/net/bluetooth/rfcomm/
Dsock.c266 static struct sock *rfcomm_sock_alloc(struct net *net, struct socket *sock, int proto, gfp_t prio) in rfcomm_sock_alloc() argument
271 sk = sk_alloc(net, PF_BLUETOOTH, prio, &rfcomm_proto); in rfcomm_sock_alloc()
278 d = rfcomm_dlc_alloc(prio); in rfcomm_sock_alloc()
/net/dccp/
Doutput.c669 const gfp_t prio = active ? GFP_KERNEL : GFP_ATOMIC; in dccp_send_close() local
671 skb = alloc_skb(sk->sk_prot->max_header, prio); in dccp_send_close()
/net/bluetooth/
Dl2cap_sock.c44 int proto, gfp_t prio);
1199 int proto, gfp_t prio) in l2cap_sock_alloc() argument
1204 sk = sk_alloc(net, PF_BLUETOOTH, prio, &l2cap_proto); in l2cap_sock_alloc()
Dsco.c404 static struct sock *sco_sock_alloc(struct net *net, struct socket *sock, int proto, gfp_t prio) in sco_sock_alloc() argument
408 sk = sk_alloc(net, PF_BLUETOOTH, prio, &sco_proto); in sco_sock_alloc()

12