Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/kvm/include/
H A 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/mm/
H A Dmempolicy.c1415 unsigned long maxnode) in get_bitmap() argument
1417 unsigned long nlongs = BITS_TO_LONGS(maxnode); in get_bitmap()
1423 maxnode); in get_bitmap()
1431 if (maxnode % BITS_PER_LONG) in get_bitmap()
1432 mask[nlongs - 1] &= (1UL << (maxnode % BITS_PER_LONG)) - 1; in get_bitmap()
1439 unsigned long maxnode) in get_nodes() argument
1441 --maxnode; in get_nodes()
1443 if (maxnode == 0 || !nmask) in get_nodes()
1445 if (maxnode > PAGE_SIZE*BITS_PER_BYTE) in get_nodes()
1453 while (maxnode > MAX_NUMNODES) { in get_nodes()
[all …]
/linux/Documentation/admin-guide/mm/
H A Dnuma_memory_policy.rst432 unsigned long maxnode);
437 'maxnode' ids. Optional mode flags may be passed by combining the
447 const unsigned long *nmask, unsigned long maxnode,
460 const unsigned long *nmask, unsigned long maxnode,
/linux/include/linux/
H A Dsyscalls.h841 unsigned long maxnode,
845 unsigned long maxnode,
848 unsigned long maxnode);
849 asmlinkage long sys_migrate_pages(pid_t pid, unsigned long maxnode,