Home
last modified time | relevance | path

Searched full:maps (Results 1 – 25 of 1831) sorted by relevance

12345678910>>...74

/openbmc/linux/tools/perf/util/
H A Dmaps.h16 struct maps;
34 struct map_rb_node *maps__first(struct maps *maps);
36 struct map_rb_node *maps__find_node(struct maps *maps, struct map *map);
37 struct map *maps__find(struct maps *maps, u64 addr);
39 #define maps__for_each_entry(maps, map) \ argument
40 for (map = maps__first(maps); map; map = map_rb_node__next(map))
42 #define maps__for_each_entry_safe(maps, map, next) \ argument
43 for (map = maps__first(maps), next = map_rb_node__next(map); map; \
46 DECLARE_RC_STRUCT(maps) { in DECLARE_RC_STRUCT() argument
65 struct maps *kmaps;
[all …]
H A Dmaps.c8 #include "maps.h"
13 static void maps__init(struct maps *maps, struct machine *machine) in maps__init() argument
15 refcount_set(maps__refcnt(maps), 1); in maps__init()
16 init_rwsem(maps__lock(maps)); in maps__init()
17 RC_CHK_ACCESS(maps)->entries = RB_ROOT; in maps__init()
18 RC_CHK_ACCESS(maps)->machine = machine; in maps__init()
19 RC_CHK_ACCESS(maps)->last_search_by_name = NULL; in maps__init()
20 RC_CHK_ACCESS(maps)->nr_maps = 0; in maps__init()
21 RC_CHK_ACCESS(maps)->maps_by_name = NULL; in maps__init()
24 static void __maps__free_maps_by_name(struct maps *maps) in __maps__free_maps_by_name() argument
[all …]
H A Dunwind.h9 struct maps;
21 int (*prepare_access)(struct maps *maps);
22 void (*flush_access)(struct maps *maps);
23 void (*finish_access)(struct maps *maps);
46 int unwind__prepare_access(struct maps *maps, struct map *map, bool *initialized);
47 void unwind__flush_access(struct maps *maps);
48 void unwind__finish_access(struct maps *maps);
50 static inline int unwind__prepare_access(struct maps *maps __maybe_unused, in unwind__prepare_access()
57 static inline void unwind__flush_access(struct maps *maps __maybe_unused) {} in unwind__flush_access()
58 static inline void unwind__finish_access(struct maps *maps __maybe_unused) {} in unwind__finish_access()
[all …]
H A Dunwind-libunwind.c15 static void unwind__register_ops(struct maps *maps, struct unwind_libunwind_ops *ops) in unwind__register_ops() argument
17 RC_CHK_ACCESS(maps)->unwind_libunwind_ops = ops; in unwind__register_ops()
20 int unwind__prepare_access(struct maps *maps, struct map *map, bool *initialized) in unwind__prepare_access() argument
32 if (maps__addr_space(maps)) { in unwind__prepare_access()
39 machine = maps__machine(maps); in unwind__prepare_access()
63 unwind__register_ops(maps, ops); in unwind__prepare_access()
65 err = maps__unwind_libunwind_ops(maps)->prepare_access(maps); in unwind__prepare_access()
71 void unwind__flush_access(struct maps *maps) in unwind__flush_access() argument
73 const struct unwind_libunwind_ops *ops = maps__unwind_libunwind_ops(maps); in unwind__flush_access()
76 ops->flush_access(maps); in unwind__flush_access()
[all …]
H A Dfind-map.c4 FILE *maps; in find_map() local
8 maps = fopen("/proc/self/maps", "r"); in find_map()
9 if (!maps) { in find_map()
10 fprintf(stderr, "cannot open maps\n"); in find_map()
14 while (!found && fgets(line, sizeof(line), maps)) { in find_map()
28 fclose(maps); in find_map()
H A Dbpf_lock_contention.c33 bpf_map__set_value_size(skel->maps.stacks, con->max_stack * sizeof(u64)); in lock_contention_prepare()
34 bpf_map__set_max_entries(skel->maps.lock_stat, con->map_nr_entries); in lock_contention_prepare()
35 bpf_map__set_max_entries(skel->maps.tstamp, con->map_nr_entries); in lock_contention_prepare()
38 bpf_map__set_max_entries(skel->maps.task_data, con->map_nr_entries); in lock_contention_prepare()
40 bpf_map__set_max_entries(skel->maps.task_data, 1); in lock_contention_prepare()
43 bpf_map__set_max_entries(skel->maps.stacks, con->map_nr_entries); in lock_contention_prepare()
45 bpf_map__set_max_entries(skel->maps.stacks, 1); in lock_contention_prepare()
83 bpf_map__set_max_entries(skel->maps.cpu_filter, ncpus); in lock_contention_prepare()
84 bpf_map__set_max_entries(skel->maps.task_filter, ntasks); in lock_contention_prepare()
85 bpf_map__set_max_entries(skel->maps.type_filter, ntypes); in lock_contention_prepare()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
H A Dsw.c256 .maps[SYS_ISO_CTRL] = REG_SYS_ISO_CTRL,
257 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN,
258 .maps[SYS_CLK] = REG_SYS_CLKR,
259 .maps[MAC_RCR_AM] = AM,
260 .maps[MAC_RCR_AB] = AB,
261 .maps[MAC_RCR_ACRC32] = ACRC32,
262 .maps[MAC_RCR_ACF] = ACF,
263 .maps[MAC_RCR_AAP] = AAP,
264 .maps[MAC_HIMR] = REG_HIMR,
265 .maps[MAC_HIMRE] = REG_HIMRE,
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
H A Dsw.c242 .maps[SYS_ISO_CTRL] = REG_SYS_ISO_CTRL,
243 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN,
244 .maps[SYS_CLK] = REG_SYS_CLKR,
245 .maps[MAC_RCR_AM] = AM,
246 .maps[MAC_RCR_AB] = AB,
247 .maps[MAC_RCR_ACRC32] = ACRC32,
248 .maps[MAC_RCR_ACF] = ACF,
249 .maps[MAC_RCR_AAP] = AAP,
250 .maps[MAC_HIMR] = REG_HIMR,
251 .maps[MAC_HIMRE] = REG_HIMRE,
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
H A Dsw.c251 .maps[SYS_ISO_CTRL] = REG_SYS_ISO_CTRL,
252 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN,
253 .maps[SYS_CLK] = REG_SYS_CLKR,
254 .maps[MAC_RCR_AM] = AM,
255 .maps[MAC_RCR_AB] = AB,
256 .maps[MAC_RCR_ACRC32] = ACRC32,
257 .maps[MAC_RCR_ACF] = ACF,
258 .maps[MAC_RCR_AAP] = AAP,
259 .maps[MAC_HIMR] = REG_HIMR,
260 .maps[MAC_HIMRE] = REG_HIMRE,
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
H A Dsw.c248 .maps[SYS_ISO_CTRL] = REG_SYS_ISO_CTRL,
249 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN,
250 .maps[SYS_CLK] = REG_SYS_CLKR,
251 .maps[MAC_RCR_AM] = RCR_AM,
252 .maps[MAC_RCR_AB] = RCR_AB,
253 .maps[MAC_RCR_ACRC32] = RCR_ACRC32,
254 .maps[MAC_RCR_ACF] = RCR_ACF,
255 .maps[MAC_RCR_AAP] = RCR_AAP,
257 .maps[EFUSE_TEST] = REG_EFUSE_TEST,
258 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
H A Dsw.c258 .maps[SYS_ISO_CTRL] = REG_SYS_ISO_CTRL,
259 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN,
260 .maps[SYS_CLK] = REG_SYS_CLKR,
261 .maps[MAC_RCR_AM] = AM,
262 .maps[MAC_RCR_AB] = AB,
263 .maps[MAC_RCR_ACRC32] = ACRC32,
264 .maps[MAC_RCR_ACF] = ACF,
265 .maps[MAC_RCR_AAP] = AAP,
266 .maps[MAC_HIMR] = REG_HIMR,
267 .maps[MAC_HIMRE] = REG_HIMRE,
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
H A Dsw.c259 .maps[SYS_ISO_CTRL] = REG_SYS_ISO_CTRL,
260 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN,
261 .maps[SYS_CLK] = REG_SYS_CLKR,
262 .maps[MAC_RCR_AM] = AM,
263 .maps[MAC_RCR_AB] = AB,
264 .maps[MAC_RCR_ACRC32] = ACRC32,
265 .maps[MAC_RCR_ACF] = ACF,
266 .maps[MAC_RCR_AAP] = AAP,
267 .maps[MAC_HIMR] = REG_HIMR,
268 .maps[MAC_HIMRE] = REG_HIMRE,
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
H A Dsw.c303 .maps[SYS_ISO_CTRL] = REG_SYS_ISO_CTRL,
304 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN,
305 .maps[SYS_CLK] = REG_SYS_CLKR,
306 .maps[MAC_RCR_AM] = AM,
307 .maps[MAC_RCR_AB] = AB,
308 .maps[MAC_RCR_ACRC32] = ACRC32,
309 .maps[MAC_RCR_ACF] = ACF,
310 .maps[MAC_RCR_AAP] = AAP,
311 .maps[MAC_HIMR] = REG_HIMR,
312 .maps[MAC_HIMRE] = REG_HIMRE,
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
H A Dsw.c289 .maps[SYS_ISO_CTRL] = REG_SYS_ISO_CTRL,
290 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN,
291 .maps[SYS_CLK] = SYS_CLKR,
292 .maps[MAC_RCR_AM] = RCR_AM,
293 .maps[MAC_RCR_AB] = RCR_AB,
294 .maps[MAC_RCR_ACRC32] = RCR_ACRC32,
295 .maps[MAC_RCR_ACF] = RCR_ACF,
296 .maps[MAC_RCR_AAP] = RCR_AAP,
297 .maps[MAC_HIMR] = INTA_MASK,
298 .maps[MAC_HIMRE] = INTA_MASK + 4,
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
H A Dsw.c169 .maps[SYS_ISO_CTRL] = REG_SYS_ISO_CTRL,
170 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN,
171 .maps[SYS_CLK] = REG_SYS_CLKR,
172 .maps[MAC_RCR_AM] = AM,
173 .maps[MAC_RCR_AB] = AB,
174 .maps[MAC_RCR_ACRC32] = ACRC32,
175 .maps[MAC_RCR_ACF] = ACF,
176 .maps[MAC_RCR_AAP] = AAP,
178 .maps[EFUSE_TEST] = REG_EFUSE_TEST,
179 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
[all …]
/openbmc/linux/tools/perf/tests/
H A Dthread-maps-share.c15 struct maps *maps; in test__thread_maps_share() local
19 struct maps *other_maps; in test__thread_maps_share()
24 * maintain maps info (struct maps). in test__thread_maps_share()
45 maps = thread__maps(leader); in test__thread_maps_share()
46 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(maps__refcnt(maps)), 4); in test__thread_maps_share()
48 /* test the maps pointer is shared */ in test__thread_maps_share()
49 TEST_ASSERT_VAL("maps don't match", RC_CHK_ACCESS(maps) == RC_CHK_ACCESS(thread__maps(t1))); in test__thread_maps_share()
50 TEST_ASSERT_VAL("maps don't match", RC_CHK_ACCESS(maps) == RC_CHK_ACCESS(thread__maps(t2))); in test__thread_maps_share()
51 TEST_ASSERT_VAL("maps don't match", RC_CHK_ACCESS(maps) == RC_CHK_ACCESS(thread__maps(t3))); in test__thread_maps_share()
55 * It should have shared maps with no change in in test__thread_maps_share()
[all …]
H A Dmaps.c7 #include "maps.h"
17 static int check_maps(struct map_def *merged, unsigned int size, struct maps *maps) in check_maps() argument
23 if (maps__nr_maps(maps) != size) { in check_maps()
24 pr_debug("Expected %d maps, got %d", size, maps__nr_maps(maps)); in check_maps()
27 maps__for_each_entry(maps, rb_node) { in check_maps()
46 maps__for_each_entry(maps, rb_node) { in check_maps()
88 struct maps *maps = maps__new(NULL); in test__maps__merge_in() local
90 TEST_ASSERT_VAL("failed to create maps", maps); in test__maps__merge_in()
100 TEST_ASSERT_VAL("failed to insert map", maps__insert(maps, map) == 0); in test__maps__merge_in()
113 /* kcore1 map overlaps over all bpf maps */ in test__maps__merge_in()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/
H A Defuse.c52 bytetemp = rtl_read_byte(rtlpriv, rtlpriv->cfg->maps[SYS_FUNC_EN] + 1); in efuse_initialize()
54 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[SYS_FUNC_EN] + 1, temp); in efuse_initialize()
56 bytetemp = rtl_read_byte(rtlpriv, rtlpriv->cfg->maps[SYS_ISO_CTRL] + 1); in efuse_initialize()
58 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[SYS_ISO_CTRL] + 1, temp); in efuse_initialize()
60 bytetemp = rtl_read_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_TEST] + 3); in efuse_initialize()
62 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_TEST] + 3, temp); in efuse_initialize()
66 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 3, 0x72); in efuse_initialize()
78 rtlpriv->cfg->maps[EFUSE_REAL_CONTENT_SIZE]; in efuse_read_1byte()
82 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 1, in efuse_read_1byte()
85 rtlpriv->cfg->maps[EFUSE_CTRL] + 2); in efuse_read_1byte()
[all …]
H A Dcam.c41 rtl_write_dword(rtlpriv, rtlpriv->cfg->maps[WCAMI], in rtl_cam_program_entry()
43 rtl_write_dword(rtlpriv, rtlpriv->cfg->maps[RWCAM], in rtl_cam_program_entry()
48 rtlpriv->cfg->maps[WCAMI], target_content); in rtl_cam_program_entry()
53 rtlpriv->cfg->maps[RWCAM], target_command); in rtl_cam_program_entry()
62 rtl_write_dword(rtlpriv, rtlpriv->cfg->maps[WCAMI], in rtl_cam_program_entry()
64 rtl_write_dword(rtlpriv, rtlpriv->cfg->maps[RWCAM], in rtl_cam_program_entry()
81 rtl_write_dword(rtlpriv, rtlpriv->cfg->maps[WCAMI], in rtl_cam_program_entry()
83 rtl_write_dword(rtlpriv, rtlpriv->cfg->maps[RWCAM], in rtl_cam_program_entry()
141 rtl_write_dword(rtlpriv, rtlpriv->cfg->maps[WCAMI], 0); in rtl_cam_delete_one_entry()
142 rtl_write_dword(rtlpriv, rtlpriv->cfg->maps[RWCAM], ul_command); in rtl_cam_delete_one_entry()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbtf_map_in_map.c38 map1_fd = bpf_map__fd(skel->maps.inner_map1); in test_lookup_update()
39 map2_fd = bpf_map__fd(skel->maps.inner_map2); in test_lookup_update()
40 map3_fd = bpf_map__fd(skel->maps.inner_map3); in test_lookup_update()
41 map4_fd = bpf_map__fd(skel->maps.inner_map4); in test_lookup_update()
42 map5_fd = bpf_map__fd(skel->maps.inner_map5); in test_lookup_update()
43 outer_arr_dyn_fd = bpf_map__fd(skel->maps.outer_arr_dyn); in test_lookup_update()
44 outer_arr_fd = bpf_map__fd(skel->maps.outer_arr); in test_lookup_update()
45 outer_hash_fd = bpf_map__fd(skel->maps.outer_hash); in test_lookup_update()
100 map1_id = bpf_map_id(skel->maps.inner_map1); in test_lookup_update()
101 map2_id = bpf_map_id(skel->maps.inner_map2); in test_lookup_update()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_btf_map_in_map.c11 } inner_map1 SEC(".maps"),
12 inner_map2 SEC(".maps");
19 } inner_map_sz2 SEC(".maps");
35 } outer_arr SEC(".maps") = {
50 } inner_map3 SEC(".maps"),
51 inner_map4 SEC(".maps");
59 } inner_map5 SEC(".maps");
73 } outer_arr_dyn SEC(".maps") = {
90 } outer_hash SEC(".maps") = {
102 } sockarr_sz1 SEC(".maps");
[all …]
H A Dmap_ptr_kern.c104 } m_hash SEC(".maps");
145 } m_array SEC(".maps");
177 } m_prog_array SEC(".maps");
194 } m_perf_event_array SEC(".maps");
211 } m_percpu_hash SEC(".maps");
228 } m_percpu_array SEC(".maps");
249 } m_stack_trace SEC(".maps");
268 } m_cgroup_array SEC(".maps");
285 } m_lru_hash SEC(".maps");
302 } m_lru_percpu_hash SEC(".maps");
[all …]
/openbmc/linux/drivers/mtd/maps/
H A Dphysmap-core.c53 struct map_info *maps; member
368 info->maps[i].name = mtd_name; in physmap_flash_of_init()
369 info->maps[i].swap = swap; in physmap_flash_of_init()
370 info->maps[i].bankwidth = bankwidth; in physmap_flash_of_init()
371 info->maps[i].device_node = dp; in physmap_flash_of_init()
373 err = of_flash_probe_bt1_rom(dev, dp, &info->maps[i]); in physmap_flash_of_init()
377 err = of_flash_probe_gemini(dev, dp, &info->maps[i]); in physmap_flash_of_init()
381 err = of_flash_probe_ixp4xx(dev, dp, &info->maps[i]); in physmap_flash_of_init()
385 err = of_flash_probe_versatile(dev, dp, &info->maps[i]); in physmap_flash_of_init()
398 info->maps[i].phys = NO_XIP; in physmap_flash_of_init()
[all …]
/openbmc/linux/tools/perf/arch/x86/util/
H A Dmachine.c20 struct extra_kernel_map *maps; member
34 buf = realloc(mi->maps, sz); in add_extra_kernel_map()
37 mi->maps = buf; in add_extra_kernel_map()
40 mi->maps[mi->cnt].start = start; in add_extra_kernel_map()
41 mi->maps[mi->cnt].end = end; in add_extra_kernel_map()
42 mi->maps[mi->cnt].pgoff = pgoff; in add_extra_kernel_map()
43 strlcpy(mi->maps[mi->cnt].name, name, KMAP_NAME_LEN); in add_extra_kernel_map()
91 struct extra_kernel_map *xm = &mi.maps[i]; in machine__create_extra_kernel_maps()
101 free(mi.maps); in machine__create_extra_kernel_maps()
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/postfix/files/
H A Dmain.cf85 # check_client_access hash:/etc/postfix/maps/access_client,
86 # check_client_access hash:/etc/postfix/maps/exceptions_client,
87 # check_helo_access hash:/etc/postfix/maps/access_helo,
88 # check_helo_access hash:/etc/postfix/maps/verify_helo,
89 # check_sender_access hash:/etc/postfix/maps/access_sender,
90 # check_sender_access hash:/etc/postfix/maps/verify_sender,
91 # check_recipient_access hash:/etc/postfix/maps/access_recipient,
99 # check_sender_access hash:/etc/postfix/maps/no_verify_sender,

12345678910>>...74