/darwin-on-arm/xnu/osfmk/i386/ |
H A D | cpu_affinity.h | 37 struct x86_cpu_cache *cache; /* The L2 cache concerned */ member in struct:x86_affinity_set
|
H A D | cpu_threads.c | 85 x86_cpu_cache_t *cache; local 89 cache = kalloc(sizeof(x86_cpu_cache_t) + (MAX_CPUS * sizeof(x86_lcpu_t *))); 90 if (cache == NULL) 93 cache = x86_caches; 94 x86_caches = cache->next; 95 cache->next = NULL; 98 bzero(cache, sizeof(x86_cpu_cache_t)); 99 cache->next = NULL; 100 cache->maxcpus = MAX_CPUS; 101 for (i = 0; i < cache 249 x86_cache_free(x86_cpu_cache_t *cache) argument 582 x86_cache_add_lcpu(x86_cpu_cache_t *cache, x86_lcpu_t *lcpu) argument [all...] |
H A D | cpu_topology.c | 150 * for their LLC cache. Each affinity set possesses a processor set 170 aset->cache = LLC_cachep; 176 TOPO_DBG("\tnew set %p(%d) pset %p for cache %p\n", 177 aset, aset->num, aset->pset, aset->cache); 237 if (l2_cachep == aset->cache)
|
/darwin-on-arm/xnu/iokit/Tests/ |
H A D | TestContainers.cpp | 128 // very first test initialises the OSMetaClass cache. 255 // very first test initialises the OSMetaClass cache. 363 const OSSymbol *cache[numStrCache]; local 366 // very first test initialises the OSMetaClass cache. 367 cache[0] = IOSymbol::withCStringNoCopy(testC00); 368 TEST_ASSERT('u', "0a", cache[0]); 369 if (cache[0]) 370 cache[0]->release(); 374 // Setup the symbol cache, make sure it grows the symbol unique'ing 378 cache[ [all...] |
H A D | TestCollections.cpp | 43 OSObject *cache[numStrCache], *str, *sym; local 54 cache[i] = (OSObject *) OSSymbol::withCStringNoCopy(strCache[i]); 56 cache[i]->release(); 71 cache[0] = IOString::withCStringNoCopy(strCache[0]); 74 TEST_ASSERT('A', "1h", array1->setObject(cache[0])); 75 TEST_ASSERT('A', "1i", cache[0] == array1->getObject(0)); 76 cache[0]->release(); 92 cache[i] = OSString::withCStringNoCopy(strCache[i]); 93 array1 = OSArray::withObjects(cache, numStrCache, numStrCache); 96 cache[ 281 OSObject *cache[numStrCache], *str, *sym; local 485 OSObject *cache[numStrCache]; local 712 OSObject *cache[numStrCache]; local [all...] |
/darwin-on-arm/xnu/osfmk/kern/ |
H A D | stack.c | 284 struct stack_cache *cache; local 288 cache = &PROCESSOR_DATA(current_processor(), stack_cache); 289 if (cache->count < STACK_CACHE_SIZE) { 290 stack_next(stack) = cache->free; 291 cache->free = stack; 292 cache->count++; 320 struct stack_cache *cache; local 323 cache = &PROCESSOR_DATA(current_processor(), stack_cache); 324 stack = cache->free; 327 cache [all...] |
/darwin-on-arm/xnu/osfmk/conf/ |
H A D | Makefile.arm | 17 cache.o_SFLAGS_ADD += -no-integrated-as
|
/darwin-on-arm/xnu/osfmk/arm/armv/ |
H A D | cpufunc-v7.s | 151 and r3, r0, ip @ get offset into cache line 180 bl _C_LABEL(arm_idcache_wbinv_all) @clean the D cache 193 and r3, r0, ip @ get offset into cache line 213 and r3, r0, ip @ get offset into cache line 233 and r3, r0, ip @ get offset into cache line 254 and r3, r0, ip @ get offset into cache line 289 mcr p15, 2, r0, c0, c0, 0 @ set cache level to L1 319 mcr p15, 0, r0, c7, c5, 0 @ invalidate L1 cache 334 mov r1, r0, lsr r2 @ r1 = cache type 339 mcr p15, 2, r3, c0, c0, 0 @ select cache leve [all...] |
/darwin-on-arm/xnu/bsd/hfs/ |
H A D | hfs_readwrite.c | 95 SYSCTL_INT (_kern, OID_AUTO, flush_cache_on_write, CTLFLAG_RW | CTLFLAG_LOCKED, &flush_cache_on_write, 0, "always flush the drive cache on writes to uncached files"); 937 lookup_bucket(struct access_cache *cache, int *indexp, cnid_t parent_id) argument 943 if (cache->numcached == 0) { 948 if (cache->numcached > NUM_CACHE_ENTRIES) { 950 cache->numcached, NUM_CACHE_ENTRIES);*/ 951 cache->numcached = NUM_CACHE_ENTRIES; 954 hi = cache->numcached - 1; 956 index = cache_binSearch(cache->acache, hi, parent_id, &no_match_index); 973 * than an insert if the cache is full. 976 add_node(struct access_cache *cache, in argument 1050 do_attr_lookup(struct hfsmount *hfsmp, struct access_cache *cache, cnid_t cnid, struct cnode *skip_cp, CatalogKey *keyp, struct cat_attr *cnattrp) argument 1098 do_access_check(struct hfsmount *hfsmp, int *err, struct access_cache *cache, HFSCatalogNodeID nodeID, struct cnode *skip_cp, struct proc *theProcPtr, kauth_cred_t myp_ucred, struct vfs_context *my_context, char *bitmap, uint32_t map_size, cnid_t* parents, uint32_t num_parents) argument 1264 struct access_cache cache; local [all...] |
/darwin-on-arm/xnu/osfmk/ipc/ |
H A D | ipc_kmsg.c | 560 * We keep a per-processor cache of kernel message buffers. 561 * The cache saves the overhead/locking of using kalloc/kfree. 562 * The per-processor cache seems to miss less than a per-thread cache, 563 * and it also uses less memory. Access to the cache doesn't 571 * the cache, that is best. Otherwise, allocate a new one. 618 struct ikm_cache *cache; local 622 cache = &PROCESSOR_DATA(current_processor(), ikm_cache); 623 if ((i = cache->avail) > 0) { 625 kmsg = cache 695 struct ikm_cache *cache; local [all...] |
/darwin-on-arm/xnu/bsd/dev/i386/ |
H A D | sysctl.c | 550 SYSCTL_NODE(_machdep_cpu, OID_AUTO, cache, CTLFLAG_RW|CTLFLAG_LOCKED, 0, 551 "cache"); 563 i386_cpu_info, "I", "L2 cache associativity");
|