/linux-5.19.10/tools/perf/util/ |
D | maps.c | 13 static void __maps__insert(struct maps *maps, struct map *map); 15 static void maps__init(struct maps *maps, struct machine *machine) in maps__init() argument 17 maps->entries = RB_ROOT; in maps__init() 18 init_rwsem(&maps->lock); in maps__init() 19 maps->machine = machine; in maps__init() 20 maps->last_search_by_name = NULL; in maps__init() 21 maps->nr_maps = 0; in maps__init() 22 maps->maps_by_name = NULL; in maps__init() 23 refcount_set(&maps->refcnt, 1); in maps__init() 26 static void __maps__free_maps_by_name(struct maps *maps) in __maps__free_maps_by_name() argument [all …]
|
D | maps.h | 15 struct maps; 18 struct map *maps__find(struct maps *maps, u64 addr); 19 struct map *maps__first(struct maps *maps); 22 #define maps__for_each_entry(maps, map) \ argument 23 for (map = maps__first(maps); map; map = map__next(map)) 25 #define maps__for_each_entry_safe(maps, map, next) \ argument 26 for (map = maps__first(maps), next = map__next(map); map; map = next, next = map__next(map)) 28 struct maps { struct 47 struct maps *kmaps; argument 51 struct maps *maps__new(struct machine *machine); [all …]
|
D | unwind.h | 9 struct maps; 21 int (*prepare_access)(struct maps *maps); 22 void (*flush_access)(struct maps *maps); 23 void (*finish_access)(struct maps *maps); 54 int unwind__prepare_access(struct maps *maps, struct map *map, bool *initialized); 55 void unwind__flush_access(struct maps *maps); 56 void unwind__finish_access(struct maps *maps); 58 static inline int unwind__prepare_access(struct maps *maps __maybe_unused, in unwind__prepare_access() 65 static inline void unwind__flush_access(struct maps *maps __maybe_unused) {} in unwind__flush_access() 66 static inline void unwind__finish_access(struct maps *maps __maybe_unused) {} in unwind__finish_access() [all …]
|
D | unwind-libunwind.c | 15 static void unwind__register_ops(struct maps *maps, struct unwind_libunwind_ops *ops) in unwind__register_ops() argument 17 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 30 if (maps->addr_space) { in unwind__prepare_access() 39 if (!maps->machine->env || !maps->machine->env->arch) in unwind__prepare_access() 42 dso_type = dso__type(map->dso, maps->machine); in unwind__prepare_access() 46 arch = perf_env__arch(maps->machine->env); in unwind__prepare_access() 61 unwind__register_ops(maps, ops); in unwind__prepare_access() 63 err = maps->unwind_libunwind_ops->prepare_access(maps); in unwind__prepare_access() 69 void unwind__flush_access(struct maps *maps) in unwind__flush_access() argument [all …]
|
D | thread.c | 27 thread->maps = maps__new(machine); in thread__init_maps() 31 thread->maps = maps__get(leader->maps); in thread__init_maps() 36 return thread->maps ? 0 : -1; in thread__init_maps() 90 if (thread->maps) { in thread__delete() 91 maps__put(thread->maps); in thread__delete() 92 thread->maps = NULL; in thread__delete() 256 unwind__flush_access(thread->maps); in ____thread__set_comm() 329 maps__fprintf(thread->maps, fp); in thread__fprintf() 336 ret = unwind__prepare_access(thread->maps, map, NULL); in thread__insert_map() 340 maps__fixup_overlappings(thread->maps, map, stderr); in thread__insert_map() [all …]
|
D | find-map.c | 4 FILE *maps; in find_map() local 8 maps = fopen("/proc/self/maps", "r"); in find_map() 9 if (!maps) { in find_map() 14 while (!found && fgets(line, sizeof(line), maps)) { in find_map() 28 fclose(maps); in find_map()
|
/linux-5.19.10/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | sw.c | 257 .maps[SYS_ISO_CTRL] = REG_SYS_ISO_CTRL, 258 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN, 259 .maps[SYS_CLK] = REG_SYS_CLKR, 260 .maps[MAC_RCR_AM] = AM, 261 .maps[MAC_RCR_AB] = AB, 262 .maps[MAC_RCR_ACRC32] = ACRC32, 263 .maps[MAC_RCR_ACF] = ACF, 264 .maps[MAC_RCR_AAP] = AAP, 265 .maps[MAC_HIMR] = REG_HIMR, 266 .maps[MAC_HIMRE] = REG_HIMRE, [all …]
|
/linux-5.19.10/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | sw.c | 259 .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 …]
|
/linux-5.19.10/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | sw.c | 243 .maps[SYS_ISO_CTRL] = REG_SYS_ISO_CTRL, 244 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN, 245 .maps[SYS_CLK] = REG_SYS_CLKR, 246 .maps[MAC_RCR_AM] = AM, 247 .maps[MAC_RCR_AB] = AB, 248 .maps[MAC_RCR_ACRC32] = ACRC32, 249 .maps[MAC_RCR_ACF] = ACF, 250 .maps[MAC_RCR_AAP] = AAP, 251 .maps[MAC_HIMR] = REG_HIMR, 252 .maps[MAC_HIMRE] = REG_HIMRE, [all …]
|
/linux-5.19.10/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | sw.c | 260 .maps[SYS_ISO_CTRL] = REG_SYS_ISO_CTRL, 261 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN, 262 .maps[SYS_CLK] = REG_SYS_CLKR, 263 .maps[MAC_RCR_AM] = AM, 264 .maps[MAC_RCR_AB] = AB, 265 .maps[MAC_RCR_ACRC32] = ACRC32, 266 .maps[MAC_RCR_ACF] = ACF, 267 .maps[MAC_RCR_AAP] = AAP, 268 .maps[MAC_HIMR] = REG_HIMR, 269 .maps[MAC_HIMRE] = REG_HIMRE, [all …]
|
/linux-5.19.10/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | sw.c | 304 .maps[SYS_ISO_CTRL] = REG_SYS_ISO_CTRL, 305 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN, 306 .maps[SYS_CLK] = REG_SYS_CLKR, 307 .maps[MAC_RCR_AM] = AM, 308 .maps[MAC_RCR_AB] = AB, 309 .maps[MAC_RCR_ACRC32] = ACRC32, 310 .maps[MAC_RCR_ACF] = ACF, 311 .maps[MAC_RCR_AAP] = AAP, 312 .maps[MAC_HIMR] = REG_HIMR, 313 .maps[MAC_HIMRE] = REG_HIMRE, [all …]
|
/linux-5.19.10/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
D | sw.c | 252 .maps[SYS_ISO_CTRL] = REG_SYS_ISO_CTRL, 253 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN, 254 .maps[SYS_CLK] = REG_SYS_CLKR, 255 .maps[MAC_RCR_AM] = AM, 256 .maps[MAC_RCR_AB] = AB, 257 .maps[MAC_RCR_ACRC32] = ACRC32, 258 .maps[MAC_RCR_ACF] = ACF, 259 .maps[MAC_RCR_AAP] = AAP, 260 .maps[MAC_HIMR] = REG_HIMR, 261 .maps[MAC_HIMRE] = REG_HIMRE, [all …]
|
/linux-5.19.10/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | sw.c | 249 .maps[SYS_ISO_CTRL] = REG_SYS_ISO_CTRL, 250 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN, 251 .maps[SYS_CLK] = REG_SYS_CLKR, 252 .maps[MAC_RCR_AM] = RCR_AM, 253 .maps[MAC_RCR_AB] = RCR_AB, 254 .maps[MAC_RCR_ACRC32] = RCR_ACRC32, 255 .maps[MAC_RCR_ACF] = RCR_ACF, 256 .maps[MAC_RCR_AAP] = RCR_AAP, 258 .maps[EFUSE_TEST] = REG_EFUSE_TEST, 259 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL, [all …]
|
/linux-5.19.10/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | sw.c | 171 .maps[SYS_ISO_CTRL] = REG_SYS_ISO_CTRL, 172 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN, 173 .maps[SYS_CLK] = REG_SYS_CLKR, 174 .maps[MAC_RCR_AM] = AM, 175 .maps[MAC_RCR_AB] = AB, 176 .maps[MAC_RCR_ACRC32] = ACRC32, 177 .maps[MAC_RCR_ACF] = ACF, 178 .maps[MAC_RCR_AAP] = AAP, 180 .maps[EFUSE_TEST] = REG_EFUSE_TEST, 181 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL, [all …]
|
/linux-5.19.10/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | sw.c | 290 .maps[SYS_ISO_CTRL] = REG_SYS_ISO_CTRL, 291 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN, 292 .maps[SYS_CLK] = SYS_CLKR, 293 .maps[MAC_RCR_AM] = RCR_AM, 294 .maps[MAC_RCR_AB] = RCR_AB, 295 .maps[MAC_RCR_ACRC32] = RCR_ACRC32, 296 .maps[MAC_RCR_ACF] = RCR_ACF, 297 .maps[MAC_RCR_AAP] = RCR_AAP, 298 .maps[MAC_HIMR] = INTA_MASK, 299 .maps[MAC_HIMRE] = INTA_MASK + 4, [all …]
|
/linux-5.19.10/tools/perf/tests/ |
D | thread-maps-share.c | 15 struct maps *maps; in test__thread_maps_share() local 19 struct maps *other_maps; in test__thread_maps_share() 45 maps = leader->maps; in test__thread_maps_share() 46 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(&maps->refcnt), 4); in test__thread_maps_share() 49 TEST_ASSERT_VAL("maps don't match", maps == t1->maps); in test__thread_maps_share() 50 TEST_ASSERT_VAL("maps don't match", maps == t2->maps); in test__thread_maps_share() 51 TEST_ASSERT_VAL("maps don't match", maps == t3->maps); in test__thread_maps_share() 73 other_maps = other->maps; in test__thread_maps_share() 76 TEST_ASSERT_VAL("maps don't match", other_maps == other_leader->maps); in test__thread_maps_share() 80 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(&maps->refcnt), 3); in test__thread_maps_share() [all …]
|
D | maps.c | 16 static int check_maps(struct map_def *merged, unsigned int size, struct maps *maps) in check_maps() argument 21 maps__for_each_entry(maps, map) { in check_maps() 65 struct maps *maps = maps__new(NULL); in test__maps__merge_in() local 67 TEST_ASSERT_VAL("failed to create maps", maps); in test__maps__merge_in() 77 maps__insert(maps, map); in test__maps__merge_in() 102 ret = maps__merge_in(maps, map_kcore1); in test__maps__merge_in() 105 ret = check_maps(merged12, ARRAY_SIZE(merged12), maps); in test__maps__merge_in() 108 ret = maps__merge_in(maps, map_kcore2); in test__maps__merge_in() 111 ret = check_maps(merged12, ARRAY_SIZE(merged12), maps); in test__maps__merge_in() 114 ret = maps__merge_in(maps, map_kcore3); in test__maps__merge_in() [all …]
|
/linux-5.19.10/drivers/net/wireless/realtek/rtlwifi/ |
D | cam.c | 41 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 …]
|
D | efuse.c | 52 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 …]
|
/linux-5.19.10/tools/testing/selftests/bpf/prog_tests/ |
D | btf_map_in_map.c | 38 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 …]
|
D | cg_storage_multi.c | 115 if (assert_storage(obj->maps.cgroup_storage, in test_egress_only() 119 if (assert_storage_noexist(obj->maps.cgroup_storage, &key)) in test_egress_only() 138 if (assert_storage(obj->maps.cgroup_storage, in test_egress_only() 143 if (assert_storage(obj->maps.cgroup_storage, in test_egress_only() 194 if (assert_storage(obj->maps.cgroup_storage, in test_isolated() 199 if (assert_storage(obj->maps.cgroup_storage, in test_isolated() 204 if (assert_storage_noexist(obj->maps.cgroup_storage, &key)) in test_isolated() 207 if (assert_storage_noexist(obj->maps.cgroup_storage, &key)) in test_isolated() 236 if (assert_storage(obj->maps.cgroup_storage, in test_isolated() 241 if (assert_storage(obj->maps.cgroup_storage, in test_isolated() [all …]
|
/linux-5.19.10/drivers/mtd/maps/ |
D | physmap-core.c | 53 struct map_info *maps; member 372 info->maps[i].name = mtd_name; in physmap_flash_of_init() 373 info->maps[i].swap = swap; in physmap_flash_of_init() 374 info->maps[i].bankwidth = bankwidth; in physmap_flash_of_init() 375 info->maps[i].device_node = dp; in physmap_flash_of_init() 377 err = of_flash_probe_bt1_rom(dev, dp, &info->maps[i]); in physmap_flash_of_init() 381 err = of_flash_probe_gemini(dev, dp, &info->maps[i]); in physmap_flash_of_init() 385 err = of_flash_probe_ixp4xx(dev, dp, &info->maps[i]); in physmap_flash_of_init() 389 err = of_flash_probe_versatile(dev, dp, &info->maps[i]); in physmap_flash_of_init() 402 info->maps[i].phys = NO_XIP; in physmap_flash_of_init() [all …]
|
/linux-5.19.10/tools/perf/arch/x86/util/ |
D | machine.c | 20 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()
|
/linux-5.19.10/samples/bpf/ |
D | xdp_sample_user.h | 33 int sample_setup_maps(struct bpf_map **maps); 75 skel->maps.rx_cnt, skel->maps.redir_err_cnt, \ 76 skel->maps.cpumap_enqueue_cnt, \ 77 skel->maps.cpumap_kthread_cnt, \ 78 skel->maps.exception_cnt, skel->maps.devmap_xmit_cnt, \ 79 skel->maps.devmap_xmit_cnt_multi }); \
|
/linux-5.19.10/kernel/irq/ |
D | matrix.c | 34 struct cpumap __percpu *maps; member 66 m->maps = alloc_percpu(*m->maps); in irq_alloc_matrix() 67 if (!m->maps) { in irq_alloc_matrix() 80 struct cpumap *cm = this_cpu_ptr(m->maps); in irq_matrix_online() 101 struct cpumap *cm = this_cpu_ptr(m->maps); in irq_matrix_offline() 138 cm = per_cpu_ptr(m->maps, cpu); in matrix_find_best_cpu() 159 cm = per_cpu_ptr(m->maps, cpu); in matrix_find_best_cpu_managed() 184 struct cpumap *cm = this_cpu_ptr(m->maps); in irq_matrix_assign_system() 215 struct cpumap *cm = per_cpu_ptr(m->maps, cpu); in irq_matrix_reserve_managed() 256 struct cpumap *cm = per_cpu_ptr(m->maps, cpu); in irq_matrix_remove_managed() [all …]
|