Home
last modified time | relevance | path

Searched refs:cache (Results 51 – 75 of 2199) sorted by relevance

12345678910>>...88

/openbmc/qemu/tests/qemu-iotests/
H A D142.out29 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,cache=invalid_value: invalid cache option
37 cache.direct=on on none0
44 cache.direct=on on file
51 cache.direct=on on backing
113 cache.direct=on on none0
120 cache.direct=on on file
196 cache.direct=on on file
272 cache.direct=on on file
427 cache.direct=on on blk
503 cache.direct=on on blk
[all …]
/openbmc/linux/fs/cachefiles/
H A Dvolume.c20 struct cachefiles_cache *cache = vcookie->cache->cache_priv; in cachefiles_acquire_volume() local
34 volume->cache = cache; in cachefiles_acquire_volume()
37 cachefiles_begin_secure(cache, &saved_cred); in cachefiles_acquire_volume()
48 vdentry = cachefiles_get_directory(cache, cache->store, name, &is_new); in cachefiles_acquire_volume()
62 cachefiles_bury_object(cache, NULL, cache->store, vdentry, in cachefiles_acquire_volume()
78 cachefiles_end_secure(cache, saved_cred); in cachefiles_acquire_volume()
86 spin_lock(&cache->object_list_lock); in cachefiles_acquire_volume()
88 spin_unlock(&cache->object_list_lock); in cachefiles_acquire_volume()
102 cachefiles_end_secure(cache, saved_cred); in cachefiles_acquire_volume()
127 spin_lock(&volume->cache->object_list_lock); in cachefiles_free_volume()
[all …]
H A Dsecurity.c16 int cachefiles_get_security_ID(struct cachefiles_cache *cache) in cachefiles_get_security_ID() argument
21 _enter("{%s}", cache->secctx); in cachefiles_get_security_ID()
29 if (cache->secctx) { in cachefiles_get_security_ID()
30 ret = set_security_override_from_ctx(new, cache->secctx); in cachefiles_get_security_ID()
39 cache->cache_cred = new; in cachefiles_get_security_ID()
90 cachefiles_end_secure(cache, *_saved_cred); in cachefiles_determine_cache_security()
97 cachefiles_begin_secure(cache, _saved_cred); in cachefiles_determine_cache_security()
102 put_cred(cache->cache_cred); in cachefiles_determine_cache_security()
103 cache->cache_cred = new; in cachefiles_determine_cache_security()
105 cachefiles_begin_secure(cache, _saved_cred); in cachefiles_determine_cache_security()
[all …]
H A Dnamei.c69 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_unmark_inode_in_use() local
77 cachefiles_state_changed(cache); in cachefiles_unmark_inode_in_use()
126 path.mnt = cache->mnt; in cachefiles_get_directory()
234 .mnt = cache->mnt, in cachefiles_unlink()
376 path.mnt = cache->mnt; in cachefiles_bury_object()
378 path_to_graveyard.mnt = cache->mnt; in cachefiles_bury_object()
400 cachefiles_io_error(cache, in cachefiles_bury_object()
441 struct cachefiles_cache *cache = volume->cache; in cachefiles_create_tmpfile() local
457 cache->cache_cred); in cachefiles_create_tmpfile()
545 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_open_file() local
[all …]
H A Dinterface.c47 fscache_count_object(vcookie->cache); in cachefiles_alloc_object()
84 struct fscache_cache *cache; in cachefiles_put_object() local
97 cache = object->volume->cache->cache; in cachefiles_put_object()
101 fscache_uncount_object(cache); in cachefiles_put_object()
180 struct cachefiles_cache *cache = cookie->volume->cache->cache_priv; in cachefiles_lookup_cookie() local
203 spin_lock(&cache->object_list_lock); in cachefiles_lookup_cookie()
205 spin_unlock(&cache->object_list_lock); in cachefiles_lookup_cookie()
235 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_shorten_object() local
282 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_resize_cookie() local
357 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_withdraw_cookie() local
[all …]
/openbmc/linux/mm/kasan/
H A Dcommon.c138 kasan_unpoison(object, cache->object_size, false); in __kasan_unpoison_object_data()
161 static inline u8 assign_tag(struct kmem_cache *cache, in assign_tag() argument
171 if (!cache->ctor && !(cache->flags & SLAB_TYPESAFE_BY_RCU)) in assign_tag()
192 kasan_init_object_meta(cache, object); in __kasan_init_slab_obj()
221 if (unlikely(cache->flags & SLAB_TYPESAFE_BY_RCU)) in ____kasan_slab_free()
236 kasan_save_free_info(cache, tagged_object); in ____kasan_slab_free()
238 return kasan_quarantine_put(cache, object); in ____kasan_slab_free()
317 tag = assign_tag(cache, object, false); in __kasan_slab_alloc()
328 kasan_save_alloc_info(cache, tagged_object, flags); in __kasan_slab_alloc()
374 kasan_save_alloc_info(cache, (void *)object, flags); in ____kasan_kmalloc()
[all …]
H A Dgeneric.c204 kasan_quarantine_remove_cache(cache); in kasan_cache_shrink()
209 if (!__kmem_cache_empty(cache)) in kasan_cache_shutdown()
210 kasan_quarantine_remove_cache(cache); in kasan_cache_shutdown()
382 cache->kasan_info.alloc_meta_offset = *size; in kasan_cache_create()
392 cache->kasan_info.alloc_meta_offset = 0; in kasan_cache_create()
407 if ((cache->flags & SLAB_TYPESAFE_BY_RCU) || cache->ctor || in kasan_cache_create()
422 optimal_size = cache->object_size + optimal_redzone(cache->object_size); in kasan_cache_create()
434 if (!cache->kasan_info.alloc_meta_offset) in kasan_get_alloc_meta()
478 struct kmem_cache *cache; in __kasan_record_aux_stack() local
485 cache = slab->slab_cache; in __kasan_record_aux_stack()
[all …]
/openbmc/linux/arch/arm64/boot/dts/apple/
H A Dt600x-common.dtsi66 i-cache-size = <0x20000>;
67 d-cache-size = <0x10000>;
200 compatible = "cache";
201 cache-level = <2>;
202 cache-unified;
207 compatible = "cache";
208 cache-level = <2>;
209 cache-unified;
214 compatible = "cache";
215 cache-level = <2>;
[all …]
/openbmc/linux/fs/btrfs/
H A Dlru_cache.h50 #define btrfs_lru_cache_for_each_entry_safe(cache, entry, tmp) \ argument
51 list_for_each_entry_safe_reverse((entry), (tmp), &(cache)->lru_list, lru_list)
53 static inline unsigned int btrfs_lru_cache_size(const struct btrfs_lru_cache *cache) in btrfs_lru_cache_size() argument
55 return cache->size; in btrfs_lru_cache_size()
59 struct btrfs_lru_cache *cache) in btrfs_lru_cache_lru_entry() argument
61 return list_first_entry_or_null(&cache->lru_list, in btrfs_lru_cache_lru_entry()
65 void btrfs_lru_cache_init(struct btrfs_lru_cache *cache, unsigned int max_size);
66 struct btrfs_lru_cache_entry *btrfs_lru_cache_lookup(struct btrfs_lru_cache *cache,
68 int btrfs_lru_cache_store(struct btrfs_lru_cache *cache,
71 void btrfs_lru_cache_remove(struct btrfs_lru_cache *cache,
[all …]
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dplatform.c196 u8 *cache = ppd->qsfp_info.cache; in qual_power() local
225 u8 *cache = ppd->qsfp_info.cache; in qual_bitrate() local
251 u8 *cache = ppd->qsfp_info.cache; in set_qsfp_high_power() local
288 u8 *cache = ppd->qsfp_info.cache; in apply_rx_cdr() local
339 u8 *cache = ppd->qsfp_info.cache; in apply_tx_cdr() local
388 u8 *cache = ppd->qsfp_info.cache; in apply_cdr_settings() local
401 u8 *cache = ppd->qsfp_info.cache; in apply_tx_eq_auto() local
414 u8 *cache = ppd->qsfp_info.cache; in apply_tx_eq_prog() local
503 u8 *cache = ppd->qsfp_info.cache; in apply_eq_settings() local
620 u8 *cache = ppd->qsfp_info.cache; in aoc_low_power_setting() local
[all …]
/openbmc/linux/arch/riscv/boot/dts/sifive/
H A Dfu540-c000.dtsi29 i-cache-sets = <128>;
30 i-cache-size = <16384>;
43 d-cache-sets = <64>;
49 i-cache-sets = <64>;
67 d-cache-sets = <64>;
73 i-cache-sets = <64>;
91 d-cache-sets = <64>;
97 i-cache-sets = <64>;
115 d-cache-sets = <64>;
290 cache-level = <2>;
[all …]
H A Dfu740-c000.dtsi29 i-cache-sets = <128>;
30 i-cache-size = <16384>;
44 d-cache-sets = <64>;
45 d-cache-size = <32768>;
50 i-cache-sets = <128>;
68 d-cache-sets = <64>;
74 i-cache-sets = <128>;
92 d-cache-sets = <64>;
116 d-cache-sets = <64>;
295 cache-level = <2>;
[all …]
/openbmc/linux/Documentation/filesystems/caching/
H A Dbackend-api.rst34 The cache backend and the network filesystem can both ask for cache cookies -
62 When a cache backend wants to bring a cache online, it should first register
63 the cache name and that will get it a cache cookie. This is done with::
67 This will look up and potentially create a cache cookie. The cache cookie may
69 that cache cookie will be used. If the cache cookie is not in use by another
73 If successful, the cache backend can then start setting up the cache. In the
90 This stores the cache operations table pointer and cache private data into the
91 cache cookie and moves the cache to the active state, thereby allowing accesses
98 The cache backend can withdraw a cache from service by calling this function::
102 This moves the cache to the withdrawn state to prevent new cache- and
[all …]
/openbmc/linux/net/core/
H A Ddst_cache.c65 if (!dst_cache->cache) in dst_cache_get()
77 if (!dst_cache->cache) in dst_cache_get_ip4()
80 idst = this_cpu_ptr(dst_cache->cache); in dst_cache_get_ip4()
95 if (!dst_cache->cache) in dst_cache_set_ip4()
98 idst = this_cpu_ptr(dst_cache->cache); in dst_cache_set_ip4()
110 if (!dst_cache->cache) in dst_cache_set_ip6()
126 if (!dst_cache->cache) in dst_cache_get_ip6()
144 if (!dst_cache->cache) in dst_cache_init()
156 if (!dst_cache->cache) in dst_cache_destroy()
162 free_percpu(dst_cache->cache); in dst_cache_destroy()
[all …]
/openbmc/u-boot/doc/
H A DREADME.arm-caches1 Disabling I-cache:
4 Disabling D-cache:
7 Enabling I-cache:
10 Enabling D-cache:
15 D-cache from this function. This function is called immediately
18 Guidelines for Working with D-cache:
26 lines from the DMA buffer in the cache, subsequent cache-line replacements
29 into the cache while the DMA is going on.
47 - cleanup_before_linux() should flush the D-cache, invalidate I-cache, and
50 1. dcache_disable() - flushes and disables d-cache
[all …]
/openbmc/linux/fs/btrfs/tests/
H A Dbtrfs-tests.c219 cache = kzalloc(sizeof(*cache), GFP_KERNEL); in btrfs_alloc_dummy_block_group()
220 if (!cache) in btrfs_alloc_dummy_block_group()
222 cache->free_space_ctl = kzalloc(sizeof(*cache->free_space_ctl), in btrfs_alloc_dummy_block_group()
225 kfree(cache); in btrfs_alloc_dummy_block_group()
229 cache->start = 0; in btrfs_alloc_dummy_block_group()
230 cache->length = length; in btrfs_alloc_dummy_block_group()
232 cache->fs_info = fs_info; in btrfs_alloc_dummy_block_group()
237 btrfs_init_free_space_ctl(cache, cache->free_space_ctl); in btrfs_alloc_dummy_block_group()
240 return cache; in btrfs_alloc_dummy_block_group()
245 if (!cache) in btrfs_free_dummy_block_group()
[all …]
/openbmc/qemu/docs/
H A Dqcow2-cache.txt1 qcow2 L2/refcount cache configuration
119 "l2-cache-size": maximum size of the L2 table cache
120 "refcount-cache-size": maximum size of the refcount block cache
126 (or the cache entry size: see "Using smaller cache sizes" below).
136 The minimal L2 cache size is 2 clusters (or 2 cache entries, see below).
142 cache size.
144 - At most two of "l2-cache-size", "refcount-cache-size", and "cache-size"
159 Using smaller cache entries
163 and is kept in the cache. If the cache is full then a complete table
173 -drive file=hd.qcow2,l2-cache-size=2097152,l2-cache-entry-size=4096
[all …]
/openbmc/linux/arch/arm64/boot/dts/freescale/
H A Dfsl-lx2160a.dtsi37 d-cache-sets = <128>;
40 i-cache-sets = <192>;
54 d-cache-sets = <128>;
303 cache-unified;
312 cache-unified;
321 cache-unified;
330 cache-unified;
339 cache-unified;
348 cache-unified;
357 cache-unified;
[all …]
H A Dimx8qxp.dtsi66 i-cache-sets = <256>;
69 d-cache-sets = <128>;
83 i-cache-sets = <256>;
86 d-cache-sets = <128>;
100 i-cache-sets = <256>;
103 d-cache-sets = <128>;
117 i-cache-sets = <256>;
120 d-cache-sets = <128>;
129 cache-level = <2>;
130 cache-unified;
[all …]
/openbmc/linux/drivers/net/wireless/silabs/wfx/
H A Ddata_tx.c79 return it - cache->cache; in wfx_tx_policy_find()
82 return it - cache->cache; in wfx_tx_policy_find()
110 spin_lock_bh(&cache->lock); in wfx_tx_policy_get()
126 idx = entry - cache->cache; in wfx_tx_policy_get()
128 wfx_tx_policy_use(cache, &cache->cache[idx]); in wfx_tx_policy_get()
129 if (list_empty(&cache->free)) in wfx_tx_policy_get()
142 spin_lock_bh(&cache->lock); in wfx_tx_policy_put()
144 usage = wfx_tx_policy_release(cache, &cache->cache[idx]); in wfx_tx_policy_put()
188 memset(cache, 0, sizeof(*cache)); in wfx_tx_policy_init()
194 for (i = 0; i < ARRAY_SIZE(cache->cache); ++i) in wfx_tx_policy_init()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/cache/
H A Dl2c2x0.yaml35 - arm,l220-cache
36 - arm,l210-cache
57 cache-level:
60 cache-unified: true
61 cache-size: true
62 cache-sets: true
63 cache-block-size: true
64 cache-line-size: true
118 cache-id-part:
224 - cache-unified
[all …]
/openbmc/linux/fs/exfat/
H A Dcache.c42 INIT_LIST_HEAD(&cache->cache_list); in exfat_cache_init_once()
75 struct exfat_cache *cache) in exfat_cache_update_lru() argument
141 struct exfat_cache *cache, *tmp; in exfat_cache_add() local
152 if (cache == NULL) { in exfat_cache_add()
167 if (cache != NULL) { in exfat_cache_add()
172 cache = tmp; in exfat_cache_add()
176 cache = list_entry(p, in exfat_cache_add()
179 cache->fcluster = new->fcluster; in exfat_cache_add()
180 cache->dcluster = new->dcluster; in exfat_cache_add()
196 struct exfat_cache *cache; in __exfat_cache_inval_inode() local
[all …]
/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmw_surface_cache.h383 struct vmw_surface_cache *cache) in vmw_surface_setup_cache() argument
388 memset(cache, 0, sizeof(*cache)); in vmw_surface_setup_cache()
390 cache->num_mip_levels = num_mip_levels; in vmw_surface_setup_cache()
391 cache->num_layers = num_layers; in vmw_surface_setup_cache()
412 cache->mip_chain_bytes += mip->bytes; in vmw_surface_setup_cache()
414 cache->sheet_bytes = cache->mip_chain_bytes * num_layers; in vmw_surface_setup_cache()
415 if (!cache->sheet_bytes) in vmw_surface_setup_cache()
442 loc->sheet = offset / cache->sheet_bytes; in vmw_surface_get_loc()
445 layer = offset / cache->mip_chain_bytes; in vmw_surface_get_loc()
446 offset -= layer * cache->mip_chain_bytes; in vmw_surface_get_loc()
[all …]
/openbmc/linux/arch/arm64/boot/dts/tesla/
H A Dfsd.dtsi98 i-cache-sets = <256>;
101 d-cache-sets = <256>;
114 i-cache-sets = <256>;
117 d-cache-sets = <256>;
130 i-cache-sets = <256>;
133 d-cache-sets = <256>;
145 i-cache-sets = <256>;
148 d-cache-sets = <256>;
284 cache-level = <2>;
285 cache-unified;
[all …]
/openbmc/linux/include/linux/
H A Dmbcache.h41 void mb_cache_destroy(struct mb_cache *cache);
43 int mb_cache_entry_create(struct mb_cache *cache, gfp_t mask, u32 key,
45 void __mb_cache_entry_free(struct mb_cache *cache,
48 static inline void mb_cache_entry_put(struct mb_cache *cache, in mb_cache_entry_put() argument
58 __mb_cache_entry_free(cache, entry); in mb_cache_entry_put()
61 struct mb_cache_entry *mb_cache_entry_delete_or_get(struct mb_cache *cache,
63 struct mb_cache_entry *mb_cache_entry_get(struct mb_cache *cache, u32 key,
65 struct mb_cache_entry *mb_cache_entry_find_first(struct mb_cache *cache,
67 struct mb_cache_entry *mb_cache_entry_find_next(struct mb_cache *cache,
69 void mb_cache_entry_touch(struct mb_cache *cache,

12345678910>>...88