Home
last modified time | relevance | path

Searched +defs:map +defs:cache (Results 1 – 25 of 36) sorted by relevance

12

/openbmc/linux/drivers/base/regmap/
H A Dregcache-flat.c15 static inline unsigned int regcache_flat_get_index(const struct regmap *map, in regcache_flat_get_index()
21 static int regcache_flat_init(struct regmap *map) in regcache_flat_init()
24 unsigned int *cache; in regcache_flat_init() local
46 static int regcache_flat_exit(struct regmap *map) in regcache_flat_exit()
54 static int regcache_flat_read(struct regmap *map, in regcache_flat_read()
57 unsigned int *cache = map->cache; in regcache_flat_read() local
65 static int regcache_flat_write(struct regmap *map, unsigned int reg, in regcache_flat_write()
68 unsigned int *cache = map->cache; in regcache_flat_write() local
H A Dregcache.c24 static int regcache_hw_init(struct regmap *map) in regcache_hw_init()
210 void regcache_exit(struct regmap *map) in regcache_exit()
237 int regcache_read(struct regmap *map, in regcache_read()
268 int regcache_write(struct regmap *map, in regcache_write()
353 int regcache_sync(struct regmap *map) in regcache_sync()
625 u8 *cache = base; in regcache_set_val() local
631 u16 *cache = base; in regcache_set_val() local
637 u32 *cache = base; in regcache_set_val() local
660 const u8 *cache = base; in regcache_get_val() local
665 const u16 *cache = base; in regcache_get_val() local
[all …]
H A Dinternal.h46 struct regmap *map; member
153 void *cache; member
210 struct regmap *map; member
239 static inline void regmap_debugfs_disable(struct regmap *map) in regmap_debugfs_disable()
246 static inline void regmap_debugfs_init(struct regmap *map) { } in regmap_debugfs_init()
247 static inline void regmap_debugfs_exit(struct regmap *map) { } in regmap_debugfs_exit()
248 static inline void regmap_debugfs_disable(struct regmap *map) { } in regmap_debugfs_disable()
266 static inline const void *regcache_get_val_addr(struct regmap *map, in regcache_get_val_addr()
293 static inline const char *regmap_name(const struct regmap *map) in regmap_name()
301 static inline unsigned int regmap_get_offset(const struct regmap *map, in regmap_get_offset()
[all …]
/openbmc/linux/kernel/bpf/
H A Dbpf_local_storage.c29 struct bpf_map *map = &smap->map; in mem_charge() local
40 struct bpf_map *map = &smap->map; in mem_uncharge() local
49 struct bpf_map *map = &smap->map; in owner_storage() local
665 static u16 bpf_local_storage_cache_idx_get(struct bpf_local_storage_cache *cache) in bpf_local_storage_cache_idx_get()
689 static void bpf_local_storage_cache_idx_free(struct bpf_local_storage_cache *cache, in bpf_local_storage_cache_idx_free()
713 int bpf_local_storage_map_check_btf(const struct bpf_map *map, in bpf_local_storage_map_check_btf()
771 u64 bpf_local_storage_map_mem_usage(const struct bpf_map *map) in bpf_local_storage_map_mem_usage()
793 struct bpf_local_storage_cache *cache, in bpf_local_storage_map_alloc()
848 void bpf_local_storage_map_free(struct bpf_map *map, in bpf_local_storage_map_free()
849 struct bpf_local_storage_cache *cache, in bpf_local_storage_map_free()
/openbmc/linux/fs/btrfs/
H A Dblock-group.c184 struct btrfs_block_group *cache; in btrfs_add_block_group_cache() local
275 struct btrfs_block_group *cache) in btrfs_next_block_group()
405 struct btrfs_block_group *cache) in btrfs_get_caching_control()
1300 struct map_lookup *map; in btrfs_start_trans_remove_block_group() local
2091 struct map_lookup *map; in btrfs_rmap_block() local
2221 struct btrfs_block_group *cache; in btrfs_create_block_group_cache() local
2318 struct btrfs_block_group *cache; in read_one_block_group() local
2441 struct map_lookup *map; in fill_dummy_bgs() local
2489 struct btrfs_block_group *cache; in btrfs_read_block_groups() local
2685 struct map_lookup *map; in insert_dev_extents() local
[all …]
H A Ddev-replace.c461 struct btrfs_block_group *cache; in mark_block_group_to_copy() local
548 struct btrfs_block_group *cache, in btrfs_finish_block_group_to_copy()
553 struct map_lookup *map; in btrfs_finish_block_group_to_copy() local
832 struct map_lookup *map; in btrfs_dev_replace_update_device_in_mapping_tree() local
H A Dzoned.c1214 static int calculate_alloc_pointer(struct btrfs_block_group *cache, in calculate_alloc_pointer()
1293 struct map_lookup *map) in btrfs_load_zone_info()
1403 struct map_lookup *map, in btrfs_load_block_group_dup()
1443 int btrfs_load_block_group_zone_info(struct btrfs_block_group *cache, bool new) in btrfs_load_block_group_zone_info()
1448 struct map_lookup *map; in btrfs_load_block_group_zone_info() local
1591 void btrfs_calc_zone_unusable(struct btrfs_block_group *cache) in btrfs_calc_zone_unusable()
1630 struct btrfs_block_group *cache; in btrfs_use_zone_append() local
1976 struct map_lookup *map; in btrfs_zone_activate() local
2084 struct map_lookup *map; in do_zone_finish() local
2533 struct map_lookup *map = block_group->physical_map; in btrfs_check_active_zone_reservation() local
H A Dvolumes.c3100 struct map_lookup *map; in btrfs_remove_chunk() local
3426 struct btrfs_block_group *cache; in btrfs_may_alloc_data_chunk() local
3635 struct btrfs_block_group *cache; in chunk_usage_range_filter() local
3666 struct btrfs_block_group *cache; in chunk_usage_filter() local
5561 struct map_lookup *map; in btrfs_chunk_alloc_add_chunk_item() local
5709 struct map_lookup *map; in btrfs_chunk_writeable() local
5765 struct map_lookup *map; in btrfs_num_copies() local
5804 struct map_lookup *map; in btrfs_full_stripe_len() local
6085 struct btrfs_block_group *cache; in is_block_group_to_copy() local
7979 struct btrfs_block_group *cache = data; in relocating_repair_kthread() local
[all …]
H A Dscrub.c1293 struct map_lookup *map, u64 *offset, in get_raid56_logic_offset()
1846 struct map_lookup *map, in scrub_raid56_parity_stripe()
2015 struct map_lookup *map, in scrub_simple_mirror()
2076 static u64 simple_stripe_full_stripe_len(const struct map_lookup *map) in simple_stripe_full_stripe_len()
2085 static u64 simple_stripe_get_logical(struct map_lookup *map, in simple_stripe_get_logical()
2102 static int simple_stripe_mirror_num(struct map_lookup *map, int stripe_index) in simple_stripe_mirror_num()
2114 struct map_lookup *map, in scrub_simple_stripe()
2152 struct map_lookup *map = em->map_lookup; in scrub_stripe() local
2322 struct map_lookup *map; in scrub_chunk() local
2364 struct btrfs_block_group *cache) in finish_extent_writes_for_zoned()
[all …]
/openbmc/linux/drivers/acpi/
H A Dosl.c226 struct acpi_ioremap *map; in acpi_map_lookup() local
240 struct acpi_ioremap *map; in acpi_map_vaddr_lookup() local
251 struct acpi_ioremap *map; in acpi_os_get_iomem() local
269 struct acpi_ioremap *map; in acpi_map_lookup_virt() local
326 struct acpi_ioremap *map; in acpi_os_map_iomem() local
420 struct acpi_ioremap *map; in acpi_os_unmap_iomem() local
471 struct acpi_ioremap *map; in acpi_os_unmap_generic_address() local
1557 acpi_os_create_cache(char *name, u16 size, u16 depth, acpi_cache_t ** cache) in acpi_os_create_cache()
1578 acpi_status acpi_os_purge_cache(acpi_cache_t * cache) in acpi_os_purge_cache()
1597 acpi_status acpi_os_delete_cache(acpi_cache_t * cache) in acpi_os_delete_cache()
[all …]
/openbmc/linux/tools/perf/util/
H A Dcpumap.h29 int cache; member
42 struct aggr_cpu_id map[]; member
H A Ddso.c843 struct dso_cache *cache; in dso_cache__free() local
858 struct dso_cache *cache; in __dso_cache__find() local
884 struct dso_cache *cache; in dso_cache__insert() local
912 static ssize_t dso_cache__memcpy(struct dso_cache *cache, u64 offset, u8 *data, in dso_cache__memcpy()
955 struct dso_cache *cache; in dso_cache__populate() local
996 struct dso_cache *cache = __dso_cache__find(dso, offset); in dso_cache__find() local
1004 struct dso_cache *cache; in dso_cache_io() local
1159 ssize_t dso__data_read_addr(struct dso *dso, struct map *map, in dso__data_read_addr()
1200 ssize_t dso__data_write_cache_addr(struct dso *dso, struct map *map, in dso__data_write_cache_addr()
1211 struct map *map = NULL; in dso__new_map() local
H A Dprobe-event.c135 struct map *map; in kernel_get_symbol_address_by_name() local
187 struct map *map; in get_target_map() local
257 struct map *map; in kprobe_warn_out_range() local
339 struct map *map; in kernel_get_module_dso() local
734 struct map *map; in post_process_offline_probe_trace_events() local
792 struct map *map; in post_process_module_probe_trace_events() local
828 struct map *map; in post_process_kernel_probe_trace_events() local
2906 struct probe_cache *cache = NULL; in __add_probe_trace_events() local
3355 struct probe_cache *cache; in find_cached_events() local
3438 struct probe_cache *cache; in find_probe_trace_events_from_cache() local
[all …]
/openbmc/linux/net/rds/
H A Dib_recv.c89 static void rds_ib_cache_xfer_to_ready(struct rds_ib_refill_cache *cache) in rds_ib_cache_xfer_to_ready()
102 static int rds_ib_recv_alloc_cache(struct rds_ib_refill_cache *cache, gfp_t gfp) in rds_ib_recv_alloc_cache()
136 static void rds_ib_cache_splice_all_lists(struct rds_ib_refill_cache *cache, in rds_ib_cache_splice_all_lists()
480 struct rds_ib_refill_cache *cache) in rds_ib_recv_cache_put()
519 static struct list_head *rds_ib_recv_cache_get(struct rds_ib_refill_cache *cache) in rds_ib_recv_cache_get()
787 struct rds_cong_map *map; in rds_ib_cong_recv() local
/openbmc/linux/drivers/irqchip/
H A Dirq-renesas-rzg2l.c81 struct rzg2l_irqc_reg_cache cache; member
301 struct rzg2l_irqc_reg_cache *cache = &rzg2l_irqc_data->cache; in rzg2l_irqc_irq_suspend() local
313 struct rzg2l_irqc_reg_cache *cache = &rzg2l_irqc_data->cache; in rzg2l_irqc_irq_resume() local
395 struct of_phandle_args map; in rzg2l_irqc_parse_interrupts() local
/openbmc/linux/include/linux/
H A Dbpf_local_storage.h48 struct bpf_map map; member
89 struct bpf_local_storage_data __rcu *cache[BPF_LOCAL_STORAGE_CACHE_SIZE]; member
/openbmc/u-boot/fs/yaffs2/
H A Dyaffs_guts.c736 u32 *map = (u32 *) tn; in yaffs_load_tnode_0() local
767 u32 *map = (u32 *) tn; in yaffs_get_group_base() local
1371 struct yaffs_cache *cache; in yaffs_obj_cache_dirty() local
1388 struct yaffs_cache *cache; in yaffs_flush_file_cache() local
1473 struct yaffs_cache *cache; in yaffs_grab_chunk_cache() local
1540 static void yaffs_use_cache(struct yaffs_dev *dev, struct yaffs_cache *cache, in yaffs_use_cache()
1569 struct yaffs_cache *cache; in yaffs_invalidate_chunk_cache() local
1734 u32 *map = (u32 *) tn; in yaffs_prune_worker() local
3419 struct yaffs_cache *cache; in yaffs_file_rd() local
3567 struct yaffs_cache *cache; in yaffs_do_file_wr() local
/openbmc/qemu/system/
H A Dphysmem.c138 PhysPageMap map; member
176 static void phys_map_node_reserve(PhysPageMap *map, unsigned nodes) in phys_map_node_reserve()
186 static uint32_t phys_map_node_alloc(PhysPageMap *map, bool leaf) in phys_map_node_alloc()
206 static void phys_page_set_level(PhysPageMap *map, PhysPageEntry *lp, in phys_page_set_level()
1009 static uint16_t phys_section_add(PhysPageMap *map, in phys_section_add()
1041 static void phys_sections_free(PhysPageMap *map) in phys_sections_free()
3354 int64_t address_space_cache_init(MemoryRegionCache *cache, in address_space_cache_init()
3402 void address_space_cache_invalidate(MemoryRegionCache *cache, in address_space_cache_invalidate()
3412 void address_space_cache_destroy(MemoryRegionCache *cache) in address_space_cache_destroy()
3433 MemoryRegionCache *cache, hwaddr addr, hwaddr *xlat, in address_space_translate_cached()
[all …]
/openbmc/linux/tools/perf/
H A Dbuiltin-stat.c1309 static int cpu__get_cache_id_from_map(struct perf_cpu cpu, char *map) in cpu__get_cache_id_from_map()
1337 static int cpu__get_cache_details(struct perf_cpu cpu, struct perf_cache *cache) in cpu__get_cache_details()
1412 struct perf_cache cache; in aggr_cpu_id__cache() local
1633 static void cpu_aggr_map__delete(struct cpu_aggr_map *map) in cpu_aggr_map__delete()
1642 static void cpu_aggr_map__put(struct cpu_aggr_map *map) in cpu_aggr_map__put()
/openbmc/linux/drivers/dma/
H A Ddmaengine.c796 const struct dma_slave_map *map = &device->filter.map[i]; in dma_filter_match() local
836 const struct dma_slave_map *map = dma_filter_match(d, name, dev); in dma_request_chan() local
1311 struct kmem_cache *cache; member
/openbmc/qemu/hw/virtio/
H A Dvirtio.c305 MemoryRegionCache *cache, int i) in vring_split_desc_read()
316 MemoryRegionCache *cache, in vring_packed_event_read()
329 MemoryRegionCache *cache, in vring_packed_off_wrap_write()
339 MemoryRegionCache *cache, uint16_t flags) in vring_packed_flags_write()
586 MemoryRegionCache *cache, in vring_packed_desc_read_flags()
596 MemoryRegionCache *cache, in vring_packed_desc_read()
621 MemoryRegionCache *cache, in vring_packed_desc_write_data()
639 MemoryRegionCache *cache, in vring_packed_desc_write_flags()
650 MemoryRegionCache *cache, in vring_packed_desc_write()
715 VRingMemoryRegionCaches *cache; in virtio_queue_packed_empty_rcu() local
[all …]
/openbmc/linux/drivers/auxdisplay/
H A Dht16k33.c85 uint8_t *cache; member
93 } map; member
/openbmc/qemu/
H A Dqemu-img.c723 const char *filename, *fmt, *output, *cache; in img_check() local
954 const char *filename, *fmt, *cache, *base; in img_commit() local
1360 const char *fmt1 = NULL, *fmt2 = NULL, *cache, *filename1, *filename2; in img_compare() local
2237 const char *fmt = NULL, *out_fmt = NULL, *cache = "unsafe", in img_convert() local
3150 int64_t map; in get_block_status() local
3543 const char *fmt, *cache, *src_cache, *out_basefmt, *out_baseimg; in img_rebase() local
4247 const char *fmt = NULL, *filename, *cache; in img_amend() local
/openbmc/linux/drivers/net/ethernet/microchip/vcap/
H A Dvcap_api.c452 struct vcap_cache_data *cache = &ri->admin->cache; in vcap_encode_keyfield() local
504 struct vcap_cache_data *cache = &ri->admin->cache; in vcap_encode_keyfield_typegroups() local
746 struct vcap_cache_data *cache = &ri->admin->cache; in vcap_encode_actionfield() local
785 struct vcap_cache_data *cache = &ri->admin->cache; in vcap_encode_actionfield_typegroups() local
1872 const struct vcap_field **map; in _vcap_rule_find_keysets() local
1950 const struct vcap_field **map; in vcap_rule_find_actionsets() local
/openbmc/linux/mm/
H A Dslab.c374 static inline void *index_to_obj(struct kmem_cache *cache, in index_to_obj()
1415 static void slab_kernel_map(struct kmem_cache *cachep, void *objp, int map) in slab_kernel_map()
1425 int map) {} in slab_kernel_map()
2170 static int drain_freelist(struct kmem_cache *cache, in drain_freelist()
2643 static inline void verify_redzone_free(struct kmem_cache *cache, void *obj) in verify_redzone_free()
3050 static void *fallback_alloc(struct kmem_cache *cache, gfp_t flags) in fallback_alloc()

12