Home
last modified time | relevance | path

Searched refs:maxnode (Results 1 – 3 of 3) 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.c1560 unsigned long maxnode) in get_bitmap() argument
1562 unsigned long nlongs = BITS_TO_LONGS(maxnode); in get_bitmap()
1568 maxnode); in get_bitmap()
1576 if (maxnode % BITS_PER_LONG) in get_bitmap()
1577 mask[nlongs - 1] &= (1UL << (maxnode % BITS_PER_LONG)) - 1; in get_bitmap()
1584 unsigned long maxnode) in get_nodes() argument
1586 --maxnode; in get_nodes()
1588 if (maxnode == 0 || !nmask) in get_nodes()
1590 if (maxnode > PAGE_SIZE*BITS_PER_BYTE) in get_nodes()
1598 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,