/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 | 57 unsigned long *const nodemask = in print_nodes() local 59 memset(nodemask, 0, size); in print_nodes() 61 long rc = syscall(__NR_set_mempolicy, 0, nodemask, maxnode); in print_nodes() 78 nodemask[i]); in print_nodes() 80 printf("... /* %p */", nodemask + i); in print_nodes() 87 printf("%p", nodemask); in print_nodes() 130 const unsigned long *nodemask = (void *) 0xfacefeedfffffffeULL; in main() local 132 long rc = syscall(__NR_set_mempolicy, 1, nodemask, maxnode); in main() 134 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 | 57 unsigned long *const nodemask = in print_nodes() local 59 memset(nodemask, 0, size); in print_nodes() 61 long rc = syscall(__NR_set_mempolicy, 0, nodemask, maxnode); in print_nodes() 78 nodemask[i]); in print_nodes() 80 printf("... /* %p */", nodemask + i); in print_nodes() 87 printf("%p", nodemask); in print_nodes() 130 const unsigned long *nodemask = (void *) 0xfacefeedfffffffeULL; in main() local 132 long rc = syscall(__NR_set_mempolicy, 1, nodemask, maxnode); in main() 134 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 | 57 unsigned long *const nodemask = in print_nodes() local 59 memset(nodemask, 0, size); in print_nodes() 61 long rc = syscall(__NR_set_mempolicy, 0, nodemask, maxnode); in print_nodes() 78 nodemask[i]); in print_nodes() 80 printf("... /* %p */", nodemask + i); in print_nodes() 87 printf("%p", nodemask); in print_nodes() 130 const unsigned long *nodemask = (void *) 0xfacefeedfffffffeULL; in main() local 132 long rc = syscall(__NR_set_mempolicy, 1, nodemask, maxnode); in main() 134 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 | 864 nodemask_t *nodemask = NULL; in mbind_seg() local 901 nodemask = get_nodemask(args); in mbind_seg() 902 if (nodemask == NULL) in mbind_seg() 908 if (!segment_mbind(segname, &range, policy, nodemask, flags)) in mbind_seg() 912 if (nodemask != NULL) in mbind_seg() 913 free(nodemask); in mbind_seg()
|
D | segment.c | 814 nodemask_t * nodemask, int flags) in segment_mbind() argument 856 ret = mbind(segp->seg_start + offset, length, policy, nodemask->n, in segment_mbind()
|
/external/syzkaller/pkg/report/testdata/linux/report/ |
D | 99 | 7 [ 1722.511384] IP: node_state include/linux/nodemask.h:405 [inline]
|
D | 218 | 8 …6] syz-executor3: vmalloc: allocation failure: 0 bytes, mode:0x14000c0(GFP_KERNEL), nodemask=(null)
|
D | 231 | 7 …lloc: allocation failure: 17045651456 bytes, mode:0x14080c0(GFP_KERNEL|__GFP_ZERO), nodemask=(null)
|
D | 206 | 7 …lloc: allocation failure: 17178296320 bytes, mode:0x14080c0(GFP_KERNEL|__GFP_ZERO), nodemask=(null)
|
D | 198 | 3 …alloc: allocation failure: 8589934588 bytes, mode:0x14080c0(GFP_KERNEL|__GFP_ZERO), nodemask=(null)
|
/external/syzkaller/sys/linux/ |
D | sys.txt | 135 mbind(addr vma, len len[addr], mode flags[mbind_mode], nodemask ptr[in, int64], maxnode intptr, fla… 138 set_mempolicy(mode flags[mbind_mode], nodemask ptr[in, int64], maxnode intptr) 139 get_mempolicy(mode ptr[out, int32], nodemask ptr[out, int64], maxnode intptr, addr vma, flags flags…
|
/external/strace/ |
D | ChangeLog | 30287 numa: fix decoding of nodemask arrays. 30291 Print a delimiter before nodemask argument.
|