Home
last modified time | relevance | path

Searched defs:cache (Results 1 – 25 of 395) sorted by relevance

12345678910>>...16

/OK3568_Linux_fs/kernel/drivers/md/
H A Ddm-cache-target.c366 struct cache { struct
376 struct dm_cache_metadata *cmd; argument
391 struct dm_dev *cache_dev; argument
400 * Size of the cache device in blocks. argument
402 dm_cblock_t cache_size; argument
407 spinlock_t invalidation_lock;
408 struct list_head invalidation_requests;
410 sector_t migration_threshold;
411 wait_queue_head_t migration_wait;
412 atomic_t nr_allocated_migrations;
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/kernel/
H A Dcacheinfo.c44 struct cache *cache; member
118 struct cache { struct
119 struct device_node *ofnode; /* OF node for this cache, may be cpu */ argument
120 struct cpumask shared_cpu_map; /* online CPUs using this cache */ argument
121 int type; /* split cache disambiguation */ argument
123 struct list_head list; /* global list of cache objects */ argument
124 struct cache *next_local; /* next cache of >= level */ argument
139 static const char *cache_type_string(const struct cache *cache) in cache_type_string()
144 static void cache_init(struct cache *cache, int type, int level, in cache_init()
156 struct cache *cache; in new_cache() local
[all …]
/OK3568_Linux_fs/kernel/fs/cachefiles/
H A Ddaemon.c85 struct cachefiles_cache *cache; in cachefiles_daemon_open() local
131 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_release() local
160 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_read() local
217 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_write() local
293 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_poll() local
312 static int cachefiles_daemon_range_error(struct cachefiles_cache *cache, in cachefiles_daemon_range_error()
324 static int cachefiles_daemon_frun(struct cachefiles_cache *cache, char *args) in cachefiles_daemon_frun()
348 static int cachefiles_daemon_fcull(struct cachefiles_cache *cache, char *args) in cachefiles_daemon_fcull()
372 static int cachefiles_daemon_fstop(struct cachefiles_cache *cache, char *args) in cachefiles_daemon_fstop()
396 static int cachefiles_daemon_brun(struct cachefiles_cache *cache, char *args) in cachefiles_daemon_brun()
[all …]
H A Dinterface.c28 struct cachefiles_cache *cache; in cachefiles_alloc_object() local
123 struct cachefiles_cache *cache; in cachefiles_lookup_object() local
208 struct cachefiles_cache *cache; in cachefiles_update_object() local
264 struct cachefiles_cache *cache; in cachefiles_drop_object() local
326 struct fscache_cache *cache; in cachefiles_put_object() local
378 struct cachefiles_cache *cache; in cachefiles_sync_cache() local
408 struct cachefiles_cache *cache; in cachefiles_check_consistency() local
433 struct cachefiles_cache *cache; in cachefiles_attr_changed() local
502 struct cachefiles_cache *cache; in cachefiles_invalidate_object() local
546 static void cachefiles_dissociate_pages(struct fscache_cache *cache) in cachefiles_dissociate_pages()
H A Dnamei.c84 static void cachefiles_mark_object_buried(struct cachefiles_cache *cache, in cachefiles_mark_object_buried()
136 static int cachefiles_mark_object_active(struct cachefiles_cache *cache, in cachefiles_mark_object_active()
256 void cachefiles_mark_object_inactive(struct cachefiles_cache *cache, in cachefiles_mark_object_inactive()
287 static int cachefiles_bury_object(struct cachefiles_cache *cache, in cachefiles_bury_object()
435 int cachefiles_delete_object(struct cachefiles_cache *cache, in cachefiles_delete_object()
487 struct cachefiles_cache *cache; in cachefiles_walk_to_object() local
754 struct dentry *cachefiles_get_directory(struct cachefiles_cache *cache, in cachefiles_get_directory()
863 static struct dentry *cachefiles_check_active(struct cachefiles_cache *cache, in cachefiles_check_active()
950 int cachefiles_cull(struct cachefiles_cache *cache, struct dentry *dir, in cachefiles_cull()
1010 int cachefiles_check_in_use(struct cachefiles_cache *cache, struct dentry *dir, in cachefiles_check_in_use()
H A Dsecurity.c16 int cachefiles_get_security_ID(struct cachefiles_cache *cache) in cachefiles_get_security_ID()
49 static int cachefiles_check_cache_dir(struct cachefiles_cache *cache, in cachefiles_check_cache_dir()
75 int cachefiles_determine_cache_security(struct cachefiles_cache *cache, in cachefiles_determine_cache_security()
H A Dbind.c27 int cachefiles_daemon_bind(struct cachefiles_cache *cache, char *args) in cachefiles_daemon_bind()
81 static int cachefiles_daemon_add_cache(struct cachefiles_cache *cache) in cachefiles_daemon_add_cache()
255 void cachefiles_daemon_unbind(struct cachefiles_cache *cache) in cachefiles_daemon_unbind()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/common/
H A Dmali_l2_cache.c84 static void mali_l2_cache_lock(struct mali_l2_cache_core *cache) in mali_l2_cache_lock()
90 static void mali_l2_cache_unlock(struct mali_l2_cache_core *cache) in mali_l2_cache_unlock()
101 struct mali_l2_cache_core *cache = NULL; in mali_l2_cache_create() local
166 void mali_l2_cache_delete(struct mali_l2_cache_core *cache) in mali_l2_cache_delete()
198 void mali_l2_cache_power_up(struct mali_l2_cache_core *cache) in mali_l2_cache_power_up()
213 void mali_l2_cache_power_down(struct mali_l2_cache_core *cache) in mali_l2_cache_power_down()
255 struct mali_l2_cache_core *cache, u32 source_id, u32 counter) in mali_l2_cache_core_set_counter_src()
301 struct mali_l2_cache_core *cache, in mali_l2_cache_core_get_counter_values()
356 void mali_l2_cache_invalidate(struct mali_l2_cache_core *cache) in mali_l2_cache_invalidate()
374 struct mali_l2_cache_core *cache, u32 id) in mali_l2_cache_invalidate_conditional()
[all …]
H A Dmali_l2_cache.h74 MALI_STATIC_INLINE u32 mali_l2_cache_get_id(struct mali_l2_cache_core *cache) in mali_l2_cache_get_id()
81 struct mali_l2_cache_core *cache) in mali_l2_cache_get_pm_domain()
94 struct mali_l2_cache_core *cache) in mali_l2_cache_core_get_counter_src0()
101 struct mali_l2_cache_core *cache) in mali_l2_cache_core_get_counter_src1()
/OK3568_Linux_fs/kernel/fs/
H A Dmbcache.c50 static inline struct hlist_bl_head *mb_cache_entry_head(struct mb_cache *cache, in mb_cache_entry_head()
74 int mb_cache_entry_create(struct mb_cache *cache, gfp_t mask, u32 key, in mb_cache_entry_create()
128 static struct mb_cache_entry *__entry_find(struct mb_cache *cache, in __entry_find()
168 struct mb_cache_entry *mb_cache_entry_find_first(struct mb_cache *cache, in mb_cache_entry_find_first()
185 struct mb_cache_entry *mb_cache_entry_find_next(struct mb_cache *cache, in mb_cache_entry_find_next()
198 struct mb_cache_entry *mb_cache_entry_get(struct mb_cache *cache, u32 key, in mb_cache_entry_get()
227 void mb_cache_entry_delete(struct mb_cache *cache, u32 key, u64 value) in mb_cache_entry_delete()
263 void mb_cache_entry_touch(struct mb_cache *cache, in mb_cache_entry_touch()
273 struct mb_cache *cache = container_of(shrink, struct mb_cache, in mb_cache_count() local
280 static unsigned long mb_cache_shrink(struct mb_cache *cache, in mb_cache_shrink()
[all …]
/OK3568_Linux_fs/kernel/mm/kasan/
H A Dcommon.c137 void __kasan_cache_create(struct kmem_cache *cache, unsigned int *size, in __kasan_cache_create()
213 void __kasan_cache_create_kmalloc(struct kmem_cache *cache) in __kasan_cache_create_kmalloc()
218 size_t __kasan_metadata_size(struct kmem_cache *cache) in __kasan_metadata_size()
228 struct kasan_alloc_meta *kasan_get_alloc_meta(struct kmem_cache *cache, in kasan_get_alloc_meta()
237 struct kasan_free_meta *kasan_get_free_meta(struct kmem_cache *cache, in kasan_get_free_meta()
257 void __kasan_unpoison_object_data(struct kmem_cache *cache, void *object) in __kasan_unpoison_object_data()
262 void __kasan_poison_object_data(struct kmem_cache *cache, void *object) in __kasan_poison_object_data()
282 static inline u8 assign_tag(struct kmem_cache *cache, in assign_tag()
308 void * __must_check __kasan_init_slab_obj(struct kmem_cache *cache, in __kasan_init_slab_obj()
325 static inline bool ____kasan_slab_free(struct kmem_cache *cache, void *object, in ____kasan_slab_free()
[all …]
H A Dquarantine.c123 static void *qlink_to_object(struct qlist_node *qlink, struct kmem_cache *cache) in qlink_to_object()
132 static void qlink_free(struct qlist_node *qlink, struct kmem_cache *cache) in qlink_free()
152 static void qlist_free_all(struct qlist_head *q, struct kmem_cache *cache) in qlist_free_all()
171 bool kasan_quarantine_put(struct kmem_cache *cache, void *object) in kasan_quarantine_put()
278 struct kmem_cache *cache) in qlist_move_cache()
302 struct kmem_cache *cache = arg; in per_cpu_remove_cache() local
319 void kasan_quarantine_remove_cache(struct kmem_cache *cache) in kasan_quarantine_remove_cache()
/OK3568_Linux_fs/kernel/fs/nfs/
H A Dnfs42xattr.c64 struct nfs4_xattr_cache *cache; member
106 nfs4_xattr_hash_init(struct nfs4_xattr_cache *cache) in nfs4_xattr_hash_init()
270 struct nfs4_xattr_cache *cache; in nfs4_xattr_free_cache_cb() local
290 struct nfs4_xattr_cache *cache; in nfs4_xattr_alloc_cache() local
310 nfs4_xattr_set_listcache(struct nfs4_xattr_cache *cache, in nfs4_xattr_set_listcache()
385 nfs4_xattr_discard_cache(struct nfs4_xattr_cache *cache) in nfs4_xattr_discard_cache()
430 struct nfs4_xattr_cache *cache, *oldcache, *newcache; in nfs4_xattr_get_cache() local
505 nfs4_xattr_hash_bucket(struct nfs4_xattr_cache *cache, const char *name) in nfs4_xattr_hash_bucket()
527 nfs4_xattr_hash_add(struct nfs4_xattr_cache *cache, in nfs4_xattr_hash_add()
565 nfs4_xattr_hash_remove(struct nfs4_xattr_cache *cache, const char *name) in nfs4_xattr_hash_remove()
[all …]
/OK3568_Linux_fs/kernel/fs/btrfs/tests/
H A Dfree-space-tests.c20 static int test_extents(struct btrfs_block_group *cache) in test_extents()
90 static int test_bitmaps(struct btrfs_block_group *cache, u32 sectorsize) in test_bitmaps()
158 static int test_bitmaps_and_extents(struct btrfs_block_group *cache, in test_bitmaps_and_extents()
333 check_num_extents_and_bitmaps(const struct btrfs_block_group *cache, in check_num_extents_and_bitmaps()
353 static int check_cache_empty(struct btrfs_block_group *cache) in check_cache_empty()
395 test_steal_space_from_bitmap_to_extent(struct btrfs_block_group *cache, in test_steal_space_from_bitmap_to_extent()
831 struct btrfs_block_group *cache; in btrfs_test_free_space_cache() local
H A Dfree-space-tree-tests.c21 struct btrfs_block_group *cache, in __check_free_space_extents()
108 struct btrfs_block_group *cache, in check_free_space_extents()
151 struct btrfs_block_group *cache, in test_empty_block_group()
165 struct btrfs_block_group *cache, in test_remove_all()
186 struct btrfs_block_group *cache, in test_remove_beginning()
209 struct btrfs_block_group *cache, in test_remove_end()
232 struct btrfs_block_group *cache, in test_remove_middle()
256 struct btrfs_block_group *cache, in test_merge_left()
293 struct btrfs_block_group *cache, in test_merge_right()
331 struct btrfs_block_group *cache, in test_merge_both()
[all …]
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/hfi1/
H A Dplatform.c238 u8 *cache = ppd->qsfp_info.cache; in qual_power() local
267 u8 *cache = ppd->qsfp_info.cache; in qual_bitrate() local
293 u8 *cache = ppd->qsfp_info.cache; in set_qsfp_high_power() local
330 u8 *cache = ppd->qsfp_info.cache; in apply_rx_cdr() local
381 u8 *cache = ppd->qsfp_info.cache; in apply_tx_cdr() local
430 u8 *cache = ppd->qsfp_info.cache; in apply_cdr_settings() local
443 u8 *cache = ppd->qsfp_info.cache; in apply_tx_eq_auto() local
456 u8 *cache = ppd->qsfp_info.cache; in apply_tx_eq_prog() local
501 u8 rx_eq, *cache = ppd->qsfp_info.cache; in apply_rx_eq_emp() local
545 u8 *cache = ppd->qsfp_info.cache; in apply_eq_settings() local
[all …]
/OK3568_Linux_fs/kernel/fs/fscache/
H A Dcache.c95 struct fscache_cache *cache; in fscache_select_cache_for_object() local
178 void fscache_init_cache(struct fscache_cache *cache, in fscache_init_cache()
213 int fscache_add_cache(struct fscache_cache *cache, in fscache_add_cache()
313 void fscache_io_error(struct fscache_cache *cache) in fscache_io_error()
325 static void fscache_withdraw_all_objects(struct fscache_cache *cache, in fscache_withdraw_all_objects()
361 void fscache_withdraw_cache(struct fscache_cache *cache) in fscache_withdraw_cache()
/OK3568_Linux_fs/kernel/drivers/acpi/acpica/
H A Dutcache.c36 struct acpi_memory_list *cache; in acpi_os_create_cache() local
74 acpi_status acpi_os_purge_cache(struct acpi_memory_list *cache) in acpi_os_purge_cache()
120 acpi_status acpi_os_delete_cache(struct acpi_memory_list *cache) in acpi_os_delete_cache()
153 acpi_status acpi_os_release_object(struct acpi_memory_list *cache, void *object) in acpi_os_release_object()
208 void *acpi_os_acquire_object(struct acpi_memory_list *cache) in acpi_os_acquire_object()
/OK3568_Linux_fs/kernel/drivers/dma-buf/
H A Ddma-buf-cache.c27 struct dma_buf_cache *cache, *tmp; in dma_buf_cache_destructor() local
54 struct dma_buf_cache *cache; in dma_buf_cache_get_cache() local
73 struct dma_buf_cache *cache; in dma_buf_cache_detach() local
90 struct dma_buf_cache *cache; in dma_buf_cache_attach() local
152 struct dma_buf_cache *cache; in dma_buf_cache_unmap_attachment() local
168 struct dma_buf_cache *cache; in dma_buf_cache_map_attachment() local
/OK3568_Linux_fs/u-boot/arch/x86/lib/
H A Dmrccache.c22 struct mrc_data_container *cache) in next_mrc_block()
38 static int is_mrc_cache(struct mrc_data_container *cache) in is_mrc_cache()
45 struct mrc_data_container *cache, *next; in mrccache_find_current() local
89 struct mrc_data_container *cache) in find_next_mrc_cache()
112 struct mrc_data_container *cache; in mrccache_update() local
165 struct mrc_data_container *cache; in mrccache_reserve() local
/OK3568_Linux_fs/kernel/include/linux/
H A Dkasan.h154 static __always_inline void kasan_cache_create(struct kmem_cache *cache, in kasan_cache_create()
162 static __always_inline void kasan_cache_create_kmalloc(struct kmem_cache *cache) in kasan_cache_create_kmalloc()
169 static __always_inline size_t kasan_metadata_size(struct kmem_cache *cache) in kasan_metadata_size()
184 static __always_inline void kasan_unpoison_object_data(struct kmem_cache *cache, in kasan_unpoison_object_data()
192 static __always_inline void kasan_poison_object_data(struct kmem_cache *cache, in kasan_poison_object_data()
202 struct kmem_cache *cache, const void *object) in kasan_init_slab_obj()
300 static inline void kasan_cache_create(struct kmem_cache *cache, in kasan_cache_create()
303 static inline void kasan_cache_create_kmalloc(struct kmem_cache *cache) {} in kasan_cache_create_kmalloc()
304 static inline size_t kasan_metadata_size(struct kmem_cache *cache) { return 0; } in kasan_metadata_size()
306 static inline void kasan_unpoison_object_data(struct kmem_cache *cache, in kasan_unpoison_object_data()
[all …]
/OK3568_Linux_fs/kernel/fs/btrfs/
H A Dblock-group.c116 void btrfs_get_block_group(struct btrfs_block_group *cache) in btrfs_get_block_group()
121 void btrfs_put_block_group(struct btrfs_block_group *cache) in btrfs_put_block_group()
158 struct btrfs_block_group *cache; in btrfs_add_block_group_cache() local
197 struct btrfs_block_group *cache, *ret = NULL; in block_group_cache_tree_search() local
253 struct btrfs_block_group *cache) in btrfs_next_block_group()
361 struct btrfs_block_group *cache) in btrfs_get_caching_control()
396 void btrfs_wait_block_group_cache_progress(struct btrfs_block_group *cache, in btrfs_wait_block_group_cache_progress()
411 int btrfs_wait_block_group_cache_done(struct btrfs_block_group *cache) in btrfs_wait_block_group_cache_done()
686 int btrfs_cache_block_group(struct btrfs_block_group *cache, int load_cache_only) in btrfs_cache_block_group()
1223 static int inc_block_group_ro(struct btrfs_block_group *cache, int force) in inc_block_group_ro()
[all …]
/OK3568_Linux_fs/kernel/mm/
H A Dswap_slots.c126 struct swap_slots_cache *cache; in alloc_swap_slot_cache() local
190 struct swap_slots_cache *cache; in drain_slots_cache_cpu() local
286 static int refill_swap_slots_cache(struct swap_slots_cache *cache) in refill_swap_slots_cache()
301 struct swap_slots_cache *cache; in free_swap_slot() local
339 struct swap_slots_cache *cache; in get_swap_page() local
/OK3568_Linux_fs/external/xserver/exa/
H A Dexa_glyphs.c124 ExaGlyphCachePtr cache = &pExaScr->glyphCaches[i]; in exaUnrealizeGlyphCaches() local
176 ExaGlyphCachePtr cache = &pExaScr->glyphCaches[i]; in exaRealizeGlyphCaches() local
206 ExaGlyphCachePtr cache = &pExaScr->glyphCaches[i]; in exaRealizeGlyphCaches() local
243 ExaGlyphCachePtr cache = &pExaScr->glyphCaches[i]; in exaGlyphsFini() local
251 exaGlyphCacheHashLookup(ExaGlyphCachePtr cache, GlyphPtr pGlyph) in exaGlyphCacheHashLookup()
276 exaGlyphCacheHashInsert(ExaGlyphCachePtr cache, GlyphPtr pGlyph, int pos) in exaGlyphCacheHashInsert()
297 exaGlyphCacheHashRemove(ExaGlyphCachePtr cache, int pos) in exaGlyphCacheHashRemove()
365 ExaGlyphCachePtr cache, int x, int y, GlyphPtr pGlyph) in exaGlyphCacheUploadGlyph()
427 ExaGlyphCachePtr cache, in exaGlyphCacheBufferGlyph()
561 ExaGlyphCachePtr cache = &pExaScr->glyphCaches[i]; in exaBufferGlyph() local
/OK3568_Linux_fs/kernel/drivers/md/bcache/
H A Dbcache.h407 struct cache { struct
408 struct cache_set *set; argument
409 struct cache_sb sb; argument
410 struct cache_sb_disk *sb_disk; argument
411 struct bio sb_bio;
412 struct bio_vec sb_bv[1];
436 * cached data in them, and we can't reuse them until after we write argument
444 size_t fifo_last_bucket;
447 struct bucket *buckets;
471 char cache_dev_name[BDEVNAME_SIZE]; argument
[all …]

12345678910>>...16