/external/ltp/testcases/kernel/lib/ |
D | numa_helper.c | 49 static void get_nodemask_allnodes(nodemask_t * nodemask, unsigned long max_node) in get_nodemask_allnodes() argument 56 memset(nodemask, 0, nodemask_size); in get_nodemask_allnodes() 60 nodemask_set(nodemask, i); in get_nodemask_allnodes() 64 static int filter_nodemask_mem(nodemask_t * nodemask, unsigned long max_node) in filter_nodemask_mem() argument 68 memset(nodemask, 0, nodemask_size); in filter_nodemask_mem() 80 if (syscall(__NR_get_mempolicy, NULL, nodemask->n, in filter_nodemask_mem() 93 if (!nodemask_isset(nodemask, i)) in filter_nodemask_mem() 96 nodemask_clr(nodemask, i); in filter_nodemask_mem() 115 static void filter_nodemask_cpu(nodemask_t * nodemask, unsigned long max_node) in filter_nodemask_cpu() argument 124 if (!nodemask_isset(nodemask, i)) in filter_nodemask_cpu() [all …]
|
/external/strace/tests/ |
D | get_mempolicy.c | 48 unsigned long *const nodemask = in print_nodes() local 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() 68 printf("%#0*lx", (int) sizeof(*nodemask) * 2 + 2, nodemask[i]); in print_nodes() 85 const unsigned long *nodemask = (void *) 0xfacedad3bebefed4ULL; in main() local 88 rc = syscall(__NR_get_mempolicy, mode, nodemask, maxnode, addr, flags); in main() 90 mode, nodemask, maxnode, addr, in main() 113 maxnode = sizeof(*nodemask) * 8; in main()
|
D | set_mempolicy.c | 56 unsigned long *const nodemask = in print_nodes() local 58 memset(nodemask, 0, size); in print_nodes() 60 long rc = syscall(__NR_set_mempolicy, 0, nodemask, maxnode); in print_nodes() 77 nodemask[i]); in print_nodes() 79 printf("%p", nodemask + i); in print_nodes() 86 printf("%p", nodemask); in print_nodes() 129 const unsigned long *nodemask = (void *) 0xfacefeedfffffffeULL; in main() local 131 long rc = syscall(__NR_set_mempolicy, 1, nodemask, maxnode); in main() 133 nodemask, maxnode, sprintrc(rc)); in main()
|
D | mbind.c | 43 const unsigned long nodemask = (unsigned long) 0xfacefeedfffffff1ULL; 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-m32/ |
D | get_mempolicy.c | 48 unsigned long *const nodemask = in print_nodes() local 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() 68 printf("%#0*lx", (int) sizeof(*nodemask) * 2 + 2, nodemask[i]); in print_nodes() 85 const unsigned long *nodemask = (void *) 0xfacedad3bebefed4ULL; in main() local 88 rc = syscall(__NR_get_mempolicy, mode, nodemask, maxnode, addr, flags); in main() 90 mode, nodemask, maxnode, addr, in main() 113 maxnode = sizeof(*nodemask) * 8; in main()
|
D | set_mempolicy.c | 56 unsigned long *const nodemask = in print_nodes() local 58 memset(nodemask, 0, size); in print_nodes() 60 long rc = syscall(__NR_set_mempolicy, 0, nodemask, maxnode); in print_nodes() 77 nodemask[i]); in print_nodes() 79 printf("%p", nodemask + i); in print_nodes() 86 printf("%p", nodemask); in print_nodes() 129 const unsigned long *nodemask = (void *) 0xfacefeedfffffffeULL; in main() local 131 long rc = syscall(__NR_set_mempolicy, 1, nodemask, maxnode); in main() 133 nodemask, maxnode, sprintrc(rc)); in main()
|
D | mbind.c | 43 const unsigned long nodemask = (unsigned long) 0xfacefeedfffffff1ULL; 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 | 48 unsigned long *const nodemask = in print_nodes() local 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() 68 printf("%#0*lx", (int) sizeof(*nodemask) * 2 + 2, nodemask[i]); in print_nodes() 85 const unsigned long *nodemask = (void *) 0xfacedad3bebefed4ULL; in main() local 88 rc = syscall(__NR_get_mempolicy, mode, nodemask, maxnode, addr, flags); in main() 90 mode, nodemask, maxnode, addr, in main() 113 maxnode = sizeof(*nodemask) * 8; in main()
|
D | set_mempolicy.c | 56 unsigned long *const nodemask = in print_nodes() local 58 memset(nodemask, 0, size); in print_nodes() 60 long rc = syscall(__NR_set_mempolicy, 0, nodemask, maxnode); in print_nodes() 77 nodemask[i]); in print_nodes() 79 printf("%p", nodemask + i); in print_nodes() 86 printf("%p", nodemask); in print_nodes() 129 const unsigned long *nodemask = (void *) 0xfacefeedfffffffeULL; in main() local 131 long rc = syscall(__NR_set_mempolicy, 1, nodemask, maxnode); in main() 133 nodemask, maxnode, sprintrc(rc)); in main()
|
D | mbind.c | 43 const unsigned long nodemask = (unsigned long) 0xfacefeedfffffff1ULL; 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 | 42 static struct bitmask *nodemask, *getnodemask, *empty_nodemask; variable 83 .exp_nodemask = &nodemask, 96 .exp_nodemask = &nodemask, 109 .exp_nodemask = &nodemask, 136 TEST(mbind(p, MEM_LENGTH, tc->policy, nodemask->maskp, in test_default() 137 nodemask->size, tc->flags)); in test_default() 170 nodemask = numa_allocate_nodemask(); in setup_node() 172 numa_bitmask_setbit(nodemask, test_node); in setup_node()
|
/external/ltp/testcases/kernel/syscalls/get_mempolicy/ |
D | get_mempolicy01.c | 225 struct bitmask *nodemask = numa_allocate_nodemask(); in do_test() local 234 numa_bitmask_setbit(nodemask, test_node); in do_test() 244 nodemask->maskp, nodemask->size)); in do_test() 262 nodemask->maskp, nodemask->size, 0)); in do_test() 288 numa_bitmask_clearall(nodemask); in do_test() 290 numa_bitmask_equal(nodemask, in do_test()
|
/external/iptables/extensions/ |
D | libxt_cluster.t | 8 # outputs --cluster-local-nodemask instead of --cluster-local-node 10 …-local-node 2 --cluster-hash-seed 0xfeedcafe;-m cluster --cluster-local-nodemask 0x00000002 --clus…
|
D | libxt_cluster.man | 13 [\fB!\fP] \fB\-\-cluster\-local\-nodemask\fP \fImask\fP
|
/external/ltp/testcases/kernel/hotplug/memory_hotplug/ |
D | commands.c | 867 nodemask_t *nodemask = NULL; in mbind_seg() local 904 nodemask = get_nodemask(args); in mbind_seg() 905 if (nodemask == NULL) in mbind_seg() 911 if (!segment_mbind(segname, &range, policy, nodemask, flags)) in mbind_seg() 915 if (nodemask != NULL) in mbind_seg() 916 free(nodemask); in mbind_seg()
|
D | segment.c | 817 nodemask_t * nodemask, int flags) in segment_mbind() argument 859 ret = mbind(segp->seg_start + offset, length, policy, nodemask->n, in segment_mbind()
|
/external/valgrind/coregrind/m_syswrap/ |
D | syswrap-linux.c | 2384 unsigned long, policy, unsigned long *, nodemask, in PRE() 2395 int, policy, unsigned long *, nodemask, in PRE() 2405 int *, policy, unsigned long *, nodemask, in PRE()
|
/external/strace/ |
D | ChangeLog | 22725 numa: fix decoding of nodemask arrays. 22729 Print a delimiter before nodemask argument.
|