| /linux/drivers/md/ |
| H A D | dm-cache-target.c | 298 struct cache { struct 308 struct dm_cache_metadata *cmd; argument 323 struct dm_dev *cache_dev; argument 332 * Size of the cache device in blocks. argument 334 dm_cblock_t cache_size; argument 339 spinlock_t invalidation_lock; 340 struct list_head invalidation_requests; 342 sector_t migration_threshold; 348 atomic_t nr_io_migrations; 350 struct bio_list deferred_bios; [all …]
|
| /linux/arch/powerpc/kernel/ |
| H A D | cacheinfo.c | 44 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 int group_id; /* id of the group of threads that share this cache */ argument 124 struct list_head list; /* global list of cache objects */ argument 125 struct cache *next_local; /* next cache of >= level */ argument 140 static const char *cache_type_string(const struct cache *cache) in cache_type_string() 145 static void cache_init(struct cache *cache, int type, int level, in cache_init() [all …]
|
| /linux/fs/netfs/ |
| H A D | fscache_cache.c | 26 struct fscache_cache *cache; in fscache_alloc_cache() local 44 static bool fscache_get_cache_maybe(struct fscache_cache *cache, in fscache_get_cache_maybe() 61 struct fscache_cache *candidate, *cache, *unnamed = NULL; in fscache_lookup_cache() local 151 struct fscache_cache *cache; in fscache_acquire_cache() local 179 void fscache_put_cache(struct fscache_cache *cache, in fscache_put_cache() 209 void fscache_relinquish_cache(struct fscache_cache *cache) in fscache_relinquish_cache() 234 int fscache_add_cache(struct fscache_cache *cache, in fscache_add_cache() 289 bool fscache_begin_cache_access(struct fscache_cache *cache, enum fscache_access_trace why) in fscache_begin_cache_access() 315 void fscache_end_cache_access(struct fscache_cache *cache, enum fscache_access_trace why) in fscache_end_cache_access() 337 void fscache_io_error(struct fscache_cache *cache) in fscache_io_error() [all …]
|
| /linux/scripts/gendwarfksyms/ |
| H A D | dwarf.c | 38 static void process_linebreak(struct die *cache, int n) in process_linebreak() argument 147 static bool is_kabi_definition(struct die *cache, Dwarf_Die *die) in is_kabi_definition() argument 163 static void process(struct die *cache, const char *s) in process() argument 183 process_fmt(struct die * cache,const char * fmt,...) process_fmt() argument 197 update_fqn(struct die * cache,Dwarf_Die * die) update_fqn() argument 210 process_fqn(struct die * cache,Dwarf_Die * die) process_fqn() argument 266 process_die_container(struct state * state,struct die * cache,Dwarf_Die * die,die_callback_t func,die_match_callback_t match) process_die_container() argument 300 process_type_attr(struct state * state,struct die * cache,Dwarf_Die * die) process_type_attr() argument 314 process_list_comma(struct state * state,struct die * cache) process_list_comma() argument 325 __process_list_type(struct state * state,struct die * cache,Dwarf_Die * die,const char * type) __process_list_type() argument 411 process_array_type(struct state * state,struct die * cache,Dwarf_Die * die) process_array_type() argument 425 __process_subroutine_type(struct state * state,struct die * cache,Dwarf_Die * die,const char * type) __process_subroutine_type() argument 442 process_subroutine_type(struct state * state,struct die * cache,Dwarf_Die * die) process_subroutine_type() argument 448 process_variant_type(struct state * state,struct die * cache,Dwarf_Die * die) process_variant_type() argument 461 process_variant_part_type(struct state * state,struct die * cache,Dwarf_Die * die) process_variant_part_type() argument 667 ___process_structure_type(struct state * state,struct die * cache,Dwarf_Die * die) ___process_structure_type() argument 690 __process_structure_type(struct state * state,struct die * cache,Dwarf_Die * die,const char * type,die_callback_t process_func,die_match_callback_t match_func) __process_structure_type() argument 749 process_enumerator_type(struct state * state,struct die * cache,Dwarf_Die * die) process_enumerator_type() argument 777 process_enumeration_type(struct state * state,struct die * cache,Dwarf_Die * die) process_enumeration_type() argument 784 process_base_type(struct state * state,struct die * cache,Dwarf_Die * die) process_base_type() argument 794 process_unspecified_type(struct state * state,struct die * cache,Dwarf_Die * die) process_unspecified_type() argument 804 process_cached(struct state * state,struct die * cache,Dwarf_Die * die) process_cached() argument 868 struct die *cache; process_type() local 961 struct die *cache; get_symbol_cache() local 975 struct die *cache; process_symbol() local 990 __process_subprogram(struct state * state,struct die * cache,Dwarf_Die * die) __process_subprogram() argument 1002 __process_variable(struct state * state,struct die * cache,Dwarf_Die * die) __process_variable() argument 1040 process_exported_symbols(struct state * unused,struct die * cache,Dwarf_Die * die) process_exported_symbols() argument 1106 struct die *cache; resolve_fqns() local [all...] |
| H A D | cache.c | 14 void cache_set(struct cache *cache, unsigned long key, int value) in cache_set() 24 int cache_get(struct cache *cache, unsigned long key) in cache_get() 36 void cache_init(struct cache *cache) in cache_init() 41 void cache_free(struct cache *cache) in cache_free()
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_pagemap_util.c | 62 struct drm_pagemap_cache *cache = arg; in drm_pagemap_cache_fini() local 93 struct drm_pagemap_cache *cache = kzalloc_obj(*cache); in drm_pagemap_cache_create_devm() local 144 int drm_pagemap_cache_lock_lookup(struct drm_pagemap_cache *cache) in drm_pagemap_cache_lock_lookup() 154 void drm_pagemap_cache_unlock_lookup(struct drm_pagemap_cache *cache) in drm_pagemap_cache_unlock_lookup() 175 struct drm_pagemap *drm_pagemap_get_from_cache(struct drm_pagemap_cache *cache) in drm_pagemap_get_from_cache() 229 void drm_pagemap_cache_set_pagemap(struct drm_pagemap_cache *cache, struct drm_pagemap *dpagemap) in drm_pagemap_cache_set_pagemap() 252 struct drm_pagemap *drm_pagemap_get_from_cache_if_active(struct drm_pagemap_cache *cache) in drm_pagemap_get_from_cache_if_active() 266 struct drm_pagemap_cache *cache = dpagemap->cache; in drm_pagemap_shrinker_cancel() local 295 struct drm_pagemap_cache *cache = dpagemap->cache; in drm_pagemap_shrinker_might_lock() local 319 struct drm_pagemap_cache *cache; in drm_pagemap_shrinker_add() 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/cachefiles/ |
| 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 | namei.c | 69 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_unmark_inode_in_use() local 84 struct dentry *cachefiles_get_directory(struct cachefiles_cache *cache, in cachefiles_get_directory() 230 static int cachefiles_unlink(struct cachefiles_cache *cache, in cachefiles_unlink() 268 int cachefiles_bury_object(struct cachefiles_cache *cache, in cachefiles_bury_object() 412 struct cachefiles_cache *cache = volume->cache; in cachefiles_create_tmpfile() local 511 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_open_file() local 634 bool cachefiles_commit_tmpfile(struct cachefiles_cache *cache, in cachefiles_commit_tmpfile() 710 static struct dentry *cachefiles_lookup_for_cull(struct cachefiles_cache *cache, in cachefiles_lookup_for_cull() 749 int cachefiles_cull(struct cachefiles_cache *cache, struct dentry *dir, in cachefiles_cull() 811 int cachefiles_check_in_use(struct cachefiles_cache *cache, struct dentry *dir, in cachefiles_check_in_use()
|
| 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/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/mm/kasan/ |
| H A D | common.c | 208 if (!cache->ctor && !(cache argument 166 __kasan_unpoison_new_object(struct kmem_cache * cache,void * object) __kasan_unpoison_new_object() argument 171 __kasan_poison_new_object(struct kmem_cache * cache,void * object) __kasan_poison_new_object() argument 187 assign_tag(struct kmem_cache * cache,const void * object,bool init) assign_tag() argument 222 check_slab_allocation(struct kmem_cache * cache,void * object,unsigned long ip) check_slab_allocation() argument 242 poison_slab_object(struct kmem_cache * cache,void * object,bool init) poison_slab_object() argument 256 __kasan_slab_pre_free(struct kmem_cache * cache,void * object,unsigned long ip) __kasan_slab_pre_free() argument 264 __kasan_slab_free(struct kmem_cache * cache,void * object,bool init,bool still_accessible,bool no_quarantine) __kasan_slab_free() argument 329 unpoison_slab_object(struct kmem_cache * cache,void * object,gfp_t flags,bool init) unpoison_slab_object() argument 343 __kasan_slab_alloc(struct kmem_cache * cache,void * object,gfp_t flags,bool init) __kasan_slab_alloc() argument 371 poison_kmalloc_redzone(struct kmem_cache * cache,const void * object,size_t size,gfp_t flags) poison_kmalloc_redzone() argument 402 __kasan_kmalloc(struct kmem_cache * cache,const void * object,size_t size,gfp_t flags) __kasan_kmalloc() argument [all...] |
| H A D | generic.c | 215 void kasan_cache_shrink(struct kmem_cache *cache) in kasan_cache_shrink() 220 void kasan_cache_shutdown(struct kmem_cache *cache) in kasan_cache_shutdown() 364 void kasan_cache_create(struct kmem_cache *cache, unsigned int *size, in kasan_cache_create() 467 struct kasan_alloc_meta *kasan_get_alloc_meta(struct kmem_cache *cache, in kasan_get_alloc_meta() 475 struct kasan_free_meta *kasan_get_free_meta(struct kmem_cache *cache, in kasan_get_free_meta() 484 void kasan_init_object_meta(struct kmem_cache *cache, const void *object) in kasan_init_object_meta() 517 size_t kasan_metadata_size(struct kmem_cache *cache, bool in_object) in kasan_metadata_size() 542 struct kmem_cache *cache; in kasan_record_aux_stack() local 559 void kasan_save_alloc_info(struct kmem_cache *cache, void *object, gfp_t flags) in kasan_save_alloc_info() 573 void kasan_save_free_info(struct kmem_cache *cache, void *object) in kasan_save_free_info()
|
| 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 | 182 void btrfs_get_block_group(struct btrfs_block_group *cache) in btrfs_get_block_group() 187 void btrfs_put_block_group(struct btrfs_block_group *cache) in btrfs_put_block_group() 261 struct btrfs_block_group *cache, *ret = NULL; in block_group_cache_tree_search() local 314 struct btrfs_block_group *cache) in btrfs_next_block_group() 444 struct btrfs_block_group *cache) in btrfs_get_caching_control() 479 void btrfs_wait_block_group_cache_progress(struct btrfs_block_group *cache, in btrfs_wait_block_group_cache_progress() 504 static int btrfs_caching_ctl_wait_done(struct btrfs_block_group *cache, in btrfs_caching_ctl_wait_done() 511 static int btrfs_wait_block_group_cache_done(struct btrfs_block_group *cache) in btrfs_wait_block_group_cache_done() 966 int btrfs_cache_block_group(struct btrfs_block_group *cache, bool wait) in btrfs_cache_block_group() 1437 static int inc_block_group_ro(struct btrfs_block_group *cache, bool force) in inc_block_group_ro() [all …]
|
| /linux/io_uring/ |
| H A D | alloc_cache.h | 21 static inline bool io_alloc_cache_put(struct io_alloc_cache *cache, in io_alloc_cache_put() 33 static inline void *io_alloc_cache_get(struct io_alloc_cache *cache) in io_alloc_cache_get() 54 static inline void *io_cache_alloc(struct io_alloc_cache *cache, gfp_t gfp) in io_cache_alloc() 64 static inline void io_cache_free(struct io_alloc_cache *cache, void *obj) in io_cache_free()
|
| H A D | alloc_cache.c | 5 void io_alloc_cache_free(struct io_alloc_cache *cache, in io_alloc_cache_free() 21 bool io_alloc_cache_init(struct io_alloc_cache *cache, in io_alloc_cache_init() 36 void *io_cache_alloc_new(struct io_alloc_cache *cache, gfp_t gfp) in io_cache_alloc_new()
|
| /linux/drivers/md/bcache/ |
| H A D | bcache.h | 420 struct cache { struct 421 struct cache_set *set; argument 422 struct cache_sb sb; argument 423 struct cache_sb_disk *sb_disk; argument 424 struct bio sb_bio; 425 struct bio_vec sb_bv[1]; 450 * cached data in them, and we can't reuse them until after we write argument 457 size_t fifo_last_bucket; 460 struct bucket *buckets; 469 unsigned int invalidate_needs_gc; [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| H A D | pat_arg.c | 77 int mlx5hws_pat_init_pattern_cache(struct mlx5hws_pattern_cache **cache) in mlx5hws_pat_init_pattern_cache() 93 void mlx5hws_pat_uninit_pattern_cache(struct mlx5hws_pattern_cache *cache) in mlx5hws_pat_uninit_pattern_cache() 129 mlx5hws_pat_find_cached_pattern(struct mlx5hws_pattern_cache *cache, in mlx5hws_pat_find_cached_pattern() 147 mlx5hws_pat_get_existing_cached_pattern(struct mlx5hws_pattern_cache *cache, in mlx5hws_pat_get_existing_cached_pattern() 164 mlx5hws_pat_add_pattern_to_cache(struct mlx5hws_pattern_cache *cache, in mlx5hws_pat_add_pattern_to_cache() 193 mlx5hws_pat_find_cached_pattern_by_id(struct mlx5hws_pattern_cache *cache, in mlx5hws_pat_find_cached_pattern_by_id() 217 struct mlx5hws_pattern_cache *cache = ctx->pattern_cache; in mlx5hws_pat_put_pattern() local
|
| /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() argument 438 struct mesh_tx_cache *cache; mesh_fast_tx_get() local 471 struct mesh_tx_cache *cache; mesh_fast_tx_cache() local 610 struct mesh_tx_cache *cache = &sdata->u.mesh.tx_cache; mesh_fast_tx_gc() local 627 struct mesh_tx_cache *cache = &sdata->u.mesh.tx_cache; mesh_fast_tx_flush_mpath() local 641 struct mesh_tx_cache *cache = &sdata->u.mesh.tx_cache; mesh_fast_tx_flush_sta() local 655 struct mesh_tx_cache *cache = &sdata->u.mesh.tx_cache; mesh_fast_tx_flush_addr() local [all...] |
| /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()
|
| /linux/drivers/net/ovpn/ |
| H A D | udp.c | 149 struct dst_cache *cache, in ovpn_dst_cache_check_key() 217 struct dst_cache *cache, struct sock *sk, in ovpn_udp4_output() 313 struct dst_cache *cache, struct sock *sk, in ovpn_udp6_output() 414 static int ovpn_udp_output(struct ovpn_peer *peer, struct dst_cache *cache, in ovpn_udp_output()
|
| /linux/drivers/net/wireless/silabs/wfx/ |
| H A D | data_tx.c | 73 static int wfx_tx_policy_find(struct wfx_tx_policy_cache *cache, struct wfx_tx_policy *wanted) in wfx_tx_policy_find() 86 static void wfx_tx_policy_use(struct wfx_tx_policy_cache *cache, struct wfx_tx_policy *entry) in wfx_tx_policy_use() 92 static int wfx_tx_policy_release(struct wfx_tx_policy_cache *cache, struct wfx_tx_policy *entry) in wfx_tx_policy_release() 104 struct wfx_tx_policy_cache *cache = &wvif->tx_policy_cache; in wfx_tx_policy_get() local 138 struct wfx_tx_policy_cache *cache = &wvif->tx_policy_cache; in wfx_tx_policy_put() local 185 struct wfx_tx_policy_cache *cache = &wvif->tx_policy_cache; in wfx_tx_policy_init() local
|