/linux/tools/perf/util/ |
A D | maps.h | 15 struct maps; 18 struct map *maps__find(struct maps *maps, u64 addr); 19 struct map *maps__first(struct maps *maps); 52 void maps__delete(struct maps *maps); 53 bool maps__empty(struct maps *maps); 55 static inline struct maps *maps__get(struct maps *maps) in maps__get() argument 57 if (maps) in maps__get() 62 void maps__put(struct maps *maps); 64 void maps__exit(struct maps *maps); 66 size_t maps__fprintf(struct maps *maps, FILE *fp); [all …]
|
A D | map.c | 568 if (maps->nr_maps > maps->nr_maps_allocated) { in maps__insert() 581 maps->maps_by_name[maps->nr_maps - 1] = map; in maps__insert() 606 static void __maps__purge(struct maps *maps) in __maps__purge() argument 616 void maps__exit(struct maps *maps) in maps__exit() argument 623 bool maps__empty(struct maps *maps) in maps__empty() argument 630 struct maps *maps = zalloc(sizeof(*maps)); in maps__new() local 638 void maps__delete(struct maps *maps) in maps__delete() argument 645 void maps__put(struct maps *maps) in maps__put() argument 715 size_t maps__fprintf(struct maps *maps, FILE *fp) in maps__fprintf() argument 842 struct maps *maps = thread->maps; in maps__clone() local [all …]
|
A 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); 49 void unwind__flush_access(struct maps *maps); 50 void unwind__finish_access(struct maps *maps); 52 static inline int unwind__prepare_access(struct maps *maps __maybe_unused, in unwind__prepare_access() 59 static inline void unwind__flush_access(struct maps *maps __maybe_unused) {} in unwind__flush_access() 60 static inline void unwind__finish_access(struct maps *maps __maybe_unused) {} in unwind__finish_access() 73 static inline int unwind__prepare_access(struct maps *maps __maybe_unused, in unwind__prepare_access() [all …]
|
A 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() 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 71 if (maps->unwind_libunwind_ops) in unwind__flush_access() 72 maps->unwind_libunwind_ops->flush_access(maps); in unwind__flush_access() 75 void unwind__finish_access(struct maps *maps) in unwind__finish_access() argument [all …]
|
A 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() 341 maps__insert(thread->maps, map); in thread__insert_map() 350 struct maps *maps = thread->maps; in __thread__prepare_access() local 353 down_read(&maps->lock); in __thread__prepare_access() 361 up_read(&maps->lock); in __thread__prepare_access() [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
A D | sw.c | 260 .maps[MAC_RCR_AM] = AM, 261 .maps[MAC_RCR_AB] = AB, 263 .maps[MAC_RCR_ACF] = ACF, 264 .maps[MAC_RCR_AAP] = AAP, 265 .maps[MAC_HIMR] = REG_HIMR, 269 .maps[EFUSE_CLK] = 0, 274 .maps[EFUSE_ANA8M] = ANA8M, 280 .maps[RWCAM] = REG_CAMCMD, 282 .maps[RCAMO] = REG_CAMREAD, 283 .maps[CAMDBG] = REG_CAMDBG, [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
A D | sw.c | 262 .maps[MAC_RCR_AM] = AM, 263 .maps[MAC_RCR_AB] = AB, 265 .maps[MAC_RCR_ACF] = ACF, 266 .maps[MAC_RCR_AAP] = AAP, 267 .maps[MAC_HIMR] = REG_HIMR, 275 .maps[EFUSE_CLK] = 0, 280 .maps[EFUSE_ANA8M] = ANA8M, 286 .maps[RWCAM] = REG_CAMCMD, 288 .maps[RCAMO] = REG_CAMREAD, 289 .maps[CAMDBG] = REG_CAMDBG, [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
A D | sw.c | 246 .maps[MAC_RCR_AM] = AM, 247 .maps[MAC_RCR_AB] = AB, 249 .maps[MAC_RCR_ACF] = ACF, 250 .maps[MAC_RCR_AAP] = AAP, 251 .maps[MAC_HIMR] = REG_HIMR, 256 .maps[EFUSE_CLK] = 0, 267 .maps[RWCAM] = REG_CAMCMD, 268 .maps[WCAMI] = REG_CAMWRITE, 269 .maps[RCAMO] = REG_CAMREAD, 270 .maps[CAMDBG] = REG_CAMDBG, [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
A D | sw.c | 263 .maps[MAC_RCR_AM] = AM, 264 .maps[MAC_RCR_AB] = AB, 266 .maps[MAC_RCR_ACF] = ACF, 267 .maps[MAC_RCR_AAP] = AAP, 268 .maps[MAC_HIMR] = REG_HIMR, 276 .maps[EFUSE_CLK] = 0, 281 .maps[EFUSE_ANA8M] = ANA8M, 287 .maps[RWCAM] = REG_CAMCMD, 289 .maps[RCAMO] = REG_CAMREAD, 290 .maps[CAMDBG] = REG_CAMDBG, [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
A D | sw.c | 307 .maps[MAC_RCR_AM] = AM, 308 .maps[MAC_RCR_AB] = AB, 310 .maps[MAC_RCR_ACF] = ACF, 311 .maps[MAC_RCR_AAP] = AAP, 312 .maps[MAC_HIMR] = REG_HIMR, 319 .maps[EFUSE_CLK] = 0, 324 .maps[EFUSE_ANA8M] = ANA8M, 330 .maps[RWCAM] = REG_CAMCMD, 332 .maps[RCAMO] = REG_CAMREAD, 333 .maps[CAMDBG] = REG_CAMDBG, [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
A D | sw.c | 255 .maps[MAC_RCR_AM] = AM, 256 .maps[MAC_RCR_AB] = AB, 258 .maps[MAC_RCR_ACF] = ACF, 259 .maps[MAC_RCR_AAP] = AAP, 260 .maps[MAC_HIMR] = REG_HIMR, 267 .maps[EFUSE_CLK] = 0, 272 .maps[EFUSE_ANA8M] = ANA8M, 278 .maps[RWCAM] = REG_CAMCMD, 280 .maps[RCAMO] = REG_CAMREAD, 281 .maps[CAMDBG] = REG_CAMDBG, [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
A D | sw.c | 174 .maps[MAC_RCR_AM] = AM, 175 .maps[MAC_RCR_AB] = AB, 177 .maps[MAC_RCR_ACF] = ACF, 178 .maps[MAC_RCR_AAP] = AAP, 182 .maps[EFUSE_CLK] = 0, 192 .maps[RWCAM] = REG_CAMCMD, 193 .maps[WCAMI] = REG_CAMWRITE, 194 .maps[RCAMO] = REG_CAMREAD, 195 .maps[CAMDBG] = REG_CAMDBG, 196 .maps[SECR] = REG_SECCFG, [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
A D | sw.c | 252 .maps[MAC_RCR_AM] = RCR_AM, 253 .maps[MAC_RCR_AB] = RCR_AB, 255 .maps[MAC_RCR_ACF] = RCR_ACF, 256 .maps[MAC_RCR_AAP] = RCR_AAP, 270 .maps[RWCAM] = REG_CAMCMD, 271 .maps[WCAMI] = REG_CAMWRITE, 272 .maps[RCAMO] = REG_CAMREAD, 273 .maps[CAMDBG] = REG_CAMDBG, 274 .maps[SECR] = REG_SECCFG, 278 .maps[SEC_CAM_AES] = CAM_AES, [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
A D | sw.c | 292 .maps[SYS_CLK] = SYS_CLKR, 293 .maps[MAC_RCR_AM] = RCR_AM, 294 .maps[MAC_RCR_AB] = RCR_AB, 296 .maps[MAC_RCR_ACF] = RCR_ACF, 297 .maps[MAC_RCR_AAP] = RCR_AAP, 298 .maps[MAC_HIMR] = INTA_MASK, 314 .maps[RWCAM] = REG_RWCAM, 315 .maps[WCAMI] = REG_WCAMI, 316 .maps[RCAMO] = REG_RCAMO, 317 .maps[CAMDBG] = REG_CAMDBG, [all …]
|
/linux/tools/perf/tests/ |
A 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() 80 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(&maps->refcnt), 3); in test__thread_maps_share() 83 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(&maps->refcnt), 2); in test__thread_maps_share() [all …]
|
A 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() 38 struct maps maps; in test__maps__merge_in() local 67 maps__init(&maps, NULL); 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() 114 ret = maps__merge_in(&maps, map_kcore3); in test__maps__merge_in() 117 ret = check_maps(merged3, ARRAY_SIZE(merged3), &maps); in test__maps__merge_in() [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/ |
A D | cam.c | 48 rtlpriv->cfg->maps[WCAMI], target_content); in rtl_cam_program_entry() 53 rtlpriv->cfg->maps[RWCAM], target_command); in rtl_cam_program_entry() 174 ul_enc_algo = rtlpriv->cfg->maps[SEC_CAM_WEP40]; in rtl_cam_mark_invalid() 180 ul_enc_algo = rtlpriv->cfg->maps[SEC_CAM_TKIP]; in rtl_cam_mark_invalid() 183 ul_enc_algo = rtlpriv->cfg->maps[SEC_CAM_AES]; in rtl_cam_mark_invalid() 186 ul_enc_algo = rtlpriv->cfg->maps[SEC_CAM_AES]; in rtl_cam_mark_invalid() 211 u32 ul_encalgo = rtlpriv->cfg->maps[SEC_CAM_AES]; in rtl_cam_empty_entry() 216 ul_encalgo = rtlpriv->cfg->maps[SEC_CAM_WEP40]; in rtl_cam_empty_entry() 222 ul_encalgo = rtlpriv->cfg->maps[SEC_CAM_TKIP]; in rtl_cam_empty_entry() 225 ul_encalgo = rtlpriv->cfg->maps[SEC_CAM_AES]; in rtl_cam_empty_entry() [all …]
|
A D | efuse.c | 85 rtlpriv->cfg->maps[EFUSE_CTRL] + 2); in efuse_read_1byte() 91 rtlpriv->cfg->maps[EFUSE_CTRL] + 3); in efuse_read_1byte() 97 rtlpriv->cfg->maps[EFUSE_CTRL] + 3); in efuse_read_1byte() 101 maps[EFUSE_CTRL] + 3); in efuse_read_1byte() 133 rtlpriv->cfg->maps[EFUSE_CTRL] + 2); in efuse_write_1byte() 140 rtlpriv->cfg->maps[EFUSE_CTRL] + 3); in efuse_write_1byte() 151 maps[EFUSE_CTRL] + 3); in efuse_write_1byte() 183 rtlpriv->cfg->maps[EFUSE_CTRL]); in read_efuse_byte() 626 rtlpriv->cfg->maps[EFUSE_CTRL] + in efuse_one_byte_write() 1134 rtlpriv->cfg->maps[EFUSE_TEST] + in efuse_power_switch() [all …]
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
A 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() 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() 142 inner_map_fd = bpf_map__fd(skel->maps.sockarr_sz2); in test_diff_size() [all …]
|
A D | cg_storage_multi.c | 115 if (assert_storage(obj->maps.cgroup_storage, 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() 236 if (assert_storage(obj->maps.cgroup_storage, in test_isolated() 241 if (assert_storage(obj->maps.cgroup_storage, in test_isolated() 247 if (assert_storage(obj->maps.cgroup_storage, in test_isolated() 252 if (assert_storage(obj->maps.cgroup_storage, in test_isolated() 309 if (assert_storage(obj->maps.cgroup_storage, in test_shared() [all …]
|
/linux/drivers/mtd/maps/ |
A 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() 375 info->maps[i].device_node = dp; in physmap_flash_of_init() 402 info->maps[i].phys = NO_XIP; in physmap_flash_of_init() 477 if (!info->maps) in physmap_flash_probe() 525 if (!info->maps[i].name) in physmap_flash_probe() 528 if (!info->maps[i].phys) in physmap_flash_probe() 550 if (!info->maps[i].read) in physmap_flash_probe() 558 &info->maps[i]); in physmap_flash_probe() [all …]
|
/linux/tools/perf/arch/x86/util/ |
A 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/arch/arm/kernel/ |
A D | module.c | 375 memset(maps, 0, sizeof(maps)); in module_finalize() 384 maps[ARM_SEC_INIT].unw_sec = s; in module_finalize() 386 maps[ARM_SEC_CORE].unw_sec = s; in module_finalize() 388 maps[ARM_SEC_EXIT].unw_sec = s; in module_finalize() 390 maps[ARM_SEC_UNLIKELY].unw_sec = s; in module_finalize() 392 maps[ARM_SEC_HOT].unw_sec = s; in module_finalize() 394 maps[ARM_SEC_INIT].txt_sec = s; in module_finalize() 396 maps[ARM_SEC_CORE].txt_sec = s; in module_finalize() 398 maps[ARM_SEC_EXIT].txt_sec = s; in module_finalize() 402 maps[ARM_SEC_HOT].txt_sec = s; in module_finalize() [all …]
|
/linux/kernel/irq/ |
A 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() 299 cm = per_cpu_ptr(m->maps, cpu); in irq_matrix_alloc_managed() 324 struct cpumap *cm = this_cpu_ptr(m->maps); in irq_matrix_assign() [all …]
|
/linux/samples/bpf/ |
A D | xdp_sample_user.h | 33 int sample_setup_maps(struct bpf_map **maps); 73 skel->maps.rx_cnt, skel->maps.redir_err_cnt, \ 74 skel->maps.cpumap_enqueue_cnt, \ 75 skel->maps.cpumap_kthread_cnt, \ 76 skel->maps.exception_cnt, skel->maps.devmap_xmit_cnt, \ 77 skel->maps.devmap_xmit_cnt_multi }); \
|