/linux/drivers/md/ |
H A D | dm-cache-target.c | 297 struct cache { struct 307 struct dm_cache_metadata *cmd; argument 322 struct dm_dev *cache_dev; argument 331 * Size of the cache device in blocks. argument 333 dm_cblock_t cache_size; argument 338 spinlock_t invalidation_lock; 339 struct list_head invalidation_requests; 341 sector_t migration_threshold; 342 wait_queue_head_t migration_wait; 343 atomic_t nr_allocated_migrations; [all …]
|
/linux/fs/cachefiles/ |
H A D | daemon.c | 92 struct cachefiles_cache *cache; in cachefiles_daemon_open() local 137 void cachefiles_flush_reqs(struct cachefiles_cache *cache) in cachefiles_flush_reqs() 171 void cachefiles_put_unbind_pincount(struct cachefiles_cache *cache) in cachefiles_put_unbind_pincount() 180 void cachefiles_get_unbind_pincount(struct cachefiles_cache *cache) in cachefiles_get_unbind_pincount() 190 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_release() local 211 static ssize_t cachefiles_do_daemon_read(struct cachefiles_cache *cache, in cachefiles_do_daemon_read() 262 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_read() local 284 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_write() local 360 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_poll() local 394 static int cachefiles_daemon_range_error(struct cachefiles_cache *cache, in cachefiles_daemon_range_error() [all …]
|
H A D | cache.c | 17 int cachefiles_add_cache(struct cachefiles_cache *cache) in cachefiles_add_cache() 185 int cachefiles_has_space(struct cachefiles_cache *cache, in cachefiles_has_space() 288 static void cachefiles_withdraw_objects(struct cachefiles_cache *cache) in cachefiles_withdraw_objects() 318 static void cachefiles_withdraw_fscache_volumes(struct cachefiles_cache *cache) in cachefiles_withdraw_fscache_volumes() 350 static void cachefiles_withdraw_volumes(struct cachefiles_cache *cache) in cachefiles_withdraw_volumes() 385 static void cachefiles_sync_cache(struct cachefiles_cache *cache) in cachefiles_sync_cache() 409 void cachefiles_withdraw_cache(struct cachefiles_cache *cache) in cachefiles_withdraw_cache()
|
H A D | security.c | 16 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()
|
/linux/arch/powerpc/kernel/ |
H A D | cacheinfo.c | 43 struct cache *cache; member 117 struct cache { struct 118 struct device_node *ofnode; /* OF node for this cache, may be cpu */ argument 119 struct cpumask shared_cpu_map; /* online CPUs using this cache */ argument 120 int type; /* split cache disambiguation */ argument 122 int group_id; /* id of the group of threads that share this cache */ 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() [all …]
|
/linux/fs/ |
H A D | mbcache.c | 50 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() 127 void __mb_cache_entry_free(struct mb_cache *cache, struct mb_cache_entry *entry) in __mb_cache_entry_free() 152 static struct mb_cache_entry *__entry_find(struct mb_cache *cache, in __entry_find() 192 struct mb_cache_entry *mb_cache_entry_find_first(struct mb_cache *cache, in mb_cache_entry_find_first() 209 struct mb_cache_entry *mb_cache_entry_find_next(struct mb_cache *cache, in mb_cache_entry_find_next() 222 struct mb_cache_entry *mb_cache_entry_get(struct mb_cache *cache, u32 key, in mb_cache_entry_get() 254 struct mb_cache_entry *mb_cache_entry_delete_or_get(struct mb_cache *cache, in mb_cache_entry_delete_or_get() 286 void mb_cache_entry_touch(struct mb_cache *cache, in mb_cache_entry_touch() 296 struct mb_cache *cache = shrink->private_data; in mb_cache_count() local [all …]
|
/linux/drivers/infiniband/hw/hfi1/ |
H A D | platform.c | 196 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 459 u8 rx_eq, *cache = ppd->qsfp_info.cache; in apply_rx_eq_emp() local 503 u8 *cache = ppd->qsfp_info.cache; in apply_eq_settings() local [all …]
|
/linux/fs/btrfs/tests/ |
H A D | free-space-tests.c | 20 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() 833 static int test_bytes_index(struct btrfs_block_group *cache, u32 sectorsize) in test_bytes_index() 1008 struct btrfs_block_group *cache; in btrfs_test_free_space_cache() local
|
H A D | free-space-tree-tests.c | 22 struct btrfs_block_group *cache, in __check_free_space_extents() 109 struct btrfs_block_group *cache, in check_free_space_extents() 152 struct btrfs_block_group *cache, in test_empty_block_group() 166 struct btrfs_block_group *cache, in test_remove_all() 187 struct btrfs_block_group *cache, in test_remove_beginning() 210 struct btrfs_block_group *cache, in test_remove_end() 233 struct btrfs_block_group *cache, in test_remove_middle() 257 struct btrfs_block_group *cache, in test_merge_left() 294 struct btrfs_block_group *cache, in test_merge_right() 332 struct btrfs_block_group *cache, in test_merge_both() [all …]
|
/linux/scripts/gdb/linux/ |
H A D | slab.py | 46 def for_each_object(cache, addr, slab_objects): argument 54 def get_info_end(cache): argument 60 def get_orig_size(cache, obj): argument 70 def get_track(cache, object_pointer, alloc): argument 85 def __obj_to_index(cache, addr, obj): argument 99 def freelist_ptr_decode(cache, ptr, ptr_addr): argument 105 def get_freepointer(cache, obj): argument 117 def add_location(loc_track, cache, track, orig_size): argument 155 def __fill_map(obj_map, cache, slab): argument 164 def process_slab(loc_track, slab_list, alloc, cache): argument
|
/linux/drivers/acpi/acpica/ |
H A D | utcache.c | 36 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/mm/kasan/ |
H A D | common.c | 156 void __kasan_unpoison_new_object(struct kmem_cache *cache, void *object) in __kasan_unpoison_new_object() 161 void __kasan_poison_new_object(struct kmem_cache *cache, void *object) in __kasan_poison_new_object() 177 static inline u8 assign_tag(struct kmem_cache *cache, in assign_tag() 198 void * __must_check __kasan_init_slab_obj(struct kmem_cache *cache, in __kasan_init_slab_obj() 212 static bool check_slab_allocation(struct kmem_cache *cache, void *object, in check_slab_allocation() 232 static inline void poison_slab_object(struct kmem_cache *cache, void *object, in poison_slab_object() 250 bool __kasan_slab_pre_free(struct kmem_cache *cache, void *object, in __kasan_slab_pre_free() 258 bool __kasan_slab_free(struct kmem_cache *cache, void *object, bool init, in __kasan_slab_free() 308 static inline void unpoison_slab_object(struct kmem_cache *cache, void *object, in unpoison_slab_object() 322 void * __must_check __kasan_slab_alloc(struct kmem_cache *cache, in __kasan_slab_alloc() [all …]
|
H A D | quarantine.c | 134 static void *qlink_to_object(struct qlist_node *qlink, struct kmem_cache *cache) in qlink_to_object() 143 static void qlink_free(struct qlist_node *qlink, struct kmem_cache *cache) in qlink_free() 166 static void qlist_free_all(struct qlist_head *q, struct kmem_cache *cache) in qlist_free_all() 185 bool kasan_quarantine_put(struct kmem_cache *cache, void *object) in kasan_quarantine_put() 292 struct kmem_cache *cache) in qlist_move_cache() 316 struct kmem_cache *cache = arg; in __per_cpu_remove_cache() local 342 void kasan_quarantine_remove_cache(struct kmem_cache *cache) in kasan_quarantine_remove_cache()
|
H A D | tags.c | 97 static void save_stack_info(struct kmem_cache *cache, void *object, in save_stack_info() 140 void kasan_save_alloc_info(struct kmem_cache *cache, void *object, gfp_t flags) in kasan_save_alloc_info() 145 void kasan_save_free_info(struct kmem_cache *cache, void *object) in kasan_save_free_info()
|
/linux/fs/btrfs/ |
H A D | lru_cache.c | 15 void btrfs_lru_cache_init(struct btrfs_lru_cache *cache, unsigned int max_size) in btrfs_lru_cache_init() 45 struct btrfs_lru_cache_entry *btrfs_lru_cache_lookup(struct btrfs_lru_cache *cache, in btrfs_lru_cache_lookup() 70 void btrfs_lru_cache_remove(struct btrfs_lru_cache *cache, in btrfs_lru_cache_remove() 106 int btrfs_lru_cache_store(struct btrfs_lru_cache *cache, in btrfs_lru_cache_store() 156 void btrfs_lru_cache_clear(struct btrfs_lru_cache *cache) in btrfs_lru_cache_clear()
|
H A D | block-group.c | 141 void btrfs_get_block_group(struct btrfs_block_group *cache) in btrfs_get_block_group() 146 void btrfs_put_block_group(struct btrfs_block_group *cache) in btrfs_put_block_group() 220 struct btrfs_block_group *cache, *ret = NULL; in block_group_cache_tree_search() local 273 struct btrfs_block_group *cache) in btrfs_next_block_group() 403 struct btrfs_block_group *cache) in btrfs_get_caching_control() 438 void btrfs_wait_block_group_cache_progress(struct btrfs_block_group *cache, in btrfs_wait_block_group_cache_progress() 463 static int btrfs_caching_ctl_wait_done(struct btrfs_block_group *cache, in btrfs_caching_ctl_wait_done() 470 static int btrfs_wait_block_group_cache_done(struct btrfs_block_group *cache) in btrfs_wait_block_group_cache_done() 916 int btrfs_cache_block_group(struct btrfs_block_group *cache, bool wait) in btrfs_cache_block_group() 1342 static int inc_block_group_ro(struct btrfs_block_group *cache, int force) in inc_block_group_ro() [all …]
|
/linux/mm/ |
H A D | swap_slots.c | 115 struct swap_slots_cache *cache; alloc_swap_slot_cache() local 171 struct swap_slots_cache *cache; drain_slots_cache_cpu() local 259 refill_swap_slots_cache(struct swap_slots_cache * cache) refill_swap_slots_cache() argument 274 struct swap_slots_cache *cache; free_swap_slot() local 308 struct swap_slots_cache *cache; folio_alloc_swap() local [all...] |
/linux/drivers/md/dm-vdo/indexer/ |
H A D | volume.c | 107 static inline union invalidate_counter get_invalidate_counter(struct page_cache *cache, in get_invalidate_counter() 115 static inline void set_invalidate_counter(struct page_cache *cache, in set_invalidate_counter() 129 static void begin_pending_search(struct page_cache *cache, u32 physical_page, in begin_pending_search() 149 static void end_pending_search(struct page_cache *cache, unsigned int zone_number) in end_pending_search() 167 static void wait_for_pending_searches(struct page_cache *cache, u32 physical_page) in wait_for_pending_searches() 204 static void clear_cache_page(struct page_cache *cache, struct cached_page *page) in clear_cache_page() 212 static void make_page_most_recent(struct page_cache *cache, struct cached_page *page) in make_page_most_recent() 223 static struct cached_page *select_victim_in_cache(struct page_cache *cache) in select_victim_in_cache() 256 static int put_page_in_cache(struct page_cache *cache, u32 physical_page, in put_page_in_cache() 282 static void cancel_page_in_cache(struct page_cache *cache, u32 physical_page, in cancel_page_in_cache() [all …]
|
H A D | sparse-cache.c | 234 static int __must_check make_search_list(struct sparse_cache *cache, in make_search_list() 263 struct sparse_cache *cache; in uds_make_sparse_cache() local 323 static void score_search_miss(struct sparse_cache *cache, in score_search_miss() 345 void uds_free_sparse_cache(struct sparse_cache *cache) in uds_free_sparse_cache() 389 bool uds_sparse_cache_contains(struct sparse_cache *cache, u64 virtual_chapter, in uds_sparse_cache_contains() 425 struct sparse_cache *cache, u64 oldest_virtual_chapter) in purge_search_list() 496 struct sparse_cache *cache = index->volume->sparse_cache; in uds_update_sparse_cache() local 537 void uds_invalidate_sparse_cache(struct sparse_cache *cache) in uds_invalidate_sparse_cache() 580 struct sparse_cache *cache = volume->sparse_cache; in uds_search_sparse_cache() local
|
/linux/drivers/md/bcache/ |
H A D | bcache.h | 418 struct cache { struct 419 struct cache_set *set; argument 420 struct cache_sb sb; argument 421 struct cache_sb_disk *sb_disk; argument 422 struct bio sb_bio; 423 struct bio_vec sb_bv[1]; 448 * cached data in them, and we can't reuse them until after we write argument 461 DEFINE_MIN_HEAP(struct bucket *, cache_heap) heap; argument 468 unsigned int invalidate_needs_gc; 470 bool discard; /* Get rid of? */ [all …]
|
/linux/drivers/base/regmap/ |
H A D | regcache-flat.c | 24 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/fs/exfat/ |
H A D | cache.c | 40 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/ |
H A D | cache.c | 53 squashfs_cache_get(struct super_block * sb,struct squashfs_cache * cache,u64 block,int length) squashfs_cache_get() argument 175 struct squashfs_cache *cache = entry->cache; squashfs_cache_put() local 197 squashfs_cache_delete(struct squashfs_cache * cache) squashfs_cache_delete() argument 227 struct squashfs_cache *cache = kzalloc(sizeof(*cache), GFP_KERNEL); squashfs_cache_init() local [all...] |
/linux/net/mac80211/ |
H A D | mesh_pathtbl.c | 55 struct mesh_tx_cache *cache; in mesh_fast_tx_deinit() local 64 struct mesh_tx_cache *cache; in mesh_fast_tx_init() local 425 static void mesh_fast_tx_entry_free(struct mesh_tx_cache *cache, in mesh_fast_tx_entry_free() 438 struct mesh_tx_cache *cache; in mesh_fast_tx_get() local 471 struct mesh_tx_cache *cache; in mesh_fast_tx_cache() local 610 struct mesh_tx_cache *cache = &sdata->u.mesh.tx_cache; in mesh_fast_tx_gc() local 627 struct mesh_tx_cache *cache = &sdata->u.mesh.tx_cache; in mesh_fast_tx_flush_mpath() local 641 struct mesh_tx_cache *cache = &sdata->u.mesh.tx_cache; in mesh_fast_tx_flush_sta() local 655 struct mesh_tx_cache *cache = &sdata->u.mesh.tx_cache; in mesh_fast_tx_flush_addr() local
|
/linux/arch/m68k/kernel/ |
H A D | sys_m68k.c | 68 cache_flush_040 (unsigned long addr, int scope, int cache, unsigned long len) in cache_flush_040() 228 cache_flush_060 (unsigned long addr, int scope, int cache, unsigned long len) in cache_flush_060() 378 sys_cacheflush (unsigned long addr, int scope, int cache, unsigned long len) in sys_cacheflush() 537 sys_cacheflush (unsigned long addr, int scope, int cache, unsigned long len) in sys_cacheflush()
|