/scripts/mod/ |
D | list.h | 18 #define container_of(ptr, type, member) ({ \ argument 20 _Static_assert(__same_type(*(ptr), ((type *)0)->member) || \ 23 ((type *)(__mptr - offsetof(type, member))); }) 158 #define list_entry(ptr, type, member) \ argument 159 container_of(ptr, type, member) 169 #define list_first_entry(ptr, type, member) \ argument 170 list_entry((ptr)->next, type, member) 177 #define list_next_entry(pos, member) \ argument 178 list_entry((pos)->member.next, typeof(*(pos)), member) 186 #define list_entry_is_head(pos, head, member) \ argument [all …]
|
/scripts/kconfig/ |
D | list.h | 19 #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/ |
D | use_after_iter.cocci | 22 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/ |
D | lists.py | 41 def list_for_each_entry(head, gdbtype, member): argument 43 yield utils.container_of(node, gdbtype, member) 59 def hlist_for_each_entry(head, gdbtype, member): argument 61 yield utils.container_of(node, gdbtype, member)
|
D | timerlist.py | 141 for member, fmt in members: 142 if dev[member]: 143 text += fmt.format(dev[member])
|
D | utils.py | 49 def container_of(ptr, typeobj, member): argument 51 offset_of(typeobj, member)).cast(typeobj)
|
/scripts/coccinelle/misc/ |
D | flexible_array.cocci | 99 msg = "WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/de… 106 msg = "WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/de…
|
/scripts/ |
D | spelling.txt | 939 memmber||member
|