Home
last modified time | relevance | path

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

12345678910>>...13

/dflybsd-src/contrib/libarchive/libarchive/
H A Darchive_read_disk_set_standard_lookup.c72 } cache[name_cache_size]; member
124 struct name_cache *cache = (struct name_cache *)data; in cleanup() local
127 if (cache != NULL) { in cleanup()
128 for (i = 0; i < cache->size; i++) { in cleanup()
129 if (cache->cache[i].name != NULL && in cleanup()
130 cache->cache[i].name != NO_NAME) in cleanup()
131 free((void *)(uintptr_t)cache->cache[i].name); in cleanup()
133 free(cache->buff); in cleanup()
134 free(cache); in cleanup()
142 lookup_name(struct name_cache *cache, in lookup_name() argument
[all …]
/dflybsd-src/contrib/gcc-4.7/libobjc/
H A Dhash.c36 #define FULLNESS(cache) \ argument
37 ((((cache)->size * 75) / 100) <= (cache)->used)
38 #define EXPANSION(cache) \ argument
39 ((cache)->size * 2)
45 cache_ptr cache; in objc_hash_new() local
53 cache = (cache_ptr) objc_calloc (1, sizeof (struct cache)); in objc_hash_new()
54 assert (cache); in objc_hash_new()
58 cache->node_table in objc_hash_new()
60 assert (cache->node_table); in objc_hash_new()
62 cache->size = size; in objc_hash_new()
[all …]
/dflybsd-src/contrib/gdb-7/gdb/
H A Ddwarf2-frame-tailcall.c73 const struct tailcall_cache *cache = arg; in cache_hash() local
75 return htab_hash_pointer (cache->next_bottom_frame); in cache_hash()
96 struct tailcall_cache *cache; in cache_new_ref1() local
99 cache = xzalloc (sizeof (*cache)); in cache_new_ref1()
101 cache->next_bottom_frame = next_bottom_frame; in cache_new_ref1()
102 cache->refc = 1; in cache_new_ref1()
104 slot = htab_find_slot (cache_htab, cache, INSERT); in cache_new_ref1()
106 *slot = cache; in cache_new_ref1()
108 return cache; in cache_new_ref1()
114 cache_ref (struct tailcall_cache *cache) in cache_ref() argument
[all …]
H A Damd64-tdep.c1711 amd64_init_frame_cache (struct amd64_frame_cache *cache) in amd64_init_frame_cache() argument
1716 cache->base = 0; in amd64_init_frame_cache()
1717 cache->base_p = 0; in amd64_init_frame_cache()
1718 cache->sp_offset = -8; in amd64_init_frame_cache()
1719 cache->pc = 0; in amd64_init_frame_cache()
1727 cache->saved_regs[i] = -1; in amd64_init_frame_cache()
1728 cache->saved_sp = 0; in amd64_init_frame_cache()
1729 cache->saved_sp_reg = -1; in amd64_init_frame_cache()
1732 cache->frameless_p = 1; in amd64_init_frame_cache()
1740 struct amd64_frame_cache *cache; in amd64_alloc_frame_cache() local
[all …]
H A Dsentinel-frame.c35 struct frame_unwind_cache *cache = in sentinel_frame_cache() local
38 cache->regcache = regcache; in sentinel_frame_cache()
39 return cache; in sentinel_frame_cache()
49 struct frame_unwind_cache *cache = *this_prologue_cache; in sentinel_frame_prev_register() local
52 value = regcache_cooked_read_value (cache->regcache, regnum); in sentinel_frame_prev_register()
73 struct frame_unwind_cache *cache = *this_prologue_cache; in sentinel_frame_prev_arch() local
75 return get_regcache_arch (cache->regcache); in sentinel_frame_prev_arch()
H A Ddummy-frame.c223 struct dummy_frame_cache *cache; in dummy_frame_sniffer() local
225 cache = FRAME_OBSTACK_ZALLOC (struct dummy_frame_cache); in dummy_frame_sniffer()
226 cache->prev_regcache = get_infcall_suspend_state_regcache in dummy_frame_sniffer()
228 cache->this_id = this_id; in dummy_frame_sniffer()
229 (*this_prologue_cache) = cache; in dummy_frame_sniffer()
245 struct dummy_frame_cache *cache = (*this_prologue_cache); in dummy_frame_prev_register() local
250 gdb_assert (cache != NULL); in dummy_frame_prev_register()
259 regcache_cooked_read (cache->prev_regcache, regnum, in dummy_frame_prev_register()
275 struct dummy_frame_cache *cache = (*this_prologue_cache); in dummy_frame_this_id() local
277 gdb_assert (cache != NULL); in dummy_frame_this_id()
[all …]
H A Ddwarf2-frame.c1012 struct dwarf2_frame_cache *cache; in dwarf2_frame_cache() local
1025 cache = FRAME_OBSTACK_ZALLOC (struct dwarf2_frame_cache); in dwarf2_frame_cache()
1026 cache->reg = FRAME_OBSTACK_CALLOC (num_regs, struct dwarf2_frame_state_reg); in dwarf2_frame_cache()
1027 *this_cache = cache; in dwarf2_frame_cache()
1052 fde = dwarf2_frame_find_fde (&fs->pc, &cache->text_offset); in dwarf2_frame_cache()
1059 cache->addr_size = fde->cie->addr_size; in dwarf2_frame_cache()
1100 cache->cfa = read_reg (this_frame, fs->regs.cfa_reg); in dwarf2_frame_cache()
1102 cache->cfa -= fs->regs.cfa_offset; in dwarf2_frame_cache()
1104 cache->cfa += fs->regs.cfa_offset; in dwarf2_frame_cache()
1108 cache->cfa = in dwarf2_frame_cache()
[all …]
H A Di386-tdep.c840 struct i386_frame_cache *cache; in i386_alloc_frame_cache() local
843 cache = FRAME_OBSTACK_ZALLOC (struct i386_frame_cache); in i386_alloc_frame_cache()
846 cache->base_p = 0; in i386_alloc_frame_cache()
847 cache->base = 0; in i386_alloc_frame_cache()
848 cache->sp_offset = -4; in i386_alloc_frame_cache()
849 cache->pc = 0; in i386_alloc_frame_cache()
854 cache->saved_regs[i] = -1; in i386_alloc_frame_cache()
855 cache->saved_sp = 0; in i386_alloc_frame_cache()
856 cache->saved_sp_reg = -1; in i386_alloc_frame_cache()
857 cache->pc_in_eax = 0; in i386_alloc_frame_cache()
[all …]
/dflybsd-src/contrib/gcc-8.0/gcc/
H A Dtree-streamer.c106 streamer_tree_cache_add_to_node_array (struct streamer_tree_cache_d *cache, in streamer_tree_cache_add_to_node_array() argument
110 if (cache->nodes.exists ()) in streamer_tree_cache_add_to_node_array()
112 if (cache->nodes.length () == ix) in streamer_tree_cache_add_to_node_array()
113 cache->nodes.safe_push (t); in streamer_tree_cache_add_to_node_array()
115 cache->nodes[ix] = t; in streamer_tree_cache_add_to_node_array()
117 if (cache->hashes.exists ()) in streamer_tree_cache_add_to_node_array()
119 if (cache->hashes.length () == ix) in streamer_tree_cache_add_to_node_array()
120 cache->hashes.safe_push (hash); in streamer_tree_cache_add_to_node_array()
122 cache->hashes[ix] = hash; in streamer_tree_cache_add_to_node_array()
138 streamer_tree_cache_insert_1 (struct streamer_tree_cache_d *cache, in streamer_tree_cache_insert_1() argument
[all …]
/dflybsd-src/test/sysperf/
H A Dmbwtest.data5 L1 cache size: 65536
6 L2 cache size: 1048576
7 L1 cache bandwidth: 14829.80 Mbytes/sec
8 L2 cache bandwidth: 7632.12 Mbytes/sec
9 non-cache bandwidth: 2522.32 Mbytes/sec
12 L1 cache size: 8192
13 L2 cache size: 131072
14 L1 cache bandwidth: 6419.16 Mbytes/sec
15 L2 cache bandwidth: 4464.86 Mbytes/sec
16 non-cache bandwidth: 1520.00 Mbytes/sec
[all …]
/dflybsd-src/contrib/gcc-4.7/gcc/
H A Dtree-streamer.c94 streamer_tree_cache_add_to_node_array (struct streamer_tree_cache_d *cache, in streamer_tree_cache_add_to_node_array() argument
99 gcc_assert (ix <= VEC_length (tree, cache->nodes)); in streamer_tree_cache_add_to_node_array()
101 if (ix == VEC_length (tree, cache->nodes)) in streamer_tree_cache_add_to_node_array()
102 VEC_safe_push (tree, heap, cache->nodes, t); in streamer_tree_cache_add_to_node_array()
104 VEC_replace (tree, cache->nodes, ix, t); in streamer_tree_cache_add_to_node_array()
119 streamer_tree_cache_insert_1 (struct streamer_tree_cache_d *cache, in streamer_tree_cache_insert_1() argument
129 slot = pointer_map_insert (cache->node_map, t); in streamer_tree_cache_insert_1()
134 ix = VEC_length (tree, cache->nodes); in streamer_tree_cache_insert_1()
139 streamer_tree_cache_add_to_node_array (cache, ix, t); in streamer_tree_cache_insert_1()
154 streamer_tree_cache_add_to_node_array (cache, ix, t); in streamer_tree_cache_insert_1()
[all …]
/dflybsd-src/contrib/dialog/
H A Dinputstr.c181 #define load_cache(cache, string) &my_cache argument
189 same_cache2(CACHE * cache, const char *string, unsigned i_len) in same_cache2() argument
194 if (cache->s_len == 0 in same_cache2()
195 || cache->s_len < s_len in same_cache2()
196 || cache->list == 0 in same_cache2()
197 || !SAME_CACHE(cache, string, (size_t) s_len)) { in same_cache2()
200 if (cache->list == 0) { in same_cache2()
201 cache->list = dlg_malloc(int, need); in same_cache2()
202 } else if (cache->i_len < i_len) { in same_cache2()
203 cache->list = dlg_realloc(int, need, cache->list); in same_cache2()
[all …]
/dflybsd-src/crypto/libressl/crypto/x509/
H A Dpcy_cache.c78 X509_POLICY_CACHE *cache = x->policy_cache; in policy_cache_create() local
84 cache->data = sk_X509_POLICY_DATA_new(policy_data_cmp); in policy_cache_create()
85 if (!cache->data) in policy_cache_create()
96 if (cache->anyPolicy) { in policy_cache_create()
100 cache->anyPolicy = data; in policy_cache_create()
101 } else if (sk_X509_POLICY_DATA_find(cache->data, data) != -1) { in policy_cache_create()
104 } else if (!sk_X509_POLICY_DATA_push(cache->data, data)) in policy_cache_create()
117 sk_X509_POLICY_DATA_pop_free(cache->data, policy_data_free); in policy_cache_create()
118 cache->data = NULL; in policy_cache_create()
126 X509_POLICY_CACHE *cache; in policy_cache_new() local
[all …]
H A Dpcy_tree.c147 const X509_POLICY_CACHE *cache; in tree_init() local
184 cache = policy_cache_set(x); in tree_init()
186 if (cache == NULL) in tree_init()
194 else if ((ret == 1) && !cache->data) in tree_init()
199 if ((cache->explicit_skip != -1) && in tree_init()
200 (cache->explicit_skip < explicit_policy)) in tree_init()
201 explicit_policy = cache->explicit_skip; in tree_init()
245 cache = policy_cache_set(x); in tree_init()
249 if (!cache->anyPolicy) in tree_init()
262 if ((cache->any_skip >= 0) && in tree_init()
[all …]
/dflybsd-src/contrib/mpfr/src/
H A Dcache.c29 mpfr_init_cache (mpfr_cache_t cache, int (*func)(mpfr_ptr, mpfr_rnd_t))
31 MPFR_PREC (cache->x) = 0; /* Invalid prec to detect that the cache is not
33 cache->func = func;
38 mpfr_clear_cache (mpfr_cache_t cache) in mpfr_clear_cache() argument
40 if (MPFR_PREC (cache->x) != 0) in mpfr_clear_cache()
41 mpfr_clear (cache->x); in mpfr_clear_cache()
42 MPFR_PREC (cache->x) = 0; in mpfr_clear_cache()
46 mpfr_cache (mpfr_ptr dest, mpfr_cache_t cache, mpfr_rnd_t rnd) in mpfr_cache() argument
49 mpfr_prec_t pold = MPFR_PREC (cache->x); in mpfr_cache()
61 mpfr_init2 (cache->x, prec); in mpfr_cache()
[all …]
/dflybsd-src/sbin/hammer/
H A Dcache.c85 hammer_cache_add(cache_info_t cache) in hammer_cache_add() argument
87 TAILQ_INSERT_HEAD(&CacheList, cache, entry); in hammer_cache_add()
92 hammer_cache_del(cache_info_t cache) in hammer_cache_del() argument
94 TAILQ_REMOVE(&CacheList, cache, entry); in hammer_cache_del()
99 hammer_cache_used(cache_info_t cache) in hammer_cache_used() argument
101 TAILQ_REMOVE(&CacheList, cache, entry); in hammer_cache_used()
102 TAILQ_INSERT_TAIL(&CacheList, cache, entry); in hammer_cache_used()
108 cache_info_t cache; in hammer_cache_flush() local
113 while ((cache = TAILQ_FIRST(&CacheList)) != NULL) { in hammer_cache_flush()
114 if (cache == first) in hammer_cache_flush()
[all …]
/dflybsd-src/sys/dev/acpica/Osd/
H A DOsdCache.c38 struct objcache *cache; member
48 void *cache; member
65 ACPI_CACHE_T *cache; in AcpiOsCreateCache() local
67 cache = kmalloc(sizeof(*cache), M_TEMP, M_WAITOK); in AcpiOsCreateCache()
68 cache->args.objsize = OBJHEADSIZE + ObjectSize; in AcpiOsCreateCache()
69 cache->args.mtype = M_CACHE; in AcpiOsCreateCache()
70 cache->cache = objcache_create(CacheName, 0, 0, NULL, NULL, in AcpiOsCreateCache()
71 NULL, objcache_malloc_alloc, objcache_malloc_free, &cache->args); in AcpiOsCreateCache()
72 *ReturnCache = cache; in AcpiOsCreateCache()
79 objcache_destroy(Cache->cache); in AcpiOsDeleteCache()
[all …]
/dflybsd-src/contrib/wpa_supplicant/src/ap/
H A Dieee802_11_auth.c442 struct hostapd_cached_radius_acl *cache) in decode_tunnel_passwords() argument
480 hostapd_logger(hapd, cache->addr, in decode_tunnel_passwords()
491 psk->next = cache->psk; in decode_tunnel_passwords()
492 cache->psk = psk; in decode_tunnel_passwords()
520 struct hostapd_cached_radius_acl *cache; in hostapd_acl_recv_radius() local
551 cache = os_zalloc(sizeof(*cache)); in hostapd_acl_recv_radius()
552 if (cache == NULL) { in hostapd_acl_recv_radius()
556 os_get_reltime(&cache->timestamp); in hostapd_acl_recv_radius()
557 os_memcpy(cache->addr, query->addr, sizeof(cache->addr)); in hostapd_acl_recv_radius()
563 &cache->session_timeout) == 0) in hostapd_acl_recv_radius()
[all …]
/dflybsd-src/gnu/usr.bin/gdb/kgdb/
H A Dtrgt_x86_64.c157 struct kgdb_frame_cache *cache; in kgdb_trgt_frame_cache() local
160 cache = *this_cache; in kgdb_trgt_frame_cache()
161 if (cache == NULL) { in kgdb_trgt_frame_cache()
162 cache = FRAME_OBSTACK_ZALLOC(struct kgdb_frame_cache); in kgdb_trgt_frame_cache()
163 *this_cache = cache; in kgdb_trgt_frame_cache()
164 cache->pc = get_frame_address_in_block(next_frame); in kgdb_trgt_frame_cache()
165 cache->sp = get_frame_sp(next_frame); in kgdb_trgt_frame_cache()
166 find_pc_partial_function(cache->pc, &pname, NULL, NULL); in kgdb_trgt_frame_cache()
169 cache->frame_type = FT_CALLTRAP; in kgdb_trgt_frame_cache()
171 cache->frame_type = FT_NORMAL; in kgdb_trgt_frame_cache()
[all …]
/dflybsd-src/contrib/file/magic/Magdir/
H A Dapt5 # <http://www.fifi.org/doc/libapt-pkg-doc/cache.html/ch2.html>
11 0 name apt-cache-64bit-be
17 0 name apt-cache-32bit-be
23 0 name apt-cache-be
29 >8 ubeshort <10 APT cache data, version %u
31 >>0 use apt-cache-64bit-be
34 >8 uleshort <10 APT cache data, version %u
36 >>0 use \^apt-cache-64bit-be
39 >4 ubeshort <10 APT cache data, version %u
41 >>0 use apt-cache-32bit-be
[all …]
/dflybsd-src/contrib/bmake/mk/
H A Ddirdeps-cache-update.mk82 .if ${.MAKE.LEVEL} == 0 && !make(cache-update)
97 … d in ${STATIC_DIRDEPS_CACHE:H}/cache-update ${STATIC_DIRDEPS_CACHE:H:H}/cache-update ${STATIC_DIR…
104 DYNAMIC_DIRDEPS_CACHE := ${OBJTOP}/dirdeps.cache.${STATIC_DIRDEPS_CACHE:H:T}-update
118 all: cache-build
119 cache-build: .META
121 ${.MAKE} -C ${SRCTOP} -f ${RELDIR}/Makefile cache-update \
126 .elif ${.MAKE.LEVEL} == 0 && make(cache-update) && !target(cache-update)
140 cache-update: ${DIRDEPS_CACHE}
160 all: cache-update
163 cache-built:
[all …]
/dflybsd-src/contrib/gcc-4.7/libobjc/objc-private/
H A Dhash.h79 typedef struct cache struct
111 void objc_hash_delete (cache_ptr cache);
123 void objc_hash_remove (cache_ptr cache, const void *key);
134 node_ptr objc_hash_next (cache_ptr cache, node_ptr node);
138 void *objc_hash_value_for_key (cache_ptr cache, const void *key);
142 BOOL objc_hash_is_key_in_hash (cache_ptr cache, const void *key);
157 objc_hash_ptr (cache_ptr cache, const void *key) in objc_hash_ptr() argument
159 return ((size_t)key / sizeof (void *)) & cache->mask; in objc_hash_ptr()
166 objc_hash_string (cache_ptr cache, const void *key) in objc_hash_string() argument
177 return ret & cache->mask; in objc_hash_string()
/dflybsd-src/etc/
H A Dnscd.conf6 enable-cache passwd yes
7 enable-cache group yes
8 enable-cache hosts yes
9 enable-cache services yes
10 enable-cache protocols yes
11 enable-cache rpc yes
12 enable-cache networks yes
/dflybsd-src/sys/dev/drm/i915/
H A Di915_gem_execbuffer.c510 static inline int use_cpu_reloc(const struct reloc_cache *cache, in use_cpu_reloc() argument
522 return (cache->has_llc || in use_cpu_reloc()
843 static void reloc_cache_init(struct reloc_cache *cache, in reloc_cache_init() argument
846 cache->page = -1; in reloc_cache_init()
847 cache->vaddr = 0; in reloc_cache_init()
849 cache->gen = INTEL_GEN(i915); in reloc_cache_init()
850 cache->has_llc = HAS_LLC(i915); in reloc_cache_init()
851 cache->use_64bit_reloc = HAS_64BIT_RELOC(i915); in reloc_cache_init()
852 cache->has_fence = cache->gen < 4; in reloc_cache_init()
853 cache->needs_unfenced = INTEL_INFO(i915)->unfenced_needs_alignment; in reloc_cache_init()
[all …]
H A Dintel_fbc.c82 static void intel_fbc_get_plane_source_size(struct intel_fbc_state_cache *cache, in intel_fbc_get_plane_source_size() argument
86 *width = cache->plane.src_w; in intel_fbc_get_plane_source_size()
88 *height = cache->plane.src_h; in intel_fbc_get_plane_source_size()
92 struct intel_fbc_state_cache *cache) in intel_fbc_calculate_cfb_size() argument
96 intel_fbc_get_plane_source_size(cache, NULL, &lines); in intel_fbc_calculate_cfb_size()
103 return lines * cache->fb.stride; in intel_fbc_calculate_cfb_size()
742 struct intel_fbc_state_cache *cache = &fbc->state_cache; in intel_fbc_update_state_cache() local
745 cache->vma = NULL; in intel_fbc_update_state_cache()
747 cache->crtc.mode_flags = crtc_state->base.adjusted_mode.flags; in intel_fbc_update_state_cache()
749 cache->crtc.hsw_bdw_pixel_rate = crtc_state->pixel_rate; in intel_fbc_update_state_cache()
[all …]

12345678910>>...13