/openbmc/linux/net/core/ |
H A D | sock_map.c | 18 struct bpf_map map; member 63 struct bpf_map *map; in sock_map_get_from_fd() local 83 struct bpf_map *map; in sock_map_prog_detach() local 130 struct bpf_map *map, void *link_raw) in sock_map_add_link() 148 struct bpf_map *map = link->map; in sock_map_del_link() local 695 struct bpf_map *map; member 708 struct bpf_map *map, void *key, in DEFINE_BPF_ITER_FUNC() 849 struct bpf_map map; member 1299 struct bpf_map *map; member 1521 struct bpf_map *map; in sock_map_bpf_prog_query() local [all …]
|
/openbmc/linux/drivers/base/regmap/ |
H A D | regcache-rbtree.c | 40 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() 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() 213 static int regcache_rbtree_exit(struct regmap *map) in regcache_rbtree_exit() 242 static int regcache_rbtree_read(struct regmap *map, in regcache_rbtree_read() 262 static int regcache_rbtree_insert_to_block(struct regmap *map, in regcache_rbtree_insert_to_block() 317 regcache_rbtree_node_alloc(struct regmap *map, unsigned int reg) in regcache_rbtree_node_alloc() [all …]
|
H A D | regmap-kunit.c | 123 struct regmap *map; in basic_read_write() local 152 struct regmap *map; in bulk_write() local 189 struct regmap *map; in bulk_read() local 222 struct regmap *map; in write_readonly() local 257 struct regmap *map; in read_writeonly() local 297 struct regmap *map; in reg_defaults() local 325 struct regmap *map; in reg_defaults_read_dev() local 359 struct regmap *map; in register_patch() local 411 struct regmap *map; in stride() local 477 struct regmap *map; in basic_ranges() local [all …]
|
/openbmc/linux/drivers/mtd/chips/ |
H A D | cfi_cmdset_0001.c | 174 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 …]
|
H A D | cfi_probe.c | 39 #define xip_allowed(base, map) \ argument 46 #define xip_enable(base, map, cfi) \ argument 52 #define xip_disable_qry(base, map, cfi) \ argument 61 #define xip_allowed(base, map) do { } while (0) argument 62 #define xip_enable(base, map, cfi) do { } while (0) argument 63 #define xip_disable_qry(base, map, cfi) do { } while (0) argument 96 static int __xipram cfi_probe_chip(struct map_info *map, __u32 base, in cfi_probe_chip() 195 static int __xipram cfi_chip_setup(struct map_info *map, in cfi_chip_setup() 432 struct mtd_info *cfi_probe(struct map_info *map) in cfi_probe()
|
H A D | cfi_cmdset_0020.c | 114 struct mtd_info *cfi_cmdset_0020(struct map_info *map, int primary) in cfi_cmdset_0020() 167 static struct mtd_info *cfi_staa_setup(struct map_info *map) in cfi_staa_setup() 386 struct map_info *map = mtd->priv; in cfi_staa_read() local 610 struct map_info *map = mtd->priv; in cfi_staa_write_buffers() local 893 { struct map_info *map = mtd->priv; in cfi_staa_erase_varsize() local 975 struct map_info *map = mtd->priv; in cfi_staa_sync() local 1129 struct map_info *map = mtd->priv; in cfi_staa_lock() local 1275 struct map_info *map = mtd->priv; in cfi_staa_unlock() local 1314 struct map_info *map = mtd->priv; in cfi_staa_suspend() local 1372 struct map_info *map = mtd->priv; in cfi_staa_resume() local [all …]
|
H A D | cfi_util.c | 40 struct map_info *map, struct cfi_private *cfi) in cfi_build_cmd_addr() 66 map_word cfi_build_cmd(u_long cmd, struct map_info *map, struct cfi_private *cfi) in cfi_build_cmd() 132 unsigned long cfi_merge_status(map_word val, struct map_info *map, in cfi_merge_status() 203 struct map_info *map, struct cfi_private *cfi, in cfi_send_gen_cmd() 219 int __xipram cfi_qry_present(struct map_info *map, __u32 base, in cfi_qry_present() 247 int __xipram cfi_qry_mode_on(uint32_t base, struct map_info *map, in cfi_qry_mode_on() 285 void __xipram cfi_qry_mode_off(uint32_t base, struct map_info *map, in cfi_qry_mode_off() 298 __xipram cfi_read_pri(struct map_info *map, __u16 adr, __u16 size, const char* name) in cfi_read_pri() 343 struct map_info *map = mtd->priv; in cfi_fixup() local 360 struct map_info *map = mtd->priv; in cfi_varsize_frob() local
|
/openbmc/linux/kernel/bpf/ |
H A D | bpf_inode_storage.c | 37 struct bpf_map *map, in inode_storage_lookup() 78 static void *bpf_fd_inode_storage_lookup_elem(struct bpf_map *map, void *key) in bpf_fd_inode_storage_lookup_elem() 91 static long bpf_fd_inode_storage_update_elem(struct bpf_map *map, void *key, in bpf_fd_inode_storage_update_elem() 111 static int inode_storage_delete(struct inode *inode, struct bpf_map *map) in inode_storage_delete() 124 static long bpf_fd_inode_storage_delete_elem(struct bpf_map *map, void *key) in bpf_fd_inode_storage_delete_elem() 138 BPF_CALL_5(bpf_inode_storage_get, struct bpf_map *, map, struct inode *, inode, in BPF_CALL_5() argument 174 struct bpf_map *, map, struct inode *, inode) in BPF_CALL_2() argument 186 static int notsupp_get_next_key(struct bpf_map *map, void *key, in notsupp_get_next_key() 197 static void inode_storage_map_free(struct bpf_map *map) in inode_storage_map_free()
|
H A D | hashtab.c | 87 struct bpf_map map; member 899 struct bpf_map *map = &htab->map; in htab_put_fd_value() local 1515 static void htab_map_free_timers(struct bpf_map *map) in htab_map_free_timers() 1529 static void htab_map_free(struct bpf_map *map) in htab_map_free() 1932 htab_map_lookup_and_delete_batch(struct bpf_map *map, in htab_map_lookup_and_delete_batch() 1976 struct bpf_map *map; member 2067 struct bpf_map *map = info->map; in __bpf_hash_map_seq_show() local 2118 struct bpf_map *map = aux->map; in bpf_iter_init_hash_map() local 2477 static void fd_htab_map_free(struct bpf_map *map) in fd_htab_map_free() 2539 struct bpf_map *map, *inner_map_meta; in htab_of_map_alloc() local [all …]
|
H A D | reuseport_array.c | 12 struct bpf_map map; member 16 static struct reuseport_array *reuseport_array(struct bpf_map *map) in reuseport_array() 50 static void *reuseport_array_lookup_elem(struct bpf_map *map, void *key) in reuseport_array_lookup_elem() 62 static long reuseport_array_delete_elem(struct bpf_map *map, void *key) in reuseport_array_delete_elem() 94 static void reuseport_array_free(struct bpf_map *map) in reuseport_array_free() 165 int bpf_fd_reuseport_array_lookup_elem(struct bpf_map *map, void *key, in bpf_fd_reuseport_array_lookup_elem() 232 int bpf_fd_reuseport_array_update_elem(struct bpf_map *map, void *key, in bpf_fd_reuseport_array_update_elem() 316 static int reuseport_array_get_next_key(struct bpf_map *map, void *key, in reuseport_array_get_next_key() 335 static u64 reuseport_array_mem_usage(const struct bpf_map *map) in reuseport_array_mem_usage()
|
H A D | bpf_cgrp_storage.c | 64 cgroup_storage_lookup(struct cgroup *cgroup, struct bpf_map *map, bool cacheit_lockit) in cgroup_storage_lookup() 78 static void *bpf_cgrp_storage_lookup_elem(struct bpf_map *map, void *key) in bpf_cgrp_storage_lookup_elem() 96 static long bpf_cgrp_storage_update_elem(struct bpf_map *map, void *key, in bpf_cgrp_storage_update_elem() 116 static int cgroup_storage_delete(struct cgroup *cgroup, struct bpf_map *map) in cgroup_storage_delete() 128 static long bpf_cgrp_storage_delete_elem(struct bpf_map *map, void *key) in bpf_cgrp_storage_delete_elem() 145 static int notsupp_get_next_key(struct bpf_map *map, void *key, void *next_key) in notsupp_get_next_key() 155 static void cgroup_storage_map_free(struct bpf_map *map) in cgroup_storage_map_free() 161 BPF_CALL_5(bpf_cgrp_storage_get, struct bpf_map *, map, struct cgroup *, cgroup, in BPF_CALL_5() argument 191 BPF_CALL_2(bpf_cgrp_storage_delete, struct bpf_map *, map, struct cgroup *, cgroup) in BPF_CALL_2() argument
|
H A D | bpf_task_storage.c | 57 task_storage_lookup(struct task_struct *task, struct bpf_map *map, in task_storage_lookup() 90 static void *bpf_pid_task_storage_lookup_elem(struct bpf_map *map, void *key) in bpf_pid_task_storage_lookup_elem() 123 static long bpf_pid_task_storage_update_elem(struct bpf_map *map, void *key, in bpf_pid_task_storage_update_elem() 159 static int task_storage_delete(struct task_struct *task, struct bpf_map *map, in task_storage_delete() 176 static long bpf_pid_task_storage_delete_elem(struct bpf_map *map, void *key) in bpf_pid_task_storage_delete_elem() 207 static void *__bpf_task_storage_get(struct bpf_map *map, in __bpf_task_storage_get() 230 BPF_CALL_5(bpf_task_storage_get_recur, struct bpf_map *, map, struct task_struct *, in BPF_CALL_5() argument 249 BPF_CALL_5(bpf_task_storage_get, struct bpf_map *, map, struct task_struct *, in BPF_CALL_5() argument 286 BPF_CALL_2(bpf_task_storage_delete, struct bpf_map *, map, struct task_struct *, in BPF_CALL_2() argument 305 static int notsupp_get_next_key(struct bpf_map *map, void *key, void *next_key) in notsupp_get_next_key() [all …]
|
/openbmc/linux/drivers/xen/ |
H A D | gntdev.c | 83 struct gntdev_grant_map *map; in gntdev_print_maps() local 221 struct gntdev_grant_map *map; in gntdev_add_map() local 239 struct gntdev_grant_map *map; in gntdev_find_map_index() local 303 struct gntdev_grant_map *map = data; in find_grant_ptes() local 539 struct gntdev_grant_map *map = in gntdev_invalidate() local 610 struct gntdev_grant_map *map; in gntdev_release() local 635 struct gntdev_grant_map *map; in gntdev_ioctl_map_grant_ref() local 670 struct gntdev_grant_map *map; in gntdev_ioctl_unmap_grant_ref() local 694 struct gntdev_grant_map *map; in gntdev_ioctl_get_offset_for_vaddr() local 725 struct gntdev_grant_map *map; in gntdev_ioctl_notify() local [all …]
|
/openbmc/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() 30 size_t perf_mmap__mmap_len(struct perf_mmap *map) in perf_mmap__mmap_len() 52 void perf_mmap__munmap(struct perf_mmap *map) in perf_mmap__munmap() 64 void perf_mmap__get(struct perf_mmap *map) in perf_mmap__get() 69 void perf_mmap__put(struct perf_mmap *map) in perf_mmap__put() 82 u64 perf_mmap__read_head(struct perf_mmap *map) in perf_mmap__read_head() 87 static bool perf_mmap__empty(struct perf_mmap *map) in perf_mmap__empty() 94 void perf_mmap__consume(struct perf_mmap *map) in perf_mmap__consume() 175 int perf_mmap__read_init(struct perf_mmap *map) in perf_mmap__read_init() 192 void perf_mmap__read_done(struct perf_mmap *map) in perf_mmap__read_done() [all …]
|
/openbmc/linux/include/linux/mtd/ |
H A D | cfi_endian.h | 27 #define cpu_to_cfi8(map, x) (x) argument 28 #define cfi8_to_cpu(map, x) (x) argument 29 #define cpu_to_cfi16(map, x) _cpu_to_cfi(16, (map)->swap, (x)) argument 30 #define cpu_to_cfi32(map, x) _cpu_to_cfi(32, (map)->swap, (x)) argument 31 #define cpu_to_cfi64(map, x) _cpu_to_cfi(64, (map)->swap, (x)) argument 32 #define cfi16_to_cpu(map, x) _cfi_to_cpu(16, (map)->swap, (x)) argument 33 #define cfi32_to_cpu(map, x) _cfi_to_cpu(32, (map)->swap, (x)) argument 34 #define cfi64_to_cpu(map, x) _cfi_to_cpu(64, (map)->swap, (x)) argument
|
/openbmc/u-boot/drivers/core/ |
H A D | regmap.c | 28 struct regmap *map; in regmap_alloc() local 43 struct regmap *map; in regmap_init_mem_platdata() local 114 struct regmap *map; in regmap_init_mem() local 182 void *regmap_get_range(struct regmap *map, unsigned int range_num) in regmap_get_range() 193 int regmap_uninit(struct regmap *map) in regmap_uninit() 249 int regmap_raw_read_range(struct regmap *map, uint range_num, uint offset, in regmap_raw_read_range() 297 int regmap_read(struct regmap *map, uint offset, uint *valp) in regmap_read() 358 int regmap_raw_write_range(struct regmap *map, uint range_num, uint offset, in regmap_raw_write_range() 401 int regmap_raw_write(struct regmap *map, uint offset, const void *val, in regmap_raw_write() 407 int regmap_write(struct regmap *map, uint offset, uint val) in regmap_write() [all …]
|
/openbmc/linux/drivers/cxl/core/ |
H A D | regs.c | 39 struct cxl_component_reg_map *map) in cxl_probe_component_regs() 120 struct cxl_device_reg_map *map) in cxl_probe_device_regs() 237 int cxl_map_device_regs(const struct cxl_register_map *map, in cxl_map_device_regs() 272 struct cxl_register_map *map) in cxl_decode_regblock() 306 struct cxl_register_map *map, int index) in cxl_find_regblock_instance() 361 struct cxl_register_map *map) in cxl_find_regblock() 378 struct cxl_register_map map; in cxl_count_regblock() local 391 struct cxl_register_map *map) in cxl_map_pmu_regs() 405 static int cxl_map_regblock(struct cxl_register_map *map) in cxl_map_regblock() 425 static int cxl_probe_regs(struct cxl_register_map *map) in cxl_probe_regs() [all …]
|
/openbmc/linux/tools/lib/bpf/ |
H A D | hashmap.h | 133 #define hashmap__insert(map, key, value, strategy, old_key, old_value) \ argument 138 #define hashmap__add(map, key, value) \ argument 141 #define hashmap__set(map, key, value, old_key, old_value) \ argument 144 #define hashmap__update(map, key, value, old_key, old_value) \ argument 147 #define hashmap__append(map, key, value) \ argument 152 #define hashmap__delete(map, key, old_key, old_value) \ argument 159 #define hashmap__find(map, key, value) \ argument 168 #define hashmap__for_each_entry(map, cur, bkt) \ argument 180 #define hashmap__for_each_entry_safe(map, cur, tmp, bkt) \ argument 192 #define hashmap__for_each_key_entry(map, cur, _key) \ argument [all …]
|
/openbmc/linux/tools/perf/util/ |
H A D | hashmap.h | 133 #define hashmap__insert(map, key, value, strategy, old_key, old_value) \ argument 138 #define hashmap__add(map, key, value) \ argument 141 #define hashmap__set(map, key, value, old_key, old_value) \ argument 144 #define hashmap__update(map, key, value, old_key, old_value) \ argument 147 #define hashmap__append(map, key, value) \ argument 152 #define hashmap__delete(map, key, old_key, old_value) \ argument 159 #define hashmap__find(map, key, value) \ argument 168 #define hashmap__for_each_entry(map, cur, bkt) \ argument 180 #define hashmap__for_each_entry_safe(map, cur, tmp, bkt) \ argument 192 #define hashmap__for_each_key_entry(map, cur, _key) \ argument [all …]
|
/openbmc/linux/kernel/trace/ |
H A D | tracing_map.c | 202 static int tracing_map_add_field(struct tracing_map *map, in tracing_map_add_field() 227 int tracing_map_add_sum_field(struct tracing_map *map) in tracing_map_add_sum_field() 244 int tracing_map_add_var(struct tracing_map *map) in tracing_map_add_var() 270 int tracing_map_add_key_field(struct tracing_map *map, in tracing_map_add_key_field() 676 void tracing_map_destroy(struct tracing_map *map) in tracing_map_destroy() 698 void tracing_map_clear(struct tracing_map *map) in tracing_map_clear() 712 static void set_sort_key(struct tracing_map *map, in set_sort_key() 773 struct tracing_map *map; in tracing_map_create() local 829 int tracing_map_init(struct tracing_map *map) in tracing_map_init() 1002 static void sort_secondary(struct tracing_map *map, in sort_secondary() [all …]
|
/openbmc/linux/net/netfilter/ipset/ |
H A D | ip_set_list_set.c | 53 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 …]
|
/openbmc/linux/drivers/mtd/maps/ |
H A D | map_funcs.c | 13 static map_word __xipram simple_map_read(struct map_info *map, unsigned long ofs) in simple_map_read() 18 static void __xipram simple_map_write(struct map_info *map, const map_word datum, unsigned long ofs) in simple_map_write() 23 static void __xipram simple_map_copy_from(struct map_info *map, void *to, unsigned long from, ssize… in simple_map_copy_from() 28 static void __xipram simple_map_copy_to(struct map_info *map, unsigned long to, const void *from, s… in simple_map_copy_to() 33 void simple_map_init(struct map_info *map) in simple_map_init()
|
/openbmc/linux/include/net/sctp/ |
H A D | tsnmap.h | 105 static inline __u32 sctp_tsnmap_get_ctsn(const struct sctp_tsnmap *map) in sctp_tsnmap_get_ctsn() 111 static inline __u32 sctp_tsnmap_get_max_tsn_seen(const struct sctp_tsnmap *map) in sctp_tsnmap_get_max_tsn_seen() 117 static inline __u16 sctp_tsnmap_num_dups(struct sctp_tsnmap *map) in sctp_tsnmap_num_dups() 123 static inline __be32 *sctp_tsnmap_get_dups(struct sctp_tsnmap *map) in sctp_tsnmap_get_dups() 137 static inline int sctp_tsnmap_has_gap(const struct sctp_tsnmap *map) in sctp_tsnmap_has_gap() 145 static inline void sctp_tsnmap_mark_dup(struct sctp_tsnmap *map, __u32 tsn) in sctp_tsnmap_mark_dup()
|
/openbmc/linux/arch/powerpc/platforms/cell/ |
H A D | cbe_regs.c | 83 struct cbe_regs_map *map = cbe_find_map(np); in cbe_get_pmd_regs() local 92 struct cbe_regs_map *map = cbe_thread_map[cpu].regs; in cbe_get_cpu_pmd_regs() local 101 struct cbe_regs_map *map = cbe_find_map(np); in cbe_get_pmd_shadow_regs() local 109 struct cbe_regs_map *map = cbe_thread_map[cpu].regs; in cbe_get_cpu_pmd_shadow_regs() local 117 struct cbe_regs_map *map = cbe_find_map(np); in cbe_get_iic_regs() local 125 struct cbe_regs_map *map = cbe_thread_map[cpu].regs; in cbe_get_cpu_iic_regs() local 133 struct cbe_regs_map *map = cbe_find_map(np); in cbe_get_mic_tm_regs() local 141 struct cbe_regs_map *map = cbe_thread_map[cpu].regs; in cbe_get_cpu_mic_tm_regs() local 199 static void __init cbe_fill_regs_map(struct cbe_regs_map *map) in cbe_fill_regs_map() 266 struct cbe_regs_map *map; in cbe_regs_init() local
|
/openbmc/linux/drivers/clk/berlin/ |
H A D | berlin2-div.c | 57 struct berlin2_div_map map; member 68 struct berlin2_div_map *map = &div->map; in berlin2_div_is_enabled() local 86 struct berlin2_div_map *map = &div->map; in berlin2_div_enable() local 105 struct berlin2_div_map *map = &div->map; in berlin2_div_disable() local 122 struct berlin2_div_map *map = &div->map; in berlin2_div_set_parent() local 153 struct berlin2_div_map *map = &div->map; in berlin2_div_get_parent() local 180 struct berlin2_div_map *map = &div->map; in berlin2_div_recalc_rate() local 229 berlin2_div_register(const struct berlin2_div_map *map, in berlin2_div_register()
|