Home
last modified time | relevance | path

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

1234567891011

/linux/drivers/md/
A Ddm-cache-target.c296 struct cache { struct
306 struct dm_cache_metadata *cmd; argument
330 * Size of the cache device in blocks. argument
376 * cache_size entries, dirty if set argument
382 struct dm_cache_policy *policy; argument
391 bool need_tick_bio:1;
392 bool sized:1;
393 bool invalidate:1;
418 struct dm_cache_migration { argument
420 struct cache *cache; argument
[all …]
/linux/arch/powerpc/kernel/
A Dcacheinfo.c44 struct cache *cache; member
118 struct cache { struct
159 struct cache *cache; in new_cache() local
395 struct cache *cache; in cache_do_one_devnode() local
409 struct cache *cache; in cache_lookup_or_instantiate() local
593 struct cache *cache; in size_show() local
610 struct cache *cache; in line_size_show() local
626 struct cache *cache; in nr_sets_show() local
642 struct cache *cache; in associativity_show() local
657 struct cache *cache; in type_show() local
[all …]
/linux/fs/cachefiles/
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()
396 static int cachefiles_daemon_brun(struct cachefiles_cache *cache, char *args) in cachefiles_daemon_brun()
468 static int cachefiles_daemon_dir(struct cachefiles_cache *cache, char *args) in cachefiles_daemon_dir()
524 static int cachefiles_daemon_tag(struct cachefiles_cache *cache, char *args) in cachefiles_daemon_tag()
[all …]
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()
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()
441 int cachefiles_delete_object(struct cachefiles_cache *cache, in cachefiles_delete_object()
493 struct cachefiles_cache *cache; in cachefiles_walk_to_object() local
754 struct dentry *cachefiles_get_directory(struct cachefiles_cache *cache, in cachefiles_get_directory()
858 static struct dentry *cachefiles_check_active(struct cachefiles_cache *cache, in cachefiles_check_active()
942 int cachefiles_cull(struct cachefiles_cache *cache, struct dentry *dir, in cachefiles_cull()
1002 int cachefiles_check_in_use(struct cachefiles_cache *cache, struct dentry *dir, in cachefiles_check_in_use()
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()
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()
259 void cachefiles_daemon_unbind(struct cachefiles_cache *cache) in cachefiles_daemon_unbind()
/linux/fs/
A Dmbcache.c74 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()
185 struct mb_cache_entry *mb_cache_entry_find_next(struct mb_cache *cache, in mb_cache_entry_find_next()
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()
323 struct mb_cache *cache = container_of(shrink, struct mb_cache, in mb_cache_scan() local
333 struct mb_cache *cache = container_of(work, struct mb_cache, in mb_cache_shrink_worker() local
346 struct mb_cache *cache; in mb_cache_create() local
[all …]
/linux/mm/kasan/
A Dcommon.c140 void __kasan_cache_create(struct kmem_cache *cache, unsigned int *size, in __kasan_cache_create()
216 void __kasan_cache_create_kmalloc(struct kmem_cache *cache) in __kasan_cache_create_kmalloc()
221 size_t __kasan_metadata_size(struct kmem_cache *cache) in __kasan_metadata_size()
231 struct kasan_alloc_meta *kasan_get_alloc_meta(struct kmem_cache *cache, in kasan_get_alloc_meta()
240 struct kasan_free_meta *kasan_get_free_meta(struct kmem_cache *cache, in kasan_get_free_meta()
285 static inline u8 assign_tag(struct kmem_cache *cache, in assign_tag()
311 void * __must_check __kasan_init_slab_obj(struct kmem_cache *cache, in __kasan_init_slab_obj()
371 bool __kasan_slab_free(struct kmem_cache *cache, void *object, in __kasan_slab_free()
423 static void set_alloc_info(struct kmem_cache *cache, void *object, in set_alloc_info()
437 void * __must_check __kasan_slab_alloc(struct kmem_cache *cache, in __kasan_slab_alloc()
[all …]
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
312 void kasan_quarantine_remove_cache(struct kmem_cache *cache) in kasan_quarantine_remove_cache()
/linux/fs/nfs/
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
612 struct nfs4_xattr_cache *cache; in nfs4_xattr_cache_get() local
651 struct nfs4_xattr_cache *cache; in nfs4_xattr_cache_list() local
692 struct nfs4_xattr_cache *cache; in nfs4_xattr_cache_add() local
723 struct nfs4_xattr_cache *cache; in nfs4_xattr_cache_remove() local
743 struct nfs4_xattr_cache *cache; in nfs4_xattr_cache_set_list() local
863 struct nfs4_xattr_cache *cache; in nfs4_xattr_cache_scan() local
[all …]
/linux/fs/btrfs/tests/
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()
830 struct btrfs_block_group *cache; in btrfs_test_free_space_cache() local
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 …]
/linux/fs/fscache/
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()
312 void fscache_io_error(struct fscache_cache *cache) in fscache_io_error()
324 static void fscache_withdraw_all_objects(struct fscache_cache *cache, in fscache_withdraw_all_objects()
360 void fscache_withdraw_cache(struct fscache_cache *cache) in fscache_withdraw_cache()
/linux/drivers/infiniband/hw/hfi1/
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 …]
/linux/drivers/acpi/acpica/
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()
/linux/include/linux/
A Dkasan.h174 static __always_inline void kasan_cache_create(struct kmem_cache *cache, in kasan_cache_create()
189 static __always_inline size_t kasan_metadata_size(struct kmem_cache *cache) in kasan_metadata_size()
212 static __always_inline void kasan_poison_object_data(struct kmem_cache *cache, in kasan_poison_object_data()
222 struct kmem_cache *cache, const void *object) in kasan_init_slab_obj()
320 static inline void kasan_cache_create(struct kmem_cache *cache, in kasan_cache_create()
323 static inline void kasan_cache_create_kmalloc(struct kmem_cache *cache) {} in kasan_cache_create_kmalloc()
326 static inline void kasan_unpoison_object_data(struct kmem_cache *cache, in kasan_unpoison_object_data()
328 static inline void kasan_poison_object_data(struct kmem_cache *cache, in kasan_poison_object_data()
330 static inline void *kasan_init_slab_obj(struct kmem_cache *cache, in kasan_init_slab_obj()
382 static inline void kasan_cache_shrink(struct kmem_cache *cache) {} in kasan_cache_shrink()
[all …]
/linux/mm/
A Dswap_slots.c115 struct swap_slots_cache *cache; in alloc_swap_slot_cache() local
171 struct swap_slots_cache *cache; in drain_slots_cache_cpu() local
259 static int refill_swap_slots_cache(struct swap_slots_cache *cache) in refill_swap_slots_cache()
274 struct swap_slots_cache *cache; in free_swap_slot() local
307 struct swap_slots_cache *cache; in get_swap_page() local
/linux/fs/btrfs/
A Dblock-group.c161 struct btrfs_block_group *cache; in btrfs_add_block_group_cache() local
256 struct btrfs_block_group *cache) in btrfs_next_block_group()
364 struct btrfs_block_group *cache) in btrfs_get_caching_control()
1892 struct btrfs_block_group *cache; in btrfs_create_block_group_cache() local
1990 struct btrfs_block_group *cache; in read_one_block_group() local
2170 struct btrfs_block_group *cache; in btrfs_read_block_groups() local
2447 struct btrfs_block_group *cache; in btrfs_make_block_group() local
2652 struct btrfs_block_group *cache) in update_block_group_item()
2855 struct btrfs_block_group *cache, *tmp; in btrfs_setup_space_cache() local
2893 struct btrfs_block_group *cache; in btrfs_start_dirty_block_groups() local
[all …]
/linux/drivers/base/regmap/
A Dregcache.c563 u8 *cache = base; in regcache_set_val() local
569 u16 *cache = base; in regcache_set_val() local
575 u32 *cache = base; in regcache_set_val() local
582 u64 *cache = base; in regcache_set_val() local
607 const u8 *cache = base; in regcache_get_val() local
612 const u16 *cache = base; in regcache_get_val() local
617 const u32 *cache = base; in regcache_get_val() local
623 const u64 *cache = base; in regcache_get_val() local
A Dregcache-flat.c24 unsigned int *cache; in regcache_flat_init() local
57 unsigned int *cache = map->cache; in regcache_flat_read() local
68 unsigned int *cache = map->cache; in regcache_flat_write() local
/linux/arch/nds32/include/asm/
A Dnds32.h35 static inline unsigned long CACHE_SET(unsigned char cache) in CACHE_SET()
46 static inline unsigned long CACHE_WAY(unsigned char cache) in CACHE_WAY()
57 static inline unsigned long CACHE_LINE_SIZE(unsigned char cache) in CACHE_LINE_SIZE()
/linux/drivers/md/bcache/
A Dbcache.h408 struct cache { struct
409 struct cache_set *set; argument
410 struct cache_sb sb; argument
411 struct cache_sb_disk *sb_disk; argument
412 struct bio sb_bio;
413 struct bio_vec sb_bv[1];
437 * cached data in them, and we can't reuse them until after we write argument
445 size_t fifo_last_bucket;
448 struct bucket *buckets;
484 * Flag bits, for how the cache set is shutting down, and what phase it's at: argument
[all …]
/linux/fs/exfat/
A Dcache.c40 struct exfat_cache *cache = (struct exfat_cache *)c; in exfat_cache_init_once() local
68 static inline void exfat_cache_free(struct exfat_cache *cache) in exfat_cache_free()
75 struct exfat_cache *cache) in exfat_cache_update_lru()
141 struct exfat_cache *cache, *tmp; in exfat_cache_add() local
196 struct exfat_cache *cache; in __exfat_cache_inval_inode() local
/linux/fs/squashfs/
A Dcache.c53 struct squashfs_cache *cache, u64 block, int length) in squashfs_cache_get()
175 struct squashfs_cache *cache = entry->cache; in squashfs_cache_put() local
197 void squashfs_cache_delete(struct squashfs_cache *cache) in squashfs_cache_delete()
227 struct squashfs_cache *cache = kzalloc(sizeof(*cache), GFP_KERNEL); in squashfs_cache_init() local

Completed in 85 milliseconds

1234567891011