| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | cpuset.h | 65 int cpuset_nodemask_valid_mems_allowed(nodemask_t *nodemask); 152 static inline void set_mems_allowed(nodemask_t nodemask) in set_mems_allowed() argument 159 current->mems_allowed = nodemask; in set_mems_allowed() 203 static inline int cpuset_nodemask_valid_mems_allowed(nodemask_t *nodemask) in cpuset_nodemask_valid_mems_allowed() argument 270 static inline void set_mems_allowed(nodemask_t nodemask) in set_mems_allowed() argument
|
| H A D | nodemask.h | 152 #define node_isset(node, nodemask) test_bit((node), (nodemask).bits) argument 154 #define node_test_and_set(node, nodemask) \ argument 155 __node_test_and_set((node), &(nodemask)) 231 #define nodes_full(nodemask) __nodes_full(&(nodemask), MAX_NUMNODES) argument 237 #define nodes_weight(nodemask) __nodes_weight(&(nodemask), MAX_NUMNODES) argument
|
| H A D | mempolicy.h | 151 struct mempolicy **mpol, nodemask_t **nodemask); 255 struct mempolicy **mpol, nodemask_t **nodemask) in huge_node() argument 258 *nodemask = NULL; in huge_node()
|
| H A D | mmzone.h | 1133 #define for_each_zone_zonelist_nodemask(zone, z, zlist, highidx, nodemask) \ argument 1134 for (z = first_zones_zonelist(zlist, highidx, nodemask), zone = zonelist_zone(z); \ 1136 z = next_zones_zonelist(++z, highidx, nodemask), \ 1139 #define for_next_zone_zonelist_nodemask(zone, z, highidx, nodemask) \ argument 1142 z = next_zones_zonelist(++z, highidx, nodemask), \
|
| H A D | oom.h | 34 nodemask_t *nodemask; member
|
| H A D | gfp.h | 524 nodemask_t *nodemask); 664 int nid, nodemask_t *nodemask);
|
| H A D | mm.h | 1704 extern void show_free_areas(unsigned int flags, nodemask_t *nodemask); 2612 extern void show_mem(unsigned int flags, nodemask_t *nodemask); 2621 void warn_alloc(gfp_t gfp_mask, nodemask_t *nodemask, const char *fmt, ...);
|
| /OK3568_Linux_fs/kernel/lib/ |
| H A D | show_mem.c | 11 void show_mem(unsigned int filter, nodemask_t *nodemask) in show_mem() argument 17 show_free_areas(filter, nodemask); in show_mem() 44 trace_android_vh_show_mem(filter, nodemask); in show_mem()
|
| H A D | Makefile | 39 nmi_backtrace.o nodemask.o win_minmax.o memcat_p.o
|
| /OK3568_Linux_fs/kernel/Documentation/core-api/ |
| H A D | memory-hotplug.rst | 66 - status_change_nid_normal is set node id when N_NORMAL_MEMORY of nodemask 67 is (will be) set/clear, if this is -1, then nodemask status is not changed. 68 - status_change_nid_high is set node id when N_HIGH_MEMORY of nodemask 69 is (will be) set/clear, if this is -1, then nodemask status is not changed. 70 - status_change_nid is set node id when N_MEMORY of nodemask is (will be) 72 node loses all memory. If this is -1, then nodemask status is not changed.
|
| H A D | printk-formats.rst | 522 bitmap and its derivatives such as cpumask and nodemask 530 For printing bitmap and its derivatives such as cpumask and nodemask,
|
| /OK3568_Linux_fs/kernel/Documentation/admin-guide/mm/ |
| H A D | numa_memory_policy.rst | 217 is always preferred by passing an empty nodemask with this 218 mode. If an empty nodemask is passed, the policy cannot use 251 This flag specifies that the nodemask passed by 257 nodemask (Bind, Interleave) is remapped to the new set of 270 3 is allowed from the user's nodemask, the "interleave" only 271 occurs over that node. If no nodes from the user's nodemask are 276 MPOL_PREFERRED policies that were created with an empty nodemask 280 This flag specifies that the nodemask passed 282 set of allowed nodes. The kernel stores the user-passed nodemask, 283 and if the allowed nodes changes, then that original nodemask will [all …]
|
| /OK3568_Linux_fs/kernel/mm/ |
| H A D | oom_kill.c | 97 const nodemask_t *mask = oc->nodemask; in oom_cpuset_eligible() 289 if (oc->nodemask && in constrained_alloc() 290 !nodes_subset(node_states[N_MEMORY], *oc->nodemask)) { in constrained_alloc() 292 for_each_node_mask(nid, *oc->nodemask) in constrained_alloc() 299 highest_zoneidx, oc->nodemask) in constrained_alloc() 486 nodemask_pr_args(oc->nodemask)); in dump_oom_summary() 505 show_mem(SHOW_MEM_FILTER_NODES, oc->nodemask); in dump_header() 1137 oc->nodemask = NULL; in out_of_memory()
|
| H A D | page_alloc.c | 2802 ac->nodemask) { in unreserve_highatomic_pageblock() 3979 ac->nodemask) { in get_page_from_freelist() 4112 static void warn_alloc_show_mem(gfp_t gfp_mask, nodemask_t *nodemask) in warn_alloc_show_mem() argument 4128 show_mem(filter, nodemask); in warn_alloc_show_mem() 4131 void warn_alloc(gfp_t gfp_mask, nodemask_t *nodemask, const char *fmt, ...) in warn_alloc() argument 4147 nodemask_pr_args(nodemask)); in warn_alloc() 4153 warn_alloc_show_mem(gfp_mask, nodemask); in warn_alloc() 4182 .nodemask = ac->nodemask, in __alloc_pages_may_oom() 4431 ac->highest_zoneidx, ac->nodemask) { in should_compact_retry() 4531 ac->nodemask); in __perform_reclaim() [all …]
|
| H A D | hugetlb.c | 1143 nodemask_t *nodemask; in dequeue_huge_page_vma() local 1160 nid = huge_node(vma, address, gfp_mask, &mpol, &nodemask); in dequeue_huge_page_vma() 1161 page = dequeue_huge_page_nodemask(h, gfp_mask, nid, nodemask); in dequeue_huge_page_vma() 1282 int nid, nodemask_t *nodemask) in alloc_gigantic_page() argument 1302 for_each_node_mask(node, *nodemask) { in alloc_gigantic_page() 1316 return alloc_contig_pages(nr_pages, gfp_mask, nid, nodemask); in alloc_gigantic_page() 1321 int nid, nodemask_t *nodemask) in alloc_gigantic_page() argument 1329 int nid, nodemask_t *nodemask) in alloc_gigantic_page() argument 1958 nodemask_t *nodemask; in alloc_buddy_huge_page_with_mpol() local 1960 nid = huge_node(vma, addr, gfp_mask, &mpol, &nodemask); in alloc_buddy_huge_page_with_mpol() [all …]
|
| H A D | vmscan.c | 80 nodemask_t *nodemask; member 3015 sc->reclaim_idx, sc->nodemask) { in shrink_zones() 3143 sc->nodemask) { in do_try_to_free_pages() 3246 nodemask_t *nodemask) in throttle_direct_reclaim() argument 3284 gfp_zone(gfp_mask), nodemask) { in throttle_direct_reclaim() 3330 gfp_t gfp_mask, nodemask_t *nodemask) in try_to_free_pages() argument 3338 .nodemask = nodemask, in try_to_free_pages() 3358 if (throttle_direct_reclaim(sc.gfp_mask, zonelist, nodemask)) in try_to_free_pages()
|
| H A D | internal.h | 158 nodemask_t *nodemask; member
|
| H A D | mempolicy.c | 2029 struct mempolicy **mpol, nodemask_t **nodemask) in huge_node() argument 2034 *nodemask = NULL; /* assume !MPOL_BIND */ in huge_node() 2042 *nodemask = &(*mpol)->v.nodes; in huge_node()
|
| H A D | compaction.c | 2211 ac->highest_zoneidx, ac->nodemask) { in compaction_zonelist_suitable() 2527 ac->highest_zoneidx, ac->nodemask) { in try_to_compact_pages()
|
| /OK3568_Linux_fs/kernel/kernel/ |
| H A D | smp.c | 587 const struct cpumask *nodemask; in smp_call_function_any() local 596 nodemask = cpumask_of_node(cpu_to_node(cpu)); in smp_call_function_any() 597 for (cpu = cpumask_first_and(nodemask, mask); cpu < nr_cpu_ids; in smp_call_function_any() 598 cpu = cpumask_next_and(cpu, nodemask, mask)) { in smp_call_function_any()
|
| /OK3568_Linux_fs/kernel/tools/perf/bench/ |
| H A D | numa.c | 347 unsigned long nodemask; in bind_to_memnode() local 353 BUG_ON(g->p.nr_nodes > (int)sizeof(nodemask)*8); in bind_to_memnode() 354 nodemask = 1L << node; in bind_to_memnode() 356 ret = set_mempolicy(MPOL_BIND, &nodemask, sizeof(nodemask)*8); in bind_to_memnode() 357 dprintf("binding to node %d, mask: %016lx => %d\n", node, nodemask, ret); in bind_to_memnode()
|
| /OK3568_Linux_fs/kernel/include/trace/hooks/ |
| H A D | mm.h | 99 TP_PROTO(unsigned int filter, nodemask_t *nodemask), 100 TP_ARGS(filter, nodemask));
|
| /OK3568_Linux_fs/kernel/arch/x86/mm/ |
| H A D | numa.c | 335 static void __init numa_nodemask_from_meminfo(nodemask_t *nodemask, in numa_nodemask_from_meminfo() argument 343 node_set(mi->blk[i].nid, *nodemask); in numa_nodemask_from_meminfo()
|
| /OK3568_Linux_fs/kernel/kernel/irq/ |
| H A D | manage.c | 528 const struct cpumask *nodemask = cpumask_of_node(node); in irq_setup_affinity() local 531 if (cpumask_intersects(&mask, nodemask)) in irq_setup_affinity() 532 cpumask_and(&mask, &mask, nodemask); in irq_setup_affinity()
|
| /OK3568_Linux_fs/kernel/drivers/tty/ |
| H A D | sysrq.c | 387 .nodemask = NULL, in moom_callback()
|