OpenOCD
cmd_queue_alloc()
is only used within OpenOCD.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
Development Tools
OpenOCD
cmd_queue_alloc()
cmd_queue_alloc() function
Syntax
from
commands.h:152
void
*
cmd_queue_alloc
(
size_t
size
)
;
Implemented in
commands.c:66
Arguments
size
References
Location
Referrer
Text
commands.c:66
void
*
cmd_queue_alloc
(
size_t
size
)
commands.h:152
void
*
cmd_queue_alloc
(
size_t
size
)
;
commands.c:163
jtag_scan_field_clone()
dst
->
out_value
=
buf_cpy
(
src
->
out_value
,
cmd_queue_alloc
(
DIV_ROUND_UP
(
src
->
num_bits
,
8
)
)
,
src
->
num_bits
)
;
driver.c:56
interface_jtag_add_ir_scan()
struct
jtag_command
*
cmd
=
cmd_queue_alloc
(
sizeof
(
struct
jtag_command
)
)
;
driver.c:57
interface_jtag_add_ir_scan()
struct
scan_command
*
scan
=
cmd_queue_alloc
(
sizeof
(
struct
scan_command
)
)
;
driver.c:58
interface_jtag_add_ir_scan()
struct
scan_field
*
out_fields
=
cmd_queue_alloc
(
num_taps
*
sizeof
(
struct
scan_field
)
)
;
driver.c:89
interface_jtag_add_ir_scan()
uint8_t
*
v
=
cmd_queue_alloc
(
DIV_ROUND_UP
(
tap
->
ir_length
,
8
)
)
;
driver.c:93
interface_jtag_add_ir_scan()
field
->
out_value
=
buf_set_ones
(
cmd_queue_alloc
(
DIV_ROUND_UP
(
tap
->
ir_length
,
8
)
)
,
tap
->
ir_length
)
;
driver.c:134
interface_jtag_add_dr_scan()
struct
jtag_command
*
cmd
=
cmd_queue_alloc
(
sizeof
(
struct
jtag_command
)
)
;
driver.c:135
interface_jtag_add_dr_scan()
struct
scan_command
*
scan
=
cmd_queue_alloc
(
sizeof
(
struct
scan_command
)
)
;
driver.c:136
interface_jtag_add_dr_scan()
struct
scan_field
*
out_fields
=
cmd_queue_alloc
(
(
in_num_fields
+
bypass_devices
)
*
sizeof
(
struct
scan_field
)
)
;
driver.c:189
jtag_add_plain_scan()
struct
jtag_command
*
cmd
=
cmd_queue_alloc
(
sizeof
(
struct
jtag_command
)
)
;
driver.c:190
jtag_add_plain_scan()
struct
scan_command
*
scan
=
cmd_queue_alloc
(
sizeof
(
struct
scan_command
)
)
;
driver.c:191
jtag_add_plain_scan()
struct
scan_field
*
out_fields
=
cmd_queue_alloc
(
sizeof
(
struct
scan_field
)
)
;
driver.c:204
jtag_add_plain_scan()
out_fields
->
out_value
=
buf_cpy
(
out_bits
,
cmd_queue_alloc
(
DIV_ROUND_UP
(
num_bits
,
8
)
)
,
num_bits
)
;
driver.c:225
interface_jtag_add_tlr()
struct
jtag_command
*
cmd
=
cmd_queue_alloc
(
sizeof
(
struct
jtag_command
)
)
;
driver.c:231
interface_jtag_add_tlr()
cmd
->
cmd
.
statemove
=
cmd_queue_alloc
(
sizeof
(
struct
statemove_command
)
)
;
driver.c:241
interface_add_tms_seq()
cmd
=
cmd_queue_alloc
(
sizeof
(
struct
jtag_command
)
)
;
driver.c:246
interface_add_tms_seq()
cmd
->
cmd
.
tms
=
cmd_queue_alloc
(
sizeof
(
*
cmd
->
cmd
.
tms
)
)
;
driver.c:253
interface_add_tms_seq()
cmd_queue_alloc
(
DIV_ROUND_UP
(
num_bits
,
8
)
)
,
num_bits
)
;
driver.c:265
interface_jtag_add_pathmove()
struct
jtag_command
*
cmd
=
cmd_queue_alloc
(
sizeof
(
struct
jtag_command
)
)
;
driver.c:271
interface_jtag_add_pathmove()
cmd
->
cmd
.
pathmove
=
cmd_queue_alloc
(
sizeof
(
struct
pathmove_command
)
)
;
driver.c:273
interface_jtag_add_pathmove()
cmd
->
cmd
.
pathmove
->
path
=
cmd_queue_alloc
(
sizeof
(
tap_state_t
)
*
num_states
)
;
driver.c:284
interface_jtag_add_runtest()
struct
jtag_command
*
cmd
=
cmd_queue_alloc
(
sizeof
(
struct
jtag_command
)
)
;
driver.c:290
interface_jtag_add_runtest()
cmd
->
cmd
.
runtest
=
cmd_queue_alloc
(
sizeof
(
struct
runtest_command
)
)
;
driver.c:300
interface_jtag_add_clocks()
struct
jtag_command
*
cmd
=
cmd_queue_alloc
(
sizeof
(
struct
jtag_command
)
)
;
driver.c:306
interface_jtag_add_clocks()
cmd
->
cmd
.
stableclocks
=
cmd_queue_alloc
(
sizeof
(
struct
stableclocks_command
)
)
;
driver.c:315
interface_jtag_add_reset()
struct
jtag_command
*
cmd
=
cmd_queue_alloc
(
sizeof
(
struct
jtag_command
)
)
;
driver.c:321
interface_jtag_add_reset()
cmd
->
cmd
.
reset
=
cmd_queue_alloc
(
sizeof
(
struct
reset_command
)
)
;
driver.c:331
interface_jtag_add_sleep()
struct
jtag_command
*
cmd
=
cmd_queue_alloc
(
sizeof
(
struct
jtag_command
)
)
;
driver.c:337
interface_jtag_add_sleep()
cmd
->
cmd
.
sleep
=
cmd_queue_alloc
(
sizeof
(
struct
sleep_command
)
)
;
driver.c:348
interface_jtag_add_callback4()
struct
jtag_callback_entry
*
entry
=
cmd_queue_alloc
(
sizeof
(
struct
jtag_callback_entry
)
)
;
esirisc_jtag.c:106
esirisc_jtag_send()
struct
scan_field
*
fields
=
cmd_queue_alloc
(
num_fields
*
sizeof
(
struct
scan_field
)
)
;
minidriver_imp.h:17
interface_jtag_add_scan_check_alloc()
field
->
in_value
=
cmd_queue_alloc
(
num_bytes
)
;
Call Tree
Functions calling
cmd_queue_alloc()
Functions called by
cmd_queue_alloc()
jtag_scan_field_clone()
interface_jtag_add_scan_check_alloc()
interface_jtag_add_ir_scan()
interface_jtag_add_dr_scan()
jtag_add_plain_scan()
interface_jtag_add_tlr()
interface_add_tms_seq()
interface_jtag_add_pathmove()
interface_jtag_add_runtest()
interface_jtag_add_clocks()
interface_jtag_add_reset()
interface_jtag_add_sleep()
interface_jtag_add_callback4()
esirisc_jtag_send()
all items filtered out
cmd_queue_alloc()
malloc()
all items filtered out
Data read by
cmd_queue_alloc()
Data written by
cmd_queue_alloc()
cmd_queue_alloc()::size
cmd_queue_page::next
cmd_queue_page::address
cmd_queue_page::used
cmd_queue_alloc()::offset
cmd_queue_alloc()::t
cmd_queue_alloc()::alloc_size
all items filtered out
cmd_queue_alloc()
cmd_queue_alloc()::size
cmd_queue_page::next
cmd_queue_page::address
cmd_queue_page::used
cmd_queue_pages_tail
cmd_queue_alloc()::p_page
cmd_queue_alloc()::offset
cmd_queue_alloc()::t
all items filtered out
Type of
cmd_queue_alloc()
cmd_queue_alloc()
size_t
uint8_t
cmd_queue_page
all items filtered out
Types allocated by
cmd_queue_alloc()
cmd_queue_alloc()
cmd_queue_page
all items filtered out