Home
last modified time | relevance | path

Searched refs:policy (Results 1 – 9 of 9) sorted by relevance

/bionic/libc/bionic/
Dpthread_setschedparam.cpp34 int pthread_setschedparam(pthread_t t, int policy, const sched_param* param) { in pthread_setschedparam() argument
40 return (sched_setscheduler(tid, policy, param) == -1) ? errno : 0; in pthread_setschedparam()
Dpthread_getschedparam.cpp34 int pthread_getschedparam(pthread_t t, int* policy, sched_param* param) { in pthread_getschedparam() argument
41 *policy = sched_getscheduler(tid); in pthread_getschedparam()
Dpthread_attr.cpp73 int pthread_attr_setschedpolicy(pthread_attr_t* attr, int policy) { in pthread_attr_setschedpolicy() argument
74 attr->sched_policy = policy; in pthread_attr_setschedpolicy()
78 int pthread_attr_getschedpolicy(const pthread_attr_t* attr, int* policy) { in pthread_attr_getschedpolicy() argument
79 *policy = attr->sched_policy; in pthread_attr_getschedpolicy()
/bionic/libc/
DSECCOMP_BLACKLIST.TXT1 # This file is used to populate seccomp's whitelist policy in combination with SYSCALLS.TXT.
2 # Note that the resultant policy is applied only to zygote spawned processes.
DSECCOMP_WHITELIST.TXT1 # This file is used to populate seccomp's whitelist policy in combination with SYSCALLS.TXT.
2 # Note that the resultant policy is applied only to zygote spawned processes.
DSYSCALLS.TXT278 int sched_setscheduler(pid_t pid, int policy, const struct sched_param* param) all
283 int sched_get_priority_max(int policy) all
284 int sched_get_priority_min(int policy) all
/bionic/libc/kernel/uapi/linux/netfilter_bridge/
Debtables.h63 int policy; member
/bionic/tests/
Dpthread_test.cpp541 int policy; in TEST_F() local
543 EXPECT_DEATH(pthread_getschedparam(dead_thread, &policy, &param), "invalid pthread_t"); in TEST_F()
548 int policy; in TEST_F() local
550 EXPECT_EQ(ESRCH, pthread_getschedparam(null_thread, &policy, &param)); in TEST_F()
557 int policy = 0; in TEST_F() local
559 EXPECT_DEATH(pthread_setschedparam(dead_thread, policy, &param), "invalid pthread_t"); in TEST_F()
564 int policy = 0; in TEST_F() local
566 EXPECT_EQ(ESRCH, pthread_setschedparam(null_thread, policy, &param)); in TEST_F()
/bionic/libc/kernel/uapi/linux/
Dxfrm.h367 struct xfrm_userpolicy_info policy; member