Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/bpf/
Dbpf_local_storage.c149 if (rcu_access_pointer(local_storage->cache[smap->cache_idx]) == in bpf_selem_unlink_storage_nolock()
151 RCU_INIT_POINTER(local_storage->cache[smap->cache_idx], NULL); in bpf_selem_unlink_storage_nolock()
245 sdata = rcu_dereference_check(local_storage->cache[smap->cache_idx], in bpf_local_storage_lookup()
270 rcu_assign_pointer(local_storage->cache[smap->cache_idx], in bpf_local_storage_lookup()
Dbpf_inode_storage.c235 smap->cache_idx = bpf_local_storage_cache_idx_get(&inode_cache); in inode_storage_map_alloc()
244 bpf_local_storage_cache_idx_free(&inode_cache, smap->cache_idx); in inode_storage_map_free()
Dbpf_task_storage.c297 smap->cache_idx = bpf_local_storage_cache_idx_get(&task_cache); in task_storage_map_alloc()
306 bpf_local_storage_cache_idx_free(&task_cache, smap->cache_idx); in task_storage_map_free()
/linux-6.1.9/include/linux/
Dbpf_local_storage.h57 u16 cache_idx; member
/linux-6.1.9/net/core/
Dbpf_sk_storage.c93 bpf_local_storage_cache_idx_free(&sk_cache, smap->cache_idx); in bpf_sk_storage_map_free()
105 smap->cache_idx = bpf_local_storage_cache_idx_get(&sk_cache); in bpf_sk_storage_map_alloc()
/linux-6.1.9/drivers/net/wireless/ath/carl9170/
Dcarl9170.h463 unsigned int cache_idx; member
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()
/linux-6.1.9/arch/powerpc/kernel/
Dsmp.c97 cache_idx, enumerator
1684 powerpc_topology[mc_idx].mask = powerpc_topology[cache_idx].mask; in fixup_topology()