Searched refs:priomap (Results 1 – 7 of 7) sorted by relevance
88 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 …]
2472 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()
24 u32 priomap[]; member
180 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()
514 memcpy(&opt.priomap, prio2band, TC_PRIO_MAX + 1); in pfifo_fast_dump()
120 __u8 priomap[TC_PRIO_MAX+1]; /* Map: logical priority -> PRIO band */ member
1298 struct netprio_map __rcu *priomap; member