/external/strace/tests-m32/ |
D | get_mempolicy.c | 46 print_nodes(unsigned long maxnode) in print_nodes() argument 49 tail_alloc(sizeof(*nodemask) * NLONGS(maxnode)); in print_nodes() 51 if (syscall(__NR_get_mempolicy, 0, nodemask, maxnode, 0, 0)) { in print_nodes() 53 nodemask, maxnode, errno2name()); in print_nodes() 59 unsigned int nlongs = NLONGS(maxnode); in print_nodes() 71 printf("], %lu, NULL, 0) = 0\n", maxnode); in print_nodes() 84 unsigned long maxnode = (unsigned long) 0xcafef00dbadc0dedULL; in main() local 88 rc = syscall(__NR_get_mempolicy, mode, nodemask, maxnode, addr, flags); in main() 90 mode, nodemask, maxnode, addr, in main() 107 maxnode = get_page_size() * 8; in main() [all …]
|
D | set_mempolicy.c | 48 print_nodes(const unsigned long maxnode, unsigned int offset) in print_nodes() argument 50 unsigned int nlongs = NLONGS(maxnode); in print_nodes() 60 long rc = syscall(__NR_set_mempolicy, 0, nodemask, maxnode); in print_nodes() 85 if (maxnode) in print_nodes() 91 printf(", %lu) = %s\n", maxnode, errstr); in print_nodes() 97 unsigned long maxnode = get_page_size() * 8; in test_offset() local 99 print_nodes(maxnode, offset); in test_offset() 100 print_nodes(maxnode + 1, offset); in test_offset() 101 print_nodes(maxnode + 2, offset); in test_offset() 103 maxnode = sizeof(long) * 8; in test_offset() [all …]
|
D | mbind.c | 44 const unsigned long maxnode = (unsigned long) 0xdeadbeeffffffff2ULL; in main() local 47 long rc = syscall(__NR_mbind, 0, len, mode, nodemask, maxnode, flags); in main() 49 len, "MPOL_INTERLEAVE", nodemask, maxnode, in main()
|
/external/strace/tests/ |
D | get_mempolicy.c | 46 print_nodes(unsigned long maxnode) in print_nodes() argument 49 tail_alloc(sizeof(*nodemask) * NLONGS(maxnode)); in print_nodes() 51 if (syscall(__NR_get_mempolicy, 0, nodemask, maxnode, 0, 0)) { in print_nodes() 53 nodemask, maxnode, errno2name()); in print_nodes() 59 unsigned int nlongs = NLONGS(maxnode); in print_nodes() 71 printf("], %lu, NULL, 0) = 0\n", maxnode); in print_nodes() 84 unsigned long maxnode = (unsigned long) 0xcafef00dbadc0dedULL; in main() local 88 rc = syscall(__NR_get_mempolicy, mode, nodemask, maxnode, addr, flags); in main() 90 mode, nodemask, maxnode, addr, in main() 107 maxnode = get_page_size() * 8; in main() [all …]
|
D | set_mempolicy.c | 48 print_nodes(const unsigned long maxnode, unsigned int offset) in print_nodes() argument 50 unsigned int nlongs = NLONGS(maxnode); in print_nodes() 60 long rc = syscall(__NR_set_mempolicy, 0, nodemask, maxnode); in print_nodes() 85 if (maxnode) in print_nodes() 91 printf(", %lu) = %s\n", maxnode, errstr); in print_nodes() 97 unsigned long maxnode = get_page_size() * 8; in test_offset() local 99 print_nodes(maxnode, offset); in test_offset() 100 print_nodes(maxnode + 1, offset); in test_offset() 101 print_nodes(maxnode + 2, offset); in test_offset() 103 maxnode = sizeof(long) * 8; in test_offset() [all …]
|
D | mbind.c | 44 const unsigned long maxnode = (unsigned long) 0xdeadbeeffffffff2ULL; in main() local 47 long rc = syscall(__NR_mbind, 0, len, mode, nodemask, maxnode, flags); in main() 49 len, "MPOL_INTERLEAVE", nodemask, maxnode, in main()
|
/external/strace/tests-mx32/ |
D | get_mempolicy.c | 46 print_nodes(unsigned long maxnode) in print_nodes() argument 49 tail_alloc(sizeof(*nodemask) * NLONGS(maxnode)); in print_nodes() 51 if (syscall(__NR_get_mempolicy, 0, nodemask, maxnode, 0, 0)) { in print_nodes() 53 nodemask, maxnode, errno2name()); in print_nodes() 59 unsigned int nlongs = NLONGS(maxnode); in print_nodes() 71 printf("], %lu, NULL, 0) = 0\n", maxnode); in print_nodes() 84 unsigned long maxnode = (unsigned long) 0xcafef00dbadc0dedULL; in main() local 88 rc = syscall(__NR_get_mempolicy, mode, nodemask, maxnode, addr, flags); in main() 90 mode, nodemask, maxnode, addr, in main() 107 maxnode = get_page_size() * 8; in main() [all …]
|
D | set_mempolicy.c | 48 print_nodes(const unsigned long maxnode, unsigned int offset) in print_nodes() argument 50 unsigned int nlongs = NLONGS(maxnode); in print_nodes() 60 long rc = syscall(__NR_set_mempolicy, 0, nodemask, maxnode); in print_nodes() 85 if (maxnode) in print_nodes() 91 printf(", %lu) = %s\n", maxnode, errstr); in print_nodes() 97 unsigned long maxnode = get_page_size() * 8; in test_offset() local 99 print_nodes(maxnode, offset); in test_offset() 100 print_nodes(maxnode + 1, offset); in test_offset() 101 print_nodes(maxnode + 2, offset); in test_offset() 103 maxnode = sizeof(long) * 8; in test_offset() [all …]
|
D | mbind.c | 44 const unsigned long maxnode = (unsigned long) 0xdeadbeeffffffff2ULL; in main() local 47 long rc = syscall(__NR_mbind, 0, len, mode, nodemask, maxnode, flags); in main() 49 len, "MPOL_INTERLEAVE", nodemask, maxnode, in main()
|
/external/ltp/testcases/kernel/syscalls/mbind/ |
D | mbind01.c | 214 unsigned long maxnode = NUMA_NUM_NODES; in do_test() local 246 invalid_nodemask, maxnode, tc->flags)); in do_test() 250 nodemask, maxnode, tc->flags)); in do_test() 263 maxnode, p, MPOL_F_ADDR)); in do_test()
|
/external/ltp/testcases/kernel/syscalls/get_mempolicy/ |
D | get_mempolicy01.c | 226 unsigned long maxnode = NUMA_NUM_NODES; in do_test() local 257 nodemask, maxnode)); in do_test() 280 nodemask, maxnode, 0)); in do_test() 304 maxnode, p, flags)); in do_test()
|
/external/compiler-rt/include/sanitizer/ |
D | linux_syscall_hooks.h | 1495 #define __sanitizer_syscall_pre_set_mempolicy(mode, nmask, maxnode) \ argument 1497 (long)(maxnode)) 1498 #define __sanitizer_syscall_post_set_mempolicy(res, mode, nmask, maxnode) \ argument 1500 (long)(nmask), (long)(maxnode)) 1501 #define __sanitizer_syscall_pre_migrate_pages(pid, maxnode, from, to) \ argument 1502 __sanitizer_syscall_pre_impl_migrate_pages((long)(pid), (long)(maxnode), \ 1504 #define __sanitizer_syscall_post_migrate_pages(res, pid, maxnode, from, to) \ argument 1506 res, (long)(pid), (long)(maxnode), (long)(from), (long)(to)) 1517 #define __sanitizer_syscall_pre_mbind(start, len, mode, nmask, maxnode, flags) \ argument 1519 (long)(nmask), (long)(maxnode), \ [all …]
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_common_syscalls.inc | 2385 PRE_SYSCALL(set_mempolicy)(long mode, void *nmask, long maxnode) {} 2387 POST_SYSCALL(set_mempolicy)(long res, long mode, void *nmask, long maxnode) { 2393 PRE_SYSCALL(migrate_pages)(long pid, long maxnode, const void *from, 2399 POST_SYSCALL(migrate_pages)(long res, long pid, long maxnode, const void *from, 2415 PRE_SYSCALL(mbind)(long start, long len, long mode, void *nmask, long maxnode, 2419 long maxnode, long flags) { 2425 PRE_SYSCALL(get_mempolicy)(void *policy, void *nmask, long maxnode, long addr, 2428 POST_SYSCALL(get_mempolicy)(long res, void *policy, void *nmask, long maxnode,
|
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/ |
D | libcpuset.c | 3094 unsigned long maxnode, void *addr, int flags) in get_mempolicy() argument 3096 return ltp_syscall(__NR_get_mempolicy, policy, nmask, maxnode, in get_mempolicy() 3102 static int set_mempolicy(int mode, unsigned long *nmask, unsigned long maxnode) in set_mempolicy() argument 3104 return ltp_syscall(__NR_set_mempolicy, mode, nmask, maxnode); in set_mempolicy()
|
/external/valgrind/coregrind/m_syswrap/ |
D | syswrap-linux.c | 2385 unsigned long, maxnode, unsigned, flags); in PRE() 2396 unsigned long, maxnode); in PRE() 2406 unsigned long, maxnode, unsigned long, addr, in PRE()
|