/Zephyr-Core-2.7.6/lib/posix/ |
D | pthread_sched.c | 10 static inline bool valid_posix_policy(int policy) in valid_posix_policy() argument 12 return policy == SCHED_FIFO || policy == SCHED_RR; in valid_posix_policy() 20 int sched_get_priority_min(int policy) in sched_get_priority_min() argument 22 if (!valid_posix_policy(policy)) { in sched_get_priority_min() 35 int sched_get_priority_max(int policy) in sched_get_priority_max() argument 37 if (IS_ENABLED(CONFIG_COOP_ENABLED) && policy == SCHED_FIFO) { in sched_get_priority_max() 39 } else if (IS_ENABLED(CONFIG_PREEMPT_ENABLED) && policy == SCHED_RR) { in sched_get_priority_max()
|
D | pthread.c | 38 static bool is_posix_prio_valid(uint32_t priority, int policy) in is_posix_prio_valid() argument 40 if (priority >= sched_get_priority_min(policy) && in is_posix_prio_valid() 41 priority <= sched_get_priority_max(policy)) { in is_posix_prio_valid() 48 static uint32_t zephyr_to_posix_priority(int32_t z_prio, int *policy) in zephyr_to_posix_priority() argument 53 *policy = SCHED_FIFO; in zephyr_to_posix_priority() 57 *policy = SCHED_RR; in zephyr_to_posix_priority() 65 static int32_t posix_to_zephyr_priority(uint32_t priority, int policy) in posix_to_zephyr_priority() argument 69 if (policy == SCHED_FIFO) { in posix_to_zephyr_priority() 268 int pthread_setschedparam(pthread_t pthread, int policy, in pthread_setschedparam() argument 278 if (policy != SCHED_RR && policy != SCHED_FIFO) { in pthread_setschedparam() [all …]
|
/Zephyr-Core-2.7.6/tests/posix/common/src/ |
D | pthread.c | 71 int policy; in thread_top_exec() local 74 pthread_getschedparam(pthread_self(), &policy, &schedparam); in thread_top_exec() 76 id, policy, schedparam.sched_priority); in thread_top_exec() 193 int oldstate, policy, ret; in thread_top_term() local 205 zassert_false(pthread_getschedparam(self, &policy, &getschedparam), in thread_top_term() 235 int dstate, policy; in test_posix_pthread_execution() local 280 ret = pthread_attr_getschedpolicy(&attr[0], &policy); in test_posix_pthread_execution() 330 pthread_attr_getschedpolicy(&attr[i], &policy); in test_posix_pthread_execution() 331 zassert_equal(schedpolicy, policy, in test_posix_pthread_execution() 412 int policy, detach; in test_posix_pthread_error_condition() local [all …]
|
D | posix_rwlock.c | 20 uint32_t policy, ret = 0U; in thread_top() local 25 pthread_getschedparam(pthread, &policy, ¶m); in thread_top() 27 id, policy, param.sched_priority); in thread_top()
|
/Zephyr-Core-2.7.6/subsys/pm/policy/ |
D | Kconfig | 6 Select the idle state power management policy. 12 Select this option for PM policy based on CPU residencies. 19 This policy is used for testing purposes only. 24 When this option is selected, the application must provide PM policy. 31 Use the default residency policy implementation
|
/Zephyr-Core-2.7.6/include/posix/ |
D | posix_sched.h | 38 int sched_get_priority_min(int policy); 39 int sched_get_priority_max(int policy);
|
D | pthread.h | 481 int pthread_attr_setschedpolicy(pthread_attr_t *attr, int policy); 482 int pthread_attr_getschedpolicy(const pthread_attr_t *attr, int *policy); 489 int pthread_getschedparam(pthread_t pthread, int *policy, 505 int pthread_setschedparam(pthread_t pthread, int policy,
|
/Zephyr-Core-2.7.6/arch/arm64/core/cortex_r/mpu/ |
D | Kconfig | 25 system requires PRIV access policy different from the access policy 33 policy allows instruction fetches by privileged code, forcing
|
/Zephyr-Core-2.7.6/subsys/pm/ |
D | CMakeLists.txt | 7 add_subdirectory(policy)
|
D | Kconfig | 29 source "subsys/pm/policy/Kconfig"
|
/Zephyr-Core-2.7.6/subsys/bluetooth/shell/ |
D | l2cap.c | 241 const char *policy; in cmd_register() local 255 policy = argv[3]; in cmd_register() 257 if (!strcmp(policy, "allowlist")) { in cmd_register() 259 } else if (!strcmp(policy, "16byte_key")) { in cmd_register()
|
/Zephyr-Core-2.7.6/arch/arm/core/aarch32/mpu/ |
D | Kconfig | 30 system requires PRIV access policy different from the access policy 38 policy allows instruction fetches by privileged code, forcing
|
/Zephyr-Core-2.7.6/doc/reference/usermode/ |
D | mpu_stack_objects.rst | 59 that covers the memory access to determine the enforcement policy. Others may 60 logically OR regions to determine enforcement policy.
|
D | overview.rst | 35 memory that has an incompatible policy, such as attempting to write to a 38 - Access to thread stack buffers will be controlled with a policy which 60 on read-only basis, kernel-wide. This policy may be adjusted.
|
D | memory_domain.rst | 26 MPUs have the concept of a default memory access policy map, which can be 152 policy is only intended to be controlled by boot-time memory regions.
|
/Zephyr-Core-2.7.6/doc/reference/power_management/ |
D | index.rst | 62 on the selected power management policy and the duration of the idle time 136 The policy manager is responsible for informing the power subsystem which 151 This policy also accounts for the time necessary to become active 152 again. The core logic used by this policy to select the best power 164 The power management policy is defined by the application which has to implement 171 In this policy the application is free to decide which power state the 175 An example of an application that defines its own policy can be found in 333 returned by the policy manager, the system may suspend or put devices in low
|
/Zephyr-Core-2.7.6/doc/reference/kernel/other/ |
D | fatal.rst | 39 The policy for what to do when encountering a failed assertion is controlled 239 The policy for what to do when encountering a fatal error is determined by the 245 Applications are free to implement their own error handling policy by
|
/Zephyr-Core-2.7.6/subsys/testsuite/ |
D | Kconfig | 85 Option which implements default policy of enabling logging in
|
/Zephyr-Core-2.7.6/doc/getting_started/ |
D | toolchain_3rd_party_x_compilers.rst | 29 policy <mac-gatekeeper>` for the toolchain to be able to run from the
|
/Zephyr-Core-2.7.6/boards/arm/cc3235sf_launchxl/doc/ |
D | index.rst | 256 "Fast Connect" policy is enabled, with one-shot scanning.
|
/Zephyr-Core-2.7.6/boards/arm/cc3220sf_launchxl/doc/ |
D | index.rst | 256 "Fast Connect" policy is enabled, with one-shot scanning.
|
/Zephyr-Core-2.7.6/subsys/debug/ |
D | Kconfig | 197 fails, the policy for what to do is controlled by the implementation
|
/Zephyr-Core-2.7.6/drivers/timer/ |
D | Kconfig | 173 prompt "Clock startup policy"
|
/Zephyr-Core-2.7.6/doc/reference/kernel/threads/ |
D | workqueue.rst | 353 Use this if the policy is to keep collecting data until a specified delay 358 if the policy is to keep collecting data until a specified delay since the
|
/Zephyr-Core-2.7.6/doc/reference/bluetooth/ |
D | hci.txt | 779 filter policy. 1179 advertising filter policy.
|