Home
last modified time | relevance | path

Searched refs:cache (Results 1 – 25 of 32) sorted by relevance

12

/xnu-11215/iokit/Tests/
H A DTestCollections.cpp59 cache[i]->release(); in testArray()
80 cache[0]->release(); in testArray()
101 cache[i]->release(); in testArray()
110 if (str != cache[i]) { in testArray()
130 cache[i]->release(); in testArray()
313 cache[i]->release(); in testSet()
335 cache[0]->release(); in testSet()
356 cache[i]->release(); in testSet()
384 cache[i]->release(); in testSet()
656 cache[i]->release(); in testDictionary()
[all …]
H A DTestContainers.cpp401 if (cache[0]) { in testSymbol()
412 if (!cache[i]) { in testSymbol()
425 if (cache[i] != cache[j] && cache[i]->isEqualTo(cache[j])) { in testSymbol()
428 } else if (cache[i] == cache[j]) { in testSymbol()
441 if (cache[i]) { in testSymbol()
443 cache[i] = 0; in testSymbol()
456 if (cache[i]) { in testSymbol()
458 cache[i] = 0; in testSymbol()
475 if (!cache[i]) { in testSymbol()
484 if (cache[i]) { in testSymbol()
[all …]
/xnu-11215/osfmk/kern/
H A Dstack.c231 struct stack_cache *cache; in stack_free_stack() local
240 cache = PERCPU_GET(stack_cache); in stack_free_stack()
241 if (cache->count < STACK_CACHE_SIZE) { in stack_free_stack()
242 stack_next(stack) = cache->free; in stack_free_stack()
243 cache->free = stack; in stack_free_stack()
244 cache->count++; in stack_free_stack()
272 struct stack_cache *cache; in stack_alloc_try() local
275 cache = PERCPU_GET(stack_cache); in stack_alloc_try()
276 stack = cache->free; in stack_alloc_try()
278 cache->free = stack_next(stack); in stack_alloc_try()
[all …]
H A Dzalloc.c5957 return cache; in zfree_cached_get_pcpu_cache()
5962 return cache; in zfree_cached_get_pcpu_cache()
5976 return cache; in zfree_cached_get_pcpu_cache_smr()
5998 return cache; in zfree_cached_get_pcpu_cache_smr()
6105 cache->zc_free_elems[cache->zc_free_cur++] = elem; in zfree_ext()
6128 p = cache->zc_free_elems + cache->zc_free_cur; in zcache_free_stack_to_cpu()
6173 cache->zc_free_elems[cache->zc_free_cur++] = elem; in zcache_free_1_ext()
6357 cache->zc_free_elems[cache->zc_free_cur++] = elem;
6807 return cache; in zalloc_cached_prime()
6831 return cache; in zalloc_cached_get_pcpu_cache()
[all …]
H A Dexclaves_xnuproxy.c135 #pragma mark IPC buffer cache
/xnu-11215/tools/lldbmacros/core/
H A Dcaching.py93 for cache in self:
94 cache.invalidate(pid)
97 for cache in self:
98 cache.clear()
386 cache = _Cache(fn.__name__, registry)
388 c_setdef = cache.setdefault
389 c_get = cache.get
504 cache = getattr(self, c_attr, None)
505 if cache is None:
507 setattr(self, c_attr, cache)
[all …]
/xnu-11215/osfmk/i386/
H A Dcpu_threads.c94 if (cache == NULL) { in x86_cache_alloc()
98 cache = x86_caches; in x86_cache_alloc()
99 x86_caches = cache->next; in x86_cache_alloc()
100 cache->next = NULL; in x86_cache_alloc()
103 cache->next = NULL; in x86_cache_alloc()
106 cache->cpus[i] = NULL; in x86_cache_alloc()
111 return cache; in x86_cache_alloc()
258 if (cache->level > 0 && cache->level <= MAX_CACHE_DEPTH) { in x86_cache_free()
262 x86_caches = cache; in x86_cache_free()
601 lcpu->caches[cache->level - 1] = cache; in x86_cache_add_lcpu()
[all …]
H A Dcpu_topology.c190 aset->cache = LLC_cachep; in cpu_topology_sort()
201 aset, aset->num, aset->pset, aset->cache); in cpu_topology_sort()
275 if (l2_cachep == aset->cache) { in find_cache_affinity()
H A Dcpu_affinity.h36 struct x86_cpu_cache *cache;/* The L2 cache concerned */ member
/xnu-11215/EXTERNAL_HEADERS/corecrypto/
H A Dccrng_crypto.h46 uint8_t *cache; member
60 void *cache);
H A Dcckprng.h108 uint8_t cache[CCKPRNG_CACHED_BUF_SIZE]; member
/xnu-11215/doc/building/
H A Dxnu_build_consolidation.md10 core/cluster counts or cache sizes). Similarly, SoC-specific fix-ups are usually conditionally comp…
32 * L1/L2 cache geometry parameters (e.g. size, number of set/ways).
43 ### Obtaining cache geometry parameters at runtime
45 …h not often, the kernel may still require deriving, one way or another, parameters like cache sizes
49 with `CSSELR_EL1` to select the target cache and obtain geometry information.
113 ### Allocating memory that is core size/cluster size/cache size aligned
115 In some cases, certain statically-allocated arrays/structures need to be cache line-aligned, or hav…
127 The L1 cache line size is still hardcoded, and defined as `MMU_CLINE`. Since this value is always t…
/xnu-11215/iokit/DriverKit/
H A DIOMemoryDescriptor.iig121 * kIOMemoryMapCacheModeDefault default cache mode
122 * kIOMemoryMapCacheModeInhibit inhibited cache mode
123 * kIOMemoryMapCacheModeCopyback copyback cache mode
124 * kIOMemoryMapCacheModeWriteThrough write through cache mode
/xnu-11215/tools/lldbmacros/usertaskdebugging/
H A Duserprocess.py100 self.cache = {}
212 cache_data = self.cache.get(cache_key, None)
219 self.cache[cache_key] = data
/xnu-11215/tools/lldbmacros/kmemory/
H A Dzone.py755 for cache in ZPercpuValue(pcpu):
757 cache.xGetIntegerByName('zc_alloc_elems'),
758 cache.xGetIntegerByName('zc_alloc_cur')
762 cache.xGetIntegerByName('zc_free_elems'),
763 cache.xGetIntegerByName('zc_free_cur')
767 cache.chkGetChildMemberWithName('zc_depot'),
/xnu-11215/tools/lldbmacros/tests/lldbmock/
H A Dmemorymock.py732 cache = {} variable in CompoundTypeFactory
757 cls = self.cache.get(clsname, None)
808 if clsname in self.cache:
811 self.cache[clsname] = cls
/xnu-11215/tests/
H A Dstackshot_tests.m475 T_SKIP("Device not running with shared cache, skipping test...");
589 T_QUIET; T_ASSERT_NOTNULL(addr, "shared cache address");
632 T_QUIET; T_ASSERT_NOTNULL(addr, "shared cache address");
643 …%s), capturing stackshot", child_same_addr ? "same shared cache addr" : "different shared cache ad…
2728 T_ASSERT_EQ(result, 0, "iterate shared cache layout");
2803 …T_LOG("Skipping verifying shared cache UUID in stackshot data because not running with a shared ca…
2815 T_LOG("device running with locally built shared cache, expect shared cache layout");
2818 T_LOG("device running with B&I built shared-cache, no shared cache layout expected");
3168 * we get here, then we have found the shared cache UUID
3436 // Legacy shared cache info
[all …]
/xnu-11215/libkdd/kdd.xcodeproj/
H A Dproject.pbxproj84 …-with-shared-cache-layout.plist.gz in Resources */ = {isa = PBXBuildFile; fileRef = 13739E8320DB18…
85 …kshot-with-shared-cache-layout in Resources */ = {isa = PBXBuildFile; fileRef = 13739E8420DB18B600…
239 …hot-with-shared-cache-layout.plist.gz */ = {isa = PBXFileReference; lastKnownFileType = archive.gz…
240 …* stackshot-with-shared-cache-layout */ = {isa = PBXFileReference; lastKnownFileType = file; path …
344 13739E8420DB18B600D8D9B9 /* stackshot-with-shared-cache-layout */,
345 13739E8320DB18B500D8D9B9 /* stackshot-with-shared-cache-layout.plist.gz */,
653 13739E8620DB18B600D8D9B9 /* stackshot-with-shared-cache-layout in Resources */,
696 13739E8520DB18B600D8D9B9 /* stackshot-with-shared-cache-layout.plist.gz in Resources */,
/xnu-11215/libsyscall/mach/
H A Derr_libkern.sub79 "(libkern/kext) cache error", /* 0x10 */
/xnu-11215/doc/observability/
H A Dmt_stackshot.md69 buffer. Each cluster gets its own bump allocator to mitigate cache contention,
75 current cluster's freelist (again, to reduce cache effects). The freelist is a
/xnu-11215/doc/vm/
H A Dmemorystatus_kills.md59 The system is causing too much pressure file backed memory. Specifically the phantom cache has dete…
61 …tus_thread` kills the process with the lowest jetsam priority and resets the phantom cache samples.
/xnu-11215/config/
H A DMASTER195 # CONFIG_NC_HASH - name cache hash table allocation
345 # support loading a second static trust cache
401 # enable detection of file cache thrashing - used on platforms with
/xnu-11215/tools/lldbmacros/
H A Dmemory.py294 for cache in IterateZPerCPU(zone.z_pcpu_cache):
295 depot_cur += unsigned(cache.zc_alloc_cur)
296 depot_cur += unsigned(cache.zc_free_cur)
297 depot_full += unsigned(cache.zc_depot.zd_full)
298 depot_empty += unsigned(cache.zc_depot.zd_empty)
398 for cache in IterateZPerCPU(zone_val.z_pcpu_cache):
399 cache_elem_count += unsigned(cache.zc_alloc_cur)
400 cache_elem_count += unsigned(cache.zc_free_cur)
401 cache_elem_count += unsigned(cache.zc_depot.zd_full) * mag_capacity
/xnu-11215/bsd/dev/i386/
H A Dsysctl.c641 SYSCTL_NODE(_machdep_cpu, OID_AUTO, cache, CTLFLAG_RW | CTLFLAG_LOCKED, 0,
/xnu-11215/makedefs/
H A DMakeInc.def687 # a KASAN kernel + runtime, but linked against a DEVELOPMENT kernel cache.
942 # (and not the static kernel cache / kcgen)

12