Searched refs:drmem_lmb (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.4/arch/powerpc/include/asm/ |
D | drmem.h | 11 struct drmem_lmb { struct 22 struct drmem_lmb *lmbs; argument 76 static inline void drmem_mark_lmb_reserved(struct drmem_lmb *lmb) in drmem_mark_lmb_reserved() 81 static inline void drmem_remove_lmb_reservation(struct drmem_lmb *lmb) in drmem_remove_lmb_reservation() 86 static inline bool drmem_lmb_reserved(struct drmem_lmb *lmb) in drmem_lmb_reserved() 93 void (*func)(struct drmem_lmb *, const __be32 **)); 98 void (*func)(struct drmem_lmb *, const __be32 **)); 101 static inline void invalidate_lmb_associativity_index(struct drmem_lmb *lmb) in invalidate_lmb_associativity_index() 107 static inline void lmb_set_nid(struct drmem_lmb *lmb) in lmb_set_nid() 111 static inline void lmb_clear_nid(struct drmem_lmb *lmb) in lmb_clear_nid() [all …]
|
/Linux-v5.4/arch/powerpc/mm/ |
D | drmem.c | 22 struct drmem_lmb *last_lmb; in drmem_lmb_memory_max() 28 static u32 drmem_lmb_flags(struct drmem_lmb *lmb) in drmem_lmb_flags() 66 struct drmem_lmb *lmb; in drmem_update_dt_v1() 92 struct drmem_lmb *lmb) in init_drconf_v2_cell() 105 struct drmem_lmb *lmb, *prev_lmb; in drmem_update_dt_v2() 192 static void __init read_drconf_v1_cell(struct drmem_lmb *lmb, in read_drconf_v1_cell() 209 void (*func)(struct drmem_lmb *, const __be32 **)) in __walk_drmem_v1_lmbs() argument 211 struct drmem_lmb lmb; in __walk_drmem_v1_lmbs() 239 void (*func)(struct drmem_lmb *, const __be32 **)) in __walk_drmem_v2_lmbs() argument 242 struct drmem_lmb lmb; in __walk_drmem_v2_lmbs() [all …]
|
D | numa.c | 432 static int of_drconf_to_nid_single(struct drmem_lmb *lmb) in of_drconf_to_nid_single() 590 static void __init numa_setup_drmem_lmb(struct drmem_lmb *lmb, in numa_setup_drmem_lmb() 960 struct drmem_lmb *lmb; in hot_add_drconf_scn_to_nid()
|
/Linux-v5.4/arch/powerpc/platforms/pseries/ |
D | hotplug-memory.c | 156 static int update_lmb_associativity_index(struct drmem_lmb *lmb) in update_lmb_associativity_index() 208 static struct memory_block *lmb_to_memblock(struct drmem_lmb *lmb) in lmb_to_memblock() 222 struct drmem_lmb **start_lmb, in get_lmb_range() 223 struct drmem_lmb **end_lmb) in get_lmb_range() 225 struct drmem_lmb *lmb, *start, *end; in get_lmb_range() 226 struct drmem_lmb *last_lmb; in get_lmb_range() 250 static int dlpar_change_lmb_state(struct drmem_lmb *lmb, bool online) in dlpar_change_lmb_state() 271 static int dlpar_online_lmb(struct drmem_lmb *lmb) in dlpar_online_lmb() 277 static int dlpar_offline_lmb(struct drmem_lmb *lmb) in dlpar_offline_lmb() 338 static bool lmb_is_removable(struct drmem_lmb *lmb) in lmb_is_removable() [all …]
|
/Linux-v5.4/arch/powerpc/kernel/ |
D | prom.c | 471 static void __init early_init_drmem_lmb(struct drmem_lmb *lmb, in early_init_drmem_lmb()
|