Home
last modified time | relevance | path

Searched refs:cache_idx (Results 1 – 3 of 3) sorted by relevance

/linux/kernel/bpf/
H A Dbpf_local_storage.c261 * dereferenced for its smap->elem_size and smap->cache_idx. in bpf_selem_free()
304 if (rcu_access_pointer(local_storage->cache[smap->cache_idx]) == in bpf_selem_unlink_storage_nolock()
306 RCU_INIT_POINTER(local_storage->cache[smap->cache_idx], NULL); in bpf_selem_unlink_storage_nolock()
402 rcu_assign_pointer(local_storage->cache[smap->cache_idx], SDATA(selem)); in bpf_selem_unlink_storage()
613 /* Found a free cache_idx */ in bpf_local_storage_update()
751 smap->cache_idx = bpf_local_storage_cache_idx_get(cache); in bpf_local_storage_destroy()
770 bpf_local_storage_cache_idx_free(cache, smap->cache_idx); in bpf_local_storage_destroy()
/linux/drivers/net/wireless/ath/carl9170/
H A Dcarl9170.h463 unsigned int cache_idx; member
H A Dmain.c1560 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()