Home
last modified time | relevance | path

Searched refs:nodemask (Results 1 – 21 of 21) sorted by relevance

/external/ltp/testcases/kernel/lib/
Dnuma_helper.c49 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-mx32/
Dget_mempolicy.c48 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()
Dset_mempolicy.c57 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()
Dmbind.c43 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/
Dget_mempolicy.c48 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()
Dset_mempolicy.c57 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()
Dmbind.c43 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/
Dget_mempolicy.c48 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()
Dset_mempolicy.c57 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()
Dmbind.c43 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/
Dmbind01.c30 static struct bitmask *nodemask, *getnodemask, *empty_nodemask; variable
71 .exp_nodemask = &nodemask,
84 .exp_nodemask = &nodemask,
97 .exp_nodemask = &nodemask,
124 TEST(mbind(p, MEM_LENGTH, tc->policy, nodemask->maskp, in test_default()
125 nodemask->size, tc->flags)); in test_default()
158 nodemask = numa_allocate_nodemask(); in setup_node()
160 numa_bitmask_setbit(nodemask, test_node); in setup_node()
/external/ltp/testcases/kernel/syscalls/get_mempolicy/
Dget_mempolicy01.c225 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/
Dlibxt_cluster.txlate7 …NG -t mangle -i eth1 -m cluster --cluster-total-nodes 2 --cluster-local-nodemask 1 --cluster-hash-…
10 …NG -t mangle -i eth1 -m cluster --cluster-total-nodes 1 --cluster-local-nodemask 1 --cluster-hash-…
16 …G -t mangle -i eth1 -m cluster --cluster-total-nodes 32 --cluster-local-nodemask 32 --cluster-hash…
19 …G -t mangle -i eth1 -m cluster --cluster-total-nodes 32 --cluster-local-nodemask 5 --cluster-hash-…
22 …NG -t mangle -i eth1 -m cluster --cluster-total-nodes 7 --cluster-local-nodemask 9 --cluster-hash-…
Dlibxt_cluster.t8 # outputs --cluster-local-nodemask instead of --cluster-local-node
10 …-local-node 2 --cluster-hash-seed 0xfeedcafe;-m cluster --cluster-local-nodemask 0x00000002 --clus…
Dlibxt_cluster.man13 [\fB!\fP] \fB\-\-cluster\-local\-nodemask\fP \fImask\fP
/external/ltp/testcases/kernel/hotplug/memory_hotplug/
Dcommands.c864 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()
Dsegment.c814 nodemask_t * nodemask, int flags) in segment_mbind() argument
856 ret = mbind(segp->seg_start + offset, length, policy, nodemask->n, in segment_mbind()
/external/libabigail/tests/data/test-read-dwarf/
DPR25007-sdhci.ko.abi5980 … filepath='/ws/android/kernel/aosp/common-mainline/common/include/linux/nodemask.h' line='98' colu…
5981 … filepath='/ws/android/kernel/aosp/common-mainline/common/include/linux/nodemask.h' line='98' colu…
5983 … filepath='/ws/android/kernel/aosp/common-mainline/common/include/linux/nodemask.h' line='98' colu…
/external/strace/
DChangeLog30287 numa: fix decoding of nodemask arrays.
30291 Print a delimiter before nodemask argument.
/external/libabigail/tests/data/test-diff-filter/
Dtest-PR27569-v0.abi3232 …<typedef-decl name="nodemask_t" type-id="24d23dab" filepath="include/linux/nodemask.h" line="98" c…
3233 …ming-typedef-id="6a7d16bb" visibility="default" filepath="include/linux/nodemask.h" line="98" colu…
3235 …="bits" type-id="f066dd3c" visibility="default" filepath="include/linux/nodemask.h" line="98" colu…
Dtest-PR27569-v1.abi3232 …<typedef-decl name="nodemask_t" type-id="24d23dab" filepath="include/linux/nodemask.h" line="98" c…
3233 …ming-typedef-id="6a7d16bb" visibility="default" filepath="include/linux/nodemask.h" line="98" colu…
3235 …="bits" type-id="f066dd3c" visibility="default" filepath="include/linux/nodemask.h" line="98" colu…