| /linux/tools/testing/selftests/kvm/x86/ |
| H A D | xapic_ipi_test.c | 235 unsigned long nodemask = 0; in cancel_join_vcpu_thread() 236 unsigned long nodemasks[sizeof(nodemask) * 8]; in cancel_join_vcpu_thread() 251 kvm_get_mempolicy(NULL, &nodemask, sizeof(nodemask) * 8, in do_migrations() 256 sizeof(nodemask) * 8, nodemask); in do_migrations() 262 for (i = 0, bit = 1; i < sizeof(nodemask) * 8; i++, bit <<= 1) { in do_migrations() 263 if (nodemask & bit) { in do_migrations() 264 nodemasks[nodes] = nodemask & bit; in do_migrations() 254 unsigned long nodemask = 0; do_migrations() local
|
| /linux/tools/testing/selftests/kvm/ |
| H A D | guest_memfd_test.c | 82 unsigned long nodemask = 0; in test_mbind() local 83 unsigned long maxnode = BITS_PER_TYPE(nodemask); in test_mbind() 95 kvm_get_mempolicy(&policy, &nodemask, maxnode, mem, MPOL_F_ADDR); in test_mbind() 96 TEST_ASSERT(policy == MPOL_INTERLEAVE && nodemask == nodemask_0, in test_mbind() 97 "Wanted MPOL_INTERLEAVE (%u) and nodemask 0x%lx, got %u and 0x%lx", in test_mbind() 98 MPOL_INTERLEAVE, nodemask_0, policy, nodemask); in test_mbind() 102 kvm_get_mempolicy(&policy, &nodemask, maxnode, mem + page_size * 2, MPOL_F_ADDR); in test_mbind() 103 TEST_ASSERT(policy == MPOL_BIND && nodemask == nodemask_0, in test_mbind() 104 "Wanted MPOL_BIND (%u) and nodemask 0x%lx, got %u and 0x%lx", in test_mbind() 105 MPOL_BIND, nodemask_0, policy, nodemask); in test_mbind() [all...] |
| /linux/tools/testing/selftests/futex/functional/ |
| H A D | futex_numa_mpol.c | 190 unsigned long nodemask; in TEST() 193 nodemask = 1 << i; in TEST() 194 ret = mbind(futex_ptr, mem_size, MPOL_BIND, &nodemask, in TEST() 195 sizeof(nodemask) * 8, 0); in TEST() 183 unsigned long nodemask; TEST() local
|
| /linux/include/linux/ |
| H A D | nodemask.h | 157 #define node_isset(node, nodemask) test_bit((node), (nodemask).bits) argument 159 #define node_test_and_set(node, nodemask) \ argument 160 __node_test_and_set((node), &(nodemask)) 243 #define nodes_full(nodemask) __nodes_full(&(nodemask), MAX_NUMNODES) argument 249 #define nodes_weight(nodemask) __nodes_weight(&(nodemask), MAX_NUMNODES) argument
|
| H A D | mempolicy.h | 145 struct mempolicy **mpol, nodemask_t **nodemask); 261 struct mempolicy **mpol, nodemask_t **nodemask) in huge_node() argument 264 *nodemask = NULL; in huge_node()
|
| H A D | oom.h | 8 #include <linux/nodemask.h> 33 const nodemask_t *nodemask; member
|
| /linux/tools/testing/selftests/kvm/include/ |
| H A D | numaif.h | 30 const unsigned long *, nodemask, unsigned long, maxnode,
|
| /linux/Documentation/translations/zh_CN/core-api/ |
| H A D | printk-formats.rst | 532 位图及其衍生物,如cpumask和nodemask 540 对于打印位图(bitmap)及其派生的cpumask和nodemask,%*pb输出以字段宽度为位数的位图, 544 nodemask_pr_args()来方便打印cpumask和nodemask。
|
| /linux/mm/ |
| H A D | numa_memblks.c | 23 numa_nodemask_from_meminfo(nodemask_t * nodemask,const struct numa_meminfo * mi) numa_nodemask_from_meminfo() argument
|
| /linux/tools/workqueue/ |
| H A D | wq_dump.py | 58 from drgn.helpers.linux.nodemask import for_each_node
|
| /linux/kernel/irq/ |
| H A D | manage.c | 624 const struct cpumask *nodemask = cpumask_of_node(node); in irq_setup_affinity() local 627 if (cpumask_intersects(&mask, nodemask)) in irq_setup_affinity() 628 cpumask_and(&mask, &mask, nodemask); in irq_setup_affinity()
|
| /linux/drivers/tty/ |
| H A D | sysrq.c | 390 .nodemask = NULL, in moom_callback()
|
| /linux/kernel/sched/ |
| H A D | core.c | 3558 const struct cpumask *nodemask = NULL; in select_fallback_rq() local 3568 nodemask = cpumask_of_node(nid); in select_fallback_rq() 3571 for_each_cpu(dest_cpu, nodemask) { in select_fallback_rq()
|
| /linux/ |
| H A D | MAINTAINERS | 4649 F: include/linux/nodemask.h
|