Lines Matching refs:mask_cache
346 static void __mask_cache_destroy(struct mask_cache *mc) in __mask_cache_destroy()
348 free_percpu(mc->mask_cache); in __mask_cache_destroy()
354 struct mask_cache *mc = container_of(rcu, struct mask_cache, rcu); in mask_cache_rcu_cb()
359 static struct mask_cache *tbl_mask_cache_alloc(u32 size) in tbl_mask_cache_alloc()
362 struct mask_cache *new; in tbl_mask_cache_alloc()
386 new->mask_cache = cache; in tbl_mask_cache_alloc()
391 struct mask_cache *mc = rcu_dereference_ovsl(table->mask_cache); in ovs_flow_tbl_masks_cache_resize()
392 struct mask_cache *new; in ovs_flow_tbl_masks_cache_resize()
405 rcu_assign_pointer(table->mask_cache, new); in ovs_flow_tbl_masks_cache_resize()
414 struct mask_cache *mc; in ovs_flow_tbl_init()
436 rcu_assign_pointer(table->mask_cache, mc); in ovs_flow_tbl_init()
517 struct mask_cache *mc = rcu_dereference_raw(table->mask_cache); in ovs_flow_tbl_destroy()
789 struct mask_cache *mc = rcu_dereference(tbl->mask_cache); in ovs_flow_tbl_lookup_stats()
815 entries = this_cpu_ptr(mc->mask_cache); in ovs_flow_tbl_lookup_stats()
944 struct mask_cache *mc = rcu_dereference_ovsl(table->mask_cache); in ovs_flow_tbl_masks_cache_size()