/linux-master/sound/soc/meson/ |
H A D | axg-tdm-formatter.h | 23 void (*enable)(struct regmap *map); 24 void (*disable)(struct regmap *map); 25 int (*prepare)(struct regmap *map, 37 int axg_tdm_formatter_set_channel_masks(struct regmap *map,
|
/linux-master/arch/sh/mm/ |
H A D | ioremap_fixed.c | 3 * Re-map IO memory to kernel address space so that we can access it. 5 * These functions should only be used when it is necessary to map a 38 struct ioremap_map *map; local 42 map = &ioremap_maps[i]; 43 map->fixmap_addr = __fix_to_virt(FIX_IOREMAP_BEGIN + i); 51 struct ioremap_map *map; local 65 map = &ioremap_maps[i]; 66 if (!map->addr) { 67 map->size = size; 96 map 103 struct ioremap_map *map; local [all...] |
/linux-master/scripts/ |
H A D | install.sh | 12 for file in "${KBUILD_IMAGE}" System.map 35 # installkernel version zImage System.map [directory] 36 exec "${file}" "${KERNELRELEASE}" "${KBUILD_IMAGE}" System.map "${INSTALL_PATH}"
|
H A D | depmod.sh | 15 if ! test -r System.map ; then 16 echo "Warning: modules_install: missing 'System.map' file. Skipping depmod." >&2 28 set -- -ae -F System.map
|
/linux-master/tools/lib/perf/include/internal/ |
H A D | cpumap.h | 14 * a CPU, a single dummy map with an entry of -1 is used. 18 /** Length of the map array. */ 21 struct perf_cpu map[]; local 32 void perf_cpu_map__set_nr(struct perf_cpu_map *map, int nr_cpus); 34 static inline refcount_t *perf_cpu_map__refcnt(struct perf_cpu_map *map) argument 36 return &RC_CHK_ACCESS(map)->refcnt;
|
H A D | mmap.h | 17 typedef void (*libperf_unmap_cb_t)(struct perf_mmap *map); 46 size_t perf_mmap__mmap_len(struct perf_mmap *map); 48 void perf_mmap__init(struct perf_mmap *map, struct perf_mmap *prev, 50 int perf_mmap__mmap(struct perf_mmap *map, struct perf_mmap_param *mp, 52 void perf_mmap__munmap(struct perf_mmap *map); 53 void perf_mmap__get(struct perf_mmap *map); 54 void perf_mmap__put(struct perf_mmap *map); 56 u64 perf_mmap__read_head(struct perf_mmap *map); 58 int perf_mmap__read_self(struct perf_mmap *map, struct perf_counts_values *count);
|
H A D | threadmap.h | 18 struct thread_map_data map[]; member in struct:perf_thread_map 21 struct perf_thread_map *perf_thread_map__realloc(struct perf_thread_map *map, int nr);
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | inner_array_lookup.c | 29 void *map; local 31 map = bpf_map_lookup_elem(&outer_map1, &outer_key); 32 if (!map) 35 val = bpf_map_lookup_elem(map, &inner_key);
|
H A D | test_sockmap_invalid_update.c | 11 } map SEC(".maps"); 19 bpf_map_update_elem(&map, &key, skops->sk, 0);
|
/linux-master/include/linux/ |
H A D | i8254.h | 10 * struct i8254_regmap_config - Configuration for the register map of an i8254 12 * @map: regmap for the i8254 16 struct regmap *map; member in struct:i8254_regmap_config
|
/linux-master/drivers/pinctrl/ |
H A D | pinctrl-utils.c | 21 struct pinctrl_map **map, unsigned int *reserved_maps, 31 new_map = krealloc_array(*map, new_num, sizeof(*new_map), GFP_KERNEL); 33 dev_err(pctldev->dev, "krealloc(map) failed\n"); 39 *map = new_map; 46 struct pinctrl_map **map, unsigned int *reserved_maps, 53 (*map)[*num_maps].type = PIN_MAP_TYPE_MUX_GROUP; 54 (*map)[*num_maps].data.mux.group = group; 55 (*map)[*num_maps].data.mux.function = function; 63 struct pinctrl_map **map, unsigned int *reserved_maps, 78 (*map)[*num_map 20 pinctrl_utils_reserve_map(struct pinctrl_dev *pctldev, struct pinctrl_map **map, unsigned int *reserved_maps, unsigned int *num_maps, unsigned int reserve) argument 45 pinctrl_utils_add_map_mux(struct pinctrl_dev *pctldev, struct pinctrl_map **map, unsigned int *reserved_maps, unsigned int *num_maps, const char *group, const char *function) argument 62 pinctrl_utils_add_map_configs(struct pinctrl_dev *pctldev, struct pinctrl_map **map, unsigned int *reserved_maps, unsigned int *num_maps, const char *group, unsigned long *configs, unsigned int num_configs, enum pinctrl_map_type type) argument 112 pinctrl_utils_free_map(struct pinctrl_dev *pctldev, struct pinctrl_map *map, unsigned int num_maps) argument [all...] |
H A D | pinctrl-utils.h | 18 struct pinctrl_map **map, unsigned int *reserved_maps, 21 struct pinctrl_map **map, unsigned int *reserved_maps, 25 struct pinctrl_map **map, unsigned int *reserved_maps, 33 struct pinctrl_map *map, unsigned int num_maps);
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | global_data_init.c | 10 struct bpf_map *map; local 19 map = bpf_object__find_map_by_name(obj, ".rodata"); 20 if (CHECK_FAIL(!map || !bpf_map__is_internal(map))) 23 sz = bpf_map__value_size(map); 30 err = bpf_map__set_initial_value(map, newval, sz - 1); 34 err = bpf_map__set_initial_value(map, newval, sz); 42 map_fd = bpf_map__fd(map); 50 "compare .rodata map data override", 56 err = bpf_map__set_initial_value(map, newva [all...] |
/linux-master/tools/perf/tests/ |
H A D | thread-map.c | 25 struct perf_thread_map *map; local 30 /* test map on current pid */ 31 map = thread_map__new_by_pid(getpid()); 32 TEST_ASSERT_VAL("failed to alloc map", map); 34 thread_map__read_comms(map); 36 TEST_ASSERT_VAL("wrong nr", map->nr == 1); 38 perf_thread_map__pid(map, 0) == getpid()); 40 perf_thread_map__comm(map, 0) && 41 !strcmp(perf_thread_map__comm(map, 68 struct perf_record_thread_map *map = &event->thread_map; local [all...] |
H A D | maps.c | 6 #include "map.h" 22 static int check_maps_cb(struct map *map, void *data) argument 27 if (map__start(map) != merged->start || 28 map__end(map) != merged->end || 29 strcmp(map__dso(map)->name, merged->name) || 30 refcount_read(map__refcnt(map)) != 1) { 37 static int failed_cb(struct map *map, void *data __maybe_unused) argument 40 map__start(map), 108 struct map *map; local [all...] |
/linux-master/drivers/base/regmap/ |
H A D | regcache-rbtree.c | 17 static int regcache_rbtree_write(struct regmap *map, unsigned int reg, 19 static int regcache_rbtree_exit(struct regmap *map); 40 struct regmap *map, 45 *top = rbnode->base_reg + ((rbnode->blklen - 1) * map->reg_stride); 48 static unsigned int regcache_rbtree_get_register(struct regmap *map, argument 51 return regcache_get_val(map, rbnode->block, idx); 54 static void regcache_rbtree_set_register(struct regmap *map, argument 59 regcache_set_val(map, rbnode->block, idx, val); 62 static struct regcache_rbtree_node *regcache_rbtree_lookup(struct regmap *map, argument 65 struct regcache_rbtree_ctx *rbtree_ctx = map 39 regcache_rbtree_get_base_top_reg( struct regmap *map, struct regcache_rbtree_node *rbnode, unsigned int *base, unsigned int *top) argument 96 regcache_rbtree_insert(struct regmap *map, struct rb_root *root, struct regcache_rbtree_node *rbnode) argument 134 struct regmap *map = s->private; local 178 rbtree_debugfs_init(struct regmap *map) argument 184 regcache_rbtree_init(struct regmap *map) argument 213 regcache_rbtree_exit(struct regmap *map) argument 242 regcache_rbtree_read(struct regmap *map, unsigned int reg, unsigned int *value) argument 262 regcache_rbtree_insert_to_block(struct regmap *map, struct regcache_rbtree_node *rbnode, unsigned int base_reg, unsigned int top_reg, unsigned int reg, unsigned int value) argument 317 regcache_rbtree_node_alloc(struct regmap *map, unsigned int reg) argument 368 regcache_rbtree_write(struct regmap *map, unsigned int reg, unsigned int value) argument 465 regcache_rbtree_sync(struct regmap *map, unsigned int min, unsigned int max) argument 510 regcache_rbtree_drop(struct regmap *map, unsigned int min, unsigned int max) argument [all...] |
H A D | regcache-maple.c | 16 static int regcache_maple_read(struct regmap *map, argument 19 struct maple_tree *mt = map->cache; 38 static int regcache_maple_write(struct regmap *map, unsigned int reg, argument 41 struct maple_tree *mt = map->cache; 77 map->alloc_flags); 95 ret = mas_store_gfp(&mas, entry, map->alloc_flags); 107 static int regcache_maple_drop(struct regmap *map, unsigned int min, argument 110 struct maple_tree *mt = map->cache; 137 map->alloc_flags); 151 map 189 regcache_maple_sync_block(struct regmap *map, unsigned long *entry, struct ma_state *mas, unsigned int min, unsigned int max) argument 238 regcache_maple_sync(struct regmap *map, unsigned int min, unsigned int max) argument 293 regcache_maple_exit(struct regmap *map) argument 315 regcache_maple_insert_block(struct regmap *map, int first, int last) argument 344 regcache_maple_init(struct regmap *map) argument [all...] |
/linux-master/kernel/bpf/ |
H A D | map_iter.c | 16 struct bpf_map *map; local 18 map = bpf_map_get_curr_or_next(&info->map_id); 19 if (!map) 24 return map; 39 __bpf_md_ptr(struct bpf_map *, map); 42 DEFINE_BPF_ITER_FUNC(bpf_map, struct bpf_iter_meta *meta, struct bpf_map *map) 52 ctx.map = v; 94 { offsetof(struct bpf_iter__bpf_map, map), 105 struct bpf_map *map; local 109 if (!linfo->map 198 bpf_map_sum_elem_count(const struct bpf_map *map) argument [all...] |
/linux-master/fs/erofs/ |
H A D | data.c | 84 struct erofs_map_blocks *map) 87 u64 offset = map->m_la; 96 map->m_flags = EROFS_MAP_MAPPED; 98 map->m_pa = erofs_pos(sb, vi->raw_blkaddr) + map->m_la; 99 map->m_plen = erofs_pos(sb, lastblk) - offset; 101 map->m_pa = erofs_iloc(inode) + vi->inode_isize + 103 map->m_plen = inode->i_size - offset; 106 if (erofs_blkoff(sb, map->m_pa) + map 83 erofs_map_blocks_flatmode(struct inode *inode, struct erofs_map_blocks *map) argument 122 erofs_map_blocks(struct inode *inode, struct erofs_map_blocks *map) argument 200 erofs_map_dev(struct super_block *sb, struct erofs_map_dev *map) argument 259 struct erofs_map_blocks map; local [all...] |
/linux-master/kernel/trace/ |
H A D | tracing_map.c | 3 * tracing_map - lock-free map for tracing 7 * tracing_map implementation inspired by lock-free map algorithms 37 * tracing_map_add_sum_field() when the tracing map was set up. 51 * call to tracing_map_add_sum_field() when the tracing map was set 69 * tracing_map_add_var() when the tracing map was set up. 84 * when the tracing map was set up. 98 * call to tracing_map_add_var() when the tracing map was set 116 * tracing_map_add_var() when the tracing map was set up. The reset 202 static int tracing_map_add_field(struct tracing_map *map, argument 207 if (map 227 tracing_map_add_sum_field(struct tracing_map *map) argument 244 tracing_map_add_var(struct tracing_map *map) argument 270 tracing_map_add_key_field(struct tracing_map *map, unsigned int offset, tracing_map_cmp_fn_t cmp_fn) argument 403 tracing_map_elt_alloc(struct tracing_map *map) argument 452 get_free_elt(struct tracing_map *map) argument 467 tracing_map_free_elts(struct tracing_map *map) argument 483 tracing_map_alloc_elts(struct tracing_map *map) argument 516 __tracing_map_insert(struct tracing_map *map, void *key, bool lookup_only) argument 639 tracing_map_insert(struct tracing_map *map, void *key) argument 661 tracing_map_lookup(struct tracing_map *map, void *key) argument 676 tracing_map_destroy(struct tracing_map *map) argument 698 tracing_map_clear(struct tracing_map *map) argument 712 set_sort_key(struct tracing_map *map, struct tracing_map_sort_key *sort_key) argument 773 struct tracing_map *map; local 829 tracing_map_init(struct tracing_map *map) argument 992 is_key(struct tracing_map *map, unsigned int field_idx) argument 1002 sort_secondary(struct tracing_map *map, const struct tracing_map_sort_entry **entries, unsigned int n_entries, struct tracing_map_sort_key *primary_key, struct tracing_map_sort_key *secondary_key) argument 1074 tracing_map_sort_entries(struct tracing_map *map, struct tracing_map_sort_key *sort_keys, unsigned int n_sort_keys, struct tracing_map_sort_entry ***sort_entries) argument [all...] |
/linux-master/drivers/xen/ |
H A D | pvcalls-front.c | 101 struct sock_mapping *map; local 107 map = (struct sock_mapping *)sock->sk->sk_send_head; 108 if (map == NULL) 112 atomic_inc(&map->refcount); 113 return map; 118 struct sock_mapping *map; local 120 map = (struct sock_mapping *)sock->sk->sk_send_head; 121 atomic_dec(&map->refcount); 134 static bool pvcalls_front_write_todo(struct sock_mapping *map) argument 136 struct pvcalls_data_intf *intf = map 151 pvcalls_front_read_todo(struct sock_mapping *map) argument 189 struct sock_mapping *map = (struct sock_mapping *)(uintptr_t) local 230 pvcalls_front_destroy_active(struct pvcalls_bedata *bedata, struct sock_mapping *map) argument 250 pvcalls_front_free_map(struct pvcalls_bedata *bedata, struct sock_mapping *map) argument 260 struct sock_mapping *map = sock_map; local 273 struct sock_mapping *map = NULL; local 345 free_active_ring(struct sock_mapping *map) argument 355 alloc_active_ring(struct sock_mapping *map) argument 381 create_active(struct sock_mapping *map, evtchn_port_t *evtchn) argument 426 struct sock_mapping *map = NULL; local 544 struct sock_mapping *map; local 638 struct sock_mapping *map; local 673 struct sock_mapping *map = NULL; local 726 struct sock_mapping *map; local 775 struct sock_mapping *map; local 908 pvcalls_front_poll_passive(struct file *file, struct pvcalls_bedata *bedata, struct sock_mapping *map, poll_table *wait) argument 965 pvcalls_front_poll_active(struct file *file, struct pvcalls_bedata *bedata, struct sock_mapping *map, poll_table *wait) argument 992 struct sock_mapping *map; local 1011 struct sock_mapping *map; local 1099 struct sock_mapping *map = NULL, *n; local [all...] |
/linux-master/net/ceph/crush/ |
H A D | crush.c | 106 * @map: crush_map pointer 108 void crush_destroy(struct crush_map *map) argument 111 if (map->buckets) { 113 for (b = 0; b < map->max_buckets; b++) { 114 if (map->buckets[b] == NULL) 116 crush_destroy_bucket(map->buckets[b]); 118 kfree(map->buckets); 122 if (map->rules) { 124 for (b = 0; b < map->max_rules; b++) 125 crush_destroy_rule(map [all...] |
/linux-master/drivers/clk/sunxi-ng/ |
H A D | ccu_reset.c | 17 const struct ccu_reset_map *map = &ccu->reset_map[id]; local 23 reg = readl(ccu->base + map->reg); 24 writel(reg & ~map->bit, ccu->base + map->reg); 35 const struct ccu_reset_map *map = &ccu->reset_map[id]; local 41 reg = readl(ccu->base + map->reg); 42 writel(reg | map->bit, ccu->base + map->reg); 63 const struct ccu_reset_map *map = &ccu->reset_map[id]; local 69 return !(map [all...] |
/linux-master/arch/sparc/include/asm/ |
H A D | bitext.h | 15 unsigned long *map; member in struct:bit_map 26 void bit_map_init(struct bit_map *t, unsigned long *map, int size);
|
/linux-master/tools/perf/util/ |
H A D | bpf_map.h | 10 int bpf_map__fprintf(struct bpf_map *map, FILE *fp); 16 static inline int bpf_map__fprintf(struct bpf_map *map __maybe_unused, FILE *fp __maybe_unused)
|