| /linux/tools/perf/util/ |
| H A D | map.h | 26 DECLARE_RC_STRUCT(map) DECLARE_RC_STRUCT() argument 47 map__dso(const struct map * map) map__dso() argument 52 map__start(const struct map * map) map__start() argument 57 map__end(const struct map * map) map__end() argument 62 map__pgoff(const struct map * map) map__pgoff() argument 67 map__reloc(const struct map * map) map__reloc() argument 72 map__flags(const struct map * map) map__flags() argument 77 map__prot(const struct map * map) map__prot() argument 82 map__priv(const struct map * map) map__priv() argument 87 map__hit(const struct map * map) map__hit() argument 92 map__refcnt(struct map * map) map__refcnt() argument 97 map__erange_warned(struct map * map) map__erange_warned() argument 102 map__size(const struct map * map) map__size() argument 108 map__dso_map_ip(const struct map * map,u64 ip) map__dso_map_ip() argument 114 map__dso_unmap_ip(const struct map * map,u64 rip) map__dso_unmap_ip() argument 119 map__map_ip(const struct map * map,u64 ip_or_rip) map__map_ip() argument 127 map__unmap_ip(const struct map * map,u64 ip_or_rip) map__unmap_ip() argument 154 map__for_each_symbol(map,pos,n) global() argument 165 __map__for_each_symbol_by_name(map,sym_name,pos,idx) global() argument 172 map__for_each_symbol_by_name(map,sym_name,pos,idx) global() argument 184 map__get(struct map * map) map__get() argument 196 __map__zput(struct map ** map) __map__zput() argument 202 map__zput(map) global() argument 227 __map__is_kmodule(const struct map * map) __map__is_kmodule() argument 265 map__set_start(struct map * map,u64 start) map__set_start() argument 270 map__set_end(struct map * map,u64 end) map__set_end() argument 275 map__set_pgoff(struct map * map,u64 pgoff) map__set_pgoff() argument 280 map__add_pgoff(struct map * map,u64 inc) map__add_pgoff() argument 285 map__set_reloc(struct map * map,u64 reloc) map__set_reloc() argument 290 map__set_priv(struct map * map) map__set_priv() argument 295 map__set_hit(struct map * map) map__set_hit() argument 300 map__set_erange_warned(struct map * map) map__set_erange_warned() argument 305 map__set_dso(struct map * map,struct dso * dso) map__set_dso() argument 310 map__set_mapping_type(struct map * map,enum mapping_type type) map__set_mapping_type() argument 315 map__mapping_type(struct map * map) map__mapping_type() argument [all...] |
| H A D | map.c | 105 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 D | hashmap.c | 38 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 D | mmap.c | 40 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 D | map_ptr_kern.c | 38 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 D | arraymap.c | 167 static void *array_map_lookup_elem(struct bpf_map *map, void *key) in array_map_lookup_elem() 178 static int array_map_get_hash(struct bpf_map *map) in array_map_get_hash() 187 static int array_map_direct_value_addr(const struct bpf_map *map, u64 *imm, in array_map_direct_value_addr() 201 static int array_map_direct_value_meta(const struct bpf_map *map, u64 imm, in array_map_direct_value_meta() 218 static int array_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) in array_map_gen_lookup() 251 static void *percpu_array_map_lookup_elem(struct bpf_map *map, void *key) in percpu_array_map_lookup_elem() 262 static int percpu_array_map_direct_value_addr(const struct bpf_map *map, u64 *imm, u32 off) in percpu_array_map_direct_value_addr() 277 static int percpu_array_map_direct_value_meta(const struct bpf_map *map, u64 imm, u32 *off) in percpu_array_map_direct_value_meta() 294 static int percpu_array_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) in percpu_array_map_gen_lookup() 325 static void *percpu_array_map_lookup_percpu_elem(struct bpf_map *map, void *key, u32 cpu) in percpu_array_map_lookup_percpu_elem() [all …]
|
| H A D | local_storage.c | 22 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 D | bpf_insn_array.c | 7 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 D | queue_stack_maps.c | 18 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() 126 static long __stack_map_get(struct bpf_map *map, void *value, bool delete) in __stack_map_get() 161 static long queue_map_peek_elem(struct bpf_map *map, void *value) in queue_map_peek_elem() 167 static long stack_map_peek_elem(struct bpf_map *map, void *value) in stack_map_peek_elem() 173 static long queue_map_pop_elem(struct bpf_map *map, void *value) in queue_map_pop_elem() 179 static long stack_map_pop_elem(struct bpf_map *map, void *value) in stack_map_pop_elem() 185 static long queue_stack_map_push_elem(struct bpf_map *map, void *value, in queue_stack_map_push_elem() [all …]
|
| H A D | bloom_filter.c | 16 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() 72 static long bloom_map_pop_elem(struct bpf_map *map, void *value) in bloom_map_pop_elem() 77 static long bloom_map_delete_elem(struct bpf_map *map, void *value) in bloom_map_delete_elem() 82 static int bloom_map_get_next_key(struct bpf_map *map, void *key, void *next_key) in bloom_map_get_next_key() 161 static void bloom_map_free(struct bpf_map *map) in bloom_map_free() 169 static void *bloom_map_lookup_elem(struct bpf_map *map, void *key) in bloom_map_lookup_elem() 175 static long bloom_map_update_elem(struct bpf_map *map, void *key, in bloom_map_update_elem() 182 static int bloom_map_check_btf(struct bpf_map *map, in bloom_map_check_btf() [all …]
|
| H A D | hashtab.c | 87 struct bpf_map map; member 202 static void *fd_htab_map_get_ptr(const struct bpf_map *map, struct htab_elem *l) in fd_htab_map_get_ptr() 504 static int bpf_ma_set_dtor(struct bpf_map *map, struct bpf_mem_alloc *ma, in bpf_ma_set_dtor() 528 static int htab_map_check_btf(struct bpf_map *map, const struct btf *btf, in htab_map_check_btf() 735 static void *__htab_map_lookup_elem(struct bpf_map *map, void *key) in __htab_map_lookup_elem() 755 static void *htab_map_lookup_elem(struct bpf_map *map, void *key) in htab_map_lookup_elem() 776 static int htab_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) in htab_map_gen_lookup() 791 static __always_inline void *__htab_lru_map_lookup_elem(struct bpf_map *map, in __htab_lru_map_lookup_elem() 805 static void *htab_lru_map_lookup_elem(struct bpf_map *map, void *key) in htab_lru_map_lookup_elem() 810 static void *htab_lru_map_lookup_elem_sys(struct bpf_map *map, void *key) in htab_lru_map_lookup_elem_sys() [all …]
|
| H A D | bpf_inode_storage.c | 36 struct bpf_map *map, in inode_storage_lookup() 76 static void *bpf_fd_inode_storage_lookup_elem(struct bpf_map *map, void *key) in bpf_fd_inode_storage_lookup_elem() 88 static long bpf_fd_inode_storage_update_elem(struct bpf_map *map, void *key, in bpf_fd_inode_storage_update_elem() 105 static int inode_storage_delete(struct inode *inode, struct bpf_map *map) in inode_storage_delete() 116 static long bpf_fd_inode_storage_delete_elem(struct bpf_map *map, void *key) in bpf_fd_inode_storage_delete_elem() 125 BPF_CALL_4(bpf_inode_storage_get, struct bpf_map *, map, struct inode *, inode, in BPF_CALL_4() argument 161 struct bpf_map *, map, struct inode *, inode) in BPF_CALL_2() argument 173 static int notsupp_get_next_key(struct bpf_map *map, void *key, in notsupp_get_next_key() 193 static void inode_storage_map_free(struct bpf_map *map) in inode_storage_map_free()
|
| /linux/drivers/base/regmap/ |
| H A D | regmap.c | 36 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 D | regcache.c | 45 static int regcache_count_cacheable_registers(struct regmap *map) in regcache_count_cacheable_registers() 59 static int regcache_hw_init(struct regmap *map) in regcache_hw_init() 118 static void regcache_hw_exit(struct regmap *map) in regcache_hw_exit() 124 int regcache_init(struct regmap *map, const struct regmap_config *config) in regcache_init() 272 void regcache_exit(struct regmap *map) in regcache_exit() 301 int regcache_read(struct regmap *map, in regcache_read() 332 int regcache_write(struct regmap *map, in regcache_write() 346 bool regcache_reg_needs_sync(struct regmap *map, unsigned int reg, in regcache_reg_needs_sync() 365 static int regcache_default_sync(struct regmap *map, unsigned int min, in regcache_default_sync() 421 int regcache_sync(struct regmap *map) in regcache_sync() [all …]
|
| H A D | regmap-kunit.c | 279 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 …]
|
| /linux/net/sctp/ |
| H A D | tsnmap.c | 35 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/tools/lib/bpf/ |
| H A D | hashmap.c | 38 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 D | xskmap.c | 15 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/drivers/mtd/maps/ |
| H A D | dc21285.c | 54 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/net/rds/ |
| H A D | cong.c | 109 struct rds_cong_map *map; in rds_cong_tree_walk() local 140 struct rds_cong_map *map; in rds_cong_from_addr() local 217 rds_cong_queue_updates(struct rds_cong_map * map) rds_cong_queue_updates() argument 253 rds_cong_map_updated(struct rds_cong_map * map,uint64_t portmask) rds_cong_map_updated() argument 299 rds_cong_set_bit(struct rds_cong_map * map,__be16 port) rds_cong_set_bit() argument 313 rds_cong_clear_bit(struct rds_cong_map * map,__be16 port) rds_cong_clear_bit() argument 327 rds_cong_test_bit(struct rds_cong_map * map,__be16 port) rds_cong_test_bit() argument 351 struct rds_cong_map *map; rds_cong_remove_socket() local 368 rds_cong_wait(struct rds_cong_map * map,__be16 port,int nonblock,struct rds_sock * rs) rds_cong_wait() argument 402 struct rds_cong_map *map; rds_cong_exit() local 420 struct rds_cong_map *map = conn->c_lcong; rds_cong_update_alloc() local [all...] |
| /linux/net/netfilter/ipset/ |
| H A D | ip_set_bitmap_gen.h | 36 #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 179 struct mtype *map = set->data; in mtype_del() local [all …]
|
| /linux/tools/bpf/bpftool/ |
| H A D | pids.c | 19 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 D | gntdev.c | 92 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 …]
|
| /linux/net/core/ |
| H A D | sock_map.c | 18 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/tools/lib/perf/ |
| H A D | mmap.c | 19 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 …]
|