Home
last modified time | relevance | path

Searched refs:policy (Results 1 – 7 of 7) 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
42 int rc = sched_setscheduler(thread->tid, policy, param); in pthread_setschedparam()
Dpthread_getschedparam.cpp34 int pthread_getschedparam(pthread_t t, int* policy, sched_param* param) { in pthread_getschedparam() argument
46 *policy = sched_getscheduler(thread->tid); in pthread_getschedparam()
Dpthread_attr.cpp72 int pthread_attr_setschedpolicy(pthread_attr_t* attr, int policy) { in pthread_attr_setschedpolicy() argument
73 attr->sched_policy = policy; in pthread_attr_setschedpolicy()
77 int pthread_attr_getschedpolicy(const pthread_attr_t* attr, int* policy) { in pthread_attr_getschedpolicy() argument
78 *policy = attr->sched_policy; in pthread_attr_getschedpolicy()
/bionic/libc/kernel/uapi/linux/netfilter_bridge/
Debtables.h74 int policy; member
/bionic/libc/kernel/uapi/linux/
Dxfrm.h450 struct xfrm_userpolicy_info policy; member
/bionic/tests/
Dpthread_test.cpp485 int policy; in TEST() local
487 ASSERT_EQ(ESRCH, pthread_getschedparam(dead_thread, &policy, &param)); in TEST()
494 int policy = 0; in TEST() local
496 ASSERT_EQ(ESRCH, pthread_setschedparam(dead_thread, policy, &param)); in TEST()
/bionic/libc/
DSYSCALLS.TXT267 int sched_setscheduler(pid_t pid, int policy, const struct sched_param* param) all
272 int sched_get_priority_max(int policy) all
273 int sched_get_priority_min(int policy) all