meminfo 29 arch/unicore32/include/asm/memblock.h extern struct meminfo meminfo; meminfo 41 arch/unicore32/include/asm/memblock.h extern void uc32_memblock_init(struct meminfo *); meminfo 132 arch/unicore32/kernel/setup.c struct membank *bank = &meminfo.bank[meminfo.nr_banks]; meminfo 134 arch/unicore32/kernel/setup.c if (meminfo.nr_banks >= NR_BANKS) { meminfo 156 arch/unicore32/kernel/setup.c meminfo.nr_banks++; meminfo 177 arch/unicore32/kernel/setup.c meminfo.nr_banks = 0; meminfo 192 arch/unicore32/kernel/setup.c request_standard_resources(struct meminfo *mi) meminfo 258 arch/unicore32/kernel/setup.c uc32_memblock_init(&meminfo); meminfo 261 arch/unicore32/kernel/setup.c request_standard_resources(&meminfo); meminfo 35 arch/unicore32/mm/init.c struct meminfo meminfo; meminfo 40 arch/unicore32/mm/init.c struct meminfo *mi = &meminfo; meminfo 123 arch/unicore32/mm/init.c void __init uc32_memblock_init(struct meminfo *mi) meminfo 127 arch/unicore32/mm/init.c sort(&meminfo.bank, meminfo.nr_banks, sizeof(meminfo.bank[0]), meminfo 229 arch/unicore32/mm/init.c static void __init free_unused_memmap(struct meminfo *mi) meminfo 268 arch/unicore32/mm/init.c free_unused_memmap(&meminfo); meminfo 287 arch/unicore32/mm/mmu.c for (i = 0, j = 0; i < meminfo.nr_banks; i++) { meminfo 288 arch/unicore32/mm/mmu.c struct membank *bank = &meminfo.bank[j]; meminfo 289 arch/unicore32/mm/mmu.c *bank = meminfo.bank[i]; meminfo 292 arch/unicore32/mm/mmu.c meminfo.nr_banks = j; meminfo 1518 arch/x86/events/intel/ds.c struct pebs_meminfo *meminfo = NULL; meminfo 1556 arch/x86/events/intel/ds.c meminfo = next_record; meminfo 1557 arch/x86/events/intel/ds.c next_record = meminfo + 1; meminfo 1575 arch/x86/events/intel/ds.c data->weight = meminfo->latency ?: meminfo 1576 arch/x86/events/intel/ds.c intel_get_tsx_weight(meminfo->tsx_tuning); meminfo 1579 arch/x86/events/intel/ds.c data->data_src.val = get_data_src(event, meminfo->aux); meminfo 1582 arch/x86/events/intel/ds.c data->addr = meminfo->address; meminfo 1585 arch/x86/events/intel/ds.c data->txn = intel_get_tsx_transaction(meminfo->tsx_tuning, meminfo 469 drivers/base/node.c static DEVICE_ATTR(meminfo, S_IRUGO, node_read_meminfo, NULL); meminfo 774 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c struct cudbg_meminfo *meminfo, meminfo 782 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c rc = cudbg_meminfo_get_mem_index(padap, meminfo, mem_type, &mc); meminfo 797 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c for (i = 0; i < meminfo->mem_c; i++) { meminfo 798 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c if (meminfo->mem[i].idx >= ARRAY_SIZE(cudbg_region)) meminfo 801 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c if (!(meminfo->mem[i].limit)) meminfo 802 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c meminfo->mem[i].limit = meminfo 803 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c i < meminfo->mem_c - 1 ? meminfo 804 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c meminfo->mem[i + 1].base - 1 : ~0; meminfo 806 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c if (meminfo->mem[i].idx == idx) { meminfo 808 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c if (meminfo->mem[i].base < meminfo->avail[mc].base && meminfo 809 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c meminfo->mem[i].limit < meminfo->avail[mc].base) meminfo 812 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c if (meminfo->mem[i].base > meminfo->avail[mc].limit) meminfo 815 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c memcpy(mem_desc, &meminfo->mem[i], meminfo 831 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c struct cudbg_meminfo *meminfo, meminfo 837 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c rc = cudbg_meminfo_get_mem_index(padap, meminfo, mem_type, &mc_idx); meminfo 841 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c if (*out_base < meminfo->avail[mc_idx].base) meminfo 844 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c *out_base -= meminfo->avail[mc_idx].base; meminfo 846 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c if (*out_end > meminfo->avail[mc_idx].limit) meminfo 847 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c *out_end = meminfo->avail[mc_idx].limit; meminfo 849 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c *out_end -= meminfo->avail[mc_idx].base; meminfo 860 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c struct cudbg_meminfo meminfo; meminfo 863 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c rc = cudbg_fill_meminfo(padap, &meminfo); meminfo 867 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c rc = cudbg_get_mem_region(padap, &meminfo, mem_type, region_name, meminfo 878 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c return cudbg_get_mem_relative(padap, &meminfo, mem_type, meminfo 1846 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c struct cudbg_meminfo meminfo; meminfo 1851 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c rc = cudbg_fill_meminfo(padap, &meminfo); meminfo 1859 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c for (j = 0; j < ARRAY_SIZE(meminfo.avail); j++) { meminfo 1860 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c rc = cudbg_get_mem_region(padap, &meminfo, j, meminfo 1865 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c rc = cudbg_get_mem_relative(padap, &meminfo, j, meminfo 3275 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c struct cudbg_meminfo meminfo; meminfo 3278 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c memset(&meminfo, 0, sizeof(struct cudbg_meminfo)); meminfo 3279 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c rc = cudbg_fill_meminfo(adap, &meminfo); meminfo 3283 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c for (i = 0; i < meminfo.avail_c; i++) meminfo 3284 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c mem_region_show(seq, memory[meminfo.avail[i].idx], meminfo 3285 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c meminfo.avail[i].base, meminfo 3286 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c meminfo.avail[i].limit - 1); meminfo 3289 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c for (i = 0; i < meminfo.mem_c; i++) { meminfo 3290 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c if (meminfo.mem[i].idx >= ARRAY_SIZE(cudbg_region)) meminfo 3292 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c if (!meminfo.mem[i].limit) meminfo 3293 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c meminfo.mem[i].limit = meminfo 3294 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c i < meminfo.mem_c - 1 ? meminfo 3295 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c meminfo.mem[i + 1].base - 1 : ~0; meminfo 3296 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c mem_region_show(seq, cudbg_region[meminfo.mem[i].idx], meminfo 3297 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c meminfo.mem[i].base, meminfo.mem[i].limit); meminfo 3301 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c mem_region_show(seq, "uP RAM:", meminfo.up_ram_lo, meminfo.up_ram_hi); meminfo 3302 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c mem_region_show(seq, "uP Extmem2:", meminfo.up_extmem2_lo, meminfo 3303 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c meminfo.up_extmem2_hi); meminfo 3306 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c meminfo.rx_pages_data[0], meminfo.free_rx_cnt, meminfo 3307 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c meminfo.rx_pages_data[1], meminfo.rx_pages_data[2]); meminfo 3310 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c meminfo.tx_pages_data[0], meminfo.free_tx_cnt, meminfo 3311 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c meminfo.tx_pages_data[1], meminfo.tx_pages_data[2], meminfo 3312 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c meminfo.tx_pages_data[3]); meminfo 3315 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c meminfo.p_structs, meminfo.p_structs_free_cnt); meminfo 3320 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c i, meminfo.port_used[i], meminfo.port_alloc[i]); meminfo 3326 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c i, meminfo.loopback_used[i], meminfo 3327 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c meminfo.loopback_alloc[i]); meminfo 3331 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c DEFINE_SHOW_ATTRIBUTE(meminfo); meminfo 1229 drivers/net/ethernet/smsc/smc91x.c ({ int meminfo; SMC_SELECT_BANK(lp, 0); meminfo 1230 drivers/net/ethernet/smsc/smc91x.c meminfo = SMC_GET_MIR(lp); meminfo 1231 drivers/net/ethernet/smsc/smc91x.c SMC_SELECT_BANK(lp, 2); meminfo; }), meminfo 1328 drivers/net/ethernet/smsc/smc91x.c int status, mask, eph_st, meminfo, fifo; meminfo 1338 drivers/net/ethernet/smsc/smc91x.c meminfo = SMC_GET_MIR(lp); meminfo 1342 drivers/net/ethernet/smsc/smc91x.c status, mask, meminfo, fifo, eph_st); meminfo 441 drivers/nubus/nubus.c unsigned long meminfo[2]; meminfo 443 drivers/nubus/nubus.c nubus_get_rsrc_mem(&meminfo, ent, 8); meminfo 445 drivers/nubus/nubus.c meminfo[0], meminfo[1]); meminfo 294 drivers/scsi/bfa/bfa.h struct bfa_meminfo_s *meminfo, meminfo 397 drivers/scsi/bfa/bfa.h struct bfa_meminfo_s *meminfo, meminfo 400 drivers/scsi/bfa/bfa.h struct bfa_meminfo_s *meminfo, meminfo 1471 drivers/scsi/bfa/bfa_core.c bfa_iocfc_meminfo(struct bfa_iocfc_cfg_s *cfg, struct bfa_meminfo_s *meminfo, meminfo 1481 drivers/scsi/bfa/bfa_core.c bfa_mem_dma_setup(meminfo, ioc_dma, meminfo 1491 drivers/scsi/bfa/bfa_core.c bfa_mem_dma_setup(meminfo, BFA_MEM_REQQ_DMA(bfa, q), meminfo 1493 drivers/scsi/bfa/bfa_core.c bfa_mem_dma_setup(meminfo, BFA_MEM_RSPQ_DMA(bfa, q), meminfo 1507 drivers/scsi/bfa/bfa_core.c bfa_mem_dma_setup(meminfo, iocfc_dma, dm_len); meminfo 1510 drivers/scsi/bfa/bfa_core.c bfa_mem_kva_setup(meminfo, iocfc_kva, BFA_DBG_FWTRC_LEN); meminfo 1757 drivers/scsi/bfa/bfa_core.c bfa_cfg_get_meminfo(struct bfa_iocfc_cfg_s *cfg, struct bfa_meminfo_s *meminfo, meminfo 1769 drivers/scsi/bfa/bfa_core.c WARN_ON((cfg == NULL) || (meminfo == NULL)); meminfo 1771 drivers/scsi/bfa/bfa_core.c memset((void *)meminfo, 0, sizeof(struct bfa_meminfo_s)); meminfo 1774 drivers/scsi/bfa/bfa_core.c INIT_LIST_HEAD(&meminfo->dma_info.qe); meminfo 1775 drivers/scsi/bfa/bfa_core.c INIT_LIST_HEAD(&meminfo->kva_info.qe); meminfo 1777 drivers/scsi/bfa/bfa_core.c bfa_iocfc_meminfo(cfg, meminfo, bfa); meminfo 1778 drivers/scsi/bfa/bfa_core.c bfa_sgpg_meminfo(cfg, meminfo, bfa); meminfo 1779 drivers/scsi/bfa/bfa_core.c bfa_fcport_meminfo(cfg, meminfo, bfa); meminfo 1780 drivers/scsi/bfa/bfa_core.c bfa_fcxp_meminfo(cfg, meminfo, bfa); meminfo 1781 drivers/scsi/bfa/bfa_core.c bfa_lps_meminfo(cfg, meminfo, bfa); meminfo 1782 drivers/scsi/bfa/bfa_core.c bfa_uf_meminfo(cfg, meminfo, bfa); meminfo 1783 drivers/scsi/bfa/bfa_core.c bfa_rport_meminfo(cfg, meminfo, bfa); meminfo 1784 drivers/scsi/bfa/bfa_core.c bfa_fcp_meminfo(cfg, meminfo, bfa); meminfo 1785 drivers/scsi/bfa/bfa_core.c bfa_dconf_meminfo(cfg, meminfo, bfa); meminfo 1788 drivers/scsi/bfa/bfa_core.c bfa_mem_dma_setup(meminfo, port_dma, bfa_port_meminfo()); meminfo 1789 drivers/scsi/bfa/bfa_core.c bfa_mem_dma_setup(meminfo, ablk_dma, bfa_ablk_meminfo()); meminfo 1790 drivers/scsi/bfa/bfa_core.c bfa_mem_dma_setup(meminfo, cee_dma, bfa_cee_meminfo()); meminfo 1791 drivers/scsi/bfa/bfa_core.c bfa_mem_dma_setup(meminfo, sfp_dma, bfa_sfp_meminfo()); meminfo 1792 drivers/scsi/bfa/bfa_core.c bfa_mem_dma_setup(meminfo, flash_dma, meminfo 1794 drivers/scsi/bfa/bfa_core.c bfa_mem_dma_setup(meminfo, diag_dma, bfa_diag_meminfo()); meminfo 1795 drivers/scsi/bfa/bfa_core.c bfa_mem_dma_setup(meminfo, phy_dma, meminfo 1797 drivers/scsi/bfa/bfa_core.c bfa_mem_dma_setup(meminfo, fru_dma, meminfo 1829 drivers/scsi/bfa/bfa_core.c struct bfa_meminfo_s *meminfo, struct bfa_pcidev_s *pcidev) meminfo 1837 drivers/scsi/bfa/bfa_core.c WARN_ON((cfg == NULL) || (meminfo == NULL)); meminfo 1840 drivers/scsi/bfa/bfa_core.c dma_info = &meminfo->dma_info; meminfo 1844 drivers/scsi/bfa/bfa_core.c kva_info = &meminfo->kva_info; meminfo 6062 drivers/scsi/bfa/bfa_ioc.c bfa_dconf_meminfo(struct bfa_iocfc_cfg_s *cfg, struct bfa_meminfo_s *meminfo, meminfo 6068 drivers/scsi/bfa/bfa_ioc.c bfa_mem_kva_setup(meminfo, dconf_kva, meminfo 6071 drivers/scsi/bfa/bfa_ioc.c bfa_mem_kva_setup(meminfo, dconf_kva, meminfo 107 drivers/scsi/bfa/bfa_ioc.h static inline void bfa_mem_dma_setup(struct bfa_meminfo_s *meminfo, meminfo 113 drivers/scsi/bfa/bfa_ioc.h list_add_tail(&dm_ptr->qe, &meminfo->dma_info.qe); meminfo 116 drivers/scsi/bfa/bfa_ioc.h static inline void bfa_mem_kva_setup(struct bfa_meminfo_s *meminfo, meminfo 122 drivers/scsi/bfa/bfa_ioc.h list_add_tail(&kva_ptr->qe, &meminfo->kva_info.qe); meminfo 525 drivers/scsi/bfa/bfad.c struct bfa_meminfo_s *hal_meminfo = &bfad->meminfo; meminfo 587 drivers/scsi/bfa/bfad.c struct bfa_meminfo_s *hal_meminfo = &bfad->meminfo; meminfo 837 drivers/scsi/bfa/bfad.c bfa_attach(&bfad->bfa, bfad, &bfad->ioc_cfg, &bfad->meminfo, meminfo 1497 drivers/scsi/bfa/bfad.c &bfad->meminfo, &bfad->hal_pcidev); meminfo 199 drivers/scsi/bfa/bfad_drv.h struct bfa_meminfo_s meminfo; meminfo 2545 include/net/sock.h void sk_get_meminfo(const struct sock *sk, u32 *meminfo); meminfo 1484 net/core/sock.c u32 meminfo[SK_MEMINFO_VARS]; meminfo 1486 net/core/sock.c sk_get_meminfo(sk, meminfo); meminfo 1488 net/core/sock.c len = min_t(unsigned int, len, sizeof(meminfo)); meminfo 1489 net/core/sock.c if (copy_to_user(optval, &meminfo, len))