PicoSDK
+
0
/1 examples
SourceVu will show references to
lock_core::spin_lock
from the following samples and libraries:
FreeRTOS
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
Raspberry Pi Pico SDK and Examples
PicoSDK
lock_core::spin_lock
lock_core::spin_lock field
Syntax
Show:
Summary
Declaration
from
lock_core.h:55
spin_lock_t
*
spin_lock
;
Examples
lock_core::spin_lock
is referenced by 1 libraries and example projects:
FreeRTOS
References
from
0/1
examples
Code
Location
Referrer
spin_lock_t
*
spin_lock
;
lock_core.h:55
core
->
spin_lock
=
spin_lock_instance
(
lock_num
)
;
lock_core.c:11
lock_init()
if
(
l
->
spin_lock
)
{
mutex.c:25
runtime_init_mutex()
assert
(
1
==
(
uintptr_t
)
l
->
spin_lock
)
;
// indicator for a recursive mutex
mutex.c:26
runtime_init_mutex()
uint32_t
save
=
spin_lock_blocking
(
mtx
->
core
.
spin_lock
)
;
mutex.c:71
mutex_enter_blocking()
spin_unlock
(
mtx
->
core
.
spin_lock
,
save
)
;
mutex.c:74
mutex_enter_blocking()
lock_internal_spin_unlock_with_wait
(
&
mtx
->
core
,
save
)
;
mutex.c:77
mutex_enter_blocking()
uint32_t
save
=
spin_lock_blocking
(
mtx
->
core
.
spin_lock
)
;
mutex.c:84
recursive_mutex_enter_blocking()
spin_unlock
(
mtx
->
core
.
spin_lock
,
save
)
;
mutex.c:88
recursive_mutex_enter_blocking()
lock_internal_spin_unlock_with_wait
(
&
mtx
->
core
,
save
)
;
mutex.c:92
recursive_mutex_enter_blocking()
uint32_t
save
=
spin_lock_blocking
(
mtx
->
core
.
spin_lock
)
;
mutex.c:104
mutex_try_enter()
spin_unlock
(
mtx
->
core
.
spin_lock
,
save
)
;
mutex.c:112
mutex_try_enter()
uint32_t
save
=
spin_lock_blocking
(
mtx
->
core
.
spin_lock
)
;
mutex.c:130
recursive_mutex_try_enter()
spin_unlock
(
mtx
->
core
.
spin_lock
,
save
)
;
mutex.c:140
recursive_mutex_try_enter()
assert
(
mtx
->
core
.
spin_lock
)
;
mutex.c:166
mutex_enter_block_until()
uint32_t
save
=
spin_lock_blocking
(
mtx
->
core
.
spin_lock
)
;
mutex.c:169
mutex_enter_block_until()
spin_unlock
(
mtx
->
core
.
spin_lock
,
save
)
;
mutex.c:172
mutex_enter_block_until()
if
(
lock_internal_spin_unlock_with_best_effort_wait_or_timeout
(
&
mtx
->
core
,
save
,
until
)
)
{
mutex.c:175
mutex_enter_block_until()
assert
(
mtx
->
core
.
spin_lock
)
;
mutex.c:185
recursive_mutex_enter_block_until()
uint32_t
save
=
spin_lock_blocking
(
mtx
->
core
.
spin_lock
)
;
mutex.c:188
recursive_mutex_enter_block_until()
spin_unlock
(
mtx
->
core
.
spin_lock
,
save
)
;
mutex.c:192
recursive_mutex_enter_block_until()
if
(
lock_internal_spin_unlock_with_best_effort_wait_or_timeout
(
&
mtx
->
core
,
save
,
until
)
)
{
mutex.c:196
recursive_mutex_enter_block_until()
uint32_t
save
=
spin_lock_blocking
(
mtx
->
core
.
spin_lock
)
;
mutex.c:212
mutex_exit()
lock_internal_spin_unlock_with_notify
(
&
mtx
->
core
,
save
)
;
mutex.c:215
mutex_exit()
uint32_t
save
=
spin_lock_blocking
(
mtx
->
core
.
spin_lock
)
;
mutex.c:219
recursive_mutex_exit()
lock_internal_spin_unlock_with_notify
(
&
mtx
->
core
,
save
)
;
mutex.c:224
recursive_mutex_exit()
spin_unlock
(
mtx
->
core
.
spin_lock
,
save
)
;
mutex.c:226
recursive_mutex_exit()
return
mtx
->
core
.
spin_lock
!=
0
;
mutex.h:249
mutex_is_initialized()
return
mtx
->
core
.
spin_lock
!=
0
;
mutex.h:259
recursive_mutex_is_initialized()
uint32_t
save
=
spin_lock_blocking
(
q
->
core
.
spin_lock
)
;
queue.c:46
queue_add_internal()
lock_internal_spin_unlock_with_notify
(
&
q
->
core
,
save
)
;
queue.c:50
queue_add_internal()
lock_internal_spin_unlock_with_wait
(
&
q
->
core
,
save
)
;
queue.c:54
queue_add_internal()
spin_unlock
(
q
->
core
.
spin_lock
,
save
)
;
queue.c:56
queue_add_internal()
uint32_t
save
=
spin_lock_blocking
(
q
->
core
.
spin_lock
)
;
queue.c:64
queue_remove_internal()
lock_internal_spin_unlock_with_notify
(
&
q
->
core
,
save
)
;
queue.c:70
queue_remove_internal()
lock_internal_spin_unlock_with_wait
(
&
q
->
core
,
save
)
;
queue.c:74
queue_remove_internal()
spin_unlock
(
q
->
core
.
spin_lock
,
save
)
;
queue.c:76
queue_remove_internal()
uint32_t
save
=
spin_lock_blocking
(
q
->
core
.
spin_lock
)
;
queue.c:84
queue_peek_internal()
lock_internal_spin_unlock_with_notify
(
&
q
->
core
,
save
)
;
queue.c:89
queue_peek_internal()
lock_internal_spin_unlock_with_wait
(
&
q
->
core
,
save
)
;
queue.c:93
queue_peek_internal()
spin_unlock
(
q
->
core
.
spin_lock
,
save
)
;
queue.c:95
queue_peek_internal()
uint32_t
save
=
spin_lock_blocking
(
q
->
core
.
spin_lock
)
;
queue.h:98
queue_get_level()
spin_unlock
(
q
->
core
.
spin_lock
,
save
)
;
queue.h:100
queue_get_level()
uint32_t
save
=
spin_lock_blocking
(
sem
->
core
.
spin_lock
)
;
sem.c:28
sem_acquire_blocking()
spin_unlock
(
sem
->
core
.
spin_lock
,
save
)
;
sem.c:31
sem_acquire_blocking()
lock_internal_spin_unlock_with_wait
(
&
sem
->
core
,
save
)
;
sem.c:34
sem_acquire_blocking()
uint32_t
save
=
spin_lock_blocking
(
sem
->
core
.
spin_lock
)
;
sem.c:48
sem_acquire_block_until()
spin_unlock
(
sem
->
core
.
spin_lock
,
save
)
;
sem.c:51
sem_acquire_block_until()
if
(
lock_internal_spin_unlock_with_best_effort_wait_or_timeout
(
&
sem
->
core
,
save
,
until
)
)
{
sem.c:54
sem_acquire_block_until()
uint32_t
save
=
spin_lock_blocking
(
sem
->
core
.
spin_lock
)
;
sem.c:61
sem_try_acquire()
spin_unlock
(
sem
->
core
.
spin_lock
,
save
)
;
sem.c:64
sem_try_acquire()
spin_unlock
(
sem
->
core
.
spin_lock
,
save
)
;
sem.c:67
sem_try_acquire()
uint32_t
save
=
spin_lock_blocking
(
sem
->
core
.
spin_lock
)
;
sem.c:73
sem_release()
lock_internal_spin_unlock_with_notify
(
&
sem
->
core
,
save
)
;
sem.c:77
sem_release()
spin_unlock
(
sem
->
core
.
spin_lock
,
save
)
;
sem.c:80
sem_release()
uint32_t
save
=
spin_lock_blocking
(
sem
->
core
.
spin_lock
)
;
sem.c:87
sem_reset()
lock_internal_spin_unlock_with_notify
(
&
sem
->
core
,
save
)
;
sem.c:90
sem_reset()
spin_unlock
(
sem
->
core
.
spin_lock
,
save
)
;
sem.c:93
sem_reset()
uint32_t
save
=
spin_lock_blocking
(
sleep_notifier
.
spin_lock
)
;
time.c:378
sleep_until_callback()
lock_internal_spin_unlock_with_notify
(
&
sleep_notifier
,
save
)
;
time.c:379
sleep_until_callback()
uint32_t
save
=
spin_lock_blocking
(
sleep_notifier
.
spin_lock
)
;
time.c:401
sleep_until()
lock_internal_spin_unlock_with_wait
(
&
sleep_notifier
,
save
)
;
time.c:402
sleep_until()
Call Tree
from
0/1
examples
All items filtered out
All items filtered out
Data Use
from
0/1
examples
lock_core::spin_lock
is written by 1 function and is read by 22 functions:
lock_init()
All items filtered out
lock_core::spin_lock
mutex_is_initialized()
recursive_mutex_is_initialized()
sem_acquire_blocking()
sem_acquire_block_until()
sem_try_acquire()
sem_release()
sem_reset()
runtime_init_mutex()
mutex_enter_blocking()
recursive_mutex_enter_blocking()
mutex_try_enter()
recursive_mutex_try_enter()
mutex_enter_block_until()
recursive_mutex_enter_block_until()
mutex_exit()
recursive_mutex_exit()
sleep_until_callback()
sleep_until()
queue_add_internal()
queue_remove_internal()
queue_peek_internal()
queue_get_level()
All items filtered out
Class Tree
from
0/1
examples
All items filtered out
All items filtered out
Override Tree
from
0/1
examples
All items filtered out
All items filtered out
Implementations
from
0/1
examples
All items filtered out
All items filtered out
Instances
from
0/1
examples
Lifecycle
from
0/1
examples
All items filtered out
All items filtered out