Home
last modified time | relevance | path

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

/components/libc/posix/pthreads/
A Dsched.c20 int sched_get_priority_min(int policy) in sched_get_priority_min() argument
22 if (policy != SCHED_FIFO && policy != SCHED_RR) in sched_get_priority_min()
29 int sched_get_priority_max(int policy) in sched_get_priority_max() argument
31 if (policy != SCHED_FIFO && policy != SCHED_RR) in sched_get_priority_max()
38 int sched_setscheduler(pid_t pid, int policy) in sched_setscheduler() argument
A Dsched.h32 int sched_get_priority_min(int policy);
33 int sched_get_priority_max(int policy);
35 int sched_setscheduler(pid_t pid, int policy);
A Dpthread_attr.c184 int pthread_attr_setschedpolicy(pthread_attr_t *attr, int policy) in pthread_attr_setschedpolicy() argument
188 attr->schedpolicy = policy; in pthread_attr_setschedpolicy()
214 int pthread_attr_getschedpolicy(pthread_attr_t const *attr, int *policy) in pthread_attr_getschedpolicy() argument
218 *policy = (int)attr->schedpolicy; in pthread_attr_getschedpolicy()
A Dpthread.h145 int pthread_attr_setschedpolicy(pthread_attr_t *attr, int policy);
146 int pthread_attr_getschedpolicy(pthread_attr_t const *attr, int *policy);
181 int pthread_getschedparam(pthread_t thread, int *policy, struct sched_param *param);
182 int pthread_setschedparam(pthread_t thread, int policy, const struct sched_param *param);
A Dpthread.c822 int pthread_getschedparam(pthread_t thread, int *policy, struct sched_param *param) in pthread_getschedparam() argument
827 pthread_attr_getschedpolicy(&ptd->attr, policy); in pthread_getschedparam()
875 int pthread_setschedparam(pthread_t thread, int policy, const struct sched_param *param) in pthread_setschedparam() argument
880 pthread_attr_setschedpolicy(&ptd->attr, policy); in pthread_setschedparam()
/components/net/lwip/lwip-2.1.2/src/netif/ppp/
A Dchap_ms.c912 void set_mppe_enc_types(int policy, int types) {
914 if (policy != MPPE_ENC_POL_ENC_ALLOWED ||
915 policy != MPPE_ENC_POL_ENC_REQUIRED)
919 if (policy == MPPE_ENC_POL_ENC_ALLOWED && !ccp_wantoptions[0].mppe)
/components/net/lwip/lwip-2.0.3/src/netif/ppp/
A Dchap_ms.c912 void set_mppe_enc_types(int policy, int types) {
914 if (policy != MPPE_ENC_POL_ENC_ALLOWED ||
915 policy != MPPE_ENC_POL_ENC_REQUIRED)
919 if (policy == MPPE_ENC_POL_ENC_ALLOWED && !ccp_wantoptions[0].mppe)
/components/lwp/
A Dlwp_syscall.c8883 sysret_t sys_sched_get_priority_max(int policy) in sys_sched_get_priority_max() argument
8885 if(policy < 0) in sys_sched_get_priority_max()
8908 sysret_t sys_sched_get_priority_min(int policy) in sys_sched_get_priority_min() argument
8910 if(policy < 0) in sys_sched_get_priority_min()
8938 sysret_t sys_sched_setscheduler(int tid, int policy, void *param) in sys_sched_setscheduler() argument

Completed in 30 milliseconds