Home
last modified time | relevance | path

Searched defs:map (Results 1 – 25 of 1468) sorted by relevance

12345678910>>...59

/openbmc/linux/include/linux/mtd/
H A Dmap.h22 #define map_bankwidth(map) 1 argument
25 #define map_words(map) (1) argument
28 #define map_bankwidth_is_1(map) (0) argument
36 # define map_bankwidth(map) 2 argument
38 # define map_words(map) (1) argument
44 #define map_bankwidth_is_2(map) (0) argument
52 # define map_bankwidth(map) 4 argument
54 # define map_words(map) (1) argument
79 # define map_bankwidth(map) 8 argument
99 # define map_bankwidth(map) 16 argument
[all …]
/openbmc/linux/tools/perf/util/
H A Dmap.h19 DECLARE_RC_STRUCT(map) { in DECLARE_RC_STRUCT() argument
76 static inline u64 map__start(const struct map *map) in map__start()
81 static inline u64 map__end(const struct map *map) in map__end()
86 static inline u64 map__pgoff(const struct map *map) in map__pgoff()
91 static inline u64 map__reloc(const struct map *map) in map__reloc()
101 static inline u32 map__prot(const struct map *map) in map__prot()
142 #define map__for_each_symbol(map, pos, n) \ argument
188 static inline void __map__zput(struct map **map) in __map__zput()
194 #define map__zput(map) __map__zput(&map) argument
297 static inline void map__set_map_ip(struct map *map, u64 (*map_ip)(const struct map *map, u64 ip)) in map__set_map_ip()
[all …]
H A Dmap.c237 bool __map__is_kernel(const struct map *map) in __map__is_kernel()
285 bool __map__is_ool(const struct map *map) in __map__is_ool()
297 static void map__exit(struct map *map) in map__exit()
303 void map__delete(struct map *map) in map__delete()
309 void map__put(struct map *map) in map__put()
317 void map__fixup_start(struct map *map) in map__fixup_start()
330 void map__fixup_end(struct map *map) in map__fixup_end()
344 int map__load(struct map *map) in map__load()
605 struct kmap *__map__kmap(struct map *map) in __map__kmap()
614 struct kmap *map__kmap(struct map *map) in map__kmap()
[all …]
H A Dhashmap.c38 void hashmap__init(struct hashmap *map, hashmap_hash_fn hash_fn, in hashmap__init()
55 struct hashmap *map = malloc(sizeof(struct hashmap)); in hashmap__new() local
63 void hashmap__clear(struct hashmap *map) in hashmap__clear()
76 void hashmap__free(struct hashmap *map) in hashmap__free()
85 size_t hashmap__size(const struct hashmap *map) in hashmap__size()
90 size_t hashmap__capacity(const struct hashmap *map) in hashmap__capacity()
95 static bool hashmap_needs_to_grow(struct hashmap *map) in hashmap_needs_to_grow()
101 static int hashmap_grow(struct hashmap *map) in hashmap_grow()
130 static bool hashmap_find_entry(const struct hashmap *map, in hashmap_find_entry()
154 int hashmap_insert(struct hashmap *map, long key, long value, in hashmap_insert()
[all …]
H A Dmmap.c39 size_t mmap__mmap_len(struct mmap *map) in mmap__mmap_len()
71 static int perf_mmap__aio_enabled(struct mmap *map) in perf_mmap__aio_enabled()
77 static int perf_mmap__aio_alloc(struct mmap *map, int idx) in perf_mmap__aio_alloc()
89 static void perf_mmap__aio_free(struct mmap *map, int idx) in perf_mmap__aio_free()
126 static int perf_mmap__aio_alloc(struct mmap *map, int idx) in perf_mmap__aio_alloc()
135 static void perf_mmap__aio_free(struct mmap *map, int idx) in perf_mmap__aio_free()
147 static int perf_mmap__aio_mmap(struct mmap *map, struct mmap_params *mp) in perf_mmap__aio_mmap()
201 static void perf_mmap__aio_munmap(struct mmap *map) in perf_mmap__aio_munmap()
229 void mmap__munmap(struct mmap *map) in mmap__munmap()
263 static int perf_mmap__setup_affinity_mask(struct mmap *map, struct mmap_params *mp) in perf_mmap__setup_affinity_mask()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dmap_ptr_kern.c92 struct bpf_map map; member
136 struct bpf_map map; member
241 struct bpf_map map; member
315 struct bpf_map map; member
409 struct bpf_map map; member
430 struct bpf_map map; member
451 struct bpf_map map; member
472 struct bpf_map map; member
493 struct bpf_map map; member
514 struct bpf_map map; member
[all …]
/openbmc/linux/kernel/bpf/
H A Darraymap.c413 static void array_map_free(struct bpf_map *map) in array_map_free()
546 struct bpf_map *map; member
554 struct bpf_map *map = info->map; in bpf_array_map_seq_start() local
573 struct bpf_map *map = info->map; in bpf_array_map_seq_next() local
593 struct bpf_map *map = info->map; in __bpf_array_map_seq_show() local
644 struct bpf_map *map = aux->map; in bpf_iter_init_array_map() local
804 static void fd_array_map_free(struct bpf_map *map) in fd_array_map_free()
1095 struct bpf_map *map; in prog_array_map_alloc() local
1117 static void prog_array_map_free(struct bpf_map *map) in prog_array_map_free()
1296 struct bpf_map *map, *inner_map_meta; in array_of_map_alloc() local
[all …]
H A Dlocal_storage.c22 struct bpf_map map; member
34 static bool attach_type_isolated(const struct bpf_map *map) in attach_type_isolated()
67 cgroup_storage_lookup(struct bpf_cgroup_storage_map *map, in cgroup_storage_lookup()
134 struct bpf_cgroup_storage_map *map = map_to_storage(_map); in cgroup_storage_lookup_elem() local
185 struct bpf_cgroup_storage_map *map = map_to_storage(_map); in bpf_percpu_cgroup_storage_copy() local
214 struct bpf_cgroup_storage_map *map = map_to_storage(_map); in bpf_percpu_cgroup_storage_update() local
289 struct bpf_cgroup_storage_map *map; in cgroup_storage_map_alloc() local
504 struct bpf_map *map; in bpf_cgroup_storage_alloc() local
561 struct bpf_map *map; in bpf_cgroup_storage_free() local
578 struct bpf_cgroup_storage_map *map; in bpf_cgroup_storage_link() local
[all …]
H A Dqueue_stack_maps.c17 struct bpf_map map; member
25 static struct bpf_queue_stack *bpf_queue_stack(struct bpf_map *map) in bpf_queue_stack()
87 static void queue_stack_map_free(struct bpf_map *map) in queue_stack_map_free()
165 static long queue_map_peek_elem(struct bpf_map *map, void *value) in queue_map_peek_elem()
171 static long stack_map_peek_elem(struct bpf_map *map, void *value) in stack_map_peek_elem()
177 static long queue_map_pop_elem(struct bpf_map *map, void *value) in queue_map_pop_elem()
183 static long stack_map_pop_elem(struct bpf_map *map, void *value) in stack_map_pop_elem()
189 static long queue_stack_map_push_elem(struct bpf_map *map, void *value, in queue_stack_map_push_elem()
241 static long queue_stack_map_update_elem(struct bpf_map *map, void *key, in queue_stack_map_update_elem()
248 static long queue_stack_map_delete_elem(struct bpf_map *map, void *key) in queue_stack_map_delete_elem()
[all …]
H A Dbloom_filter.c16 struct bpf_map map; member
36 static long bloom_map_peek_elem(struct bpf_map *map, void *value) in bloom_map_peek_elem()
51 static long bloom_map_push_elem(struct bpf_map *map, void *value, u64 flags) in bloom_map_push_elem()
68 static long bloom_map_pop_elem(struct bpf_map *map, void *value) in bloom_map_pop_elem()
73 static long bloom_map_delete_elem(struct bpf_map *map, void *value) in bloom_map_delete_elem()
78 static int bloom_map_get_next_key(struct bpf_map *map, void *key, void *next_key) in bloom_map_get_next_key()
162 static void bloom_map_free(struct bpf_map *map) in bloom_map_free()
170 static void *bloom_map_lookup_elem(struct bpf_map *map, void *key) in bloom_map_lookup_elem()
176 static long bloom_map_update_elem(struct bpf_map *map, void *key, in bloom_map_update_elem()
183 static int bloom_map_check_btf(const struct bpf_map *map, in bloom_map_check_btf()
[all …]
/openbmc/linux/drivers/base/regmap/
H A Dregmap.c396 struct regmap *map = __map; in regmap_lock_hwlock() local
403 struct regmap *map = __map; in regmap_lock_hwlock_irq() local
410 struct regmap *map = __map; in regmap_lock_hwlock_irqsave() local
418 struct regmap *map = __map; in regmap_unlock_hwlock() local
425 struct regmap *map = __map; in regmap_unlock_hwlock_irq() local
432 struct regmap *map = __map; in regmap_unlock_hwlock_irqrestore() local
444 struct regmap *map = __map; in regmap_lock_mutex() local
450 struct regmap *map = __map; in regmap_unlock_mutex() local
457 struct regmap *map = __map; in regmap_lock_spinlock() local
467 struct regmap *map = __map; in regmap_unlock_spinlock() local
[all …]
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()
446 int regcache_sync_region(struct regmap *map, unsigned int min, in regcache_sync_region()
536 void regcache_cache_only(struct regmap *map, bool enable) in regcache_cache_only()
560 void regcache_mark_dirty(struct regmap *map) in regcache_mark_dirty()
580 void regcache_cache_bypass(struct regmap *map, bool enable) in regcache_cache_bypass()
689 int regcache_lookup_reg(struct regmap *map, unsigned int reg) in regcache_lookup_reg()
[all …]
H A Dregmap-debugfs.c19 struct regmap *map; member
38 struct regmap *map = file->private_data; in regmap_name_read_file() local
287 struct regmap *map = file->private_data; in regmap_map_read_file() local
309 struct regmap *map = file->private_data; in regmap_map_write_file() local
348 struct regmap *map = range->map; in regmap_range_read_file() local
364 struct regmap *map = file->private_data; in regmap_reg_ranges_read_file() local
436 struct regmap *map = s->private; in regmap_access_show() local
463 struct regmap *map = container_of(file->private_data, in regmap_cache_only_write_file() local
510 struct regmap *map = container_of(file->private_data, in regmap_cache_bypass_write_file() local
546 void regmap_debugfs_init(struct regmap *map) in regmap_debugfs_init()
[all …]
/openbmc/u-boot/board/synopsys/hsdk/
H A Denv-lib.c11 static void env_clear_common(u32 index, const struct env_map_common *map) in env_clear_common()
17 static int env_read_common(u32 index, const struct env_map_common *map) in env_read_common()
37 static void env_clear_core(u32 index, const struct env_map_percpu *map) in env_clear_core()
45 static int env_read_core(u32 index, const struct env_map_percpu *map) in env_read_core()
138 void envs_cleanup_core(const struct env_map_percpu *map) in envs_cleanup_core()
145 void envs_cleanup_common(const struct env_map_common *map) in envs_cleanup_common()
152 int envs_read_common(const struct env_map_common *map) in envs_read_common()
165 int envs_validate_common(const struct env_map_common *map) in envs_validate_common()
178 int envs_read_validate_common(const struct env_map_common *map) in envs_read_validate_common()
195 int envs_read_validate_core(const struct env_map_percpu *map, in envs_read_validate_core()
[all …]
/openbmc/linux/net/sctp/
H A Dtsnmap.c57 void sctp_tsnmap_free(struct sctp_tsnmap *map) in sctp_tsnmap_free()
69 int sctp_tsnmap_check(const struct sctp_tsnmap *map, __u32 tsn) in sctp_tsnmap_check()
95 int sctp_tsnmap_mark(struct sctp_tsnmap *map, __u32 tsn, in sctp_tsnmap_mark()
142 static void sctp_tsnmap_iter_init(const struct sctp_tsnmap *map, in sctp_tsnmap_iter_init()
152 static int sctp_tsnmap_next_gap_ack(const struct sctp_tsnmap *map, in sctp_tsnmap_next_gap_ack()
190 void sctp_tsnmap_skip(struct sctp_tsnmap *map, __u32 tsn) in sctp_tsnmap_skip()
228 static void sctp_tsnmap_update(struct sctp_tsnmap *map) in sctp_tsnmap_update()
247 __u16 sctp_tsnmap_pending(struct sctp_tsnmap *map) in sctp_tsnmap_pending()
300 void sctp_tsnmap_renege(struct sctp_tsnmap *map, __u32 tsn) in sctp_tsnmap_renege()
317 __u16 sctp_tsnmap_num_gabs(struct sctp_tsnmap *map, in sctp_tsnmap_num_gabs()
[all …]
/openbmc/linux/drivers/mtd/maps/
H A Dpci.c30 struct map_info map; member
39 struct map_pci_info *map = (struct map_pci_info *)_map; in mtd_pci_read8() local
47 struct map_pci_info *map = (struct map_pci_info *)_map; in mtd_pci_read32() local
55 struct map_pci_info *map = (struct map_pci_info *)_map; in mtd_pci_copyfrom() local
61 struct map_pci_info *map = (struct map_pci_info *)_map; in mtd_pci_write8() local
67 struct map_pci_info *map = (struct map_pci_info *)_map; in mtd_pci_write32() local
73 struct map_pci_info *map = (struct map_pci_info *)_map; in mtd_pci_copyto() local
88 intel_iq80310_init(struct pci_dev *dev, struct map_pci_info *map) in intel_iq80310_init()
116 intel_iq80310_exit(struct pci_dev *dev, struct map_pci_info *map) in intel_iq80310_exit()
255 struct map_pci_info *map = NULL; in mtd_pci_probe() local
[all …]
H A Ddc21285.c54 static map_word dc21285_read8(struct map_info *map, unsigned long ofs) in dc21285_read8()
61 static map_word dc21285_read16(struct map_info *map, unsigned long ofs) in dc21285_read16()
68 static map_word dc21285_read32(struct map_info *map, unsigned long ofs) in dc21285_read32()
75 static void dc21285_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t len) in dc21285_copy_from()
80 static void dc21285_write8(struct map_info *map, const map_word d, unsigned long adr) in dc21285_write8()
89 static void dc21285_write16(struct map_info *map, const map_word d, unsigned long adr) in dc21285_write16()
98 static void dc21285_write32(struct map_info *map, const map_word d, unsigned long adr) in dc21285_write32()
105 static void dc21285_copy_to_32(struct map_info *map, unsigned long to, const void *from, ssize_t le… in dc21285_copy_to_32()
117 static void dc21285_copy_to_16(struct map_info *map, unsigned long to, const void *from, ssize_t le… in dc21285_copy_to_16()
129 static void dc21285_copy_to_8(struct map_info *map, unsigned long to, const void *from, ssize_t len) in dc21285_copy_to_8()
/openbmc/linux/tools/lib/bpf/
H A Dhashmap.c38 void hashmap__init(struct hashmap *map, hashmap_hash_fn hash_fn, in hashmap__init()
55 struct hashmap *map = malloc(sizeof(struct hashmap)); in hashmap__new() local
63 void hashmap__clear(struct hashmap *map) in hashmap__clear()
76 void hashmap__free(struct hashmap *map) in hashmap__free()
85 size_t hashmap__size(const struct hashmap *map) in hashmap__size()
90 size_t hashmap__capacity(const struct hashmap *map) in hashmap__capacity()
95 static bool hashmap_needs_to_grow(struct hashmap *map) in hashmap_needs_to_grow()
101 static int hashmap_grow(struct hashmap *map) in hashmap_grow()
130 static bool hashmap_find_entry(const struct hashmap *map, in hashmap_find_entry()
154 int hashmap_insert(struct hashmap *map, long key, long value, in hashmap_insert()
[all …]
/openbmc/linux/net/xdp/
H A Dxskmap.c15 static struct xsk_map_node *xsk_map_node_alloc(struct xsk_map *map, in xsk_map_node_alloc()
35 struct xsk_map *map = node->map; in xsk_map_node_free() local
88 static u64 xsk_map_mem_usage(const struct bpf_map *map) in xsk_map_mem_usage()
96 static void xsk_map_free(struct bpf_map *map) in xsk_map_free()
121 static int xsk_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) in xsk_map_gen_lookup()
141 static void *__xsk_map_lookup_elem(struct bpf_map *map, u32 key) in __xsk_map_lookup_elem()
151 static void *xsk_map_lookup_elem(struct bpf_map *map, void *key) in xsk_map_lookup_elem()
156 static void *xsk_map_lookup_elem_sys_only(struct bpf_map *map, void *key) in xsk_map_lookup_elem_sys_only()
222 static long xsk_map_delete_elem(struct bpf_map *map, void *key) in xsk_map_delete_elem()
242 static long xsk_map_redirect(struct bpf_map *map, u64 index, u64 flags) in xsk_map_redirect()
[all …]
/openbmc/linux/drivers/mtd/chips/
H A Dcfi_cmdset_0002.c226 struct map_info *map = mtd->priv; in fixup_amd_bootblock() local
276 struct map_info *map = mtd->priv; in fixup_use_write_buffers() local
292 struct map_info *map = mtd->priv; in fixup_convert_atmel_pri() local
330 struct map_info *map = mtd->priv; in fixup_use_erase_chip() local
352 struct map_info *map = mtd->priv; in fixup_old_sst_eraseregion() local
366 struct map_info *map = mtd->priv; in fixup_sst39vf() local
377 struct map_info *map = mtd->priv; in fixup_sst39vf_rev_b() local
390 struct map_info *map = mtd->priv; in fixup_sst38vf640x_sectorsize() local
406 struct map_info *map = mtd->priv; in fixup_s29gl064n_sectors() local
418 struct map_info *map = mtd->priv; in fixup_s29gl032n_sectors() local
[all …]
/openbmc/linux/net/rds/
H A Dcong.c109 struct rds_cong_map *map; in rds_cong_tree_walk() local
140 struct rds_cong_map *map; in rds_cong_from_addr() local
217 void rds_cong_queue_updates(struct rds_cong_map *map) in rds_cong_queue_updates()
253 void rds_cong_map_updated(struct rds_cong_map *map, uint64_t portmask) in rds_cong_map_updated()
299 void rds_cong_set_bit(struct rds_cong_map *map, __be16 port) in rds_cong_set_bit()
313 void rds_cong_clear_bit(struct rds_cong_map *map, __be16 port) in rds_cong_clear_bit()
327 static int rds_cong_test_bit(struct rds_cong_map *map, __be16 port) in rds_cong_test_bit()
351 struct rds_cong_map *map; in rds_cong_remove_socket() local
368 int rds_cong_wait(struct rds_cong_map *map, __be16 port, int nonblock, in rds_cong_wait()
402 struct rds_cong_map *map; in rds_cong_exit() local
[all …]
/openbmc/qemu/util/
H A Dqht.c354 struct qht_map *map; in qht_map_lock_buckets__no_stale() local
386 struct qht_map *map; in qht_bucket_lock__no_stale() local
442 struct qht_map *map; in qht_map_create() local
468 struct qht_map *map; in qht_init() local
519 struct qht_map *map; in qht_reset() local
539 struct qht_map *map; in qht_reset_size() local
600 const struct qht_map *map; in qht_lookup_custom() local
676 struct qht_map *map; in qht_grow_maybe() local
698 struct qht_map *map; in qht_insert() local
810 struct qht_map *map; in qht_remove() local
[all …]
/openbmc/linux/tools/bpf/bpftool/
H A Dpids.c19 int build_obj_refs_table(struct hashmap **map, enum bpf_obj_type type) in build_obj_refs_table()
23 void delete_obj_refs_table(struct hashmap *map) {} in delete_obj_refs_table()
24 void emit_obj_refs_plain(struct hashmap *map, __u32 id, const char *prefix) {} in emit_obj_refs_plain()
25 void emit_obj_refs_json(struct hashmap *map, __u32 id, json_writer_t *json_writer) {} in emit_obj_refs_json()
31 static void add_ref(struct hashmap *map, struct pid_iter_entry *e) in add_ref()
98 int build_obj_refs_table(struct hashmap **map, enum bpf_obj_type type) in build_obj_refs_table()
177 void delete_obj_refs_table(struct hashmap *map) in delete_obj_refs_table()
195 void emit_obj_refs_json(struct hashmap *map, __u32 id, in emit_obj_refs_json()
228 void emit_obj_refs_plain(struct hashmap *map, __u32 id, const char *prefix) in emit_obj_refs_plain()
/openbmc/linux/net/netfilter/ipset/
H A Dip_set_bitmap_gen.h39 struct mtype *map = set->data; in mtype_gc_init() local
48 struct mtype *map = set->data; in mtype_ext_cleanup() local
59 struct mtype *map = set->data; in mtype_destroy() local
72 struct mtype *map = set->data; in mtype_flush() local
92 const struct mtype *map = set->data; in mtype_head() local
117 struct mtype *map = set->data; in mtype_test() local
131 struct mtype *map = set->data; in mtype_add() local
176 struct mtype *map = set->data; in mtype_del() local
204 struct mtype *map = set->data; in mtype_list() local
265 struct mtype *map = from_timer(map, t, gc); in mtype_gc() local
[all …]
/openbmc/linux/tools/lib/perf/
H A Dthreadmap.c10 static void perf_thread_map__reset(struct perf_thread_map *map, int start, int nr) in perf_thread_map__reset()
18 struct perf_thread_map *perf_thread_map__realloc(struct perf_thread_map *map, int nr) in perf_thread_map__realloc()
35 void perf_thread_map__set_pid(struct perf_thread_map *map, int idx, pid_t pid) in perf_thread_map__set_pid()
40 char *perf_thread_map__comm(struct perf_thread_map *map, int idx) in perf_thread_map__comm()
80 struct perf_thread_map *perf_thread_map__get(struct perf_thread_map *map) in perf_thread_map__get()
87 void perf_thread_map__put(struct perf_thread_map *map) in perf_thread_map__put()
98 pid_t perf_thread_map__pid(struct perf_thread_map *map, int idx) in perf_thread_map__pid()

12345678910>>...59