Home
last modified time | relevance | path

Searched refs:mem_info (Results 1 – 25 of 40) sorted by relevance

12

/linux/tools/perf/util/
A Dmem-events.h22 struct mem_info { struct
49 int perf_mem__tlb_scnprintf(char *out, size_t sz, struct mem_info *mem_info); argument
50 int perf_mem__lvl_scnprintf(char *out, size_t sz, struct mem_info *mem_info);
51 int perf_mem__snp_scnprintf(char *out, size_t sz, struct mem_info *mem_info);
52 int perf_mem__lck_scnprintf(char *out, size_t sz, struct mem_info *mem_info);
53 int perf_mem__blk_scnprintf(char *out, size_t sz, struct mem_info *mem_info);
55 int perf_script__meminfo_scnprintf(char *bf, size_t size, struct mem_info *mem_info);
90 int c2c_decode_stats(struct c2c_stats *stats, struct mem_info *mi);
A Dmem-events.c242 int perf_mem__tlb_scnprintf(char *out, size_t sz, struct mem_info *mem_info) in perf_mem__tlb_scnprintf() argument
251 if (mem_info) in perf_mem__tlb_scnprintf()
314 int perf_mem__lvl_scnprintf(char *out, size_t sz, struct mem_info *mem_info) in perf_mem__lvl_scnprintf() argument
321 if (mem_info) in perf_mem__lvl_scnprintf()
333 if (mem_info && mem_info->data_src.mem_remote) { in perf_mem__lvl_scnprintf()
338 if (mem_info && mem_info->data_src.mem_hops) in perf_mem__lvl_scnprintf()
352 if (mem_info && mem_info->data_src.mem_lvl_num) { in perf_mem__lvl_scnprintf()
390 if (mem_info) in perf_mem__snp_scnprintf()
402 if (mem_info && in perf_mem__snp_scnprintf()
422 if (mem_info) in perf_mem__lck_scnprintf()
[all …]
A Dsort.c1054 if (left->mem_info) in sort__daddr_cmp()
1068 if (he->mem_info) { in hist_entry__daddr_snprintf()
1080 if (left->mem_info) in sort__iaddr_cmp()
1094 if (he->mem_info) { in hist_entry__iaddr_snprintf()
1107 if (left->mem_info) in sort__dso_daddr_cmp()
1120 if (he->mem_info) in hist_entry__dso_daddr_snprintf()
1132 if (left->mem_info) in sort__locked_cmp()
1160 if (left->mem_info) in sort__tlb_cmp()
1188 if (left->mem_info) in sort__lvl_cmp()
1216 if (left->mem_info) in sort__snoop_cmp()
[all …]
A Dsymbol.h288 struct mem_info *mem_info__new(void);
289 struct mem_info *mem_info__get(struct mem_info *mi);
290 void mem_info__put(struct mem_info *mi);
292 static inline void __mem_info__zput(struct mem_info **mi) in __mem_info__zput()
A Dhist.c152 if (h->mem_info) { in hists__calc_col_len()
153 if (h->mem_info->daddr.ms.sym) { in hists__calc_col_len()
168 if (h->mem_info->iaddr.ms.sym) { in hists__calc_col_len()
466 if (he->mem_info) { in hist_entry__init()
515 if (he->mem_info) { in hist_entry__init()
695 struct mem_info *mi, in __hists__add_entry()
730 .mem_info = mi, in __hists__add_entry()
753 struct mem_info *mi, in hists__add_entry()
766 struct mem_info *mi, in hists__add_entry_ops()
809 struct mem_info *mi; in iter_prepare_mem_entry()
[all …]
A Dsort.h145 struct mem_info *mem_info; member
A Dhist.h16 struct mem_info;
148 struct mem_info *mi,
157 struct mem_info *mi,
/linux/drivers/net/ethernet/brocade/bna/
A Dbna_tx_rx.c2167 mem_info = &res_info[BNA_RX_RES_MEM_T_CCB].res_u.mem_info; in bna_rx_res_req()
2173 mem_info = &res_info[BNA_RX_RES_MEM_T_RCB].res_u.mem_info; in bna_rx_res_req()
2179 mem_info = &res_info[BNA_RX_RES_MEM_T_CQPT].res_u.mem_info; in bna_rx_res_req()
2197 mem_info = &res_info[BNA_RX_RES_MEM_T_DQPT].res_u.mem_info; in bna_rx_res_req()
2209 mem_info = &res_info[BNA_RX_RES_MEM_T_DPAGE].res_u.mem_info; in bna_rx_res_req()
2215 mem_info = &res_info[BNA_RX_RES_MEM_T_HQPT].res_u.mem_info; in bna_rx_res_req()
2227 mem_info = &res_info[BNA_RX_RES_MEM_T_HPAGE].res_u.mem_info; in bna_rx_res_req()
2239 mem_info = &res_info[BNA_RX_RES_MEM_T_RIT].res_u.mem_info; in bna_rx_res_req()
3323 mem_info = &res_info[BNA_TX_RES_MEM_T_TCB].res_u.mem_info; in bna_tx_res_req()
3333 mem_info = &res_info[BNA_TX_RES_MEM_T_QPT].res_u.mem_info; in bna_tx_res_req()
[all …]
A Dbna_enet.c1867 res_info[BNA_RES_MEM_T_COM].res_u.mem_info.num = 1; in bna_res_req()
1868 res_info[BNA_RES_MEM_T_COM].res_u.mem_info.len = ALIGN( in bna_res_req()
1876 res_info[BNA_RES_MEM_T_ATTR].res_u.mem_info.num = 1; in bna_res_req()
1877 res_info[BNA_RES_MEM_T_ATTR].res_u.mem_info.len = in bna_res_req()
1883 res_info[BNA_RES_MEM_T_FWTRC].res_u.mem_info.num = 1; in bna_res_req()
1889 res_info[BNA_RES_MEM_T_STATS].res_u.mem_info.num = 1; in bna_res_req()
1890 res_info[BNA_RES_MEM_T_STATS].res_u.mem_info.len = in bna_res_req()
1905 res_info[BNA_MOD_RES_MEM_T_TX_ARRAY].res_u.mem_info.len = in bna_mod_res_req()
1913 res_info[BNA_MOD_RES_MEM_T_TXQ_ARRAY].res_u.mem_info.len = in bna_mod_res_req()
1921 res_info[BNA_MOD_RES_MEM_T_RX_ARRAY].res_u.mem_info.len = in bna_mod_res_req()
[all …]
A Dbnad.c1317 if (mem_info->mdl == NULL) in bnad_mem_free()
1332 kfree(mem_info->mdl); in bnad_mem_free()
1333 mem_info->mdl = NULL; in bnad_mem_free()
1343 if ((mem_info->num == 0) || (mem_info->len == 0)) { in bnad_mem_alloc()
1344 mem_info->mdl = NULL; in bnad_mem_alloc()
1348 mem_info->mdl = kcalloc(mem_info->num, sizeof(struct bna_mem_descr), in bnad_mem_alloc()
1350 if (mem_info->mdl == NULL) in bnad_mem_alloc()
1355 mem_info->mdl[i].len = mem_info->len; in bnad_mem_alloc()
1356 mem_info->mdl[i].kva = in bnad_mem_alloc()
1368 mem_info->mdl[i].len = mem_info->len; in bnad_mem_alloc()
[all …]
/linux/drivers/acpi/acpica/
A Dexregion.c43 struct acpi_mem_space_context *mem_info = region_context; in acpi_ex_system_memory_space_handler() local
44 struct acpi_mem_mapping *mm = mem_info->cur_mm; in acpi_ex_system_memory_space_handler()
109 for (mm = mem_info->first_mm; mm; mm = mm->next_mm) { in acpi_ex_system_memory_space_handler()
110 if (mm == mem_info->cur_mm) in acpi_ex_system_memory_space_handler()
120 mem_info->cur_mm = mm; in acpi_ex_system_memory_space_handler()
139 ((mem_info->address + mem_info->length) - address); in acpi_ex_system_memory_space_handler()
184 mm->next_mm = mem_info->first_mm; in acpi_ex_system_memory_space_handler()
185 mem_info->first_mm = mm; in acpi_ex_system_memory_space_handler()
187 mem_info->cur_mm = mm; in acpi_ex_system_memory_space_handler()
/linux/drivers/remoteproc/
A Dingenic_rproc.c65 struct vpu_mem_info mem_info[ARRAY_SIZE(vpu_mem_map)]; member
131 const struct vpu_mem_info *info = &vpu->mem_info[i]; in ingenic_rproc_da_to_va()
197 vpu->mem_info[i].base = devm_ioremap_resource(dev, mem); in ingenic_rproc_probe()
198 if (IS_ERR(vpu->mem_info[i].base)) { in ingenic_rproc_probe()
199 ret = PTR_ERR(vpu->mem_info[i].base); in ingenic_rproc_probe()
204 vpu->mem_info[i].len = resource_size(mem); in ingenic_rproc_probe()
205 vpu->mem_info[i].map = &vpu_mem_map[i]; in ingenic_rproc_probe()
/linux/arch/powerpc/platforms/powernv/
A Dopal-imc.c57 struct imc_mem_info *ptr = pmu_ptr->mem_info; in export_imc_mode_and_cmd()
112 pmu_ptr->mem_info = kcalloc(nr_chips + 1, sizeof(*pmu_ptr->mem_info), in imc_get_mem_addr_nest()
114 if (!pmu_ptr->mem_info) in imc_get_mem_addr_nest()
118 pmu_ptr->mem_info[i].id = chipid_arr[i]; in imc_get_mem_addr_nest()
120 pmu_ptr->mem_info[i].vbase = phys_to_virt(baddr); in imc_get_mem_addr_nest()
172 kfree(pmu_ptr->mem_info); in imc_pmu_create()
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_amdkfd.c403 struct kfd_local_mem_info *mem_info) in amdgpu_amdkfd_get_local_mem_info() argument
407 memset(mem_info, 0, sizeof(*mem_info)); in amdgpu_amdkfd_get_local_mem_info()
409 mem_info->local_mem_size_public = adev->gmc.visible_vram_size; in amdgpu_amdkfd_get_local_mem_info()
410 mem_info->local_mem_size_private = adev->gmc.real_vram_size - in amdgpu_amdkfd_get_local_mem_info()
413 mem_info->vram_width = adev->gmc.vram_width; in amdgpu_amdkfd_get_local_mem_info()
417 mem_info->local_mem_size_public, in amdgpu_amdkfd_get_local_mem_info()
418 mem_info->local_mem_size_private); in amdgpu_amdkfd_get_local_mem_info()
421 mem_info->mem_clk_max = adev->clock.default_mclk / 100; in amdgpu_amdkfd_get_local_mem_info()
424 mem_info->mem_clk_max = 0; in amdgpu_amdkfd_get_local_mem_info()
426 mem_info->mem_clk_max = amdgpu_dpm_get_mclk(adev, false) / 100; in amdgpu_amdkfd_get_local_mem_info()
[all …]
/linux/arch/powerpc/perf/
A Dimc-pmu.c532 pcni = pmu->mem_info; in nest_imc_event_init()
589 struct imc_mem_info *mem_info; in core_imc_mem_init() local
597 mem_info = &core_imc_pmu->mem_info[core_id]; in core_imc_mem_init()
598 mem_info->id = core_id; in core_imc_mem_init()
613 __pa((void *)mem_info->vbase), in core_imc_mem_init()
617 mem_info->vbase = NULL; in core_imc_mem_init()
625 struct imc_mem_info *mem_info; in is_core_imc_mem_inited() local
628 mem_info = &core_imc_pmu->mem_info[core_id]; in is_core_imc_mem_inited()
629 if (!mem_info->vbase) in is_core_imc_mem_inited()
1706 if (!pmu_ptr->mem_info) in imc_mem_init()
[all …]
/linux/drivers/net/ethernet/microsoft/mana/
A Dhw_channel.c199 rq_base_addr = hwc_rxq->msg_buf->mem_info.dma_handle; in mana_hwc_rx_event_handler()
406 gmi = &dma_buf->mem_info; in mana_hwc_alloc_dma_buf()
413 virt_addr = dma_buf->mem_info.virt_addr; in mana_hwc_alloc_dma_buf()
414 base_pa = (u8 *)dma_buf->mem_info.dma_handle; in mana_hwc_alloc_dma_buf()
438 mana_gd_free_memory(&dma_buf->mem_info); in mana_hwc_dealloc_dma_buf()
603 eq->mem_info.dma_handle, in mana_hwc_establish_channel()
604 cq->mem_info.dma_handle, in mana_hwc_establish_channel()
605 rq->mem_info.dma_handle, in mana_hwc_establish_channel()
606 sq->mem_info.dma_handle, in mana_hwc_establish_channel()
A Dmana_en.c1231 wq_spec.gdma_region = txq->gdma_sq->mem_info.gdma_region; in mana_create_txq()
1234 cq_spec.gdma_region = cq->gdma_cq->mem_info.gdma_region; in mana_create_txq()
1249 txq->gdma_sq->mem_info.gdma_region = GDMA_INVALID_DMA_REGION; in mana_create_txq()
1250 cq->gdma_cq->mem_info.gdma_region = GDMA_INVALID_DMA_REGION; in mana_create_txq()
1454 wq_spec.gdma_region = rxq->gdma_rq->mem_info.gdma_region; in mana_create_rxq()
1457 cq_spec.gdma_region = cq->gdma_cq->mem_info.gdma_region; in mana_create_rxq()
1470 rxq->gdma_rq->mem_info.gdma_region = GDMA_INVALID_DMA_REGION; in mana_create_rxq()
1471 cq->gdma_cq->mem_info.gdma_region = GDMA_INVALID_DMA_REGION; in mana_create_rxq()
A Dgdma_main.c170 req.gdma_region = queue->mem_info.gdma_region; in mana_gd_create_hw_eq()
184 queue->mem_info.gdma_region = GDMA_INVALID_DMA_REGION; in mana_gd_create_hw_eq()
608 gmi = &queue->mem_info; in mana_gd_create_hwc_queue()
729 gmi = &queue->mem_info; in mana_gd_create_mana_eq()
776 gmi = &queue->mem_info; in mana_gd_create_mana_wq_cq()
807 struct gdma_mem_info *gmi = &queue->mem_info; in mana_gd_destroy_queue()
/linux/drivers/video/fbdev/omap2/omapfb/
A Domapfb-ioctl.c584 struct omapfb_mem_info mem_info; in omapfb_ioctl() member
668 if (copy_from_user(&p.mem_info, (void __user *)arg, in omapfb_ioctl()
669 sizeof(p.mem_info))) in omapfb_ioctl()
672 r = omapfb_setup_mem(fbi, &p.mem_info); in omapfb_ioctl()
677 r = omapfb_query_mem(fbi, &p.mem_info); in omapfb_ioctl()
680 if (copy_to_user((void __user *)arg, &p.mem_info, in omapfb_ioctl()
681 sizeof(p.mem_info))) in omapfb_ioctl()
/linux/drivers/net/wireless/ath/ath10k/
A Dqmi.c27 struct ath10k_msa_mem_info *mem_info) in ath10k_qmi_map_msa_permission() argument
42 if (mem_info->secure) { in ath10k_qmi_map_msa_permission()
50 ret = qcom_scm_assign_mem(mem_info->addr, mem_info->size, in ath10k_qmi_map_msa_permission()
59 struct ath10k_msa_mem_info *mem_info) in ath10k_qmi_unmap_msa_permission() argument
68 if (!mem_info->secure) in ath10k_qmi_unmap_msa_permission()
74 ret = qcom_scm_assign_mem(mem_info->addr, mem_info->size, in ath10k_qmi_unmap_msa_permission()
/linux/arch/powerpc/include/asm/
A Dimc-pmu.h117 struct imc_mem_info *mem_info; member
/linux/tools/perf/tests/
A Dmem.c15 struct mem_info mi = { .data_src = data_src }; in check()
/linux/tools/perf/
A Dbuiltin-c2c.c270 struct mem_info *mi, *mi_dup; in process_sample_event()
509 if (he->mem_info) in dcacheline_entry()
510 addr = cl_address(he->mem_info->daddr.addr); in dcacheline_entry()
547 if (he->mem_info) in offset_entry()
559 if (left->mem_info) in offset_cmp()
560 l = cl_offset(left->mem_info->daddr.addr); in offset_cmp()
561 if (right->mem_info) in offset_cmp()
562 r = cl_offset(right->mem_info->daddr.addr); in offset_cmp()
575 if (he->mem_info) in iaddr_entry()
576 addr = he->mem_info->iaddr.addr; in iaddr_entry()
[all …]
/linux/arch/m68k/include/uapi/asm/
A Dbootinfo.h41 struct mem_info { struct
/linux/arch/m68k/kernel/
A Dsetup_mm.c163 const struct mem_info *m = data; in m68k_parse_bootinfo()
176 const struct mem_info *m = data; in m68k_parse_bootinfo()

Completed in 100 milliseconds

12