Home
last modified time | relevance | path

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

/Linux-v5.15/arch/powerpc/platforms/pseries/
Dhotplug-memory.c159 static int update_lmb_associativity_index(struct drmem_lmb *lmb) in update_lmb_associativity_index()
213 static struct memory_block *lmb_to_memblock(struct drmem_lmb *lmb) in lmb_to_memblock()
228 struct drmem_lmb *lmb, *start, *end; in get_lmb_range() local
253 static int dlpar_change_lmb_state(struct drmem_lmb *lmb, bool online) in dlpar_change_lmb_state()
274 static int dlpar_online_lmb(struct drmem_lmb *lmb) in dlpar_online_lmb()
280 static int dlpar_offline_lmb(struct drmem_lmb *lmb) in dlpar_offline_lmb()
348 static bool lmb_is_removable(struct drmem_lmb *lmb) in lmb_is_removable()
368 static int dlpar_remove_lmb(struct drmem_lmb *lmb) in dlpar_remove_lmb()
403 struct drmem_lmb *lmb; in dlpar_memory_remove_by_count() local
486 struct drmem_lmb *lmb; in dlpar_memory_remove_by_index() local
[all …]
/Linux-v5.15/arch/powerpc/include/asm/
Ddrmem.h28 static inline struct drmem_lmb *drmem_lmb_next(struct drmem_lmb *lmb, in drmem_lmb_next()
42 #define for_each_drmem_lmb_in_range(lmb, start, end) \ argument
45 #define for_each_drmem_lmb(lmb) \ argument
90 static inline void drmem_mark_lmb_reserved(struct drmem_lmb *lmb) in drmem_mark_lmb_reserved()
95 static inline void drmem_remove_lmb_reservation(struct drmem_lmb *lmb) in drmem_remove_lmb_reservation()
100 static inline bool drmem_lmb_reserved(struct drmem_lmb *lmb) in drmem_lmb_reserved()
117 static inline void invalidate_lmb_associativity_index(struct drmem_lmb *lmb) in invalidate_lmb_associativity_index()
Dtopology.h97 static inline int of_drconf_to_nid_single(struct drmem_lmb *lmb) in of_drconf_to_nid_single()
/Linux-v5.15/arch/powerpc/mm/
Ddrmem.c31 static u32 drmem_lmb_flags(struct drmem_lmb *lmb) in drmem_lmb_flags()
69 struct drmem_lmb *lmb; in drmem_update_dt_v1() local
95 struct drmem_lmb *lmb) in init_drconf_v2_cell()
108 struct drmem_lmb *lmb, *prev_lmb; in drmem_update_dt_v2() local
201 static void read_drconf_v1_cell(struct drmem_lmb *lmb, in read_drconf_v1_cell()
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
444 struct drmem_lmb *lmb; in init_drmem_v2_lmbs() local
Dnuma.c588 static int get_nid_and_numa_distance(struct drmem_lmb *lmb) in get_nid_and_numa_distance()
624 int of_drconf_to_nid_single(struct drmem_lmb *lmb) in of_drconf_to_nid_single()
852 static int __init numa_setup_drmem_lmb(struct drmem_lmb *lmb, in numa_setup_drmem_lmb()
1259 struct drmem_lmb *lmb; in hot_add_drconf_scn_to_nid() local
/Linux-v5.15/arch/powerpc/kernel/
Dprom.c473 static int __init early_init_drmem_lmb(struct drmem_lmb *lmb, in early_init_drmem_lmb()
/Linux-v5.15/arch/powerpc/kexec/
Dfile_load_64.c512 static int kdump_setup_usable_lmb(struct drmem_lmb *lmb, const __be32 **usm, in kdump_setup_usable_lmb()