Home
last modified time | relevance | path

Searched defs:lmb (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/arch/powerpc/platforms/pseries/
Dhotplug-memory.c166 static u32 lookup_lmb_associativity_index(struct drmem_lmb *lmb) in lookup_lmb_associativity_index()
209 static int dlpar_add_device_tree_lmb(struct drmem_lmb *lmb) in dlpar_add_device_tree_lmb()
231 static int dlpar_remove_device_tree_lmb(struct drmem_lmb *lmb) in dlpar_remove_device_tree_lmb()
245 static struct memory_block *lmb_to_memblock(struct drmem_lmb *lmb) in lmb_to_memblock()
262 struct drmem_lmb *lmb, *start, *end; in get_lmb_range() local
287 static int dlpar_change_lmb_state(struct drmem_lmb *lmb, bool online) in dlpar_change_lmb_state()
308 static int dlpar_online_lmb(struct drmem_lmb *lmb) in dlpar_online_lmb()
314 static int dlpar_offline_lmb(struct drmem_lmb *lmb) in dlpar_offline_lmb()
377 static bool lmb_is_removable(struct drmem_lmb *lmb) in lmb_is_removable()
411 static int dlpar_remove_lmb(struct drmem_lmb *lmb) in dlpar_remove_lmb()
[all …]
/Linux-v4.19/arch/powerpc/mm/
Ddrmem.c32 static u32 drmem_lmb_flags(struct drmem_lmb *lmb) in drmem_lmb_flags()
70 struct drmem_lmb *lmb; in drmem_update_dt_v1() local
96 struct drmem_lmb *lmb) in init_drconf_v2_cell()
109 struct drmem_lmb *lmb, *prev_lmb; in drmem_update_dt_v2() local
196 static void __init read_drconf_v1_cell(struct drmem_lmb *lmb, in read_drconf_v1_cell()
215 struct drmem_lmb lmb; in __walk_drmem_v1_lmbs() local
246 struct drmem_lmb lmb; in __walk_drmem_v2_lmbs() local
358 struct drmem_lmb *lmb; in init_drmem_v1_lmbs() local
375 struct drmem_lmb *lmb; in init_drmem_v2_lmbs() local
Dnuma.c422 static int of_drconf_to_nid_single(struct drmem_lmb *lmb) in of_drconf_to_nid_single()
578 static void __init numa_setup_drmem_lmb(struct drmem_lmb *lmb, in numa_setup_drmem_lmb()
932 struct drmem_lmb *lmb; in hot_add_drconf_scn_to_nid() local
/Linux-v4.19/arch/powerpc/include/asm/
Ddrmem.h30 #define for_each_drmem_lmb_in_range(lmb, start, end) \ argument
33 #define for_each_drmem_lmb(lmb) \ argument
77 static inline void drmem_mark_lmb_reserved(struct drmem_lmb *lmb) in drmem_mark_lmb_reserved()
82 static inline void drmem_remove_lmb_reservation(struct drmem_lmb *lmb) in drmem_remove_lmb_reservation()
87 static inline bool drmem_lmb_reserved(struct drmem_lmb *lmb) in drmem_lmb_reserved()
/Linux-v4.19/arch/powerpc/kernel/
Dprom.c471 static void __init early_init_drmem_lmb(struct drmem_lmb *lmb, in early_init_drmem_lmb()