Searched refs:cache_idx (Results 1 – 4 of 4) sorted by relevance
58 u16 cache_idx; member145 sdata = rcu_dereference_check(local_storage->cache[smap->cache_idx], in bpf_local_storage_lookup()
295 if (rcu_access_pointer(local_storage->cache[smap->cache_idx]) == in bpf_selem_unlink_storage_nolock()297 RCU_INIT_POINTER(local_storage->cache[smap->cache_idx], NULL); in bpf_selem_unlink_storage_nolock()430 rcu_assign_pointer(local_storage->cache[smap->cache_idx], SDATA(selem)); in __bpf_local_storage_insert_cache()813 smap->cache_idx = bpf_local_storage_cache_idx_get(cache); in bpf_local_storage_map_alloc()832 bpf_local_storage_cache_idx_free(cache, smap->cache_idx); in bpf_local_storage_map_free()
463 unsigned int cache_idx; member
1560 ar->rng.cache_idx = 0; in carl9170_rng_get()1573 if (ar->rng.cache_idx >= ARRAY_SIZE(ar->rng.cache)) { in carl9170_rng_read()1581 *data = ar->rng.cache[ar->rng.cache_idx++]; in carl9170_rng_read()