Lines Matching refs:pgdat
15 * pgdat resizing functions
18 void pgdat_resize_lock(struct pglist_data *pgdat, unsigned long *flags)
20 spin_lock_irqsave(&pgdat->node_size_lock, *flags);
23 void pgdat_resize_unlock(struct pglist_data *pgdat, unsigned long *flags)
25 spin_unlock_irqrestore(&pgdat->node_size_lock, *flags);
28 void pgdat_resize_init(struct pglist_data *pgdat)
30 spin_lock_init(&pgdat->node_size_lock);
78 * For supporting node-hotadd, we have to allocate a new pgdat.
88 extern void arch_free_nodedata(pg_data_t *pgdat);
89 extern void arch_refresh_nodedata(int nid, pg_data_t *pgdat);
94 #define arch_free_nodedata(pgdat) generic_free_nodedata(pgdat)
105 #define generic_free_nodedata(pgdat) kfree(pgdat)
108 static inline void arch_refresh_nodedata(int nid, pg_data_t *pgdat)
110 node_data[nid] = pgdat;
121 static inline void generic_free_nodedata(pg_data_t *pgdat)
124 static inline void arch_refresh_nodedata(int nid, pg_data_t *pgdat)
136 static inline void pgdat_resize_init(struct pglist_data *pgdat) {}