Home
last modified time | relevance | path

Searched defs:policy (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/lib/posix/options/
Dpthread_sched.h15 static inline bool valid_posix_policy(int policy) in valid_posix_policy()
20 static inline int posix_sched_priority_min(int policy) in posix_sched_priority_min()
30 static inline int posix_sched_priority_max(int policy) in posix_sched_priority_max()
Dsched.c17 int sched_get_priority_min(int policy) in sched_get_priority_min()
27 int sched_get_priority_max(int policy) in sched_get_priority_max()
81 int sched_setscheduler(pid_t pid, int policy, const struct sched_param *param) in sched_setscheduler()
Dpthread.c239 static bool is_posix_policy_prio_valid(int priority, int policy) in is_posix_policy_prio_valid()
252 int zephyr_to_posix_priority(int z_prio, int *policy) in zephyr_to_posix_priority()
270 int posix_to_zephyr_priority(int priority, int policy) in posix_to_zephyr_priority()
857 int pthread_setschedparam(pthread_t pthread, int policy, const struct sched_param *param) in pthread_setschedparam()
896 int policy = -1; in pthread_setschedprio() local
974 int pthread_getschedparam(pthread_t pthread, int *policy, struct sched_param *param) in pthread_getschedparam()
1254 int pthread_attr_getschedpolicy(const pthread_attr_t *_attr, int *policy) in pthread_attr_getschedpolicy()
1271 int pthread_attr_setschedpolicy(pthread_attr_t *_attr, int policy) in pthread_attr_setschedpolicy()
/Zephyr-latest/tests/posix/common/src/
Dpthread.c61 int policy; in thread_top_exec() local
191 int policy, ret; in thread_top_term() local
239 p_prio, policy; in ZTEST() local
252 for (int z_prio = 0, prio = CONFIG_NUM_PREEMPT_PRIORITIES - 1, p_prio, policy; in ZTEST() local
495 int policy = 0; in ZTEST() local
592 int policy; in test_pthread_setschedprio_fn() local
Dpthread_attr.c196 int policy = BIOS_FOOD; in ZTEST() local
216 int policy = SCHED_OTHER; in ZTEST() local
352 int policy; in test_pthread_attr_setinheritsched_common() local
/Zephyr-latest/samples/posix/philosophers/src/
Dmain.c90 int policy; in print_phil_state() local
215 int policy; in start_threads() local
/Zephyr-latest/subsys/bluetooth/host/shell/
Dl2cap.c244 const char *policy; in cmd_register() local