Searched defs:mask (Results 1 - 7 of 7) sorted by relevance
/mm/ |
H A D | oom_kill.c | 92 * @mask: nodemask passed to page allocator for mempolicy ooms 99 const nodemask_t *mask) 104 if (mask) { 111 if (mempolicy_nodemask_intersects(tsk, mask)) 127 const nodemask_t *mask) 98 has_intersects_mems_allowed(struct task_struct *tsk, const nodemask_t *mask) argument 126 has_intersects_mems_allowed(struct task_struct *tsk, const nodemask_t *mask) argument
|
H A D | memory-failure.c | 749 unsigned long mask; member in struct:page_state 1150 if ((p->flags & ps->mask) == ps->res) {
|
H A D | mempolicy.c | 788 /* else return empty node mask for local allocation */ 1186 /* Copy a node mask from user space. */ 1232 /* Copy a kernel node mask to user space */ 1233 static int copy_nodes_to_user(unsigned long __user *mask, unsigned long maxnode, argument 1242 if (clear_user((char __user *)mask + nbytes, copy - nbytes)) 1246 return copy_to_user(mask, nodes_addr(*nodes), copy) ? -EFAULT : 0; 1546 * current node isn't part of the mask, we use the zonelist for 1547 * the first node in the mask instead. 1726 bool init_nodemask_of_mempolicy(nodemask_t *mask) argument 1731 if (!(mask 1770 mempolicy_nodemask_intersects(struct task_struct *tsk, const nodemask_t *mask) argument [all...] |
H A D | vmscan.c | 86 /* This context's GFP mask */ 3203 const struct cpumask *mask; local 3205 mask = cpumask_of_node(pgdat->node_id); 3207 if (cpumask_any_and(cpu_online_mask, mask) < nr_cpu_ids) 3208 /* One of our CPUs online: restore mask */ 3209 set_cpus_allowed_ptr(pgdat->kswapd, mask);
|
H A D | slab.c | 154 /* Legal flag mask for kmem_cache_create(). */ 1192 const struct cpumask *mask = cpumask_of_node(node); local 1214 if (!cpumask_empty(mask)) {
|
H A D | memcontrol.c | 1781 bool mem_cgroup_handle_oom(struct mem_cgroup *memcg, gfp_t mask) argument 1811 mem_cgroup_out_of_memory(memcg, mask); 2730 gfp_t mask, struct mem_cgroup **memcgp) 2754 ret = __mem_cgroup_try_charge(NULL, mask, 1, memcgp, true); 2762 ret = __mem_cgroup_try_charge(mm, mask, 1, memcgp, true); 2728 mem_cgroup_try_charge_swapin(struct mm_struct *mm, struct page *page, gfp_t mask, struct mem_cgroup **memcgp) argument
|
H A D | page_alloc.c | 1569 * returns a pointer to the allowed node mask (either the current 1609 * z_to_n[] mapping) is allowed in the passed in allowednodes mask. 4440 unsigned long start, end, mask; local 4452 * Start with a mask granular enough to pin-point to the 4456 mask = ~((1 << __ffs(start)) - 1); 4457 while (mask && last_end <= (start & (mask << 1))) 4458 mask <<= 1; 4461 accl_mask |= mask; 4464 /* convert mask t 5619 unsigned long mask; local [all...] |
Completed in 87 milliseconds