Home
last modified time | relevance | path

Searched refs:member (Results 1 – 7 of 7) sorted by relevance

/scripts/kconfig/
Dlist.h19 #define container_of(ptr, type, member) ({ \ argument
20 const typeof( ((type *)0)->member ) *__mptr = (ptr); \
21 (type *)( (char *)__mptr - offsetof(type,member) );})
40 #define list_entry(ptr, type, member) \ argument
41 container_of(ptr, type, member)
49 #define list_for_each_entry(pos, head, member) \ argument
50 for (pos = list_entry((head)->next, typeof(*pos), member); \
51 &pos->member != (head); \
52 pos = list_entry(pos->member.next, typeof(*pos), member))
61 #define list_for_each_entry_safe(pos, n, head, member) \ argument
[all …]
/scripts/coccinelle/iterators/
Duse_after_iter.cocci22 identifier c,member;
43 list_for_each_entry@p1(c,...,member) { ... when != break;
48 list_for_each_entry_reverse@p1(c,...,member) { ... when != break;
53 list_for_each_entry_continue@p1(c,...,member) { ... when != break;
58 list_for_each_entry_continue_reverse@p1(c,...,member) { ... when != break;
63 list_for_each_entry_from@p1(c,...,member) { ... when != break;
68 list_for_each_entry_safe@p1(c,...,member) { ... when != break;
73 list_for_each_entry_safe_continue@p1(c,...,member) { ... when != break;
78 list_for_each_entry_safe_from@p1(c,...,member) { ... when != break;
83 list_for_each_entry_safe_reverse@p1(c,...,member) { ... when != break;
[all …]
/scripts/gdb/linux/
Dlists.py36 def list_for_each_entry(head, gdbtype, member): argument
38 yield utils.container_of(node, gdbtype, member)
54 def hlist_for_each_entry(head, gdbtype, member): argument
56 yield utils.container_of(node, gdbtype, member)
Dtimerlist.py141 for member, fmt in members:
142 if dev[member]:
143 text += fmt.format(dev[member])
Dutils.py50 def container_of(ptr, typeobj, member): argument
52 offset_of(typeobj, member)).cast(typeobj)
/scripts/coccinelle/misc/
Dflexible_array.cocci80 msg = "WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/de…
87 msg = "WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/de…
/scripts/
Dspelling.txt887 memmber||member