Searched refs:cache_idx (Results 1 - 4 of 4) sorted by relevance

/linux-master/include/linux/
H A Dbpf_local_storage.h58 u16 cache_idx; member in struct:bpf_local_storage_map
145 sdata = rcu_dereference_check(local_storage->cache[smap->cache_idx],
/linux-master/kernel/bpf/
H A Dbpf_local_storage.c251 * dereferenced for its smap->elem_size and smap->cache_idx.
295 if (rcu_access_pointer(local_storage->cache[smap->cache_idx]) ==
297 RCU_INIT_POINTER(local_storage->cache[smap->cache_idx], NULL);
430 rcu_assign_pointer(local_storage->cache[smap->cache_idx], SDATA(selem));
651 /* Found a free cache_idx */
813 smap->cache_idx = bpf_local_storage_cache_idx_get(cache);
832 bpf_local_storage_cache_idx_free(cache, smap->cache_idx);
/linux-master/drivers/net/wireless/ath/carl9170/
H A Dcarl9170.h463 unsigned int cache_idx; member in struct:ar9170::__anon2126
H A Dmain.c1560 ar->rng.cache_idx = 0;
1573 if (ar->rng.cache_idx >= ARRAY_SIZE(ar->rng.cache)) {
1581 *data = ar->rng.cache[ar->rng.cache_idx++];

Completed in 133 milliseconds