Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/kernel/bpf/
Dbpf_local_storage.c129 if (rcu_access_pointer(local_storage->cache[smap->cache_idx]) == in bpf_selem_unlink_storage_nolock()
131 RCU_INIT_POINTER(local_storage->cache[smap->cache_idx], NULL); in bpf_selem_unlink_storage_nolock()
212 sdata = rcu_dereference(local_storage->cache[smap->cache_idx]); in bpf_local_storage_lookup()
233 rcu_assign_pointer(local_storage->cache[smap->cache_idx], in bpf_local_storage_lookup()
Dbpf_inode_storage.c230 smap->cache_idx = bpf_local_storage_cache_idx_get(&inode_cache); in inode_storage_map_alloc()
239 bpf_local_storage_cache_idx_free(&inode_cache, smap->cache_idx); in inode_storage_map_free()
/kernel/linux/linux-5.10/include/linux/
Dbpf_local_storage.h53 u16 cache_idx; member
/kernel/linux/linux-5.10/net/core/
Dbpf_sk_storage.c102 bpf_local_storage_cache_idx_free(&sk_cache, smap->cache_idx); in sk_storage_map_free()
114 smap->cache_idx = bpf_local_storage_cache_idx_get(&sk_cache); in sk_storage_map_alloc()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dsmp.c96 cache_idx, enumerator
1553 powerpc_topology[mc_idx].mask = powerpc_topology[cache_idx].mask; in fixup_topology()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/carl9170/
Dcarl9170.h464 unsigned int cache_idx; member
Dmain.c1563 ar->rng.cache_idx = 0; in carl9170_rng_get()
1576 if (ar->rng.cache_idx >= ARRAY_SIZE(ar->rng.cache)) { in carl9170_rng_read()
1584 *data = ar->rng.cache[ar->rng.cache_idx++]; in carl9170_rng_read()