Home
last modified time | relevance | path

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

12345678910>>...47

/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.c39 size_t mmap__mmap_len(struct mmap *map) in mmap__mmap_len() argument
71 static int perf_mmap__aio_enabled(struct mmap *map) in perf_mmap__aio_enabled() argument
77 static int perf_mmap__aio_alloc(struct mmap *map, int idx) in perf_mmap__aio_alloc() argument
89 static void perf_mmap__aio_free(struct mmap *map, in argument
97 perf_mmap__aio_bind(struct mmap * map,int idx,struct perf_cpu cpu,int affinity) perf_mmap__aio_bind() argument
126 perf_mmap__aio_alloc(struct mmap * map,int idx) perf_mmap__aio_alloc() argument
135 perf_mmap__aio_free(struct mmap * map,int idx) perf_mmap__aio_free() argument
147 perf_mmap__aio_mmap(struct mmap * map,struct mmap_params * mp) perf_mmap__aio_mmap() argument
201 perf_mmap__aio_munmap(struct mmap * map) perf_mmap__aio_munmap() argument
229 mmap__munmap(struct mmap * map) mmap__munmap() argument
261 perf_mmap__setup_affinity_mask(struct mmap * map,struct mmap_params * mp) perf_mmap__setup_affinity_mask() argument
276 mmap__mmap(struct mmap * map,struct mmap_params * mp,int fd,struct perf_cpu cpu) mmap__mmap() argument
320 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()
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; member
150 struct bpf_map *map = (struct bpf_map *)&m_array; in check_array() local
182 struct bpf_map *map = (struct bpf_map *)&m_prog_array; in check_prog_array() local
199 struct bpf_map *map = (struct bpf_map *)&m_perf_event_array; in check_perf_event_array() local
216 struct bpf_map *map = (struct bpf_map *)&m_percpu_hash; in check_percpu_hash() local
233 struct bpf_map *map = (struct bpf_map *)&m_percpu_array; in check_percpu_array() local
241 struct bpf_map map; member
[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/base/regmap/
H A Dregcache.c44 regcache_hw_init(struct regmap * map) regcache_hw_init() argument
133 regcache_init(struct regmap * map,const struct regmap_config * config) regcache_init() argument
234 regcache_exit(struct regmap * map) regcache_exit() argument
263 regcache_read(struct regmap * map,unsigned int reg,unsigned int * value) regcache_read() argument
294 regcache_write(struct regmap * map,unsigned int reg,unsigned int value) regcache_write() argument
308 regcache_reg_needs_sync(struct regmap * map,unsigned int reg,unsigned int val) regcache_reg_needs_sync() argument
327 regcache_default_sync(struct regmap * map,unsigned int min,unsigned int max) regcache_default_sync() argument
379 regcache_sync(struct regmap * map) regcache_sync() argument
472 regcache_sync_region(struct regmap * map,unsigned int min,unsigned int max) regcache_sync_region() argument
530 regcache_drop_region(struct regmap * map,unsigned int min,unsigned int max) regcache_drop_region() argument
562 regcache_cache_only(struct regmap * map,bool enable) regcache_cache_only() argument
586 regcache_mark_dirty(struct regmap * map) regcache_mark_dirty() argument
606 regcache_cache_bypass(struct regmap * map,bool enable) regcache_cache_bypass() argument
624 regcache_reg_cached(struct regmap * map,unsigned int reg) regcache_reg_cached() argument
639 regcache_set_val(struct regmap * map,void * base,unsigned int idx,unsigned int val) regcache_set_val() argument
673 regcache_get_val(struct regmap * map,const void * base,unsigned int idx) regcache_get_val() argument
715 regcache_lookup_reg(struct regmap * map,unsigned int reg) regcache_lookup_reg() argument
740 regcache_sync_val(struct regmap * map,unsigned int reg,unsigned int val) regcache_sync_val() argument
764 regcache_sync_block_single(struct regmap * map,void * block,unsigned long * cache_present,unsigned int block_base,unsigned int start,unsigned int end) regcache_sync_block_single() argument
788 regcache_sync_block_raw_flush(struct regmap * map,const void ** data,unsigned int base,unsigned int cur) regcache_sync_block_raw_flush() argument
816 regcache_sync_block_raw(struct regmap * map,void * block,unsigned long * cache_present,unsigned int block_base,unsigned int start,unsigned int end) regcache_sync_block_raw() argument
858 regcache_sync_block(struct regmap * map,void * block,unsigned long * cache_present,unsigned int block_base,unsigned int start,unsigned int end) regcache_sync_block() argument
[all...]
H A Dregmap-debugfs.c19 struct regmap *map; member
38 struct regmap *map = file->private_data; in regmap_name_read_file() local
67 static void regmap_debugfs_free_dump_cache(struct regmap *map) in regmap_debugfs_free_dump_cache()
80 static bool regmap_printable(struct regmap *map, unsigned int reg) in regmap_printable()
95 static unsigned int regmap_debugfs_get_dump_start(struct regmap *map, in regmap_debugfs_get_dump_start()
181 static inline void regmap_calc_tot_len(struct regmap *map, in regmap_calc_tot_len()
193 static int regmap_next_readable_reg(struct regmap *map, int reg) in regmap_next_readable_reg()
215 static ssize_t regmap_read_debugfs(struct regmap *map, unsigned int from, in regmap_read_debugfs()
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
[all …]
H A Dregmap-kunit.c260 map = gen_regmap(test, &config, &data); in bulk_write() local
235 struct regmap *map; basic_read_write() local
293 struct regmap *map; bulk_read() local
322 struct regmap *map; multi_write() local
361 struct regmap *map; multi_read() local
394 struct regmap *map; read_bypassed() local
458 struct regmap *map; read_bypassed_volatile() local
522 struct regmap *map; write_readonly() local
553 struct regmap *map; read_writeonly() local
589 struct regmap *map; reg_defaults() local
615 struct regmap *map; reg_defaults_read_dev() local
647 struct regmap *map; register_patch() local
695 struct regmap *map; stride() local
772 struct regmap *map; basic_ranges() local
840 struct regmap *map; stress_insert() local
890 struct regmap *map; cache_bypass() local
925 struct regmap *map; cache_sync_marked_dirty() local
960 struct regmap *map; cache_sync_after_cache_only() local
1009 struct regmap *map; cache_sync_defaults_marked_dirty() local
1058 struct regmap *map; cache_sync_default_after_cache_only() local
1105 struct regmap *map; cache_sync_readonly() local
1143 struct regmap *map; cache_sync_patch() local
1201 struct regmap *map; cache_drop() local
1241 struct regmap *map; cache_drop_with_non_contiguous_ranges() local
1343 struct regmap *map; cache_drop_all_and_sync_marked_dirty() local
1384 struct regmap *map; cache_drop_all_and_sync_no_defaults() local
1426 struct regmap *map; cache_drop_all_and_sync_has_defaults() local
1469 struct regmap *map; cache_present() local
1505 struct regmap *map; cache_write_zero() local
1547 struct regmap *map; cache_range_window_reg() local
1707 struct regmap *map; raw_read_defaults_single() local
1729 struct regmap *map; raw_read_defaults() local
1764 struct regmap *map; raw_write_read_single() local
1787 struct regmap *map; raw_write() local
1846 struct regmap *map; raw_noinc_write() local
1893 struct regmap *map; raw_sync() local
1968 struct regmap *map; raw_ranges() local
[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; 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()
124 intel_iq80310_translate(struct map_pci_info *map, unsigned long ofs) in intel_iq80310_translate()
[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/kernel/bpf/
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(const struct bpf_map *map, in bloom_map_check_btf()
[all …]
H A Darena.c46 struct bpf_map map; member
65 static long arena_map_peek_elem(struct bpf_map *map, void *value) in arena_map_peek_elem()
70 static long arena_map_push_elem(struct bpf_map *map, void *value, u64 flags) in arena_map_push_elem()
75 static long arena_map_pop_elem(struct bpf_map *map, void *value) in arena_map_pop_elem()
80 static long arena_map_delete_elem(struct bpf_map *map, void *value) in arena_map_delete_elem()
85 static int arena_map_get_next_key(struct bpf_map *map, void *key, void *next_key) in arena_map_get_next_key()
174 static void arena_map_free(struct bpf_map *map) in arena_map_free()
200 static void *arena_map_lookup_elem(struct bpf_map *map, void *key) in arena_map_lookup_elem()
205 static long arena_map_update_elem(struct bpf_map *map, void *key, in arena_map_update_elem()
211 static int arena_map_check_btf(const struct bpf_map *map, const struct btf *btf, in arena_map_check_btf()
[all …]
/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()
226 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
[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 = set->data; in mtype_destroy() local
74 struct mtype *map = set->data; in mtype_flush() local
85 mtype_memsize(const struct mtype *map, size_t dsize) in mtype_memsize()
94 const struct mtype *map = set->data; in mtype_head() local
119 struct mtype *map = set->data; in mtype_test() local
133 struct mtype *map = set->data; in mtype_add() local
178 struct mtype *map = set->data; in mtype_del() local
[all …]
H A Dip_set_list_set.c53 struct list_set *map = set->data; in list_set_ktest() local
78 struct list_set *map = set->data; in list_set_kadd() local
98 struct list_set *map = set->data; in list_set_kdel() local
155 struct list_set *map = set->data; in list_set_del() local
166 struct list_set *map = set->data; in list_set_replace() local
176 struct list_set *map = set->data; in set_cleanup_entries() local
188 struct list_set *map = set->data; in list_set_utest() local
239 struct list_set *map = set->data; in list_set_uadd() local
321 struct list_set *map = set->data; in list_set_udel() local
353 struct list_set *map = set->data; in list_set_uadt() local
[all …]
/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()
230 struct gntdev_grant_map *map; in gntdev_add_map() local
248 struct gntdev_grant_map *map; in gntdev_find_map_index() local
260 void gntdev_put_map(struct gntdev_priv *priv, struct gntdev_grant_map *map) in gntdev_put_map()
312 struct gntdev_grant_map *map = data; in find_grant_ptes() local
330 int gntdev_map_grant_pages(struct gntdev_grant_map *map) in gntdev_map_grant_pages()
406 struct gntdev_grant_map *map = data->data; in __unmap_grant_pages_done() local
449 static void __unmap_grant_pages(struct gntdev_grant_map *map, int offset, in __unmap_grant_pages()
475 static void unmap_grant_pages(struct gntdev_grant_map *map, int offset, in unmap_grant_pages()
[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/tools/lib/perf/
H A Dmmap.c19 void perf_mmap__init(struct perf_mmap *map, struct perf_mmap *prev, in perf_mmap__init()
31 size_t perf_mmap__mmap_len(struct perf_mmap *map) in perf_mmap__mmap_len()
36 int perf_mmap__mmap(struct perf_mmap *map, struct perf_mmap_param *mp, in perf_mmap__mmap()
53 void perf_mmap__munmap(struct perf_mmap *map) in perf_mmap__munmap()
70 void perf_mmap__get(struct perf_mmap *map) in perf_mmap__get()
75 void perf_mmap__put(struct perf_mmap *map) in perf_mmap__put()
88 u64 perf_mmap__read_head(struct perf_mmap *map) in perf_mmap__read_head()
93 static bool perf_mmap__empty(struct perf_mmap *map) in perf_mmap__empty()
100 void perf_mmap__consume(struct perf_mmap *map) in perf_mmap__consume()
181 int perf_mmap__read_init(struct perf_mmap *map) in perf_mmap__read_init()
[all …]

12345678910>>...47