Searched refs:lmb_size (Results 1 – 5 of 5) sorted by relevance
23 u64 lmb_size; member85 return drmem_info->lmb_size; in drmem_lmb_size()
318 unsigned long lmb_size; in pseries_remove_mem_node() local343 lmb_size = of_read_number(prop, size_cells); in pseries_remove_mem_node()345 pseries_remove_memblock(base, lmb_size); in pseries_remove_mem_node()906 unsigned long lmb_size; in pseries_add_mem_node() local930 lmb_size = of_read_number(prop, size_cells); in pseries_add_mem_node()935 ret = memblock_add(base, lmb_size); in pseries_add_mem_node()
471 maxmem += (unsigned long)drmem_info->n_lmbs * drmem_info->lmb_size; in maxmem_data()
292 drmem_info->lmb_size = dt_mem_next_cell(dt_root_size_cells, &prop); in walk_drmem_lmbs_early()317 if (drmem_info->lmb_size) in init_drmem_lmb_size()326 drmem_info->lmb_size = of_read_number(prop, n_root_size_cells); in init_drmem_lmb_size()431 dr_cell.base_addr += drmem_info->lmb_size; in init_drmem_v2_lmbs()
1037 unsigned long lmb_size; in hot_add_drconf_scn_to_nid() local1040 lmb_size = drmem_lmb_size(); in hot_add_drconf_scn_to_nid()1050 || (scn_addr >= (lmb->base_addr + lmb_size))) in hot_add_drconf_scn_to_nid()