Lines Matching refs:mask_cache
349 static void __mask_cache_destroy(struct mask_cache *mc) in __mask_cache_destroy()
351 free_percpu(mc->mask_cache); in __mask_cache_destroy()
357 struct mask_cache *mc = container_of(rcu, struct mask_cache, rcu); in mask_cache_rcu_cb()
362 static struct mask_cache *tbl_mask_cache_alloc(u32 size) in tbl_mask_cache_alloc()
365 struct mask_cache *new; in tbl_mask_cache_alloc()
389 new->mask_cache = cache; in tbl_mask_cache_alloc()
394 struct mask_cache *mc = rcu_dereference_ovsl(table->mask_cache); in ovs_flow_tbl_masks_cache_resize()
395 struct mask_cache *new; in ovs_flow_tbl_masks_cache_resize()
408 rcu_assign_pointer(table->mask_cache, new); in ovs_flow_tbl_masks_cache_resize()
417 struct mask_cache *mc; in ovs_flow_tbl_init()
439 rcu_assign_pointer(table->mask_cache, mc); in ovs_flow_tbl_init()
520 struct mask_cache *mc = rcu_dereference_raw(table->mask_cache); in ovs_flow_tbl_destroy()
792 struct mask_cache *mc = rcu_dereference(tbl->mask_cache); in ovs_flow_tbl_lookup_stats()
818 entries = this_cpu_ptr(mc->mask_cache); in ovs_flow_tbl_lookup_stats()
947 struct mask_cache *mc = rcu_dereference_ovsl(table->mask_cache); in ovs_flow_tbl_masks_cache_size()