Searched refs:lmb (Results 1 – 9 of 9) sorted by relevance
/linux/arch/powerpc/platforms/pseries/ |
A D | hotplug-memory.c | 234 start = lmb; in get_lmb_range() 403 struct drmem_lmb *lmb; in dlpar_memory_remove_by_count() local 470 lmb->base_addr); in dlpar_memory_remove_by_count() 486 struct drmem_lmb *lmb; in dlpar_memory_remove_by_index() local 509 lmb->base_addr); in dlpar_memory_remove_by_index() 544 lmb->base_addr, lmb->drc_index); in dlpar_memory_remove_by_ic() 594 lmb->base_addr, lmb->drc_index); in dlpar_memory_remove_by_ic() 673 struct drmem_lmb *lmb; in dlpar_memory_add_by_count() local 748 lmb->base_addr, lmb->drc_index); in dlpar_memory_add_by_count() 815 lmb->base_addr, lmb->drc_index); in dlpar_memory_add_by_ic() [all …]
|
/linux/arch/powerpc/mm/ |
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 …]
|
A D | numa.c | 599 !(lmb->flags & DRCONF_MEM_AI_INVALID) && lmb->aa_index < aa.n_arrays) { in get_nid_and_numa_distance() 602 index = lmb->aa_index * aa.array_sz; in get_nid_and_numa_distance() 635 !(lmb->flags & DRCONF_MEM_AI_INVALID) && lmb->aa_index < aa.n_arrays) { in of_drconf_to_nid_single() 638 index = lmb->aa_index * aa.array_sz; in of_drconf_to_nid_single() 860 if ((lmb->flags & DRCONF_MEM_RESERVED) in numa_setup_drmem_lmb() 867 base = lmb->base_addr; in numa_setup_drmem_lmb() 883 nid = get_nid_and_numa_distance(lmb); in numa_setup_drmem_lmb() 1255 struct drmem_lmb *lmb; in hot_add_drconf_scn_to_nid() local 1261 for_each_drmem_lmb(lmb) { in hot_add_drconf_scn_to_nid() 1268 if ((scn_addr < lmb->base_addr) in hot_add_drconf_scn_to_nid() [all …]
|
/linux/arch/powerpc/include/asm/ |
A D | drmem.h | 36 if (((++lmb - start) % 16) == 0) in drmem_lmb_next() 39 return lmb; in drmem_lmb_next() 42 #define for_each_drmem_lmb_in_range(lmb, start, end) \ argument 43 for ((lmb) = (start); (lmb) < (end); lmb = drmem_lmb_next(lmb, start)) 45 #define for_each_drmem_lmb(lmb) \ argument 46 for_each_drmem_lmb_in_range((lmb), \ 92 lmb->flags |= DRMEM_LMB_RESERVED; in drmem_mark_lmb_reserved() 97 lmb->flags &= ~DRMEM_LMB_RESERVED; in drmem_remove_lmb_reservation() 100 static inline bool drmem_lmb_reserved(struct drmem_lmb *lmb) in drmem_lmb_reserved() argument 102 return lmb->flags & DRMEM_LMB_RESERVED; in drmem_lmb_reserved() [all …]
|
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/ |
A D | prom.c | 473 static int __init early_init_drmem_lmb(struct drmem_lmb *lmb, in early_init_drmem_lmb() argument 480 base = lmb->base_addr; in early_init_drmem_lmb() 488 if ((lmb->flags & DRCONF_MEM_RESERVED) || in early_init_drmem_lmb() 489 !(lmb->flags & DRCONF_MEM_ASSIGNED)) in early_init_drmem_lmb() 527 if (lmb->flags & DRCONF_MEM_HOTREMOVABLE) in early_init_drmem_lmb()
|
/linux/arch/microblaze/boot/dts/ |
A D | system.dts | 58 xlnx,d-lmb = <0x1>; 78 xlnx,i-lmb = <0x1>;
|
/linux/arch/powerpc/kexec/ |
A D | file_load_64.c | 512 static int kdump_setup_usable_lmb(struct drmem_lmb *lmb, const __be32 **usm, in kdump_setup_usable_lmb() argument 534 base = lmb->base_addr; in kdump_setup_usable_lmb()
|
/linux/ |
A D | MAINTAINERS | 10663 M: Lorenz Bauer <lmb@cloudflare.com>
|
Completed in 53 milliseconds