/bionic/libc/bionic/ |
H A D | pthread_getschedparam.cpp | 34 int pthread_getschedparam(pthread_t t, int* policy, sched_param* param) { argument 41 *policy = sched_getscheduler(tid);
|
H A D | pthread_setschedparam.cpp | 35 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 D | pthread_create.cpp | 121 // 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, ¶m) == -1) { 153 "pthread_create sched_setscheduler(%d, {%d}) call failed: %s", policy,
|
H A D | pthread_attr.cpp | 106 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 D | spawn.cpp | 262 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 D | ebtables.h | 63 int policy; member in struct:ebt_entries
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/netfilter_bridge/ |
H A D | ebtables.h | 63 int policy; member in struct:ebt_entries
|
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/netfilter_bridge/ |
H A D | ebtables.h | 63 int policy; member in struct:ebt_entries
|
/bionic/tests/ |
H A D | pthread_test.cpp | 586 int policy; local 588 EXPECT_DEATH(pthread_getschedparam(dead_thread, &policy, ¶m), "invalid pthread_t"); 593 int policy; local 595 EXPECT_EQ(ESRCH, pthread_getschedparam(null_thread, &policy, ¶m)); 602 int policy = 0; local 604 EXPECT_DEATH(pthread_setschedparam(dead_thread, policy, ¶m), "invalid pthread_t"); 609 int policy = 0; local 611 EXPECT_EQ(ESRCH, pthread_setschedparam(null_thread, policy, ¶m));
|
/bionic/libc/kernel/uapi/linux/ |
H A D | xfrm.h | 369 struct xfrm_userpolicy_info policy; member in struct:xfrm_user_acquire
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/ |
H A D | xfrm.h | 369 struct xfrm_userpolicy_info policy; member in struct:xfrm_user_acquire
|
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/ |
H A D | xfrm.h | 369 struct xfrm_userpolicy_info policy; member in struct:xfrm_user_acquire
|