Lines Matching refs:priomap
47 old = rtnl_dereference(dev->priomap); in extend_netdev_table()
58 new_len = (new_sz - offsetof(struct netprio_map, priomap)) / in extend_netdev_table()
59 sizeof(new->priomap[0]); in extend_netdev_table()
74 memcpy(new->priomap, old->priomap, in extend_netdev_table()
75 old->priomap_len * sizeof(old->priomap[0])); in extend_netdev_table()
80 rcu_assign_pointer(dev->priomap, new); in extend_netdev_table()
95 struct netprio_map *map = rcu_dereference_rtnl(dev->priomap); in netprio_prio()
99 return map->priomap[id]; in netprio_prio()
120 map = rtnl_dereference(dev->priomap); in netprio_set_prio()
128 map = rtnl_dereference(dev->priomap); in netprio_set_prio()
129 map->priomap[id] = prio; in netprio_set_prio()
277 old = rtnl_dereference(dev->priomap); in netprio_device_event()
278 RCU_INIT_POINTER(dev->priomap, NULL); in netprio_device_event()