Searched refs:drmem_info (Results 1 – 4 of 4) sorted by relevance
20 struct drmem_lmb_info *drmem_info = &__drmem_info; variable26 last_lmb = &drmem_info->lmbs[drmem_info->n_lmbs - 1]; in drmem_lmb_memory_max()76 *p++ = cpu_to_be32(drmem_info->n_lmbs); in drmem_update_dt_v1()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()383 drmem_info->n_lmbs = of_read_number(prop++, 1); in init_drmem_v1_lmbs()384 if (drmem_info->n_lmbs == 0) in init_drmem_v1_lmbs()387 drmem_info->lmbs = kcalloc(drmem_info->n_lmbs, sizeof(*lmb), in init_drmem_v1_lmbs()389 if (!drmem_info->lmbs) in init_drmem_v1_lmbs()[all …]
26 extern struct drmem_lmb_info *drmem_info;47 &drmem_info->lmbs[0], \48 &drmem_info->lmbs[drmem_info->n_lmbs])85 return drmem_info->lmb_size; in drmem_lmb_size()
471 maxmem += (unsigned long)drmem_info->n_lmbs * drmem_info->lmb_size; in maxmem_data()
244 limit = &drmem_info->lmbs[drmem_info->n_lmbs]; in get_lmb_range()