Home
last modified time | relevance | path

Searched +defs:map +defs:cache (Results 1 – 25 of 37) 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()
113 int regcache_init(struct regmap *map, const struct regmap_config *config) in regcache_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()
282 bool regcache_reg_needs_sync(struct regmap *map, unsigned int reg, in regcache_reg_needs_sync()
301 static int regcache_default_sync(struct regmap *map, unsigned int min, in regcache_default_sync()
353 int regcache_sync(struct regmap *map) in regcache_sync()
446 int regcache_sync_region(struct regmap *map, unsigned int min, in regcache_sync_region()
504 int regcache_drop_region(struct regmap *map, unsigned int min, in regcache_drop_region()
[all …]
H A Dinternal.h46 struct regmap *map; member
154 void *cache; member
211 struct regmap *map; member
240 static inline void regmap_debugfs_disable(struct regmap *map) in regmap_debugfs_disable()
247 static inline void regmap_debugfs_init(struct regmap *map) { } in regmap_debugfs_init()
248 static inline void regmap_debugfs_exit(struct regmap *map) { } in regmap_debugfs_exit()
249 static inline void regmap_debugfs_disable(struct regmap *map) { } in regmap_debugfs_disable()
267 static inline const void *regcache_get_val_addr(struct regmap *map, in regcache_get_val_addr()
294 static inline const char *regmap_name(const struct regmap *map) in regmap_name()
302 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()
852 void bpf_local_storage_map_free(struct bpf_map *map, in bpf_local_storage_map_free()
853 struct bpf_local_storage_cache *cache, in bpf_local_storage_map_free()
/openbmc/linux/fs/btrfs/
H A Dblock-group.c141 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()
184 struct btrfs_block_group *cache; in btrfs_add_block_group_cache() local
222 struct btrfs_block_group *cache, *ret = NULL; in block_group_cache_tree_search() local
275 struct btrfs_block_group *cache) in btrfs_next_block_group()
405 struct btrfs_block_group *cache) in btrfs_get_caching_control()
440 void btrfs_wait_block_group_cache_progress(struct btrfs_block_group *cache, in btrfs_wait_block_group_cache_progress()
465 static int btrfs_caching_ctl_wait_done(struct btrfs_block_group *cache, in btrfs_caching_ctl_wait_done()
472 static int btrfs_wait_block_group_cache_done(struct btrfs_block_group *cache) in btrfs_wait_block_group_cache_done()
918 int btrfs_cache_block_group(struct btrfs_block_group *cache, bool wait) in btrfs_cache_block_group()
[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
833 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.c3106 struct map_lookup *map, u64 chunk_offset) in remove_chunk_item()
3132 struct map_lookup *map; in btrfs_remove_chunk() local
3458 struct btrfs_block_group *cache; in btrfs_may_alloc_data_chunk() local
3667 struct btrfs_block_group *cache; in chunk_usage_range_filter() local
3698 struct btrfs_block_group *cache; in chunk_usage_filter() local
5430 struct map_lookup *map = NULL; in create_chunk() local
5593 struct map_lookup *map; in btrfs_chunk_alloc_add_chunk_item() local
5731 static inline int btrfs_chunk_max_errors(struct map_lookup *map) in btrfs_chunk_max_errors()
5741 struct map_lookup *map; in btrfs_chunk_writeable() local
5797 struct map_lookup *map; in btrfs_num_copies() local
[all …]
H A Dscrub.c1293 struct map_lookup *map, u64 *offset, in get_raid56_logic_offset()
1850 struct map_lookup *map, in scrub_raid56_parity_stripe()
2019 struct map_lookup *map, in scrub_simple_mirror()
2080 static u64 simple_stripe_full_stripe_len(const struct map_lookup *map) in simple_stripe_full_stripe_len()
2089 static u64 simple_stripe_get_logical(struct map_lookup *map, in simple_stripe_get_logical()
2106 static int simple_stripe_mirror_num(struct map_lookup *map, int stripe_index) in simple_stripe_mirror_num()
2118 struct map_lookup *map, in scrub_simple_stripe()
2156 struct map_lookup *map = em->map_lookup; in scrub_stripe() local
2326 struct map_lookup *map; in scrub_chunk() local
2368 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
384 struct acpi_ioremap *map = container_of(to_rcu_work(work), in acpi_os_map_remove() local
393 static void acpi_os_drop_map_ref(struct acpi_ioremap *map) in acpi_os_drop_map_ref()
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()
[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.c115 struct map *map = machine__kernel_map(host_machine); in kernel_get_ref_reloc_sym() local
135 struct map *map; in kernel_get_symbol_address_by_name() local
163 struct map *map = machine__kernel_map(host_machine); in kernel_get_module_map() 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
383 struct map *map = NULL; in find_alternative_probe_point() local
692 struct map *map, u64 offs) in post_process_probe_trace_point()
734 struct map *map; in post_process_offline_probe_trace_events() local
792 struct map *map; in post_process_module_probe_trace_events() 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()
2494 static uint16_t dummy_section(PhysPageMap *map, FlatView *fv, MemoryRegion *mr) in dummy_section()
3356 int64_t address_space_cache_init(MemoryRegionCache *cache, in address_space_cache_init()
3404 void address_space_cache_invalidate(MemoryRegionCache *cache, in address_space_cache_invalidate()
3414 void address_space_cache_destroy(MemoryRegionCache *cache) in address_space_cache_destroy()
[all …]
/openbmc/linux/tools/perf/
H A Dbuiltin-stat.c1331 static int cpu__get_cache_id_from_map(struct perf_cpu cpu, char *map) in cpu__get_cache_id_from_map()
1359 static int cpu__get_cache_details(struct perf_cpu cpu, struct perf_cache *cache) in cpu__get_cache_details()
1434 struct perf_cache cache; in aggr_cpu_id__cache() local
1655 static void cpu_aggr_map__delete(struct cpu_aggr_map *map) in cpu_aggr_map__delete()
1664 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