Home
last modified time | relevance | path

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

12345678910>>...46

/linux/tools/perf/util/
H A Dmap.h26 DECLARE_RC_STRUCT(map) { in DECLARE_RC_STRUCT() argument
47 static inline struct dso *map__dso(const struct map *map) in map__dso()
52 static inline u64 map__start(const struct map *map) in map__start()
57 static inline u64 map__end(const struct map *map) in map__end()
62 static inline u64 map__pgoff(const struct map *map) in map__pgoff()
67 static inline u64 map__reloc(const struct map *map) in map__reloc()
72 static inline u32 map__flags(const struct map *map) in map__flags()
77 static inline u32 map__prot(const struct map *map) in map__prot()
82 static inline bool map__priv(const struct map *map) in map__priv()
87 static inline bool map__hit(const struct map *map) in map__hit()
[all …]
H A Dmap.c105 static void map__init(struct map *map, u64 start, u64 end, u64 pgoff, in map__init()
235 bool __map__is_kernel(const struct map *map) in __map__is_kernel()
242 bool __map__is_extra_kernel_map(const struct map *map) in __map__is_extra_kernel_map()
249 bool __map__is_bpf_prog(const struct map *map) in __map__is_bpf_prog()
266 bool __map__is_bpf_image(const struct map *map) in __map__is_bpf_image()
283 bool __map__is_ool(const struct map *map) in __map__is_ool()
290 bool map__has_symbols(const struct map *map) in map__has_symbols()
295 static void map__exit(struct map *map) in map__exit()
301 void map__delete(struct map *map) in map__delete()
307 void map__put(struct map *map) in map__put()
[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.c40 size_t mmap__mmap_len(struct mmap *map) in mmap__mmap_len() argument
72 static int perf_mmap__aio_enabled(struct mmap *map) in perf_mmap__aio_enabled() argument
78 static int perf_mmap__aio_alloc(struct mmap *map, int idx) in perf_mmap__aio_alloc() argument
90 static void perf_mmap__aio_free(struct mmap *map, in argument
98 perf_mmap__aio_bind(struct mmap * map,int idx,struct perf_cpu cpu,int affinity) perf_mmap__aio_bind() argument
127 perf_mmap__aio_alloc(struct mmap * map,int idx) perf_mmap__aio_alloc() argument
136 perf_mmap__aio_free(struct mmap * map,int idx) perf_mmap__aio_free() argument
148 perf_mmap__aio_mmap(struct mmap * map,struct mmap_params * mp) perf_mmap__aio_mmap() argument
202 perf_mmap__aio_munmap(struct mmap * map) perf_mmap__aio_munmap() argument
230 mmap__munmap(struct mmap * map) mmap__munmap() argument
262 perf_mmap__setup_affinity_mask(struct mmap * map,struct mmap_params * mp) perf_mmap__setup_affinity_mask() argument
277 mmap__mmap(struct mmap * map,struct mmap_params * mp,int fd,struct perf_cpu cpu) mmap__mmap() argument
321 perf_mmap__push(struct mmap * md,void * to,int push (struct mmap * map,void * to,void * buf,size_t size)) perf_mmap__push() argument
[all...]
/linux/tools/testing/selftests/bpf/progs/
H A Dmap_ptr_kern.c38 static inline int check_bpf_map_fields(struct bpf_map *map, __u32 key_size, in check_bpf_map_fields() argument
92 struct bpf_map map; member
111 struct bpf_map *map = (struct bpf_map *)&m_hash; in check_hash() local
136 struct bpf_map map; global() member
150 struct bpf_map *map = (struct bpf_map *)&m_array; check_array() local
182 struct bpf_map *map = (struct bpf_map *)&m_prog_array; check_prog_array() local
199 struct bpf_map *map = (struct bpf_map *)&m_perf_event_array; check_perf_event_array() local
216 struct bpf_map *map = (struct bpf_map *)&m_percpu_hash; check_percpu_hash() local
233 struct bpf_map *map = (struct bpf_map *)&m_percpu_array; check_percpu_array() local
241 struct bpf_map map; global() member
255 struct bpf_map *map = (struct bpf_map *)&m_stack_trace; check_stack_trace() local
273 struct bpf_map *map = (struct bpf_map *)&m_cgroup_array; check_cgroup_array() local
290 struct bpf_map *map = (struct bpf_map *)&m_lru_hash; check_lru_hash() local
307 struct bpf_map *map = (struct bpf_map *)&m_lru_percpu_hash; check_lru_percpu_hash() local
315 struct bpf_map map; global() member
334 struct bpf_map *map = (struct bpf_map *)&m_lpm_trie; check_lpm_trie() local
369 struct bpf_map *map = (struct bpf_map *)&m_array_of_maps; check_array_of_maps() local
396 struct bpf_map *map = (struct bpf_map *)&m_hash_of_maps; check_hash_of_maps() local
409 struct bpf_map map; global() member
422 struct bpf_map *map = (struct bpf_map *)&m_devmap; check_devmap() local
430 struct bpf_map map; global() member
443 struct bpf_map *map = (struct bpf_map *)&m_sockmap; check_sockmap() local
451 struct bpf_map map; global() member
464 struct bpf_map *map = (struct bpf_map *)&m_cpumap; check_cpumap() local
472 struct bpf_map map; global() member
485 struct bpf_map *map = (struct bpf_map *)&m_xskmap; check_xskmap() local
493 struct bpf_map map; global() member
506 struct bpf_map *map = (struct bpf_map *)&m_sockhash; check_sockhash() local
514 struct bpf_map map; global() member
527 struct bpf_map *map = (struct bpf_map *)&m_cgroup_storage; check_cgroup_storage() local
536 struct bpf_map map; global() member
550 struct bpf_map *map = (struct bpf_map *)&m_reuseport_sockarray; check_reuseport_sockarray() local
567 struct bpf_map *map = (struct bpf_map *)&m_percpu_cgroup_storage; check_percpu_cgroup_storage() local
576 struct bpf_map map; global() member
588 struct bpf_map *map = (struct bpf_map *)&m_queue; check_queue() local
604 struct bpf_map *map = (struct bpf_map *)&m_stack; check_stack() local
612 struct bpf_map map; global() member
626 struct bpf_map *map = (struct bpf_map *)&m_sk_storage; check_sk_storage() local
643 struct bpf_map *map = (struct bpf_map *)&m_devmap_hash; check_devmap_hash() local
651 struct bpf_map map; global() member
661 struct bpf_map *map = (struct bpf_map *)&m_ringbuf; check_ringbuf() local
[all...]
/linux/kernel/bpf/
H A Darraymap.c167 array_map_lookup_elem(struct bpf_map * map,void * key) array_map_lookup_elem() argument
178 array_map_get_hash(struct bpf_map * map,u32 hash_buf_size,void * hash_buf) array_map_get_hash() argument
189 array_map_direct_value_addr(const struct bpf_map * map,u64 * imm,u32 off) array_map_direct_value_addr() argument
203 array_map_direct_value_meta(const struct bpf_map * map,u64 imm,u32 * off) array_map_direct_value_meta() argument
220 array_map_gen_lookup(struct bpf_map * map,struct bpf_insn * insn_buf) array_map_gen_lookup() argument
253 percpu_array_map_lookup_elem(struct bpf_map * map,void * key) percpu_array_map_lookup_elem() argument
265 percpu_array_map_gen_lookup(struct bpf_map * map,struct bpf_insn * insn_buf) percpu_array_map_gen_lookup() argument
296 percpu_array_map_lookup_percpu_elem(struct bpf_map * map,void * key,u32 cpu) percpu_array_map_lookup_percpu_elem() argument
310 bpf_percpu_array_copy(struct bpf_map * map,void * key,void * value,u64 map_flags) bpf_percpu_array_copy() argument
345 bpf_array_get_next_key(struct bpf_map * map,void * key,void * next_key) bpf_array_get_next_key() argument
363 array_map_update_elem(struct bpf_map * map,void * key,void * value,u64 map_flags) array_map_update_elem() argument
402 bpf_percpu_array_update(struct bpf_map * map,void * key,void * value,u64 map_flags) bpf_percpu_array_update() argument
452 array_map_delete_elem(struct bpf_map * map,void * key) array_map_delete_elem() argument
462 array_map_free_internal_structs(struct bpf_map * map) array_map_free_internal_structs() argument
476 array_map_free(struct bpf_map * map) array_map_free() argument
507 array_map_seq_show_elem(struct bpf_map * map,void * key,struct seq_file * m) array_map_seq_show_elem() argument
528 percpu_array_map_seq_show_elem(struct bpf_map * map,void * key,struct seq_file * m) percpu_array_map_seq_show_elem() argument
551 array_map_check_btf(struct bpf_map * map,const struct btf * btf,const struct btf_type * key_type,const struct btf_type * value_type) array_map_check_btf() argument
578 array_map_mmap(struct bpf_map * map,struct vm_area_struct * vma) array_map_mmap() argument
604 struct bpf_map *map; global() member
612 struct bpf_map *map = info->map; bpf_array_map_seq_start() local
631 struct bpf_map *map = info->map; bpf_array_map_seq_next() local
651 struct bpf_map *map = info->map; __bpf_array_map_seq_show() local
702 struct bpf_map *map = aux->map; bpf_iter_init_array_map() local
747 bpf_for_each_array_elem(struct bpf_map * map,bpf_callback_t callback_fn,void * callback_ctx,u64 flags) bpf_for_each_array_elem() argument
780 array_map_mem_usage(const struct bpf_map * map) array_map_mem_usage() argument
862 fd_array_map_free(struct bpf_map * map) fd_array_map_free() argument
874 fd_array_map_lookup_elem(struct bpf_map * map,void * key) fd_array_map_lookup_elem() argument
880 bpf_fd_array_map_lookup_elem(struct bpf_map * map,void * key,u32 * value) bpf_fd_array_map_lookup_elem() argument
900 bpf_fd_array_map_update_elem(struct bpf_map * map,struct file * map_file,void * key,void * value,u64 map_flags) bpf_fd_array_map_update_elem() argument
932 __fd_array_map_delete_elem(struct bpf_map * map,void * key,bool need_defer) __fd_array_map_delete_elem() argument
958 fd_array_map_delete_elem(struct bpf_map * map,void * key) fd_array_map_delete_elem() argument
963 prog_fd_array_get_ptr(struct bpf_map * map,struct file * map_file,int fd) prog_fd_array_get_ptr() argument
996 prog_fd_array_put_ptr(struct bpf_map * map,void * ptr,bool need_defer) prog_fd_array_put_ptr() argument
1013 bpf_fd_array_map_clear(struct bpf_map * map,bool need_defer) bpf_fd_array_map_clear() argument
1024 prog_array_map_seq_show_elem(struct bpf_map * map,void * key,struct seq_file * m) prog_array_map_seq_show_elem() argument
1052 prog_array_map_poke_track(struct bpf_map * map,struct bpf_prog_aux * prog_aux) prog_array_map_poke_track() argument
1085 prog_array_map_poke_untrack(struct bpf_map * map,struct bpf_prog_aux * prog_aux) prog_array_map_poke_untrack() argument
1109 prog_array_map_poke_run(struct bpf_map * map,u32 key,struct bpf_prog * old,struct bpf_prog * new) prog_array_map_poke_run() argument
1160 struct bpf_map *map = container_of(work, struct bpf_array_aux, prog_array_map_clear_deferred() local
1166 prog_array_map_clear(struct bpf_map * map) prog_array_map_clear() argument
1177 struct bpf_map *map; prog_array_map_alloc() local
1199 prog_array_map_free(struct bpf_map * map) prog_array_map_free() argument
1266 perf_event_fd_array_get_ptr(struct bpf_map * map,struct file * map_file,int fd) perf_event_fd_array_get_ptr() argument
1292 perf_event_fd_array_put_ptr(struct bpf_map * map,void * ptr,bool need_defer) perf_event_fd_array_put_ptr() argument
1298 perf_event_fd_array_release(struct bpf_map * map,struct file * map_file) perf_event_fd_array_release() argument
1317 perf_event_fd_array_map_free(struct bpf_map * map) perf_event_fd_array_map_free() argument
1341 cgroup_fd_array_get_ptr(struct bpf_map * map,struct file * map_file,int fd) cgroup_fd_array_get_ptr() argument
1348 cgroup_fd_array_put_ptr(struct bpf_map * map,void * ptr,bool need_defer) cgroup_fd_array_put_ptr() argument
1354 cgroup_fd_array_free(struct bpf_map * map) cgroup_fd_array_free() argument
1378 struct bpf_map *map, *inner_map_meta; array_of_map_alloc() local
1395 array_of_map_free(struct bpf_map * map) array_of_map_free() argument
1405 array_of_map_lookup_elem(struct bpf_map * map,void * key) array_of_map_lookup_elem() argument
1415 array_of_map_gen_lookup(struct bpf_map * map,struct bpf_insn * insn_buf) array_of_map_gen_lookup() argument
[all...]
H A Dlocal_storage.c22 struct bpf_map map; member
29 static struct bpf_cgroup_storage_map *map_to_storage(struct bpf_map *map) in map_to_storage()
34 static bool attach_type_isolated(const struct bpf_map *map) in attach_type_isolated()
39 static int bpf_cgroup_storage_key_cmp(const struct bpf_cgroup_storage_map *map, in bpf_cgroup_storage_key_cmp()
67 cgroup_storage_lookup(struct bpf_cgroup_storage_map *map, in cgroup_storage_lookup()
102 static int cgroup_storage_insert(struct bpf_cgroup_storage_map *map, in cgroup_storage_insert()
134 struct bpf_cgroup_storage_map *map = map_to_storage(_map); in cgroup_storage_lookup_elem() local
144 static long cgroup_storage_update_elem(struct bpf_map *map, void *key, in cgroup_storage_update_elem()
185 struct bpf_cgroup_storage_map *map = map_to_storage(_map); in bpf_percpu_cgroup_storage_copy() local
219 struct bpf_cgroup_storage_map *map = map_to_storage(_map); in bpf_percpu_cgroup_storage_update() local
[all …]
H A Dbpf_insn_array.c7 struct bpf_map map; member
37 static void insn_array_free(struct bpf_map *map) in insn_array_free()
64 static void *insn_array_lookup_elem(struct bpf_map *map, void *key) in insn_array_lookup_elem()
75 static long insn_array_update_elem(struct bpf_map *map, void *key, void *value, u64 map_flags) in insn_array_update_elem()
96 static long insn_array_delete_elem(struct bpf_map *map, void *key) in insn_array_delete_elem()
101 static int insn_array_check_btf(struct bpf_map *map, in insn_array_check_btf()
115 static u64 insn_array_mem_usage(const struct bpf_map *map) in insn_array_mem_usage()
120 static int insn_array_map_direct_value_addr(const struct bpf_map *map, u64 *imm, u32 off) in insn_array_map_direct_value_addr()
150 static inline bool is_frozen(struct bpf_map *map) in is_frozen()
157 static bool is_insn_array(const struct bpf_map *map) in is_insn_array()
[all …]
H A Dqueue_stack_maps.c18 struct bpf_map map; member
26 static struct bpf_queue_stack *bpf_queue_stack(struct bpf_map *map) in bpf_queue_stack()
88 static void queue_stack_map_free(struct bpf_map *map) in queue_stack_map_free()
95 static long __queue_map_get(struct bpf_map *map, void *value, bool delete) in __queue_map_get()
125 static long __stack_map_get(struct bpf_map *map, void *value, bool delete) in __stack_map_get()
158 static long queue_map_peek_elem(struct bpf_map *map, void *value) in queue_map_peek_elem()
164 static long stack_map_peek_elem(struct bpf_map *map, void *value) in stack_map_peek_elem()
170 static long queue_map_pop_elem(struct bpf_map *map, void *value) in queue_map_pop_elem()
176 static long stack_map_pop_elem(struct bpf_map *map, void *value) in stack_map_pop_elem()
182 static long queue_stack_map_push_elem(struct bpf_map *map, void *value, in queue_stack_map_push_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(struct bpf_map *map, in bloom_map_check_btf()
[all …]
/linux/drivers/base/regmap/
H A Dregmap.c36 static inline bool regmap_should_log(struct regmap *map) in regmap_should_log()
41 static inline bool regmap_should_log(struct regmap *map) { return false; } in regmap_should_log()
74 bool regmap_check_range_table(struct regmap *map, unsigned int reg, in regmap_check_range_table()
90 bool regmap_writeable(struct regmap *map, unsigned int reg) in regmap_writeable()
104 bool regmap_cached(struct regmap *map, unsigned int reg) in regmap_cached()
127 bool regmap_readable(struct regmap *map, unsigned int reg) in regmap_readable()
147 bool regmap_volatile(struct regmap *map, unsigned int reg) in regmap_volatile()
164 bool regmap_precious(struct regmap *map, unsigned int reg) in regmap_precious()
178 bool regmap_writeable_noinc(struct regmap *map, unsigned int reg) in regmap_writeable_noinc()
189 bool regmap_readable_noinc(struct regmap *map, unsigned int reg) in regmap_readable_noinc()
[all …]
H A Dregmap-kunit.c279 static void expect_reg_default_value(struct kunit *test, struct regmap *map, in expect_reg_default_value()
294 struct regmap *map; in basic_read_write() local
319 struct regmap *map; in bulk_write() local
352 struct regmap *map; in bulk_read() local
381 struct regmap *map; in multi_write() local
420 struct regmap *map; in multi_read() local
453 struct regmap *map; in read_bypassed() local
517 struct regmap *map; in read_bypassed_volatile() local
581 struct regmap *map; in write_readonly() local
612 struct regmap *map; in read_writeonly() local
[all …]
H A Dregcache-rbtree.c40 struct regmap *map, in regcache_rbtree_get_base_top_reg()
48 static unsigned int regcache_rbtree_get_register(struct regmap *map, in regcache_rbtree_get_register()
54 static void regcache_rbtree_set_register(struct regmap *map, in regcache_rbtree_set_register()
62 static struct regcache_rbtree_node *regcache_rbtree_lookup(struct regmap *map, in regcache_rbtree_lookup()
96 static int regcache_rbtree_insert(struct regmap *map, struct rb_root *root, in regcache_rbtree_insert()
134 struct regmap *map = s->private; in rbtree_show() local
178 static void rbtree_debugfs_init(struct regmap *map) in rbtree_debugfs_init()
184 static int regcache_rbtree_init(struct regmap *map) in regcache_rbtree_init()
199 static int regcache_rbtree_exit(struct regmap *map) in regcache_rbtree_exit()
228 static int regcache_rbtree_populate(struct regmap *map) in regcache_rbtree_populate()
[all …]
/linux/net/sctp/
H A Dtsnmap.c35 struct sctp_tsnmap *sctp_tsnmap_init(struct sctp_tsnmap *map, __u16 len, in sctp_tsnmap_init()
57 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()
272 static void sctp_tsnmap_find_gap_ack(unsigned long *map, __u16 off, in sctp_tsnmap_find_gap_ack()
[all …]
/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; mtd_pci_read32() local
55 struct map_pci_info *map = (struct map_pci_info *)_map; mtd_pci_copyfrom() local
61 struct map_pci_info *map = (struct map_pci_info *)_map; mtd_pci_write8() local
67 struct map_pci_info *map = (struct map_pci_info *)_map; mtd_pci_write32() local
73 struct map_pci_info *map = (struct map_pci_info *)_map; mtd_pci_copyto() local
88 intel_iq80310_init(struct pci_dev * dev,struct map_pci_info * map) intel_iq80310_init() argument
116 intel_iq80310_exit(struct pci_dev * dev,struct map_pci_info * map) intel_iq80310_exit() argument
124 intel_iq80310_translate(struct map_pci_info * map,unsigned long ofs) intel_iq80310_translate() argument
156 intel_dc21285_init(struct pci_dev * dev,struct map_pci_info * map) intel_dc21285_init() argument
200 intel_dc21285_exit(struct pci_dev * dev,struct map_pci_info * map) intel_dc21285_exit() argument
212 intel_dc21285_translate(struct map_pci_info * map,unsigned long ofs) intel_dc21285_translate() argument
255 struct map_pci_info *map = NULL; mtd_pci_probe() local
308 struct map_pci_info *map = mtd->priv; mtd_pci_remove() 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()
/linux/drivers/mtd/chips/
H A Dcfi_cmdset_0002.c129 static int cfi_check_err_status(struct map_info *map, struct flchip *chip, in cfi_check_err_status() argument
226 struct map_info *map = mtd->priv; fixup_amd_bootblock() local
276 struct map_info *map = mtd->priv; fixup_use_write_buffers() local
292 struct map_info *map = mtd->priv; fixup_convert_atmel_pri() local
330 struct map_info *map = mtd->priv; fixup_use_erase_chip() local
352 struct map_info *map = mtd->priv; fixup_old_sst_eraseregion() local
366 struct map_info *map = mtd->priv; fixup_sst39vf() local
377 struct map_info *map = mtd->priv; fixup_sst39vf_rev_b() local
390 struct map_info *map = mtd->priv; fixup_sst38vf640x_sectorsize() local
406 struct map_info *map = mtd->priv; fixup_s29gl064n_sectors() local
418 struct map_info *map = mtd->priv; fixup_s29gl032n_sectors() local
430 struct map_info *map = mtd->priv; fixup_s29ns512p_sectors() local
444 struct map_info *map = mtd->priv; fixup_quirks() local
557 cfi_fixup_m29ew_erase_suspend(struct map_info * map,unsigned long adr) cfi_fixup_m29ew_erase_suspend() argument
600 cfi_cmdset_0002(struct map_info * map,int primary) cfi_cmdset_0002() argument
767 struct map_info *map = mtd->priv; cfi_amdstd_setup() local
830 chip_ready(struct map_info * map,struct flchip * chip,unsigned long addr,map_word * expected) chip_ready() argument
861 chip_good(struct map_info * map,struct flchip * chip,unsigned long addr,map_word * expected) chip_good() argument
873 get_chip(struct map_info * map,struct flchip * chip,unsigned long adr,int mode) get_chip() argument
979 put_chip(struct map_info * map,struct flchip * chip,unsigned long adr) put_chip() argument
1020 xip_disable(struct map_info * map,struct flchip * chip,unsigned long adr) xip_disable() argument
1028 xip_enable(struct map_info * map,struct flchip * chip,unsigned long adr) xip_enable() argument
1055 xip_udelay(struct map_info * map,struct flchip * chip,unsigned long adr,int usec) xip_udelay() argument
1147 UDELAY(map,chip,adr,usec) global() argument
1156 XIP_INVAL_CACHED_RANGE(map,from,size) global() argument
1159 INVALIDATE_CACHE_UDELAY(map,chip,adr,len,usec) global() argument
1181 xip_disable(map,chip,adr) global() argument
1182 xip_enable(map,chip,adr) global() argument
1185 UDELAY(map,chip,adr,usec) global() argument
1192 INVALIDATE_CACHE_UDELAY(map,chip,adr,len,usec) global() argument
1202 do_read_onechip(struct map_info * map,struct flchip * chip,loff_t adr,size_t len,u_char * buf) do_read_onechip() argument
1236 struct map_info *map = mtd->priv; cfi_amdstd_read() local
1274 otp_enter(struct map_info * map,struct flchip * chip,loff_t adr,size_t len) otp_enter() argument
1289 otp_exit(struct map_info * map,struct flchip * chip,loff_t adr,size_t len) otp_exit() argument
1306 do_read_secsi_onechip(struct map_info * map,struct flchip * chip,loff_t adr,size_t len,u_char * buf,size_t grouplen) do_read_secsi_onechip() argument
1344 struct map_info *map = mtd->priv; cfi_amdstd_secsi_read() local
1385 do_otp_write(struct map_info * map,struct flchip * chip,loff_t adr,size_t len,u_char * buf,size_t grouplen) do_otp_write() argument
1415 do_otp_lock(struct map_info * map,struct flchip * chip,loff_t adr,size_t len,u_char * buf,size_t grouplen) do_otp_lock() argument
1483 struct map_info *map = mtd->priv; cfi_amdstd_otp_walk() local
1643 do_write_oneword_once(struct map_info * map,struct flchip * chip,unsigned long adr,map_word datum,int mode,struct cfi_private * cfi) do_write_oneword_once() argument
1714 do_write_oneword_start(struct map_info * map,struct flchip * chip,unsigned long adr,int mode) do_write_oneword_start() argument
1734 do_write_oneword_done(struct map_info * map,struct flchip * chip,unsigned long adr,int mode) do_write_oneword_done() argument
1748 do_write_oneword_retry(struct map_info * map,struct flchip * chip,unsigned long adr,map_word datum,int mode) do_write_oneword_retry() argument
1789 do_write_oneword(struct map_info * map,struct flchip * chip,unsigned long adr,map_word datum,int mode) do_write_oneword() argument
1815 struct map_info *map = mtd->priv; cfi_amdstd_write_words() local
1936 do_write_buffer_wait(struct map_info * map,struct flchip * chip,unsigned long adr,map_word datum) do_write_buffer_wait() argument
1991 do_write_buffer_reset(struct map_info * map,struct flchip * chip,struct cfi_private * cfi) do_write_buffer_reset() argument
2016 do_write_buffer(struct map_info * map,struct flchip * chip,unsigned long adr,const u_char * buf,int len) do_write_buffer() argument
2095 struct map_info *map = mtd->priv; cfi_amdstd_write_buffers() local
2176 cfi_amdstd_panic_wait(struct map_info * map,struct flchip * chip,unsigned long adr) cfi_amdstd_panic_wait() argument
2228 do_panic_write_oneword(struct map_info * map,struct flchip * chip,unsigned long adr,map_word datum) do_panic_write_oneword() argument
2307 struct map_info *map = mtd->priv; cfi_amdstd_panic_write() local
2408 do_erase_chip(struct map_info * map,struct flchip * chip) do_erase_chip() argument
2509 do_erase_oneblock(struct map_info * map,struct flchip * chip,unsigned long adr,int len,void * thunk) do_erase_oneblock() argument
2617 struct map_info *map = mtd->priv; cfi_amdstd_erase_chip() local
2629 do_atmel_lock(struct map_info * map,struct flchip * chip,unsigned long adr,int len,void * thunk) do_atmel_lock() argument
2664 do_atmel_unlock(struct map_info * map,struct flchip * chip,unsigned long adr,int len,void * thunk) do_atmel_unlock() argument
2715 do_ppb_xxlock(struct map_info * map,struct flchip * chip,unsigned long adr,int len,void * thunk) do_ppb_xxlock() argument
2799 struct map_info *map = mtd->priv; cfi_ppb_unlock() local
2909 struct map_info *map = mtd->priv; cfi_amdstd_sync() local
2971 struct map_info *map = mtd->priv; cfi_amdstd_suspend() local
3026 struct map_info *map = mtd->priv; cfi_amdstd_resume() local
3058 struct map_info *map = mtd->priv; cfi_amdstd_reset() local
3096 struct map_info *map = mtd->priv; cfi_amdstd_destroy() local
[all...]
H A Dcfi_cmdset_0001.c174 struct map_info *map = mtd->priv; in fixup_convert_atmel_pri() local
214 struct map_info *map = mtd->priv; in fixup_at49bv640dx_lock() local
226 struct map_info *map = mtd->priv; in fixup_intel_strataflash() local
239 struct map_info *map = mtd->priv; in fixup_no_write_suspend() local
252 struct map_info *map = mtd->priv; in fixup_st_m28w320ct() local
261 struct map_info *map = mtd->priv; in fixup_st_m28w320cb() local
281 struct map_info *map = mtd->priv; in fixup_LH28F640BF() local
301 struct map_info *map = mtd->priv; in fixup_use_point() local
310 struct map_info *map = mtd->priv; in fixup_use_write_buffers() local
324 struct map_info *map = mtd->priv; in fixup_unlock_powerup_lock() local
[all …]
/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 …]
/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()
104 static int xsk_map_get_next_key(struct bpf_map *map, void *key, void *next_key) in xsk_map_get_next_key()
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()
161 static long xsk_map_update_elem(struct bpf_map *map, void *key, void *value, in xsk_map_update_elem()
[all …]
/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 …]
/linux/net/core/
H A Dsock_map.c18 struct bpf_map map; member
70 struct bpf_map *map; in sock_map_get_from_fd() local
89 struct bpf_map *map; in sock_map_prog_detach() local
133 struct bpf_map *map, void *link_raw) in sock_map_add_link()
151 struct bpf_map *map = link->map; in sock_map_del_link() local
217 static int sock_map_link(struct bpf_map *map, struct sock *sk) in sock_map_link()
339 static void sock_map_free(struct bpf_map *map) in sock_map_free()
372 static void sock_map_release_progs(struct bpf_map *map) in sock_map_release_progs()
377 static struct sock *__sock_map_lookup_elem(struct bpf_map *map, u32 key) in __sock_map_lookup_elem()
388 static void *sock_map_lookup(struct bpf_map *map, void *key) in sock_map_lookup()
[all …]
/linux/net/netfilter/ipset/
H A Dip_set_bitmap_gen.h36 #define get_ext(set, map, id) ((map)->extensions + ((set)->dsize * (id))) argument
41 struct mtype *map = set->data; in mtype_gc_init() local
50 struct mtype *map = set->data; in mtype_ext_cleanup() local
61 struct mtype *map in mtype_destroy() local
74 struct mtype *map = set->data; mtype_flush() local
85 mtype_memsize(const struct mtype * map,size_t dsize) mtype_memsize() argument
94 const struct mtype *map = set->data; mtype_head() local
119 struct mtype *map = set->data; mtype_test() local
133 struct mtype *map = set->data; mtype_add() local
178 struct mtype *map = set->data; mtype_del() local
206 struct mtype *map = set->data; mtype_list() local
267 struct mtype *map = timer_container_of(map, t, gc); mtype_gc() local
294 struct mtype *map = set->data; mtype_cancel_gc() local
[all...]
/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()
100 int build_obj_refs_table(struct hashmap **map, enum bpf_obj_type type) in build_obj_refs_table()
184 void delete_obj_refs_table(struct hashmap *map) in delete_obj_refs_table()
202 void emit_obj_refs_json(struct hashmap *map, __u32 id, in emit_obj_refs_json()
235 void emit_obj_refs_plain(struct hashmap *map, __u32 id, const char *prefix) in emit_obj_refs_plain()
/linux/drivers/xen/
H A Dgntdev.c92 struct gntdev_grant_map *map; in gntdev_print_maps() local
102 static void gntdev_free_map(struct gntdev_grant_map *map) in gntdev_free_map()
224 struct gntdev_grant_map *map; in gntdev_add_map() local
242 struct gntdev_grant_map *map; in gntdev_find_map_index() local
254 void gntdev_put_map(struct gntdev_priv *priv, struct gntdev_grant_map *map) in gntdev_put_map()
306 struct gntdev_grant_map *map = data; in find_grant_ptes() local
324 int gntdev_map_grant_pages(struct gntdev_grant_map *map) in gntdev_map_grant_pages()
400 struct gntdev_grant_map *map = data->data; in __unmap_grant_pages_done() local
443 static void __unmap_grant_pages(struct gntdev_grant_map *map, int offset, in __unmap_grant_pages()
469 static void unmap_grant_pages(struct gntdev_grant_map *map, int offset, in unmap_grant_pages()
[all …]

12345678910>>...46