Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/f9micro/f9-kernel
/ functions
Functions
1,233 in github.com/f9micro/f9-kernel
⨍
Functions
1,233
◇
Types & classes
166
↓ 1 callers
Function
test_notification_timer_periodic
* Test: Verify periodic timer creation. * * Creates a periodic timer that delivers multiple notifications. * Tests: * - Periodic timer creation wi
user/apps/tests/test-notification.c:70
↓ 1 callers
Function
test_pthread_attr
Test 4: pthread_attr operations */
user/apps/posix/test-pthread.c:153
↓ 1 callers
Function
test_pthread_cancel
user/apps/posix/test-pthread.c:622
↓ 1 callers
Function
test_pthread_cond_basic
Test 9: Condition variable basic wait/signal */
user/apps/posix/test-pthread.c:334
↓ 1 callers
Function
test_pthread_cond_broadcast
Test 10: Condition variable broadcast */
user/apps/posix/test-pthread.c:370
↓ 1 callers
Function
test_pthread_cond_timedwait
Test 12: pthread_cond_timedwait - timeout */
user/apps/posix/test-pthread.c:448
↓ 1 callers
Function
test_pthread_create_join
Test 1: pthread_create and pthread_join */
user/apps/posix/test-pthread.c:85
↓ 1 callers
Function
test_pthread_detach
Test 2: pthread_detach */
user/apps/posix/test-pthread.c:105
↓ 1 callers
Function
test_pthread_mutex_basic
Test 5: pthread_mutex basic operations */
user/apps/posix/test-pthread.c:198
↓ 1 callers
Function
test_pthread_mutex_errors
Test 8: Mutex ownership errors and deadlock detection */
user/apps/posix/test-pthread.c:298
↓ 1 callers
Function
test_pthread_mutex_recursive
Test 6: pthread_mutex recursive */
user/apps/posix/test-pthread.c:237
↓ 1 callers
Function
test_pthread_mutex_stress
Test 7: pthread_mutex stress test - single thread version */
user/apps/posix/test-pthread.c:278
↓ 1 callers
Function
test_pthread_mutex_timedlock
Test 11: pthread_mutex_timedlock - basic functionality */
user/apps/posix/test-pthread.c:414
↓ 1 callers
Function
test_pthread_self_equal
Test 3: pthread_self and pthread_equal */
user/apps/posix/test-pthread.c:127
↓ 1 callers
Function
test_pthread_spin_basic
Test 13: pthread_spin_init/destroy - basic operations */
user/apps/posix/test-pthread.c:478
↓ 1 callers
Function
test_pthread_spin_errors
Test 16: pthread_spin_destroy - error cases */
user/apps/posix/test-pthread.c:562
↓ 1 callers
Function
test_pthread_spin_lock_unlock
Test 14: pthread_spin_lock/unlock - basic locking */
user/apps/posix/test-pthread.c:507
↓ 1 callers
Function
test_pthread_spin_trylock
Test 15: pthread_spin_trylock - non-blocking acquire */
user/apps/posix/test-pthread.c:533
↓ 1 callers
Function
test_pts_priority_inheritance
* Test: PTS with Priority Inheritance (ThreadX-compatible semantics) * * Validates that PTS threshold interacts correctly with priority inheritance.
user/apps/tests/test-sched.c:464
↓ 1 callers
Function
test_pts_reduced_preemption
* Test: PTS Reduces Context Switches (ThreadX-compatible semantics) * * Validates that preemption threshold reduces unnecessary preemptions. * Lowe
user/apps/tests/test-sched.c:397
↓ 1 callers
Function
test_pts_threshold_bounds
* Test: PTS Threshold Bounds Checking (ThreadX-compatible semantics) * * Validates PTS threshold constraints: * 1. Threshold must be within valid
user/apps/tests/test-sched.c:324
↓ 1 callers
Function
test_pts_threshold_set
* Test: PTS Threshold Validation (ThreadX-compatible semantics) * * Validates that preemption threshold can be set within valid range. * Threshold
user/apps/tests/test-sched.c:275
↓ 1 callers
Function
test_sched_idle_fallback
* Test: Idle Thread Fallback * * Validates the queue invariant: idle thread (priority 31) is always * runnable, ensuring schedule_select() never fa
user/apps/tests/test-sched.c:185
↓ 1 callers
Function
test_sched_ipc_priority_boost
* Test: IPC Priority Boost (S6 - Priority Inheritance) * * From the paper's property S6: * "A low-priority task must inherit priorities when its
user/apps/tests/test-sched.c:212
↓ 1 callers
Function
test_sched_no_starvation
* Test: Liveness Property (No Starvation) * * From the paper's LTL formula: * []<>SysTick -> ([]<>Task1 /\ []<>Task2 /\ ... /\ []<>TaskN) * * "
user/apps/tests/test-sched.c:123
↓ 1 callers
Function
test_sched_round_robin
* Test: Round-Robin Yield Mechanism * * Validates the round-robin component of the scheduler. * L4_Yield rotates the current thread to the back of
user/apps/tests/test-sched.c:90
↓ 1 callers
Function
test_sched_syscall
* Test: Schedule Syscall Path * * Validates L4_Set_Priority syscall reaches the kernel and returns. * This exercises the full syscall path: user ->
user/apps/tests/test-sched.c:233
↓ 1 callers
Function
test_sched_yield_returns
* Test: Yield Returns Control * * Validates sched_yield() implementation: * 1. Rotates thread to back of priority queue * 2. Returns control (
user/apps/tests/test-sched.c:154
↓ 1 callers
Function
test_sem_getvalue
Test 4: sem_getvalue */
user/apps/posix/test-semaphore.c:165
↓ 1 callers
Function
test_sem_init_destroy
Test 1: sem_init and sem_destroy */
user/apps/posix/test-semaphore.c:67
↓ 1 callers
Function
test_sem_multi_producer_consumer
Test 6: Multiple producers and consumers */
user/apps/posix/test-semaphore.c:235
↓ 1 callers
Function
test_sem_overflow
Test 8: sem_post overflow handling (POSIX SEM_VALUE_MAX compliance) * * POSIX requires sem_post to return EOVERFLOW when the semaphore value * woul
user/apps/posix/test-semaphore.c:326
↓ 1 callers
Function
test_sem_post_wait
Test 2: sem_post and sem_wait */
user/apps/posix/test-semaphore.c:101
↓ 1 callers
Function
test_sem_producer_consumer
Test 5: Producer-Consumer pattern */
user/apps/posix/test-semaphore.c:199
↓ 1 callers
Function
test_sem_trywait
Test 3: sem_trywait - uses static semaphore to avoid register clobbering * * Local variables on the stack have addresses computed from frame/stack
user/apps/posix/test-semaphore.c:136
↓ 1 callers
Function
test_sem_wait_blocks
Test 7: Blocking sem_wait test - verifies actual blocking semantics * * This test creates a waiter thread that blocks on a zero-count semaphore. *
user/apps/posix/test-semaphore.c:287
↓ 1 callers
Function
test_tcontrol_config
Test 2: Thread configuration (pager, scheduler) */
user/apps/tests/test-tcontrol.c:28
↓ 1 callers
Function
test_tcontrol_create
Test 1: Basic thread creation */
user/apps/tests/test-tcontrol.c:20
↓ 1 callers
Function
test_tcontrol_delete
Test 3: Thread deletion */
user/apps/tests/test-tcontrol.c:48
↓ 1 callers
Function
test_tcontrol_invalid
Test 5: Invalid thread operations */
user/apps/tests/test-tcontrol.c:78
↓ 1 callers
Function
test_tcontrol_preemption
Test 6: Preemption control */
user/apps/tests/test-tcontrol.c:98
↓ 1 callers
Function
test_tcontrol_utcb
Test 4: UTCB area configuration */
user/apps/tests/test-tcontrol.c:56
↓ 1 callers
Function
test_thread_global_id
* Test: Verify L4_MyGlobalId() matches L4_Myself(). */
user/apps/tests/test-thread.c:55
↓ 1 callers
Function
test_thread_pager
* Test: Verify L4_Pager() returns valid pager thread. */
user/apps/tests/test-thread.c:77
↓ 1 callers
Function
test_thread_priority
* Thread Priority Test * * Verify thread priority can be set and queried. * Tests the schedule syscall with valid priority values. */
user/apps/tests/test-safety.c:176
↓ 1 callers
Function
test_thread_self
* Test: Verify L4_Myself() returns valid thread ID. */
user/apps/tests/test-thread.c:33
↓ 1 callers
Function
test_thread_yield
* Thread Yield Test * * Verify L4_Yield doesn't crash and returns control. */
user/apps/tests/test-safety.c:204
↓ 1 callers
Function
test_timer_monotonicity
user/apps/tests/test-safety.c:131
↓ 1 callers
Function
test_timer_period
* Test: Verify L4_TimePeriod() creates valid time values. */
user/apps/tests/test-timer.c:14
↓ 1 callers
Function
test_timer_sleep
* Test: Verify L4_Sleep() returns without error. * Note: We don't test timing accuracy since QEMU timing is unreliable. */
user/apps/tests/test-timer.c:37
↓ 1 callers
Function
test_timer_zero_sleep
* Timer Zero Sleep Test * * Test L4_Sleep with various time values. * Should return without hanging. */
user/apps/tests/test-safety.c:107
↓ 1 callers
Function
thread_create
Called from user thread */
kernel/thread.c:249
↓ 1 callers
Function
thread_deinit
kernel/thread.c:242
↓ 1 callers
Function
thread_destroy
kernel/thread.c:290
↓ 1 callers
Function
thread_init_kernel_ctx
Kernel has no fake context, instead of that we rewind * stack and reuse it for kernel thread * * Stack will be created after first interrupt */
kernel/thread.c:478
↓ 1 callers
Function
thread_init_prebuilt_ctx
kernel/thread.c:454
↓ 1 callers
Function
thread_isrunnable
kernel/thread.c:510
↓ 1 callers
Function
thread_make_sender_runnable
Make sender runnable, restoring base priority. * IPC senders should not retain receiver's priority boost. */
kernel/ipc.c:41
↓ 1 callers
Function
thread_map_delete
kernel/thread.c:180
↓ 1 callers
Function
thread_map_insert
* Insert thread into thread map */
kernel/thread.c:159
↓ 1 callers
Function
thread_switch
Switch context */
kernel/thread.c:526
↓ 1 callers
Function
tickless_verify_count
kernel/tickless-verify.c:105
↓ 1 callers
Function
tickless_verify_count_int
kernel/tickless-verify.c:110
↓ 1 callers
Function
tickless_verify_init
kernel/tickless-verify.c:43
↓ 1 callers
Function
tickless_verify_start
kernel/tickless-verify.c:63
↓ 1 callers
Function
tickless_verify_stat
kernel/tickless-verify.c:115
↓ 1 callers
Function
tickless_verify_stop
kernel/tickless-verify.c:75
↓ 1 callers
Function
timer_lock_acquire
user/lib/posix/time.c:134
↓ 1 callers
Function
timer_lock_release
user/lib/posix/time.c:141
↓ 1 callers
Function
trigger_mpu_fault
* Attempt to write to code memory. * This should trigger an MPU fault since code is execute-only or read-only. */
user/apps/tests/test-fault.c:47
↓ 1 callers
Function
unmap_fpage
kernel/fpage.c:513
↓ 1 callers
Function
usart_baud
platform/stm32l4/usart.c:38
↓ 1 callers
Function
usart_baud
platform/stm32-common/usart.c:32
↓ 1 callers
Function
usart_getc
platform/stm32l4/usart.c:63
↓ 1 callers
Function
usart_init
platform/stm32l4/usart.c:75
↓ 1 callers
Function
usart_interrupt_status
platform/stm32-common/usart.c:84
↓ 1 callers
Function
use_thread_node
user/lib/l4/pager.c:42
↓ 1 callers
Function
user_fpage_number
user/lib/l4/pager.c:172
↓ 1 callers
Function
user_interrupt_config
kernel/interrupt.c:300
↓ 1 callers
Function
user_interrupt_handler_update
kernel/interrupt.c:340
↓ 1 callers
Function
user_irq_clear_pending
kernel/interrupt.c:403
↓ 1 callers
Function
user_irq_create_default
kernel/interrupt.c:107
↓ 1 callers
Function
user_irq_enable
kernel/interrupt.c:381
↓ 1 callers
Function
user_irq_queue_is_empty
kernel/interrupt.c:64
↓ 1 callers
Function
user_irq_queue_push
kernel/interrupt.c:69
↓ 1 callers
Function
user_irq_release
kernel/interrupt.c:131
↓ 1 callers
Function
user_irq_reset_all
kernel/interrupt.c:101
↓ 1 callers
Function
user_log
kernel/user-log.c:11
↓ 1 callers
Function
validate_qemu_machine
Check that the QEMU binary supports the requested machine. Exits with a clear error if the machine is not available, which typically means th
scripts/qemu-test.py:173
↓ 1 callers
Function
waiter_list_add_locked
Add current thread to waiter list. Returns 0 on success, -1 if full. * Must be called with waiters_lock held. */
user/lib/posix/semaphore.c:77
↓ 1 callers
Function
waiter_list_pop_locked
Pop first waiter from list. Returns nilthread if list empty. * Must be called with waiters_lock held. */
user/lib/posix/semaphore.c:109
Function
FAULTMASK
include/platform/cortex_m.h:19
Function
L4_Accept
user/include/l4/message.h:766
Function
L4_AcceptStrings
user/include/l4/message.h:771
Function
L4_Accepted
user/include/l4/message.h:790
Function
L4_AddAcceptor
user/include/l4/message.h:709
Function
L4_AddAcceptorTo
user/include/l4/message.h:719
Function
L4_AddCacheAllocationHint
user/include/l4/message.h:384
Function
L4_AddCacheAllocationHintTo
user/include/l4/message.h:393
Function
L4_Address
user/include/l4/types.h:282
← previous
next →
601–700 of 1,233, ranked by callers