Home
last modified time | relevance | path

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

/openbmc/qemu/contrib/plugins/
H A Dcache.c393 int cache_idx; in vcpu_mem_access() local
403 cache_idx = vcpu_index % cores; in vcpu_mem_access()
405 g_mutex_lock(&l1_dcache_locks[cache_idx]); in vcpu_mem_access()
406 hit_in_l1 = access_cache(l1_dcaches[cache_idx], effective_addr); in vcpu_mem_access()
410 l1_dcaches[cache_idx]->misses++; in vcpu_mem_access()
412 l1_dcaches[cache_idx]->accesses++; in vcpu_mem_access()
413 g_mutex_unlock(&l1_dcache_locks[cache_idx]); in vcpu_mem_access()
420 g_mutex_lock(&l2_ucache_locks[cache_idx]); in vcpu_mem_access()
421 if (!access_cache(l2_ucaches[cache_idx], effective_addr)) { in vcpu_mem_access()
424 l2_ucaches[cache_idx]->misses++; in vcpu_mem_access()
[all …]
/openbmc/linux/kernel/bpf/
H A Dbpf_local_storage.c295 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()
427 sdata = rcu_dereference_check(local_storage->cache[smap->cache_idx], in bpf_local_storage_lookup()
452 rcu_assign_pointer(local_storage->cache[smap->cache_idx], in bpf_local_storage_lookup()
843 smap->cache_idx = bpf_local_storage_cache_idx_get(cache); in bpf_local_storage_map_alloc()
862 bpf_local_storage_cache_idx_free(cache, smap->cache_idx); in bpf_local_storage_map_free()
/openbmc/linux/include/linux/
H A Dbpf_local_storage.h58 u16 cache_idx; member
/openbmc/qemu/target/xtensa/
H A Dmmu_helper.c1115 unsigned cache_idx = (access & PAGE_CACHE_MASK) >> in dump_tlb() local
1132 cache_text[cache_idx] ? in dump_tlb()
1133 cache_text[cache_idx] : "Invalid"); in dump_tlb()
/openbmc/linux/arch/powerpc/kernel/
H A Dsmp.c100 cache_idx, enumerator
1697 powerpc_topology[mc_idx].mask = powerpc_topology[cache_idx].mask; in fixup_topology()
/openbmc/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()