Home
last modified time | relevance | path

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

/Linux-v5.4/mm/
Dmempolicy.c1328 unsigned long maxnode) in get_nodes() argument
1335 --maxnode; in get_nodes()
1337 if (maxnode == 0 || !nmask) in get_nodes()
1339 if (maxnode > PAGE_SIZE*BITS_PER_BYTE) in get_nodes()
1342 nlongs = BITS_TO_LONGS(maxnode); in get_nodes()
1343 if ((maxnode % BITS_PER_LONG) == 0) in get_nodes()
1346 endmask = (1UL << (maxnode % BITS_PER_LONG)) - 1; in get_nodes()
1371 if (maxnode > MAX_NUMNODES && MAX_NUMNODES % BITS_PER_LONG != 0) { in get_nodes()
1388 static int copy_nodes_to_user(unsigned long __user *mask, unsigned long maxnode, in copy_nodes_to_user() argument
1391 unsigned long copy = ALIGN(maxnode-1, 64) / 8; in copy_nodes_to_user()
[all …]
/Linux-v5.4/include/linux/
Dcompat.h795 compat_ulong_t maxnode, compat_ulong_t flags);
798 compat_ulong_t maxnode,
802 compat_ulong_t maxnode);
804 compat_ulong_t maxnode, const compat_ulong_t __user *old_nodes,
Dsyscalls.h883 unsigned long maxnode,
887 unsigned long maxnode,
890 unsigned long maxnode);
891 asmlinkage long sys_migrate_pages(pid_t pid, unsigned long maxnode,
/Linux-v5.4/Documentation/admin-guide/mm/
Dnuma_memory_policy.rst418 unsigned long maxnode);
423 'maxnode' ids. Optional mode flags may be passed by combining the
433 const unsigned long *nmask, unsigned long maxnode,
446 const unsigned long *nmask, unsigned long maxnode,