Searched refs:policy (Results 1 - 12 of 12) sorted by relevance

/bionic/libc/bionic/
H A Dpthread_getschedparam.cpp34 int pthread_getschedparam(pthread_t t, int* policy, sched_param* param) { argument
41 *policy = sched_getscheduler(tid);
H A Dpthread_setschedparam.cpp35 int pthread_setschedparam(pthread_t t, int policy, const sched_param* param) { argument
41 return (sched_setscheduler(tid, policy, param) == -1) ? errno : 0;
H A Dpthread_create.cpp121 // Set the scheduling policy/priority of the thread if necessary.
123 int policy; local
127 policy = sched_getscheduler(0);
128 need_set = ((policy & SCHED_RESET_ON_FORK) != 0);
130 if (policy == -1) {
142 policy = thread->attr.sched_policy;
151 if (sched_setscheduler(thread->tid, policy, &param) == -1) {
153 "pthread_create sched_setscheduler(%d, {%d}) call failed: %s", policy,
H A Dpthread_attr.cpp106 int pthread_attr_setschedpolicy(pthread_attr_t* attr, int policy) { argument
107 attr->sched_policy = policy;
112 int pthread_attr_getschedpolicy(const pthread_attr_t* attr, int* policy) { argument
113 *policy = attr->sched_policy;
H A Dspawn.cpp262 int posix_spawnattr_setschedpolicy(posix_spawnattr_t* attr, int policy) { argument
263 (*attr)->schedpolicy = policy;
267 int posix_spawnattr_getschedpolicy(const posix_spawnattr_t* attr, int* policy) { argument
268 *policy = (*attr)->schedpolicy;
/bionic/libc/kernel/uapi/linux/netfilter_bridge/
H A Debtables.h63 int policy; member in struct:ebt_entries
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/netfilter_bridge/
H A Debtables.h63 int policy; member in struct:ebt_entries
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/netfilter_bridge/
H A Debtables.h63 int policy; member in struct:ebt_entries
/bionic/tests/
H A Dpthread_test.cpp586 int policy; local
588 EXPECT_DEATH(pthread_getschedparam(dead_thread, &policy, &param), "invalid pthread_t");
593 int policy; local
595 EXPECT_EQ(ESRCH, pthread_getschedparam(null_thread, &policy, &param));
602 int policy = 0; local
604 EXPECT_DEATH(pthread_setschedparam(dead_thread, policy, &param), "invalid pthread_t");
609 int policy = 0; local
611 EXPECT_EQ(ESRCH, pthread_setschedparam(null_thread, policy, &param));
/bionic/libc/kernel/uapi/linux/
H A Dxfrm.h369 struct xfrm_userpolicy_info policy; member in struct:xfrm_user_acquire
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/
H A Dxfrm.h369 struct xfrm_userpolicy_info policy; member in struct:xfrm_user_acquire
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/
H A Dxfrm.h369 struct xfrm_userpolicy_info policy; member in struct:xfrm_user_acquire

Completed in 2463 milliseconds