Home
last modified time | relevance | path

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

12345678910

/linux/fs/cachefiles/
H A Ddaemon.c92 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 Dcache.c17 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 Dnamei.c69 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()
229 static int cachefiles_unlink(struct cachefiles_cache *cache, in cachefiles_unlink()
267 int cachefiles_bury_object(struct cachefiles_cache *cache, in cachefiles_bury_object()
411 struct cachefiles_cache *cache = volume->cache; in cachefiles_create_tmpfile() local
515 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_open_file() local
642 bool cachefiles_commit_tmpfile(struct cachefiles_cache *cache, in cachefiles_commit_tmpfile()
718 static struct dentry *cachefiles_lookup_for_cull(struct cachefiles_cache *cache, in cachefiles_lookup_for_cull()
757 int cachefiles_cull(struct cachefiles_cache *cache, struct dentry *dir, in cachefiles_cull()
819 int cachefiles_check_in_use(struct cachefiles_cache *cache, struct dentry *dir, in cachefiles_check_in_use()
H A Dondemand.c21 struct cachefiles_cache *cache; in cachefiles_ondemand_fd_release() local
62 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_ondemand_fd_write_iter() local
120 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_ondemand_fd_ioctl() local
158 int cachefiles_ondemand_copen(struct cachefiles_cache *cache, char *args) in cachefiles_ondemand_copen()
270 int cachefiles_ondemand_restore(struct cachefiles_cache *cache, char *args) in cachefiles_ondemand_restore()
297 struct cachefiles_cache *cache; in cachefiles_ondemand_get_fd() local
413 ssize_t cachefiles_ondemand_daemon_read(struct cachefiles_cache *cache, in cachefiles_ondemand_daemon_read()
490 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_ondemand_send_req() local
703 struct cachefiles_cache *cache; in cachefiles_ondemand_clean_object() local
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()
/linux/arch/powerpc/kernel/
H A Dcacheinfo.c43 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/drivers/md/dm-pcache/
H A Dcache.c11 static inline struct pcache_cache_info *get_cache_info_addr(struct pcache_cache *cache) in get_cache_info_addr()
17 static void cache_info_write(struct pcache_cache *cache) in cache_info_write()
32 static int cache_info_init(struct pcache_cache *cache, struct pcache_cache_options *opts) in cache_info_init()
73 int pcache_cache_set_gc_percent(struct pcache_cache *cache, u8 percent) in pcache_cache_set_gc_percent()
87 void cache_pos_encode(struct pcache_cache *cache, in cache_pos_encode()
105 int cache_pos_decode(struct pcache_cache *cache, in cache_pos_decode()
129 static inline void cache_info_set_seg_id(struct pcache_cache *cache, u32 seg_id) in cache_info_set_seg_id()
136 struct pcache_cache *cache = &pcache->cache; in cache_init() local
178 static void cache_exit(struct pcache_cache *cache) in cache_exit()
184 static void cache_info_init_default(struct pcache_cache *cache) in cache_info_init_default()
[all …]
H A Dcache_req.c8 static int cache_data_head_init(struct pcache_cache *cache) in cache_data_head_init()
36 static int cache_data_alloc(struct pcache_cache *cache, struct pcache_cache_key *key) in cache_data_alloc()
90 static int cache_copy_from_req_bio(struct pcache_cache *cache, struct pcache_cache_key *key, in cache_copy_from_req_bio()
101 static int cache_copy_to_req_bio(struct pcache_cache *cache, struct pcache_request *pcache_req, in cache_copy_to_req_bio()
137 struct pcache_cache *cache = backing_req->backing_dev->cache; in miss_read_end_req() local
202 static void submit_cache_miss_req(struct pcache_cache *cache, struct pcache_backing_dev_req *backin… in submit_cache_miss_req()
228 static struct pcache_backing_dev_req *cache_miss_req_alloc(struct pcache_cache *cache, in cache_miss_req_alloc()
259 static void cache_miss_req_init(struct pcache_cache *cache, in cache_miss_req_init()
290 struct pcache_cache *cache = ctx->cache_tree->cache; in get_pre_alloc_req() local
331 struct pcache_cache *cache = ctx->cache_tree->cache; in read_before() local
[all …]
H A Dcache_key.c71 static void cache_key_encode(struct pcache_cache *cache, in cache_key_encode()
88 int cache_key_decode(struct pcache_cache *cache, in cache_key_decode()
114 static void append_last_kset(struct pcache_cache *cache, u32 next_seg) in append_last_kset()
128 int cache_kset_close(struct pcache_cache *cache, struct pcache_cache_kset *kset) in cache_kset_close()
195 int cache_key_append(struct pcache_cache *cache, struct pcache_cache_key *key, bool force_close) in cache_key_append()
577 struct pcache_cache *cache = cache_tree->cache; in cache_key_insert() local
647 struct pcache_cache *cache = container_of(work, struct pcache_cache, clean_work); in clean_fn() local
697 struct pcache_cache *cache = kset->cache; in kset_flush_fn() local
713 static int kset_replay(struct pcache_cache *cache, struct pcache_cache_kset_onmedia *kset_onmedia) in kset_replay()
751 int cache_replay(struct pcache_cache *cache) in cache_replay()
[all …]
/linux/fs/netfs/
H A Dfscache_cache.c26 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 Ddwarf.c38 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 Dcache.c14 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 Ddrm_pagemap_util.c62 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 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
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 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()
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
/linux/scripts/gdb/linux/
H A Dslab.py46 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/base/regmap/
H A Dregcache-flat.c33 struct regcache_flat_data *cache; in regcache_flat_init() local
58 struct regcache_flat_data *cache = map->cache; in regcache_flat_exit() local
71 struct regcache_flat_data *cache = map->cache; in regcache_flat_populate() local
107 struct regcache_flat_data *cache = map->cache; in regcache_flat_read() local
123 struct regcache_flat_data *cache = map->cache; in regcache_flat_sparse_read() local
137 struct regcache_flat_data *cache = map->cache; in regcache_flat_write() local
149 struct regcache_flat_data *cache = map->cache; in regcache_flat_drop() local
/linux/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()
/linux/mm/kasan/
H A Dcommon.c166 void __kasan_unpoison_new_object(struct kmem_cache *cache, void *object) in __kasan_unpoison_new_object()
171 void __kasan_poison_new_object(struct kmem_cache *cache, void *object) in __kasan_poison_new_object()
187 static inline u8 assign_tag(struct kmem_cache *cache, in assign_tag()
208 void * __must_check __kasan_init_slab_obj(struct kmem_cache *cache, in __kasan_init_slab_obj()
222 static bool check_slab_allocation(struct kmem_cache *cache, void *object, in check_slab_allocation()
242 static inline void poison_slab_object(struct kmem_cache *cache, void *object, in poison_slab_object()
256 bool __kasan_slab_pre_free(struct kmem_cache *cache, void *object, in __kasan_slab_pre_free()
264 bool __kasan_slab_free(struct kmem_cache *cache, void *object, bool init, in __kasan_slab_free()
329 static inline void unpoison_slab_object(struct kmem_cache *cache, void *object, in unpoison_slab_object()
343 void * __must_check __kasan_slab_alloc(struct kmem_cache *cache, in __kasan_slab_alloc()
[all …]
H A Dgeneric.c215 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 Dquarantine.c134 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()
/linux/fs/btrfs/
H A Dlru_cache.c15 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()
/linux/io_uring/
H A Dalloc_cache.h21 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 Dalloc_cache.c5 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 Dbcache.h420 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 …]

12345678910