Home
last modified time | relevance | path

Searched refs:bitmask_mask (Results 1 – 4 of 4) sorted by relevance

/external/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/
Dbitmask.h161 unsigned long *bitmask_mask(struct bitmask *bmp);
Dlibbitmask.c389 unsigned long *bitmask_mask(struct bitmask *bmp) in bitmask_mask() function
Dlibcpuset.c3375 r = sched_setaffinity(0, bitmask_nbytes(bmp), bitmask_mask(bmp)); in cpuset_cpubind()
3441 r = set_mempolicy(MPOL_BIND, bitmask_mask(bmp), bitmask_nbits(bmp) + 1); in cpuset_membind()
3739 if (sched_setaffinity(0, bitmask_nbytes(cpus), bitmask_mask(cpus)) < 0) in cpuset_unpin()
3744 if (set_mempolicy(MPOL_DEFAULT, bitmask_mask(mems), in cpuset_unpin()
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_syscall_test/
Dcpuset_syscall_test.c182 ret = get_mempolicy(NULL, bitmask_mask(nmask), bitmask_nbits(nmask), 0, in test_get_mempolicy()