Searched refs:drmem_info (Results 1 – 4 of 4) sorted by relevance
20 struct drmem_lmb_info *drmem_info = &__drmem_info; variable27 last_lmb = &drmem_info->lmbs[drmem_info->n_lmbs - 1]; in drmem_lmb_memory_max()77 *p++ = cpu_to_be32(drmem_info->n_lmbs); in drmem_update_dt_v1()299 drmem_info->lmb_size = dt_mem_next_cell(dt_root_size_cells, &prop); in walk_drmem_lmbs_early()363 if (drmem_info->lmb_size) in init_drmem_lmb_size()372 drmem_info->lmb_size = of_read_number(prop, n_root_size_cells); in init_drmem_lmb_size()429 drmem_info->n_lmbs = of_read_number(prop++, 1); in init_drmem_v1_lmbs()430 if (drmem_info->n_lmbs == 0) in init_drmem_v1_lmbs()433 drmem_info->lmbs = kcalloc(drmem_info->n_lmbs, sizeof(*lmb), in init_drmem_v1_lmbs()435 if (!drmem_info->lmbs) in init_drmem_v1_lmbs()[all …]
29 extern struct drmem_lmb_info *drmem_info;50 &drmem_info->lmbs[0], \51 &drmem_info->lmbs[drmem_info->n_lmbs])88 return drmem_info->lmb_size; in drmem_lmb_size()
501 maxmem += (unsigned long)drmem_info->n_lmbs * drmem_info->lmb_size; in maxmem_data()
195 limit = &drmem_info->lmbs[drmem_info->n_lmbs]; in get_lmb_range()