Home
last modified time | relevance | path

Searched refs:nmask (Results 1 – 14 of 14) sorted by relevance

/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_syscall_test/
Dcpuset_syscall_test.c166 struct bitmask *nmask; in test_get_mempolicy() local
176 nmask = bitmask_alloc(nbits); in test_get_mempolicy()
177 if (nmask == NULL) { in test_get_mempolicy()
182 ret = get_mempolicy(NULL, bitmask_mask(nmask), bitmask_nbits(nmask), 0, in test_get_mempolicy()
185 bitmask_displaylist(str, 256, nmask); in test_get_mempolicy()
/third_party/ltp/testcases/kernel/mem/vma/
Dvma04.c63 static struct bitmask *nmask; variable
92 nmask = numa_allocate_nodemask(); in main()
102 numa_bitmask_setbit(nmask, node); in main()
151 MPOL_BIND, nmask->maskp, nmask->size, 0) != 0) { in mem_bind()
164 MPOL_INTERLEAVE, nmask->maskp, nmask->size, 0) != 0) { in mem_interleave()
Dvma02.c70 struct bitmask *nmask = numa_allocate_nodemask(); in main() local
84 numa_bitmask_setbit(nmask, node); in main()
98 err = mbind(addr + pagesize, pagesize, MPOL_BIND, nmask->maskp, in main()
99 nmask->size, MPOL_MF_MOVE_ALL); in main()
/third_party/ltp/testcases/kernel/mem/ksm/
Dksm04.c66 unsigned long nmask[MAXNODES / BITS_PER_LONG] = { 0 }; in verify_ksm() local
70 set_node(nmask, node); in verify_ksm()
74 if (set_mempolicy(MPOL_BIND, nmask, MAXNODES) == -1) { in verify_ksm()
Dksm02.c67 unsigned long nmask[MAXNODES / BITS_PER_LONG] = { 0 }; in verify_ksm() local
71 set_node(nmask, node); in verify_ksm()
73 if (set_mempolicy(MPOL_BIND, nmask, MAXNODES) == -1) { in verify_ksm()
/third_party/ltp/testcases/kernel/syscalls/sigaction/
Dsigaction01.c93 sigset_t nmask, omask; in handler() local
108 sigemptyset(&nmask); in handler()
110 err = sigprocmask(SIG_BLOCK, &nmask, &omask); in handler()
/third_party/ltp/testcases/kernel/mem/lib/
Dmem.c173 unsigned long nmask[MAXNODES / BITS_PER_LONG] = { 0 }; in set_global_mempolicy() local
189 set_node(nmask, nodes[1]); in set_global_mempolicy()
200 set_node(nmask, nodes[1]); in set_global_mempolicy()
201 set_node(nmask, nodes[2]); in set_global_mempolicy()
207 if (set_mempolicy(mempolicy, nmask, MAXNODES) == -1) in set_global_mempolicy()
531 unsigned long nmask[MAXNODES / BITS_PER_LONG] = { 0 }; in test_ksm_merge_across_nodes() local
556 clean_node(nmask); in test_ksm_merge_across_nodes()
557 set_node(nmask, nodes[i]); in test_ksm_merge_across_nodes()
562 ret = mbind(memory[i], length, MPOL_BIND, nmask, MAXNODES, 0); in test_ksm_merge_across_nodes()
/third_party/ltp/testcases/kernel/mem/cpuset/
Dcpuset01.c53 unsigned long nmask[MAXNODES / BITS_PER_LONG] = { 0 }; in test_cpuset() local
66 set_node(nmask, nodes[i]); in test_cpuset()
68 if (set_mempolicy(MPOL_BIND, nmask, MAXNODES) == -1) in test_cpuset()
/third_party/ltp/tools/sparse/sparse-src/
Dsimplify.c780 unsigned long long omask, nmask; in simplify_mask_or_and() local
789 nmask = omask & mask; in simplify_mask_or_and()
790 if (nmask == 0) { in simplify_mask_or_and()
796 if (nmask == mask) { in simplify_mask_or_and()
802 if (nmask != omask && one_use(ora)) { in simplify_mask_or_and()
804 and->src2 = value_pseudo(nmask); in simplify_mask_or_and()
914 unsigned long long mask, omask, nmask; in simplify_shift() local
974 nmask = omask & mask; in simplify_shift()
975 if (nmask == 0) in simplify_shift()
977 if (nmask == mask) in simplify_shift()
[all …]
/third_party/lwip/src/netif/ppp/
Dppp.c1205 u32_t mask, nmask; in get_mask()
1209 nmask = IP_CLASSA_NET; in get_mask()
1211 nmask = IP_CLASSB_NET; in get_mask()
1213 nmask = IP_CLASSC_NET; in get_mask()
1217 mask = PP_HTONL(0xffffff00UL) | lwip_htonl(nmask); in get_mask()
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/
Dlibcpuset.c3089 static int get_mempolicy(int *policy, unsigned long *nmask, in get_mempolicy() argument
3092 return ltp_syscall(__NR_get_mempolicy, policy, nmask, maxnode, in get_mempolicy()
3096 static int set_mempolicy(int mode, unsigned long *nmask, unsigned long maxnode) in set_mempolicy() argument
3098 return ltp_syscall(__NR_set_mempolicy, mode, nmask, maxnode); in set_mempolicy()
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h40296 nodemask_t *nmask; member
41594 nodemask_t *nmask; member
64895 u32 nmask; member
/third_party/libabigail/tests/data/test-read-dwarf/
Dtest15-pr18892.so.abi11760 …<parameter type-id='type-id-3' name='nmask' filepath='../../.././libsanitizer/sanitizer_common/san…
11767 …<parameter type-id='type-id-3' name='nmask' filepath='../../.././libsanitizer/sanitizer_common/san…
11809 …<parameter type-id='type-id-3' name='nmask' filepath='../../.././libsanitizer/sanitizer_common/san…
11819 …<parameter type-id='type-id-3' name='nmask' filepath='../../.././libsanitizer/sanitizer_common/san…
11826 …<parameter type-id='type-id-3' name='nmask' filepath='../../.././libsanitizer/sanitizer_common/san…
11835 …<parameter type-id='type-id-3' name='nmask' filepath='../../.././libsanitizer/sanitizer_common/san…
/third_party/libabigail/tests/data/test-annotate/
Dtest15-pr18892.so.abi20872 …<parameter type-id='type-id-3' name='nmask' filepath='../../.././libsanitizer/sanitizer_common/san…
20885 …<parameter type-id='type-id-3' name='nmask' filepath='../../.././libsanitizer/sanitizer_common/san…
20964 …<parameter type-id='type-id-3' name='nmask' filepath='../../.././libsanitizer/sanitizer_common/san…
20983 …<parameter type-id='type-id-3' name='nmask' filepath='../../.././libsanitizer/sanitizer_common/san…
20996 …<parameter type-id='type-id-3' name='nmask' filepath='../../.././libsanitizer/sanitizer_common/san…
21013 …<parameter type-id='type-id-3' name='nmask' filepath='../../.././libsanitizer/sanitizer_common/san…