Searched refs:lmb_size (Results 1 – 5 of 5) sorted by relevance
24 u32 lmb_size; member71 return drmem_info->lmb_size; in drmem_lmb_size()
278 drmem_info->lmb_size = dt_mem_next_cell(dt_root_size_cells, &prop); in walk_drmem_lmbs_early()302 if (drmem_info->lmb_size) in init_drmem_lmb_size()311 drmem_info->lmb_size = dt_mem_next_cell(dt_root_size_cells, &prop); in init_drmem_lmb_size()406 dr_cell.base_addr += drmem_info->lmb_size; in init_drmem_v2_lmbs()
961 unsigned long lmb_size; in hot_add_drconf_scn_to_nid() local964 lmb_size = drmem_lmb_size(); in hot_add_drconf_scn_to_nid()974 || (scn_addr >= (lmb->base_addr + lmb_size))) in hot_add_drconf_scn_to_nid()
315 unsigned int lmb_size; in pseries_remove_mem_node() local332 lmb_size = be32_to_cpu(regs[3]); in pseries_remove_mem_node()334 pseries_remove_memblock(base, lmb_size); in pseries_remove_mem_node()948 unsigned int lmb_size; in pseries_add_mem_node() local965 lmb_size = be32_to_cpu(regs[3]); in pseries_add_mem_node()970 ret = memblock_add(base, lmb_size); in pseries_add_mem_node()
438 maxmem += drmem_info->n_lmbs * drmem_info->lmb_size; in maxmem_data()