/openbmc/linux/drivers/md/ |
H A D | dm-cache-target.c | 297 struct cache { struct 307 struct dm_cache_metadata *cmd; argument 331 * Size of the cache device in blocks. argument 377 * cache_size entries, dirty if set argument 383 struct dm_cache_policy *policy; argument 392 bool need_tick_bio:1; 393 bool sized:1; 394 bool invalidate:1; 419 struct dm_cache_migration { argument 421 struct cache *cache; argument [all …]
|
/openbmc/linux/fs/cachefiles/ |
H A D | daemon.c | 91 struct cachefiles_cache *cache; in cachefiles_daemon_open() local 136 void cachefiles_flush_reqs(struct cachefiles_cache *cache) in cachefiles_flush_reqs() 170 void cachefiles_put_unbind_pincount(struct cachefiles_cache *cache) in cachefiles_put_unbind_pincount() 179 void cachefiles_get_unbind_pincount(struct cachefiles_cache *cache) in cachefiles_get_unbind_pincount() 189 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_release() local 210 static ssize_t cachefiles_do_daemon_read(struct cachefiles_cache *cache, in cachefiles_do_daemon_read() 261 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_read() local 283 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_write() local 359 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_poll() local 393 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 | 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() 228 static int cachefiles_unlink(struct cachefiles_cache *cache, in cachefiles_unlink() 264 int cachefiles_bury_object(struct cachefiles_cache *cache, in cachefiles_bury_object() 441 struct cachefiles_cache *cache = volume->cache; in cachefiles_create_tmpfile() local 545 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_open_file() local 670 bool cachefiles_commit_tmpfile(struct cachefiles_cache *cache, in cachefiles_commit_tmpfile() 747 static struct dentry *cachefiles_lookup_for_cull(struct cachefiles_cache *cache, in cachefiles_lookup_for_cull() 792 int cachefiles_cull(struct cachefiles_cache *cache, struct dentry *dir, in cachefiles_cull() 850 int cachefiles_check_in_use(struct cachefiles_cache *cache, struct dentry *dir, in cachefiles_check_in_use()
|
H A D | interface.c | 84 struct fscache_cache *cache; in cachefiles_put_object() local 180 struct cachefiles_cache *cache = cookie->volume->cache->cache_priv; in cachefiles_lookup_cookie() local 235 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_shorten_object() local 282 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_resize_cookie() local 309 struct cachefiles_cache *cache) in cachefiles_commit_object() 328 struct cachefiles_cache *cache) in cachefiles_clean_up_object() 357 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_withdraw_cookie() local
|
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()
|
H A D | ondemand.c | 22 struct cachefiles_cache *cache; in cachefiles_ondemand_fd_release() local 63 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_ondemand_fd_write_iter() local 103 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_ondemand_fd_ioctl() local 141 int cachefiles_ondemand_copen(struct cachefiles_cache *cache, char *args) in cachefiles_ondemand_copen() 253 int cachefiles_ondemand_restore(struct cachefiles_cache *cache, char *args) in cachefiles_ondemand_restore() 280 struct cachefiles_cache *cache; in cachefiles_ondemand_get_fd() local 397 ssize_t cachefiles_ondemand_daemon_read(struct cachefiles_cache *cache, in cachefiles_ondemand_daemon_read() 474 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_ondemand_send_req() local 687 struct cachefiles_cache *cache; in cachefiles_ondemand_clean_object() local
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | cacheinfo.c | 43 struct cache *cache; member 117 struct cache { struct 158 struct cache *cache; in new_cache() local 394 struct cache *cache; in cache_do_one_devnode() local 408 struct cache *cache; in cache_lookup_or_instantiate() local 592 struct cache *cache; in size_show() local 609 struct cache *cache; in line_size_show() local 625 struct cache *cache; in nr_sets_show() local 641 struct cache *cache; in associativity_show() local 656 struct cache *cache; in type_show() local [all …]
|
/openbmc/linux/fs/fscache/ |
H A D | 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() 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() 355 void fscache_withdraw_cache(struct fscache_cache *cache) in fscache_withdraw_cache() [all …]
|
/openbmc/linux/fs/ |
H A D | mbcache.c | 74 int mb_cache_entry_create(struct mb_cache *cache, gfp_t mask, u32 key, in mb_cache_entry_create() 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() 286 void mb_cache_entry_touch(struct mb_cache *cache, in mb_cache_entry_touch() 296 struct mb_cache *cache = container_of(shrink, struct mb_cache, in mb_cache_count() local 303 static unsigned long mb_cache_shrink(struct mb_cache *cache, in mb_cache_shrink() 336 struct mb_cache *cache = container_of(shrink, struct mb_cache, in mb_cache_scan() local 346 struct mb_cache *cache = container_of(work, struct mb_cache, in mb_cache_shrink_worker() local 359 struct mb_cache *cache; in mb_cache_create() local [all …]
|
/openbmc/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 …]
|
/openbmc/linux/fs/nfs/ |
H A D | nfs42xattr.c | 64 struct nfs4_xattr_cache *cache; member 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 611 struct nfs4_xattr_cache *cache; in nfs4_xattr_cache_get() local 650 struct nfs4_xattr_cache *cache; in nfs4_xattr_cache_list() local 691 struct nfs4_xattr_cache *cache; in nfs4_xattr_cache_add() local 722 struct nfs4_xattr_cache *cache; in nfs4_xattr_cache_remove() local 742 struct nfs4_xattr_cache *cache; in nfs4_xattr_cache_set_list() local 862 struct nfs4_xattr_cache *cache; in nfs4_xattr_cache_scan() local 893 struct nfs4_xattr_cache *cache; in entry_lru_isolate() local [all …]
|
/openbmc/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 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 …]
|
/openbmc/linux/io_uring/ |
H A D | alloc_cache.h | 13 static inline bool io_alloc_cache_put(struct io_alloc_cache *cache, in io_alloc_cache_put() 26 static inline bool io_alloc_cache_empty(struct io_alloc_cache *cache) in io_alloc_cache_empty() 31 static inline struct io_cache_entry *io_alloc_cache_get(struct io_alloc_cache *cache) in io_alloc_cache_get() 46 static inline void io_alloc_cache_init(struct io_alloc_cache *cache, in io_alloc_cache_init() 55 static inline void io_alloc_cache_free(struct io_alloc_cache *cache, in io_alloc_cache_free()
|
/openbmc/qemu/migration/ |
H A D | page_cache.c | 45 PageCache *cache; in cache_init() local 90 void cache_fini(PageCache *cache) in cache_fini() 106 static size_t cache_get_cache_pos(const PageCache *cache, in cache_get_cache_pos() 113 static CacheItem *cache_get_by_addr(const PageCache *cache, uint64_t addr) in cache_get_by_addr() 125 uint8_t *get_cached_data(const PageCache *cache, uint64_t addr) in get_cached_data() 130 bool cache_is_cached(const PageCache *cache, uint64_t addr, in cache_is_cached() 145 int cache_insert(PageCache *cache, uint64_t addr, const uint8_t *pdata, in cache_insert()
|
/openbmc/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()
|
/openbmc/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
|
/openbmc/u-boot/arch/x86/lib/ |
H A D | mrccache.c | 21 struct mrc_data_container *cache) in next_mrc_block() 37 static int is_mrc_cache(struct mrc_data_container *cache) in is_mrc_cache() 44 struct mrc_data_container *cache, *next; in mrccache_find_current() local 88 struct mrc_data_container *cache) in find_next_mrc_cache() 111 struct mrc_data_container *cache; in mrccache_update() local 164 struct mrc_data_container *cache; in mrccache_reserve() local
|
/openbmc/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()
|
/openbmc/linux/mm/kasan/ |
H A D | generic.c | 202 void kasan_cache_shrink(struct kmem_cache *cache) in kasan_cache_shrink() 207 void kasan_cache_shutdown(struct kmem_cache *cache) in kasan_cache_shutdown() 359 void kasan_cache_create(struct kmem_cache *cache, unsigned int *size, in kasan_cache_create() 431 struct kasan_alloc_meta *kasan_get_alloc_meta(struct kmem_cache *cache, in kasan_get_alloc_meta() 439 struct kasan_free_meta *kasan_get_free_meta(struct kmem_cache *cache, in kasan_get_free_meta() 448 void kasan_init_object_meta(struct kmem_cache *cache, const void *object) in kasan_init_object_meta() 457 size_t kasan_metadata_size(struct kmem_cache *cache, bool in_object) in kasan_metadata_size() 478 struct kmem_cache *cache; in __kasan_record_aux_stack() local 505 void kasan_save_alloc_info(struct kmem_cache *cache, void *object, gfp_t flags) in kasan_save_alloc_info() 514 void kasan_save_free_info(struct kmem_cache *cache, void *object) in kasan_save_free_info()
|
H A D | common.c | 136 void __kasan_unpoison_object_data(struct kmem_cache *cache, void *object) in __kasan_unpoison_object_data() 141 void __kasan_poison_object_data(struct kmem_cache *cache, void *object) in __kasan_poison_object_data() 161 static inline u8 assign_tag(struct kmem_cache *cache, in assign_tag() 187 void * __must_check __kasan_init_slab_obj(struct kmem_cache *cache, in __kasan_init_slab_obj() 200 static inline bool ____kasan_slab_free(struct kmem_cache *cache, void *object, in ____kasan_slab_free() 241 bool __kasan_slab_free(struct kmem_cache *cache, void *object, in __kasan_slab_free() 298 void * __must_check __kasan_slab_alloc(struct kmem_cache *cache, in __kasan_slab_alloc() 333 static inline void *____kasan_kmalloc(struct kmem_cache *cache, in ____kasan_kmalloc() 380 void * __must_check __kasan_kmalloc(struct kmem_cache *cache, const void *object, in __kasan_kmalloc()
|
H A D | quarantine.c | 132 static void *qlink_to_object(struct qlist_node *qlink, struct kmem_cache *cache) in qlink_to_object() 141 static void qlink_free(struct qlist_node *qlink, struct kmem_cache *cache) in qlink_free() 172 static void qlist_free_all(struct qlist_head *q, struct kmem_cache *cache) in qlist_free_all() 191 bool kasan_quarantine_put(struct kmem_cache *cache, void *object) in kasan_quarantine_put() 298 struct kmem_cache *cache) in qlist_move_cache() 322 struct kmem_cache *cache = arg; in __per_cpu_remove_cache() local 348 void kasan_quarantine_remove_cache(struct kmem_cache *cache) in kasan_quarantine_remove_cache()
|
/openbmc/linux/mm/ |
H A D | swap_slots.c | 115 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 305 struct swap_slots_cache *cache; in folio_alloc_swap() local
|
/openbmc/qemu/contrib/plugins/ |
H A D | cache.c | 140 static void lru_priorities_init(Cache *cache) in lru_priorities_init() 157 static int lru_get_lru_block(Cache *cache, int set_idx) in lru_get_lru_block() 173 static void lru_priorities_destroy(Cache *cache) in lru_priorities_destroy() 193 static void fifo_init(Cache *cache) in fifo_init() 202 static int fifo_get_first_block(Cache *cache, int set) in fifo_get_first_block() 214 static void fifo_destroy(Cache *cache) in fifo_destroy() 251 Cache *cache; in cache_init() local 316 static int get_replaced_block(Cache *cache, int set) in get_replaced_block() 330 static int in_cache(Cache *cache, uint64_t addr) in in_cache() 356 static bool access_cache(Cache *cache, uint64_t addr) in access_cache() [all …]
|