Searched refs:lmb (Results 1 – 8 of 8) sorted by relevance
/linux/arch/powerpc/platforms/pseries/ |
H A D | hotplug-memory.c | 186 start = lmb; in get_lmb_range() 340 struct drmem_lmb *lmb; in dlpar_memory_remove_by_count() local 407 lmb->base_addr); in dlpar_memory_remove_by_count() 423 struct drmem_lmb *lmb; in dlpar_memory_remove_by_index() local 446 lmb->base_addr); in dlpar_memory_remove_by_index() 482 lmb->base_addr, lmb->drc_index); in dlpar_memory_remove_by_ic() 532 lmb->base_addr, lmb->drc_index); in dlpar_memory_remove_by_ic() 614 struct drmem_lmb *lmb; in dlpar_memory_add_by_count() local 689 lmb->base_addr, lmb->drc_index); in dlpar_memory_add_by_count() 756 lmb->base_addr, lmb->drc_index); in dlpar_memory_add_by_ic() [all …]
|
/linux/arch/powerpc/mm/ |
H A D | drmem.c | 69 struct drmem_lmb *lmb; in drmem_update_dt_v1() local 81 for_each_drmem_lmb(lmb) { in drmem_update_dt_v1() 117 prev_lmb = lmb; in drmem_update_dt_v2() 126 prev_lmb = lmb; in drmem_update_dt_v2() 145 prev_lmb = lmb; in drmem_update_dt_v2() 163 prev_lmb = lmb; in drmem_update_dt_v2() 222 struct drmem_lmb lmb; in __walk_drmem_v1_lmbs() local 257 struct drmem_lmb lmb; in __walk_drmem_v2_lmbs() local 324 struct drmem_lmb *lmb; in update_lmb() local 427 struct drmem_lmb *lmb; in init_drmem_v1_lmbs() local [all …]
|
H A D | numa.c | 601 !(lmb->flags & DRCONF_MEM_AI_INVALID) && lmb->aa_index < aa.n_arrays) { in get_nid_and_numa_distance() 604 index = lmb->aa_index * aa.array_sz; in get_nid_and_numa_distance() 637 !(lmb->flags & DRCONF_MEM_AI_INVALID) && lmb->aa_index < aa.n_arrays) { in of_drconf_to_nid_single() 640 index = lmb->aa_index * aa.array_sz; in of_drconf_to_nid_single() 862 if ((lmb->flags & DRCONF_MEM_RESERVED) in numa_setup_drmem_lmb() 869 base = lmb->base_addr; in numa_setup_drmem_lmb() 885 nid = get_nid_and_numa_distance(lmb); in numa_setup_drmem_lmb() 1261 struct drmem_lmb *lmb; in hot_add_drconf_scn_to_nid() local 1267 for_each_drmem_lmb(lmb) { in hot_add_drconf_scn_to_nid() 1274 if ((scn_addr < lmb->base_addr) in hot_add_drconf_scn_to_nid() [all …]
|
/linux/arch/powerpc/include/asm/ |
H A D | drmem.h | 39 if (((++lmb - start) % 16) == 0) in drmem_lmb_next() 42 return lmb; in drmem_lmb_next() 45 #define for_each_drmem_lmb_in_range(lmb, start, end) \ argument 46 for ((lmb) = (start); (lmb) < (end); lmb = drmem_lmb_next(lmb, start)) 48 #define for_each_drmem_lmb(lmb) \ argument 49 for_each_drmem_lmb_in_range((lmb), \ 95 lmb->flags |= DRMEM_LMB_RESERVED; in drmem_mark_lmb_reserved() 100 lmb->flags &= ~DRMEM_LMB_RESERVED; in drmem_remove_lmb_reservation() 103 static inline bool drmem_lmb_reserved(struct drmem_lmb *lmb) in drmem_lmb_reserved() argument 105 return lmb->flags & DRMEM_LMB_RESERVED; in drmem_lmb_reserved() [all …]
|
H A D | topology.h | 66 int of_drconf_to_nid_single(struct drmem_lmb *lmb); 97 static inline int of_drconf_to_nid_single(struct drmem_lmb *lmb) in of_drconf_to_nid_single() argument
|
/linux/arch/powerpc/kernel/ |
H A D | prom.c | 521 static int __init early_init_drmem_lmb(struct drmem_lmb *lmb, in early_init_drmem_lmb() argument 528 base = lmb->base_addr; in early_init_drmem_lmb() 536 if ((lmb->flags & DRCONF_MEM_RESERVED) || in early_init_drmem_lmb() 537 !(lmb->flags & DRCONF_MEM_ASSIGNED)) in early_init_drmem_lmb() 575 if (lmb->flags & DRCONF_MEM_HOTREMOVABLE) in early_init_drmem_lmb()
|
/linux/arch/microblaze/boot/dts/ |
H A D | system.dts | 58 xlnx,d-lmb = <0x1>; 78 xlnx,i-lmb = <0x1>;
|
/linux/arch/powerpc/kexec/ |
H A D | file_load_64.c | 329 static int kdump_setup_usable_lmb(struct drmem_lmb *lmb, const __be32 **usm, in kdump_setup_usable_lmb() argument 351 base = lmb->base_addr; in kdump_setup_usable_lmb()
|