/third_party/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 …]
|
/third_party/ltp/testcases/kernel/syscalls/get_mempolicy/ |
D | get_mempolicy01.c | 38 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 …]
|
D | get_mempolicy02.c | 34 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/ |
D | mbind01.c | 32 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/ |
D | commands.c | 928 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()
|
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()
|
/third_party/libbpf/.github/actions/build-selftests/ |
D | vmlinux.h | 40032 nodemask_t *nodemask; member 40493 nodemask_t *nodemask; member 41014 nodemask_t *nodemask; member
|
/third_party/libabigail/tests/data/test-read-dwarf/ |
D | PR25007-sdhci.ko.abi | 4800 … 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/ |
D | test-PR27569-v0.abi | 3232 …<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…
|
D | test-PR27569-v1.abi | 3232 …<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…
|