| /freebsd-13.1/sys/contrib/device-tree/src/arm64/amazon/ |
| H A D | alpine-v3.dtsi | 30 d-cache-sets = <256>; 33 i-cache-sets = <256>; 44 d-cache-sets = <256>; 47 i-cache-sets = <256>; 58 d-cache-sets = <256>; 61 i-cache-sets = <256>; 72 d-cache-sets = <256>; 252 cache-level = <2>; 260 cache-level = <2>; 268 cache-level = <2>; [all …]
|
| /freebsd-13.1/contrib/libarchive/libarchive/ |
| H A D | archive_read_disk_set_standard_lookup.c | 129 if (cache->cache[i].name != NULL && in cleanup() 130 cache->cache[i].name != NO_NAME) in cleanup() 152 if (cache->cache[slot].name != NULL) { in lookup_name() 153 if (cache->cache[slot].id == id) { in lookup_name() 157 return (cache->cache[slot].name); in lookup_name() 161 cache->cache[slot].name = NULL; in lookup_name() 167 cache->cache[slot].name = NO_NAME; in lookup_name() 168 cache->cache[slot].id = id; in lookup_name() 172 cache->cache[slot].name = name; in lookup_name() 173 cache->cache[slot].id = id; in lookup_name() [all …]
|
| /freebsd-13.1/contrib/subversion/subversion/libsvn_subr/ |
| H A D | cache-inprocess.c | 254 *found = apr_hash_get(cache->hash, key, cache->klen) != NULL; in inprocess_cache_has_key_internal() 297 apr_hash_set(cache->hash, e->key, cache->klen, NULL); in erase_page() 319 existing_entry = apr_hash_get(cache->hash, key, cache->klen); in inprocess_cache_set_internal() 368 if (cache->partial_page == NULL && cache->unallocated_pages > 0) in inprocess_cache_set_internal() 370 cache->partial_page = apr_pcalloc(cache->cache_pool, in inprocess_cache_set_internal() 428 if (cache->partial_page_number_filled >= cache->items_per_page) in inprocess_cache_set_internal() 607 info->total_entries = cache->items_per_page * cache->total_pages; in inprocess_cache_get_info_internal() 658 inprocess_cache_t *cache = apr_pcalloc(pool, sizeof(*cache)); in svn_cache__create_inprocess() local 676 cache->sentinel = apr_pcalloc(pool, sizeof(*(cache->sentinel))); in svn_cache__create_inprocess() 677 cache->sentinel->prev = cache->sentinel; in svn_cache__create_inprocess() [all …]
|
| H A D | cache.c | 42 if (cache == NULL) in svn_cache__is_cachable() 45 return cache->vtable->is_cachable(cache->cache_internal, size); in svn_cache__is_cachable() 59 err = (cache->error_handler)(err, cache->error_baton, pool); in handle_error() 83 cache->reads++; in svn_cache__get() 93 cache->hits++; in svn_cache__get() 124 cache->writes++; in svn_cache__set() 126 (cache->vtable->set)(cache->cache_internal, in svn_cache__set() 173 cache->reads++; in svn_cache__get_partial() 185 cache->hits++; in svn_cache__get_partial() 197 cache->writes++; in svn_cache__set_partial() [all …]
|
| H A D | cache-membuffer.c | 1605 memmove(cache->data + cache->l2.current_data, in promote_entry() 1616 unchain_entry(cache, &cache->l1, entry, idx); in promote_entry() 1617 chain_entry(cache, &cache->l2, entry, idx); in promote_entry() 1700 cache->l2.next = cache->l2.first; in ensure_data_insertable_l2() 1705 entry = get_entry(cache, cache->l2.next); in ensure_data_insertable_l2() 1811 cache->l1.next = cache->l1.first; in ensure_data_insertable_l1() 2945 combine_key(cache, key, cache->key_len); in svn_membuffer_cache_get() 2982 combine_key(cache, key, cache->key_len); in svn_membuffer_cache_has_key() 3012 combine_key(cache, key, cache->key_len); in svn_membuffer_cache_set() 3062 combine_key(cache, key, cache->key_len); in svn_membuffer_cache_get_partial() [all …]
|
| /freebsd-13.1/sys/contrib/device-tree/Bindings/powerpc/fsl/ |
| H A D | l2cache.txt | 9 "fsl,8540-l2-cache-controller" 10 "fsl,8541-l2-cache-controller" 11 "fsl,8544-l2-cache-controller" 12 "fsl,8548-l2-cache-controller" 13 "fsl,8555-l2-cache-controller" 14 "fsl,8568-l2-cache-controller" 19 "fsl,c293-l2-cache-controller" 47 and "cache". 49 - cache-size : Size of the entire L2 cache 51 - cache-line-size : Size of L2 cache lines [all …]
|
| /freebsd-13.1/sys/contrib/device-tree/src/arm64/ti/ |
| H A D | k3-am654.dtsi | 43 i-cache-sets = <256>; 46 d-cache-sets = <128>; 57 i-cache-sets = <256>; 60 d-cache-sets = <128>; 94 compatible = "cache"; 95 cache-level = <2>; 98 cache-sets = <512>; 103 compatible = "cache"; 104 cache-level = <2>; 107 cache-sets = <512>; [all …]
|
| /freebsd-13.1/sys/contrib/device-tree/Bindings/arm/socionext/ |
| H A D | socionext,uniphier-system-cache.yaml | 36 cache-unified: true 38 cache-size: true 40 cache-sets: true 44 cache-level: 59 - cache-unified 60 - cache-size 61 - cache-sets 62 - cache-line-size 63 - cache-level 72 cache-unified; [all …]
|
| /freebsd-13.1/sys/contrib/device-tree/src/arm64/marvell/ |
| H A D | armada-ap806-quad.dtsi | 25 i-cache-size = <0xc000>; 27 i-cache-sets = <256>; 30 d-cache-sets = <256>; 42 i-cache-sets = <256>; 45 d-cache-sets = <256>; 57 i-cache-sets = <256>; 60 d-cache-sets = <256>; 72 i-cache-sets = <256>; 75 d-cache-sets = <256>; 83 cache-sets = <512>; [all …]
|
| H A D | armada-ap807-quad.dtsi | 25 i-cache-size = <0xc000>; 27 i-cache-sets = <256>; 30 d-cache-sets = <256>; 42 i-cache-sets = <256>; 45 d-cache-sets = <256>; 57 i-cache-sets = <256>; 60 d-cache-sets = <256>; 72 i-cache-sets = <256>; 75 d-cache-sets = <256>; 83 cache-sets = <512>; [all …]
|
| H A D | armada-ap806-dual.dtsi | 25 i-cache-size = <0xc000>; 27 i-cache-sets = <256>; 28 d-cache-size = <0x8000>; 30 d-cache-sets = <256>; 42 i-cache-sets = <256>; 45 d-cache-sets = <256>; 49 l2: l2-cache { 50 compatible = "cache"; 51 cache-size = <0x80000>; 52 cache-line-size = <64>; [all …]
|
| /freebsd-13.1/sys/contrib/openzfs/module/os/freebsd/spl/ |
| H A D | spl_kmem.c | 147 return (cache->kc_constructor(mem, cache->kc_private, flags)); in kmem_std_constructor() 155 cache->kc_destructor(mem, cache->kc_private); in kmem_std_destructor() 167 cache = kmem_alloc(sizeof (*cache), KM_SLEEP); in kmem_cache_create() 168 strlcpy(cache->kc_name, name, sizeof (cache->kc_name)); in kmem_cache_create() 173 cache->kc_zone = uma_zcreate(cache->kc_name, bufsize, in kmem_cache_create() 181 return (cache); in kmem_cache_create() 190 kmem_free(cache, sizeof (*cache)); in kmem_cache_destroy() 197 return (uma_zalloc_arg(cache->kc_zone, cache, flags)); in kmem_cache_alloc() 203 kmem_std_constructor(p, cache->kc_size, cache, flags); in kmem_cache_alloc() 212 uma_zfree_arg(cache->kc_zone, buf, cache); in kmem_cache_free() [all …]
|
| /freebsd-13.1/sys/contrib/device-tree/src/arm64/arm/ |
| H A D | juno-r1.dts | 94 i-cache-sets = <256>; 97 d-cache-sets = <256>; 111 i-cache-sets = <256>; 114 d-cache-sets = <256>; 128 i-cache-sets = <256>; 131 d-cache-sets = <128>; 145 i-cache-sets = <256>; 148 d-cache-sets = <128>; 162 i-cache-sets = <256>; 193 cache-sets = <2048>; [all …]
|
| H A D | juno.dts | 93 i-cache-sets = <256>; 96 d-cache-sets = <256>; 111 i-cache-sets = <256>; 114 d-cache-sets = <256>; 129 i-cache-sets = <256>; 132 d-cache-sets = <128>; 147 i-cache-sets = <256>; 150 d-cache-sets = <128>; 165 i-cache-sets = <256>; 198 cache-sets = <2048>; [all …]
|
| H A D | juno-r2.dts | 94 i-cache-sets = <256>; 97 d-cache-sets = <256>; 112 i-cache-sets = <256>; 115 d-cache-sets = <256>; 130 i-cache-sets = <256>; 133 d-cache-sets = <128>; 148 i-cache-sets = <256>; 151 d-cache-sets = <128>; 166 i-cache-sets = <256>; 199 cache-sets = <2048>; [all …]
|
| /freebsd-13.1/contrib/processor-trace/libipt/src/ |
| H A D | pt_tnt_cache.c | 36 if (!cache) in pt_tnt_cache_init() 39 cache->tnt = 0ull; in pt_tnt_cache_init() 40 cache->index = 0ull; in pt_tnt_cache_init() 45 if (!cache) in pt_tnt_cache_is_empty() 48 return cache->index == 0; in pt_tnt_cache_is_empty() 55 if (!cache) in pt_tnt_cache_query() 58 if (!cache->index) in pt_tnt_cache_query() 61 taken = (cache->tnt & cache->index) != 0; in pt_tnt_cache_query() 62 cache->index >>= 1; in pt_tnt_cache_query() 75 if (!cache || !packet) in pt_tnt_cache_update_tnt() [all …]
|
| H A D | pt_msec_cache.c | 38 if (!cache) in pt_msec_cache_init() 41 memset(cache, 0, sizeof(*cache)); in pt_msec_cache_init() 48 if (!cache) in pt_msec_cache_fini() 52 pt_msec_fini(&cache->msec); in pt_msec_cache_fini() 60 if (!cache) in pt_msec_cache_invalidate() 83 if (!cache || !pmsec) in pt_msec_cache_read() 86 msec = &cache->msec; in pt_msec_cache_read() 87 isid = cache->isid; in pt_msec_cache_read() 108 if (!cache || !pmsec) in pt_msec_cache_fill() 115 msec = &cache->msec; in pt_msec_cache_fill() [all …]
|
| /freebsd-13.1/tests/sys/cddl/zfs/tests/cache/ |
| H A D | cache_test.sh | 39 . $(atf_get_srcdir)/cache.kshlib 40 . $(atf_get_srcdir)/cache.cfg 50 . $(atf_get_srcdir)/cache.cfg 67 . $(atf_get_srcdir)/cache.cfg 77 . $(atf_get_srcdir)/cache.cfg 94 . $(atf_get_srcdir)/cache.cfg 104 . $(atf_get_srcdir)/cache.cfg 121 . $(atf_get_srcdir)/cache.cfg 131 . $(atf_get_srcdir)/cache.cfg 148 . $(atf_get_srcdir)/cache.cfg [all …]
|
| /freebsd-13.1/crypto/openssl/crypto/x509v3/ |
| H A D | pcy_cache.c | 37 if (cache->data == NULL) { in policy_cache_create() 76 cache->data = NULL; in policy_cache_create() 92 cache = OPENSSL_malloc(sizeof(*cache)); in policy_cache_new() 93 if (cache == NULL) { in policy_cache_new() 97 cache->anyPolicy = NULL; in policy_cache_new() 98 cache->data = NULL; in policy_cache_new() 99 cache->any_skip = -1; in policy_cache_new() 101 cache->map_skip = -1; in policy_cache_new() 103 x->policy_cache = cache; in policy_cache_new() 180 if (!cache) in policy_cache_free() [all …]
|
| /freebsd-13.1/contrib/dialog/ |
| H A D | inputstr.c | 213 || cache->list == 0 in same_cache2() 220 cache->list = dlg_realloc(int, need, cache->list); in same_cache2() 225 if (cache->s_len >= s_len && cache->string != 0) { in same_cache2() 253 if (cache->s_len >= s_len && cache->string != 0) { in same_cache1() 336 cache->i_len = 0; in dlg_count_wchars() 362 cache->list[0] = 0; in dlg_index_wchars() 373 cache->list[inx] = cache->list[inx - 1] + width; in dlg_index_wchars() 427 result = ((cache->list[inx] | 7) + 1) - cache->list[inx]; in dlg_index_columns() 450 cache->list[inx + 1] += cache->list[inx]; in dlg_index_columns() 460 ((cache->list[inx] | 7) + 1) - cache->list[inx]; in dlg_index_columns() [all …]
|
| /freebsd-13.1/sys/contrib/device-tree/Bindings/riscv/ |
| H A D | sifive-l2-cache.txt | 12 - cache-block-size: Specifies the block size in bytes of the cache. 15 - cache-level: Should be set to 2 for a level 2 cache 17 - cache-sets: Specifies the number of associativity sets of the cache. 20 - cache-size: Specifies the size in bytes of the cache. Should be 2097152 22 - cache-unified: Specifies the cache is a unified cache 30 - next-level-cache: phandle to the next level cache if present. 41 cache-block-size = <64>; 42 cache-level = <2>; 43 cache-sets = <1024>; 44 cache-size = <2097152>; [all …]
|
| /freebsd-13.1/sys/contrib/device-tree/Bindings/cpufreq/ |
| H A D | cpufreq-qcom-hw.txt | 60 L2_0: l2-cache { 61 compatible = "cache"; 63 L3_0: l3-cache { 76 L2_100: l2-cache { 77 compatible = "cache"; 89 L2_200: l2-cache { 102 L2_300: l2-cache { 115 L2_400: l2-cache { 128 L2_500: l2-cache { 141 L2_600: l2-cache { [all …]
|
| /freebsd-13.1/cddl/compat/opensolaris/lib/libumem/ |
| H A D | umem.c | 111 if(cache == NULL) in umem_cache_create() 114 cache->constructor = constructor; in umem_cache_create() 115 cache->destructor = destructor; in umem_cache_create() 117 cache->bufsize = bufsize; in umem_cache_create() 119 return cache; in umem_cache_create() 127 void *buf = malloc(cache->bufsize); in umem_cache_alloc() 137 if(cache->constructor != NULL) { in umem_cache_alloc() 138 if(cache->constructor(buf, cache->callback_data, flags) != 0) { in umem_cache_alloc() 157 if(cache->destructor != NULL) in umem_cache_free() 158 cache->destructor(buffer, cache->callback_data); in umem_cache_free() [all …]
|
| /freebsd-13.1/sys/cam/scsi/ |
| H A D | scsi_enc_safte.c | 396 cache->elm_map[oid].encstat[0] = in safte_process_status() 414 cache->elm_map[oid].encstat[0] = in safte_process_status() 439 cache->elm_map[oid++].svalid = 1; in safte_process_status() 477 cache->elm_map[oid].encstat[0] = in safte_process_status() 541 cache->elm_map[oid].encstat[0] = in safte_process_status() 547 cache->elm_map[oid++].svalid = 1; in safte_process_status() 564 cache->elm_map[oid++].svalid = 1; in safte_process_status() 623 cache->elm_map[oid++].svalid = 1; in safte_process_status() 654 cache->elm_map[oid++].svalid = 1; in safte_process_status() 658 cache->enc_status = in safte_process_status() [all …]
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_allocator.cpp | 53 (void)cache; in RawInternalAlloc() 72 (void)cache; in RawInternalRealloc() 77 (void)cache; in RawInternalFree() 111 if (cache == 0) { in RawInternalAlloc() 122 if (cache == 0) { in RawInternalRealloc() 131 if (!cache) { in RawInternalFree() 135 internal_allocator()->Deallocate(cache, ptr); in RawInternalFree() 155 void *p = RawInternalRealloc(addr, size, cache); in InternalRealloc() 170 return InternalRealloc(addr, count * size, cache); in InternalReallocArray() 180 void *p = InternalAlloc(count * size, cache); in InternalCalloc() [all …]
|