Searched refs:cache_idx (Results 1 – 3 of 3) sorted by relevance
58 u16 cache_idx; member 151 sdata = rcu_dereference_check(local_storage->cache[smap->cache_idx], in bpf_local_storage_lookup()
283 * dereferenced for its smap->elem_size and smap->cache_idx.327 if (rcu_access_pointer(local_storage->cache[smap->cache_idx]) == in bpf_selem_unlink_storage_nolock() 329 RCU_INIT_POINTER(local_storage->cache[smap->cache_idx], NULL); in bpf_selem_unlink_storage_nolock() 465 rcu_assign_pointer(local_storage->cache[smap->cache_idx], SDATA(selem)); in __bpf_local_storage_insert_cache() 684 /* Found a free cache_idx */ in bpf_local_storage_cache_idx_get() 847 smap->cache_idx = bpf_local_storage_cache_idx_get(cache); in bpf_local_storage_map_alloc() 866 bpf_local_storage_cache_idx_free(cache, smap->cache_idx); in bpf_local_storage_map_free()
463 unsigned int cache_idx; member