Home
last modified time | relevance | path

Searched refs:priomap (Results 1 – 7 of 7) sorted by relevance

/linux-3.4.99/net/core/
Dnetprio_cgroup.c88 old_priomap = rtnl_dereference(dev->priomap); in extend_netdev_table()
98 new_priomap->priomap[i] = old_priomap->priomap[i]; in extend_netdev_table()
102 rcu_assign_pointer(dev->priomap, new_priomap); in extend_netdev_table()
115 map = rtnl_dereference(dev->priomap); in update_netdev_tables()
156 map = rtnl_dereference(dev->priomap); in cgrp_destroy()
158 map->priomap[cs->prioidx] = 0; in cgrp_destroy()
180 map = rcu_dereference(dev->priomap); in read_priomap()
181 priority = map ? map->priomap[prioidx] : 0; in read_priomap()
239 map = rcu_dereference(dev->priomap); in write_priomap()
241 map->priomap[prioidx] = priority; in write_priomap()
[all …]
Ddev.c2472 struct netprio_map *map = rcu_dereference_bh(skb->dev->priomap); in skb_update_prio()
2475 skb->priority = map->priomap[skb->sk->sk_cgrp_prioidx]; in skb_update_prio()
/linux-3.4.99/include/net/
Dnetprio_cgroup.h24 u32 priomap[]; member
/linux-3.4.99/net/sched/
Dsch_prio.c180 if (qopt->priomap[i] >= qopt->bands) in prio_tune()
186 memcpy(q->prio2band, qopt->priomap, TC_PRIO_MAX+1); in prio_tune()
248 memcpy(&opt.priomap, q->prio2band, TC_PRIO_MAX + 1); in prio_dump()
Dsch_generic.c514 memcpy(&opt.priomap, prio2band, TC_PRIO_MAX + 1); in pfifo_fast_dump()
/linux-3.4.99/include/linux/
Dpkt_sched.h120 __u8 priomap[TC_PRIO_MAX+1]; /* Map: logical priority -> PRIO band */ member
Dnetdevice.h1298 struct netprio_map __rcu *priomap; member