/net/bridge/netfilter/ |
H A D | ebt_vlan.c | 45 unsigned char prio; /* user_priority, given from frame TCI */ local 72 prio = (TCI >> 13) & 0x7; 80 EXIT_ON_MISMATCH(prio, EBT_VLAN_PRIO); 132 * So we just drop the prio flag. */ 139 if ((unsigned char) info->prio > 7) { 140 pr_debug("prio %d is out of range (0-7)\n", 141 info->prio);
|
/net/core/ |
H A D | netprio_cgroup.c | 108 * @prio: prio to set 110 * Set netprio to @prio on @cgrp-@dev pair. Should be called under rtnl 111 * lock and may fail under memory pressure for non-zero @prio. 114 u32 prio) 121 if (!prio && (!map || map->priomap_len <= cgrp->id)) 129 map->priomap[cgrp->id] = prio; 159 u32 prio = netprio_prio(parent, dev); local 161 ret = netprio_set_prio(cgrp, dev, prio); 196 u32 prio; local 113 netprio_set_prio(struct cgroup *cgrp, struct net_device *dev, u32 prio) argument [all...] |
H A D | pktgen.c | 2559 unsigned int prio) 2561 return htons(id | (cfi << 12) | (prio << 13)); 2558 build_tci(unsigned int id, unsigned int cfi, unsigned int prio) argument
|
/net/dccp/ |
H A D | output.c | 669 const gfp_t prio = active ? GFP_KERNEL : GFP_ATOMIC; local 671 skb = alloc_skb(sk->sk_prot->max_header, prio);
|
/net/sched/ |
H A D | cls_api.c | 106 /* Select new prio value from the range, managed by kernel. */ 113 first = tp->prio - 1; 127 u32 prio; local 151 prio = TC_H_MAJ(t->tcm_info); 152 nprio = prio; 156 if (prio == 0) { 161 prio = TC_H_MAKE(0x80000000U, 0U); 204 if (tp->prio >= prio) { 205 if (tp->prio [all...] |
H A D | sch_prio.c | 97 int prio; local 99 for (prio = 0; prio < q->bands; prio++) { 100 struct Qdisc *qdisc = q->queues[prio]; 111 int prio; local 113 for (prio = 0; prio < q->bands; prio++) { 114 struct Qdisc *qdisc = q->queues[prio]; 129 int prio; local 147 int prio; local 158 int prio; local 336 int prio; local [all...] |
H A D | cls_u32.c | 68 u32 prio; member in struct:tc_u_hnode 320 root_ht->prio = tp->prio; 596 ht->prio = tp->prio; 693 if (ht->prio != tp->prio)
|
H A D | sch_gred.c | 41 u8 prio; /* the prio of this vq */ member in struct:gred_sched_data 106 if (table->tab[n] && table->tab[n]->prio == q->prio) 184 if (t->tab[i] && t->tab[i]->prio < q->prio && 384 struct tc_gred_qopt *ctl, int prio, 399 q->prio = prio; 424 int err, prio local 383 gred_change_vq(struct Qdisc *sch, int dp, struct tc_gred_qopt *ctl, int prio, u8 *stab, u32 max_P, struct gred_sched_data **prealloc) argument [all...] |
H A D | sch_generic.c | 401 generic prio+fifo combination. 480 int prio; local 483 for (prio = 0; prio < PFIFO_FAST_BANDS; prio++) 484 __qdisc_reset_queue(qdisc, band2list(priv, prio)); 506 int prio; local 509 for (prio = 0; prio < PFIFO_FAST_BANDS; prio [all...] |
H A D | sch_cbq.c | 224 u32 prio = skb->priority; local 230 if (TC_H_MAJ(prio ^ sch->handle) == 0 && 231 (cl = cbq_class_lookup(q, prio)) != NULL) 286 if (TC_H_MAJ(prio) == 0 && 287 !(cl = head->defaults[prio & TC_PRIO_MAX]) && 303 int prio = cl->cpriority; local 306 cl_tail = q->active[prio]; 307 q->active[prio] = cl; 314 q->activemask |= (1<<prio); 327 int prio local 556 cbq_undelay_prio(struct cbq_sched_data *q, int prio, psched_time_t now) argument 606 int prio = ffz(~pmask); local 820 cbq_dequeue_prio(struct Qdisc *sch, int prio) argument 931 int prio = ffz(~activemask); local 1044 cbq_normalize_quanta(struct cbq_sched_data *q, int prio) argument 1188 int prio; local 1214 int prio; local [all...] |
H A D | sch_htb.c | 90 int prio; /* these two are used only by leaves... */ member in struct:htb_class 248 * Make sure that class is not already on such list for given prio. 251 struct htb_class *cl, int prio) 258 c = rb_entry(parent, struct htb_class, node[prio]); 265 rb_link_node(&cl->node[prio], parent, p); 266 rb_insert_color(&cl->node[prio], root); 324 int prio = ffz(~mask); local 325 mask &= ~(1 << prio); 326 htb_add_to_id_tree(q->row[cl->level] + prio, cl, prio); 250 htb_add_to_id_tree(struct rb_root *root, struct htb_class *cl, int prio) argument 354 int prio = ffz(~mask); local 382 int prio = ffz(~m); local 418 int prio = ffz(~m); local 706 htb_id_find_next_upper(int prio, struct rb_node *n, u32 id) argument 731 htb_lookup_leaf(struct rb_root *tree, int prio, struct rb_node **pptr, u32 * pid) argument 786 htb_dequeue_tree(struct htb_sched *q, int prio, int level) argument 898 int prio = ffz(m); local 926 int prio; local 1338 int prio; local [all...] |
/net/bluetooth/ |
H A D | l2cap_sock.c | 44 int proto, gfp_t prio); 1199 int proto, gfp_t prio) 1204 sk = sk_alloc(net, PF_BLUETOOTH, prio, &l2cap_proto); 1198 l2cap_sock_alloc(struct net *net, struct socket *sock, int proto, gfp_t prio) argument
|
H A D | sco.c | 404 static struct sock *sco_sock_alloc(struct net *net, struct socket *sock, int proto, gfp_t prio) argument 408 sk = sk_alloc(net, PF_BLUETOOTH, prio, &sco_proto);
|
/net/caif/ |
H A D | cfctrl.c | 378 u8 prio; local 396 prio = tmp >> 3; 398 linkparam.priority = prio;
|
H A D | cfpkt_skbuff.c | 399 void cfpkt_set_prio(struct cfpkt *pkt, int prio) argument 401 pkt_to_skb(pkt)->priority = prio;
|
/net/ipv4/ |
H A D | ip_vti.c | 117 int prio = 0; local 120 prio |= 2; 124 prio |= 1; 127 return &ipn->tunnels[prio][h]; 633 int prio; local 635 for (prio = 1; prio < 4; prio++) { 640 t = rtnl_dereference(ipn->tunnels[prio][h]);
|
H A D | fib_semantics.c | 413 struct fib_alias *fib_find_alias(struct list_head *fah, u8 tos, u32 prio) argument 420 if (fa->fa_info->fib_priority >= prio ||
|
/net/bluetooth/rfcomm/ |
H A D | sock.c | 266 static struct sock *rfcomm_sock_alloc(struct net *net, struct socket *sock, int proto, gfp_t prio) argument 271 sk = sk_alloc(net, PF_BLUETOOTH, prio, &rfcomm_proto); 278 d = rfcomm_dlc_alloc(prio);
|
H A D | core.c | 299 struct rfcomm_dlc *rfcomm_dlc_alloc(gfp_t prio) argument 301 struct rfcomm_dlc *d = kzalloc(sizeof(*d), prio);
|
/net/dcb/ |
H A D | dcbnl.c | 562 u8 prio, pgid, tc_pct, up_map; local 606 prio = DCB_ATTR_VALUE_UNDEFINED; 613 i - DCB_PG_ATTR_TC_0, &prio, 618 i - DCB_PG_ATTR_TC_0, &prio, 639 DCB_TC_ATTR_PARAM_STRICT_PRIO, prio); 778 u8 prio; local 805 prio = DCB_ATTR_VALUE_UNDEFINED; 810 prio = 828 prio, pgid, tc_pct, up_map); 833 prio, pgi 1139 u8 pgid, up_map, prio, tc_pct; local 1722 dcb_app_lookup(const struct dcb_app *app, int ifindex, int prio) argument 1763 u8 prio = 0; local 1824 u8 prio = 0; local [all...] |
/net/ipv6/ |
H A D | ip6_gre.c | 244 int prio = 0; local 247 prio |= 1; 249 prio |= 2; 253 return &ign->tunnels[prio][h]; 1295 int prio; local 1297 for (prio = 0; prio < 4; prio++) { 1302 t = rtnl_dereference(ign->tunnels[prio][h]);
|
H A D | ip6_tunnel.c | 209 int prio = 0; local 212 prio = 1; 215 return &ip6n->tnls[prio][h];
|
H A D | sit.c | 132 int prio = 0; local 135 prio |= 2; 139 prio |= 1; 142 return &sitn->tunnels[prio][h]; 1476 int prio; local 1478 for (prio = 1; prio < 4; prio++) { 1483 t = rtnl_dereference(sitn->tunnels[prio][h]);
|
/net/bridge/ |
H A D | br_private.h | 48 unsigned char prio[2]; member in struct:bridge_id
|
/net/iucv/ |
H A D | af_iucv.c | 538 static struct sock *iucv_sock_alloc(struct socket *sock, int proto, gfp_t prio) argument 543 sk = sk_alloc(&init_net, PF_IUCV, prio, &iucv_proto);
|