Lines Matching refs:mask_cache
348 static void __mask_cache_destroy(struct mask_cache *mc) in __mask_cache_destroy()
350 free_percpu(mc->mask_cache); in __mask_cache_destroy()
356 struct mask_cache *mc = container_of(rcu, struct mask_cache, rcu); in mask_cache_rcu_cb()
361 static struct mask_cache *tbl_mask_cache_alloc(u32 size) in tbl_mask_cache_alloc()
364 struct mask_cache *new; in tbl_mask_cache_alloc()
388 new->mask_cache = cache; in tbl_mask_cache_alloc()
393 struct mask_cache *mc = rcu_dereference_ovsl(table->mask_cache); in ovs_flow_tbl_masks_cache_resize()
394 struct mask_cache *new; in ovs_flow_tbl_masks_cache_resize()
407 rcu_assign_pointer(table->mask_cache, new); in ovs_flow_tbl_masks_cache_resize()
416 struct mask_cache *mc; in ovs_flow_tbl_init()
438 rcu_assign_pointer(table->mask_cache, mc); in ovs_flow_tbl_init()
519 struct mask_cache *mc = rcu_dereference_raw(table->mask_cache); in ovs_flow_tbl_destroy()
791 struct mask_cache *mc = rcu_dereference(tbl->mask_cache); in ovs_flow_tbl_lookup_stats()
817 entries = this_cpu_ptr(mc->mask_cache); in ovs_flow_tbl_lookup_stats()
946 struct mask_cache *mc = rcu_dereference_ovsl(table->mask_cache); in ovs_flow_tbl_masks_cache_size()