nodemask_t
extern nodemask_t numa_nodes_parsed __initdata;
static nodemask_t ktext_repmask;
extern nodemask_t numa_nodes_parsed __initdata;
extern nodemask_t numa_phys_nodes_parsed __initdata;
static nodemask_t sgx_numa_mask;
nodemask_t numa_phys_nodes_parsed __initdata;
static nodemask_t nodes_found_map = NODE_MASK_NONE;
nodemask_t nodes_to_enable;
static nodemask_t nodemask_region_seen = NODE_MASK_NONE;
static void eiointc_set_irq_route(int pos, unsigned int cpu, unsigned int mnode, nodemask_t *node_map)
nodemask_t node_map;
nodemask_t numa_node_mask; /* for multi-chip support */
nodemask_t numa_node_mask;
nodemask_t numa_node_mask;
nodemask_t numa_nodes;
extern nodemask_t numa_nodes_parsed __initdata;
static inline void set_mems_allowed(nodemask_t nodemask)
extern void cpuset_nodes_allowed(struct cgroup *cgroup, nodemask_t *mask);
static inline nodemask_t cpuset_mems_allowed(struct task_struct *p)
static inline int cpuset_nodemask_valid_mems_allowed(nodemask_t *nodemask)
static inline void set_mems_allowed(nodemask_t nodemask)
static inline void cpuset_nodes_allowed(struct cgroup *cgroup, nodemask_t *mask)
extern nodemask_t cpuset_mems_allowed(struct task_struct *p);
int cpuset_nodemask_valid_mems_allowed(nodemask_t *nodemask);
nodemask_t *nodemask);
nodemask_t *nodemask);
nodemask_t *nodemask, int nr_pages,
gfp_t gfp_mask, int nid, nodemask_t *nodemask);
int nid, nodemask_t *nodemask);
nodemask_t *nmask, gfp_t gfp_mask)
nodemask_t *nmask, gfp_t gfp_mask,
extern nodemask_t hugetlb_bootmem_nodes;
nodemask_t *nmask, gfp_t gfp_mask,
nodemask_t *nmask, gfp_t gfp_mask);
void mem_cgroup_node_filter_allowed(struct mem_cgroup *memcg, nodemask_t *mask);
nodemask_t *mask)
static inline int next_demotion_node(int node, const nodemask_t *allowed_mask)
static inline void node_get_allowed_targets(pg_data_t *pgdat, nodemask_t *targets)
nodemask_t nodes;
extern nodemask_t default_dram_nodes;
int next_demotion_node(int node, const nodemask_t *allowed_mask);
void node_get_allowed_targets(pg_data_t *pgdat, nodemask_t *targets);
static inline int next_demotion_node(int node, const nodemask_t *allowed_mask)
static inline void node_get_allowed_targets(pg_data_t *pgdat, nodemask_t *targets)
extern void mpol_rebind_task(struct task_struct *tsk, const nodemask_t *new);
extern void mpol_rebind_mm(struct mm_struct *mm, nodemask_t *new);
struct mempolicy **mpol, nodemask_t **nodemask);
extern bool init_nodemask_of_mempolicy(nodemask_t *mask);
const nodemask_t *mask);
int do_migrate_pages(struct mm_struct *mm, const nodemask_t *from,
const nodemask_t *to, int flags);
const nodemask_t *new)
static inline void mpol_rebind_mm(struct mm_struct *mm, nodemask_t *new)
struct mempolicy **mpol, nodemask_t **nodemask)
static inline bool init_nodemask_of_mempolicy(nodemask_t *m)
static inline int do_migrate_pages(struct mm_struct *mm, const nodemask_t *from,
const nodemask_t *to, int flags)
nodemask_t nodes; /* interleave/bind/preferred/etc */
nodemask_t cpuset_mems_allowed; /* relative to these nodes */
nodemask_t user_nodemask; /* nodemask passed by user */
extern void __show_mem(unsigned int flags, nodemask_t *nodemask, int max_zone_idx);
void warn_alloc(gfp_t gfp_mask, nodemask_t *nodemask, const char *fmt, ...);
nodemask_t *nodes);
nodemask_t *nodes)
nodemask_t *nodes)
static inline bool movable_only_nodes(nodemask_t *nodes)
static __always_inline unsigned int __nodemask_pr_numnodes(const nodemask_t *m)
static __always_inline const unsigned long *__nodemask_pr_bits(const nodemask_t *m)
static __always_inline void __node_set(int node, volatile nodemask_t *dstp)
static __always_inline void __node_clear(int node, volatile nodemask_t *dstp)
static __always_inline void __nodes_setall(nodemask_t *dstp, unsigned int nbits)
static __always_inline void __nodes_clear(nodemask_t *dstp, unsigned int nbits)
static __always_inline bool __node_test_and_set(int node, nodemask_t *addr)
static __always_inline bool __nodes_and(nodemask_t *dstp, const nodemask_t *src1p,
const nodemask_t *src2p, unsigned int nbits)
static __always_inline void __nodes_or(nodemask_t *dstp, const nodemask_t *src1p,
const nodemask_t *src2p, unsigned int nbits)
static __always_inline void __nodes_xor(nodemask_t *dstp, const nodemask_t *src1p,
const nodemask_t *src2p, unsigned int nbits)
static __always_inline bool __nodes_andnot(nodemask_t *dstp, const nodemask_t *src1p,
const nodemask_t *src2p, unsigned int nbits)
static __always_inline void __nodes_copy(nodemask_t *dstp,
const nodemask_t *srcp, unsigned int nbits)
static __always_inline void __nodes_complement(nodemask_t *dstp,
const nodemask_t *srcp, unsigned int nbits)
static __always_inline bool __nodes_equal(const nodemask_t *src1p,
const nodemask_t *src2p, unsigned int nbits)
static __always_inline bool __nodes_intersects(const nodemask_t *src1p,
const nodemask_t *src2p, unsigned int nbits)
static __always_inline bool __nodes_subset(const nodemask_t *src1p,
const nodemask_t *src2p, unsigned int nbits)
static __always_inline bool __nodes_empty(const nodemask_t *srcp, unsigned int nbits)
static __always_inline bool __nodes_full(const nodemask_t *srcp, unsigned int nbits)
static __always_inline int __nodes_weight(const nodemask_t *srcp, unsigned int nbits)
static __always_inline unsigned int __first_node(const nodemask_t *srcp)
static __always_inline unsigned int __next_node(int n, const nodemask_t *srcp)
static __always_inline unsigned int __next_node_in(int node, const nodemask_t *srcp)
static __always_inline void init_nodemask_of_node(nodemask_t *mask, int node)
static __always_inline unsigned int __first_unset_node(const nodemask_t *maskp)
((nodemask_t) { { \
((nodemask_t) { { \
((nodemask_t) { { \
nodemask_t *dstp, int nbits)
static __always_inline int __nodelist_parse(const char *buf, nodemask_t *dstp, int nbits)
const nodemask_t *oldp, const nodemask_t *newp, int nbits)
static __always_inline void __nodes_remap(nodemask_t *dstp, const nodemask_t *srcp,
const nodemask_t *oldp, const nodemask_t *newp, int nbits)
static __always_inline void __nodes_onto(nodemask_t *dstp, const nodemask_t *origp,
const nodemask_t *relmapp, int nbits)
static __always_inline void __nodes_fold(nodemask_t *dstp, const nodemask_t *origp,
extern nodemask_t node_states[NR_NODE_STATES];
static __always_inline int node_random(const nodemask_t *maskp)
nodemask_t mask1;
nodemask_t mask2;
extern nodemask_t _unused_nodemask_arg_;
int nearest_node_nodemask(int node, nodemask_t *mask);
static inline int nearest_node_nodemask(int node, nodemask_t *mask)
nodemask_t *nodemask;
nodemask_t mems_allowed;
gfp_t gfp_mask, nodemask_t *mask);
TP_PROTO(struct task_struct *tsk, nodemask_t *mem_allowed_ptr),
BUILD_BUG_ON(sizeof(nodemask_t) != \
nodemask_t mems_allowed;
nodemask_t effective_mems;
nodemask_t old_mems_allowed;
struct cpumask *new_cpus, nodemask_t *new_mems,
struct cpumask *new_cpus, nodemask_t *new_mems,
struct cpumask *new_cpus, nodemask_t *new_mems,
nodemask_t from;
nodemask_t to;
static void cpuset_migrate_mm(struct mm_struct *mm, const nodemask_t *from,
const nodemask_t *to)
nodemask_t *newmems)
static nodemask_t newmems; /* protected by cpuset_mutex */
static void update_nodemasks_hier(struct cpuset *cs, nodemask_t *new_mems)
static nodemask_t cpuset_attach_nodemask_to;
static inline void check_insane_mems_config(nodemask_t *nodes)
struct cpumask *new_cpus, nodemask_t *new_mems,
static nodemask_t new_mems;
static nodemask_t new_mems;
nodemask_t cpuset_mems_allowed(struct task_struct *tsk)
nodemask_t mask;
int cpuset_nodemask_valid_mems_allowed(nodemask_t *nodemask)
void cpuset_nodes_allowed(struct cgroup *cgroup, nodemask_t *mask)
static void guarantee_online_mems(struct cpuset *cs, nodemask_t *pmask)
static DEFINE_PER_CPU(nodemask_t, per_cpu_unvisited);
nodemask_t *unvisited;
nodemask_t nodes;
nodemask_t max_group = NODE_MASK_NONE;
nodemask_t this_group;
VMCOREINFO_SIZE(nodemask_t);
const nodemask_t nodemsk,
nodemask_t nodemsk = NODE_MASK_NONE;
const struct cpumask *mask, nodemask_t *nodemsk)
int nid, nodemask_t *nmask)
nodemask_t *nodemask;
int nid, nodemask_t *nodemask)
nodemask_t *nodemask)
int nid, nodemask_t *nmask, nodemask_t *node_alloc_noretry)
gfp_t gfp_mask, int nid, nodemask_t *nmask,
nodemask_t *node_alloc_noretry)
gfp_t gfp_mask, int nid, nodemask_t *nmask)
nodemask_t *nodes_allowed,
nodemask_t *node_alloc_noretry,
nodemask_t *nodes_allowed, bool acct_surplus)
gfp_t gfp_mask, int nid, nodemask_t *nmask)
int nid, nodemask_t *nmask)
nodemask_t *nodemask;
nodemask_t *nmask, gfp_t gfp_mask)
nodemask_t *nmask, gfp_t gfp_mask, bool allow_alloc_fallback)
static nodemask_t *policy_mbind_nodemask(gfp_t gfp)
nodemask_t *mbind_nodemask, alloc_nodemask;
nodemask_t node_alloc_noretry;
nodemask_t *nodes_allowed)
nodemask_t *nodes_allowed)
static int adjust_pool_surplus(struct hstate *h, nodemask_t *nodes_allowed,
nodemask_t *nodes_allowed)
NODEMASK_ALLOC(nodemask_t, node_alloc_noretry, GFP_KERNEL);
long demote_pool_huge_page(struct hstate *src, nodemask_t *nodes_allowed,
nodemask_t nodes_allowed, *n_mask;
nodemask_t *mbind_nodemask;
__initdata nodemask_t hugetlb_bootmem_nodes;
nodemask_t *nodemask;
int nid, nodemask_t *nodemask)
gfp_t gfp_mask, int nid, nodemask_t *nodemask)
int nid, nodemask_t *nodemask);
nodemask_t *nodes_allowed,
static inline int next_node_allowed(int nid, nodemask_t *nodes_allowed)
static inline int get_valid_node_allowed(int nid, nodemask_t *nodes_allowed)
nodemask_t *nodes_allowed)
static inline int hstate_next_node_to_free(struct hstate *h, nodemask_t *nodes_allowed)
nodemask_t nodes_allowed, *n_mask;
extern int find_next_best_node(int node, nodemask_t *used_node_mask);
static inline int find_next_best_node(int node, nodemask_t *used_node_mask)
nodemask_t *nmask;
nodemask_t *nodemask;
nodemask_t *);
nodemask_t alloc_nmask;
void mem_cgroup_node_filter_allowed(struct mem_cgroup *memcg, nodemask_t *mask)
nodemask_t allowed;
static __always_inline nodemask_t get_memtier_nodemask(struct memory_tier *memtier)
nodemask_t nodes = NODE_MASK_NONE;
nodemask_t nmask;
nodemask_t lower_tier_mask;
nodemask_t preferred;
void node_get_allowed_targets(pg_data_t *pgdat, nodemask_t *targets)
int next_demotion_node(int node, const nodemask_t *allowed_mask)
nodemask_t mask;
nodemask_t preferred = node_demotion[node].preferred;
nodemask_t tier_nodes, lower_tier;
nodemask_t default_dram_nodes __initdata = NODE_MASK_NONE;
nodemask_t nmask = node_states[N_MEMORY];
nodemask_t *nodes)
static void get_policy_nodemask(struct mempolicy *pol, nodemask_t *nodes)
static long do_get_mempolicy(int *policy, nodemask_t *nmask,
nodemask_t nmask;
int do_migrate_pages(struct mm_struct *mm, const nodemask_t *from,
const nodemask_t *to, int flags)
nodemask_t tmp;
nodemask_t *nodemask;
int do_migrate_pages(struct mm_struct *mm, const nodemask_t *from,
const nodemask_t *to, int flags)
nodemask_t *nmask, unsigned long flags)
static int get_nodes(nodemask_t *nodes, const unsigned long __user *nmask,
nodemask_t *nodes)
nodemask_t nodes;
nodemask_t nodes;
nodemask_t task_nodes;
nodemask_t *old;
nodemask_t *new;
nodemask_t nodes;
nodemask_t *mask)
memcpy(mask, &pol->nodes, sizeof(nodemask_t));
nodemask_t nodemask;
nodemask_t nodemask;
static nodemask_t *policy_nodemask(gfp_t gfp, struct mempolicy *pol,
nodemask_t *nodemask = NULL;
struct mempolicy **mpol, nodemask_t **nodemask)
bool init_nodemask_of_mempolicy(nodemask_t *mask)
const nodemask_t *mask)
int nid, nodemask_t *nodemask)
nodemask_t *nodemask;
nodemask_t nodes;
nodemask_t *nodemask;
nodemask_t mems = cpuset_mems_allowed(current);
int nearest_node_nodemask(int node, nodemask_t *mask)
nodemask_t interleave_nodes;
nodemask_t nodes;
nodemask_t nodes = NODE_MASK_NONE;
int (*create)(struct mempolicy *pol, const nodemask_t *nodes);
void (*rebind)(struct mempolicy *pol, const nodemask_t *nodes);
static void mpol_relative_nodemask(nodemask_t *ret, const nodemask_t *orig,
const nodemask_t *rel)
nodemask_t tmp;
static int mpol_new_nodemask(struct mempolicy *pol, const nodemask_t *nodes)
static int mpol_new_preferred(struct mempolicy *pol, const nodemask_t *nodes)
const nodemask_t *nodes, struct nodemask_scratch *nsc)
nodemask_t *nodes)
static void mpol_rebind_default(struct mempolicy *pol, const nodemask_t *nodes)
static void mpol_rebind_nodemask(struct mempolicy *pol, const nodemask_t *nodes)
nodemask_t tmp;
const nodemask_t *nodes)
static void mpol_rebind_policy(struct mempolicy *pol, const nodemask_t *newmask)
void mpol_rebind_task(struct task_struct *tsk, const nodemask_t *new)
void mpol_rebind_mm(struct mm_struct *mm, nodemask_t *new)
static nodemask_t *policy_nodemask(gfp_t gfp, struct mempolicy *pol,
nodemask_t *nmask;
nodemask_t *nodes, unsigned long flags,
static int do_pages_move(struct mm_struct *mm, nodemask_t task_nodes,
static struct mm_struct *find_mm_struct(pid_t pid, nodemask_t *mem_nodes)
nodemask_t task_nodes;
nodemask_t saved_node_state = node_states[N_MEMORY];
static inline int zref_in_nodemask(struct zoneref *zref, nodemask_t *nodes)
nodemask_t *nodes)
nodemask_t physnode_mask = numa_nodes_parsed;
nodemask_t physnode_mask = numa_nodes_parsed;
nodemask_t physnode_mask = numa_nodes_parsed;
nodemask_t numa_nodes_parsed __initdata;
static void __init numa_nodemask_from_meminfo(nodemask_t *nodemask,
nodemask_t reserved_nodemask = NODE_MASK_NONE;
nodemask_t nodes_parsed;
const nodemask_t *mask = oc->nodemask;
nodemask_t node_states[NR_NODE_STATES] __read_mostly = {
static void warn_alloc_show_mem(gfp_t gfp_mask, nodemask_t *nodemask)
void warn_alloc(gfp_t gfp_mask, nodemask_t *nodemask, const char *fmt, ...)
int preferred_nid, nodemask_t *nodemask,
nodemask_t *nodemask, int nr_pages,
int preferred_nid, nodemask_t *nodemask)
int preferred_nid, nodemask_t *nodemask)
nodemask_t *nodemask)
int find_next_best_node(int node, nodemask_t *used_node_mask)
nodemask_t used_mask = NODE_MASK_NONE;
gfp_t gfp_mask, int nid, nodemask_t *nodemask)
int nid, nodemask_t *nodemask)
static bool show_mem_node_skip(unsigned int flags, int nid, nodemask_t *nodemask)
static void show_free_areas(unsigned int filter, nodemask_t *nodemask, int max_zone_idx)
void __show_mem(unsigned int filter, nodemask_t *nodemask, int max_zone_idx)
static nodemask_t slab_nodes;
nodemask_t nodes;
nodemask_t allowed_mask;
nodemask_t allowed_mask;
nodemask_t *nodemask)
gfp_t gfp_mask, nodemask_t *nodemask)
nodemask_t *nodemask;
nodemask_t *allowed_mask;