Home
last modified time | relevance | path

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

/third_party/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 …]
/third_party/ltp/testcases/kernel/syscalls/get_mempolicy/
Dget_mempolicy01.c38 static struct bitmask *nodemask, *getnodemask, *empty_nodemask; variable
59 .exp_nodemask = &nodemask,
64 .exp_nodemask = &nodemask,
69 .exp_nodemask = &nodemask,
74 .exp_nodemask = &nodemask,
79 .exp_nodemask = &nodemask,
90 .exp_nodemask = &nodemask,
96 .exp_nodemask = &nodemask,
108 .exp_nodemask = &nodemask,
114 TEST(set_mempolicy(tc->policy, nodemask->maskp, nodemask->size)); in test_set_mempolicy_default()
[all …]
Dget_mempolicy02.c34 static struct bitmask *nodemask; variable
64 nodemask = numa_allocate_nodemask(); in setup()
69 numa_free_nodemask(nodemask); in cleanup()
78 TST_EXP_FAIL(get_mempolicy(&policy, nodemask->maskp, nodemask->size, in do_test()
/third_party/ltp/testcases/kernel/syscalls/mbind/
Dmbind01.c32 static struct bitmask *nodemask, *getnodemask, *empty_nodemask; variable
75 .exp_nodemask = &nodemask,
88 .exp_nodemask = &nodemask,
102 .exp_nodemask = &nodemask,
152 TEST(mbind(p, MEM_LENGTH, tc->policy, nodemask->maskp, in test_default()
153 nodemask->size, tc->flags)); in test_default()
186 nodemask = numa_allocate_nodemask(); in setup_node()
188 numa_bitmask_setbit(nodemask, test_node); in setup_node()
/third_party/ltp/testcases/kernel/hotplug/memory_hotplug/
Dcommands.c928 nodemask_t *nodemask = NULL; in mbind_seg() local
965 nodemask = get_nodemask(args); in mbind_seg()
966 if (nodemask == NULL) in mbind_seg()
972 if (!segment_mbind(segname, &range, policy, nodemask, flags)) in mbind_seg()
976 if (nodemask != NULL) in mbind_seg()
977 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()
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h40032 nodemask_t *nodemask; member
40493 nodemask_t *nodemask; member
41014 nodemask_t *nodemask; member
/third_party/libabigail/tests/data/test-read-dwarf/
DPR25007-sdhci.ko.abi4800 … filepath='/ws/android/kernel/aosp/common-mainline/common/include/linux/nodemask.h' line='98' colu…
4802 … filepath='/ws/android/kernel/aosp/common-mainline/common/include/linux/nodemask.h' line='98' colu…
8694 … filepath='/ws/android/kernel/aosp/common-mainline/common/include/linux/nodemask.h' line='98' colu…
/third_party/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…