list_for_each_entry_safe is only used within OpenOCD.
 
Symbols
loading...
Files
loading...
CodeScopeDevelopment ToolsOpenOCDlist_for_each_entry_safe

list_for_each_entry_safe macro

Syntax

#define list_for_each_entry_safe(p, n, h, field) \     for (p = list_entry((h)->next, typeof(*p), field), \     n = list_entry((p)->field.next, typeof(*p), field); &(p)->field != (h);\     p = n, n = list_entry(n->field.next, typeof(*n), field))

Arguments

p

n

h

field

References

LocationText
libusbi.h:179
#define list_for_each_entry_safe(pos, n, head, member, type) \
list.h:155
#define list_for_each_entry_safe(p, n, h, field) \
adi_v5_jtag.c:225
list_for_each_entry_safe(el, tmp, lh, lh) {
adi_v5_jtag.c:236
list_for_each_entry_safe(el, tmp, lh, lh) {
adi_v5_jtag.c:597
list_for_each_entry_safe(el, tmp, &replay_list, lh) {
arc.c:1415
list_for_each_entry_safe(desc, k, &arc->aux_reg_descriptions, list)
arc.c:1418
list_for_each_entry_safe(desc, k, &arc->core_reg_descriptions, list)
arc.c:1421
list_for_each_entry_safe(desc, k, &arc->bcr_reg_descriptions, list)
arm_cti.c:210
list_for_each_entry_safe(obj, tmp, &all_cti, lh) {
arm_dap.c:165
list_for_each_entry_safe(obj, tmp, &all_dap, lh) {
arm_tpiu_swo.c:213
list_for_each_entry_safe(obj, tmp, &all_tpiu_swo, lh) {
arm_tpiu_swo.c:285
list_for_each_entry_safe(c, tmp, &obj->connections, lh)
binarybuffer.c:313
list_for_each_entry_safe(qe, tmp, &q->list, list) {
binarybuffer.c:324
list_for_each_entry_safe(qe, tmp, &q->list, list) {
command.c:992
list_for_each_entry_safe(curr, n, cmd_ctx->help_list, lh) {
libusbi.h:192
list_for_each_entry_safe(pos, n, head, list, type)
libusbi.h:1502
list_for_each_entry_safe(t, n, (list), completed_list, struct usbi_transfer)
riscv.c:505
list_for_each_entry_safe(entry, tmp, &info->expose_csr, list) {
riscv.c:510
list_for_each_entry_safe(entry, tmp, &info->expose_custom, list) {
target.c:2220
list_for_each_entry_safe(head, tmp, target->smp_targets, lh) {
telnet_server.c:744
list_for_each_entry_safe(match, tmp, &matches, lh)