Lines Matching refs:mask_cache
344 static void __mask_cache_destroy(struct mask_cache *mc) in __mask_cache_destroy()
346 free_percpu(mc->mask_cache); in __mask_cache_destroy()
352 struct mask_cache *mc = container_of(rcu, struct mask_cache, rcu); in mask_cache_rcu_cb()
357 static struct mask_cache *tbl_mask_cache_alloc(u32 size) in tbl_mask_cache_alloc()
360 struct mask_cache *new; in tbl_mask_cache_alloc()
384 new->mask_cache = cache; in tbl_mask_cache_alloc()
389 struct mask_cache *mc = rcu_dereference_ovsl(table->mask_cache); in ovs_flow_tbl_masks_cache_resize()
390 struct mask_cache *new; in ovs_flow_tbl_masks_cache_resize()
403 rcu_assign_pointer(table->mask_cache, new); in ovs_flow_tbl_masks_cache_resize()
412 struct mask_cache *mc; in ovs_flow_tbl_init()
434 rcu_assign_pointer(table->mask_cache, mc); in ovs_flow_tbl_init()
515 struct mask_cache *mc = rcu_dereference_raw(table->mask_cache); in ovs_flow_tbl_destroy()
787 struct mask_cache *mc = rcu_dereference(tbl->mask_cache); in ovs_flow_tbl_lookup_stats()
813 entries = this_cpu_ptr(mc->mask_cache); in ovs_flow_tbl_lookup_stats()
942 struct mask_cache *mc = rcu_dereference_ovsl(table->mask_cache); in ovs_flow_tbl_masks_cache_size()