Home
last modified time | relevance | path

Searched refs:drmem_lmb (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Ddrmem.h13 struct drmem_lmb { struct
21 struct drmem_lmb *lmbs;
28 static inline struct drmem_lmb *drmem_lmb_next(struct drmem_lmb *lmb, in drmem_lmb_next()
29 const struct drmem_lmb *start) in drmem_lmb_next()
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()
107 int (*func)(struct drmem_lmb *, const __be32 **, void *));
113 int (*func)(struct drmem_lmb *, cons
[all...]
H A Dtopology.h9 struct drmem_lmb;
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()
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
H A Ddrmem.h13 struct drmem_lmb { struct
21 struct drmem_lmb *lmbs;
31 static inline struct drmem_lmb *drmem_lmb_next(struct drmem_lmb *lmb, in drmem_lmb_next()
32 const struct drmem_lmb *start) in drmem_lmb_next()
93 static inline void drmem_mark_lmb_reserved(struct drmem_lmb *lmb) in drmem_mark_lmb_reserved()
98 static inline void drmem_remove_lmb_reservation(struct drmem_lmb *lmb) in drmem_remove_lmb_reservation()
103 static inline bool drmem_lmb_reserved(struct drmem_lmb *lmb) in drmem_lmb_reserved()
110 int (*func)(struct drmem_lmb *, const __be32 **, void *));
116 int (*func)(struct drmem_lmb *, cons
[all...]
H A Dtopology.h9 struct drmem_lmb;
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()
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
H A 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()
227 struct drmem_lmb **start_lmb, in get_lmb_range()
228 struct drmem_lmb **end_lmb) in get_lmb_range()
230 struct drmem_lmb *lmb, *start, *end; in get_lmb_range()
231 struct drmem_lmb *limit; in get_lmb_range()
255 static int dlpar_change_lmb_state(struct drmem_lmb *lmb, bool online) in dlpar_change_lmb_state()
276 static int dlpar_online_lmb(struct drmem_lmb *lmb) in dlpar_online_lmb()
282 static int dlpar_offline_lmb(struct drmem_lmb *lmb) in dlpar_offline_lmb()
351 static bool lmb_is_removable(struct drmem_lmb *lm
[all...]
/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/
H A Dhotplug-memory.c110 static int update_lmb_associativity_index(struct drmem_lmb *lmb) in update_lmb_associativity_index()
164 static struct memory_block *lmb_to_memblock(struct drmem_lmb *lmb) in lmb_to_memblock()
176 struct drmem_lmb **start_lmb, in get_lmb_range()
177 struct drmem_lmb **end_lmb) in get_lmb_range()
179 struct drmem_lmb *lmb, *start, *end; in get_lmb_range()
180 struct drmem_lmb *limit; in get_lmb_range()
204 static int dlpar_change_lmb_state(struct drmem_lmb *lmb, bool online) in dlpar_change_lmb_state()
225 static int dlpar_online_lmb(struct drmem_lmb *lmb) in dlpar_online_lmb()
231 static int dlpar_offline_lmb(struct drmem_lmb *lmb) in dlpar_offline_lmb()
285 static bool lmb_is_removable(struct drmem_lmb *lm
[all...]
/kernel/linux/linux-6.6/arch/powerpc/mm/
H A Ddrmem.c25 struct drmem_lmb *last_lmb; in drmem_lmb_memory_max()
31 static u32 drmem_lmb_flags(struct drmem_lmb *lmb) in drmem_lmb_flags()
69 struct drmem_lmb *lmb; in drmem_update_dt_v1()
95 struct drmem_lmb *lmb) in init_drconf_v2_cell()
108 struct drmem_lmb *lmb, *prev_lmb; in drmem_update_dt_v2()
201 static void read_drconf_v1_cell(struct drmem_lmb *lmb, in read_drconf_v1_cell()
220 int (*func)(struct drmem_lmb *, const __be32 **, void *)) in __walk_drmem_v1_lmbs()
222 struct drmem_lmb lmb; in __walk_drmem_v1_lmbs()
254 int (*func)(struct drmem_lmb *, const __be32 **, void *)) in __walk_drmem_v2_lmbs()
257 struct drmem_lmb lm in __walk_drmem_v2_lmbs()
[all...]
H A Dnuma.c586 static int __init get_nid_and_numa_distance(struct drmem_lmb *lmb) in get_nid_and_numa_distance()
622 int of_drconf_to_nid_single(struct drmem_lmb *lmb) in of_drconf_to_nid_single()
850 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()
/kernel/linux/linux-5.10/arch/powerpc/mm/
H A Ddrmem.c24 struct drmem_lmb *last_lmb; in drmem_lmb_memory_max()
30 static u32 drmem_lmb_flags(struct drmem_lmb *lmb) in drmem_lmb_flags()
68 struct drmem_lmb *lmb; in drmem_update_dt_v1()
94 struct drmem_lmb *lmb) in init_drconf_v2_cell()
107 struct drmem_lmb *lmb, *prev_lmb; in drmem_update_dt_v2()
194 static void read_drconf_v1_cell(struct drmem_lmb *lmb, in read_drconf_v1_cell()
213 int (*func)(struct drmem_lmb *, const __be32 **, void *)) in __walk_drmem_v1_lmbs()
215 struct drmem_lmb lmb; in __walk_drmem_v1_lmbs()
247 int (*func)(struct drmem_lmb *, const __be32 **, void *)) in __walk_drmem_v2_lmbs()
250 struct drmem_lmb lm in __walk_drmem_v2_lmbs()
[all...]
H A Dnuma.c595 static int get_nid_and_numa_distance(struct drmem_lmb *lmb) in get_nid_and_numa_distance()
631 int of_drconf_to_nid_single(struct drmem_lmb *lmb) in of_drconf_to_nid_single()
859 static int __init numa_setup_drmem_lmb(struct drmem_lmb *lmb, in numa_setup_drmem_lmb()
1273 struct drmem_lmb *lmb; in hot_add_drconf_scn_to_nid()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Dprom.c473 static int __init early_init_drmem_lmb(struct drmem_lmb *lmb, in early_init_drmem_lmb()
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Dprom.c511 static int __init early_init_drmem_lmb(struct drmem_lmb *lmb, in early_init_drmem_lmb()
/kernel/linux/linux-5.10/arch/powerpc/kexec/
H A Dfile_load_64.c512 static int kdump_setup_usable_lmb(struct drmem_lmb *lmb, const __be32 **usm, in kdump_setup_usable_lmb()
/kernel/linux/linux-6.6/arch/powerpc/kexec/
H A Dfile_load_64.c517 static int kdump_setup_usable_lmb(struct drmem_lmb *lmb, const __be32 **usm, in kdump_setup_usable_lmb()

Completed in 14 milliseconds