target_timer_callback is only used within OpenOCD.
 
Symbols
loading...
Files
loading...

target_timer_callback struct

Syntax

struct target_timer_callback {     int (*callback)(void *priv);     unsigned int time_ms;     enum target_timer_type type;     bool removed;     int64_t when;         void *priv;     struct target_timer_callback *next; };

Fields

callback

No summary provided. Read more...

time_ms

No summary provided. Read more...

type

No summary provided. Read more...

removed

No summary provided. Read more...

when

No summary provided. Read more...

priv

No summary provided. Read more...

next

No summary provided. Read more...

References

LocationReferrerScopeText
target.h:336
struct target_timer_callback {
target.c:109target_timer_callbacks
static struct target_timer_callback *target_timer_callbacks;
target.c:1671target_register_timer_callback()
struct target_timer_callback **callbacks_p = &target_timer_callbacks;
target.c:1682target_register_timer_callback()
(*callbacks_p) = malloc(sizeof(struct target_timer_callback));
target.c:1763target_unregister_timer_callback()
for (struct target_timer_callback *c = target_timer_callbacks;
target.c:1823target_timer_callback_periodic_restart()
struct target_timer_callback *cb, int64_t *now)
target.c:1829target_call_timer_callback()
static int target_call_timer_callback(struct target_timer_callback *cb,
target.c:1862target_call_timer_callbacks_check_time()
struct target_timer_callback **callback = &target_timer_callbacks;
target.c:1865target_call_timer_callbacks_check_time()
struct target_timer_callback *p = *callback;
target.c:1867target_call_timer_callbacks_check_time()
free(p);
target.c:2250target_quit()
struct target_timer_callback *pt = target_timer_callbacks;
target.c:2252target_quit()
struct target_timer_callback *t = pt->next;
target.c:2253target_quit()
free(pt);
target.h:343target_timer_callback::nexttarget_timer_callback
struct target_timer_callback *next;

Type Use

Variables of target_timer_callback type
target_register_timer_callback()::callbacks_p
target_unregister_timer_callback()::c
target_call_timer_callbacks_check_time()::callback
target_call_timer_callbacks_check_time()::p
target_quit()::pt
target_quit()::t
all items filtered out
target_timer_callback
Allocators of target_timer_callback
Deletors of target_timer_callback
all items filtered out
target_timer_callback