Home
last modified time | relevance | path

Searched refs:maxnode (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/tools/testing/selftests/kvm/include/
Dnumaif.h21 unsigned long maxnode, void *addr, int flags) in get_mempolicy() argument
24 maxnode, addr, flags); in get_mempolicy()
27 long migrate_pages(int pid, unsigned long maxnode, in migrate_pages() argument
31 return syscall(__NR_migrate_pages, pid, maxnode, frommask, tomask); in migrate_pages()
/Linux-v6.6/mm/
Dmempolicy.c1380 unsigned long maxnode) in get_bitmap() argument
1382 unsigned long nlongs = BITS_TO_LONGS(maxnode); in get_bitmap()
1388 maxnode); in get_bitmap()
1396 if (maxnode % BITS_PER_LONG) in get_bitmap()
1397 mask[nlongs - 1] &= (1UL << (maxnode % BITS_PER_LONG)) - 1; in get_bitmap()
1404 unsigned long maxnode) in get_nodes() argument
1406 --maxnode; in get_nodes()
1408 if (maxnode == 0 || !nmask) in get_nodes()
1410 if (maxnode > PAGE_SIZE*BITS_PER_BYTE) in get_nodes()
1418 while (maxnode > MAX_NUMNODES) { in get_nodes()
[all …]
/Linux-v6.6/include/linux/
Dsyscalls.h808 unsigned long maxnode,
812 unsigned long maxnode,
815 unsigned long maxnode);
816 asmlinkage long sys_migrate_pages(pid_t pid, unsigned long maxnode,
/Linux-v6.6/Documentation/admin-guide/mm/
Dnuma_memory_policy.rst423 unsigned long maxnode);
428 'maxnode' ids. Optional mode flags may be passed by combining the
438 const unsigned long *nmask, unsigned long maxnode,
451 const unsigned long *nmask, unsigned long maxnode,