Searched refs:member (Results 1 – 3 of 3) sorted by relevance
/DragonOS-0.1.7/kernel/src/common/ |
D | list.h | 137 #define list_entry(ptr, type, member) container_of(ptr, type, member) argument 147 #define list_first_entry(ptr, type, member) list_entry((ptr)->next, type, member) argument 157 #define list_first_entry_or_null(ptr, type, member) (!list_empty(ptr) ? list_entry((ptr)->next, typ… argument 167 #define list_last_entry(ptr, type, member) list_entry((ptr)->prev, type, member) argument 177 #define list_last_entry_or_full(ptr, type, member) (!list_empty(ptr) ? list_entry((ptr)->prev, type… argument 185 #define list_next_entry(pos, member) list_entry((pos)->member.next, typeof(*(pos)), member) argument 193 #define list_prev_entry(pos, member) list_entry((pos)->member.prev, typeof(*(pos)), member) argument 242 #define list_for_each_entry(pos, head, member) \ argument 243 for (pos = list_first_entry(head, typeof(*pos), member); \ 244 &pos->member != (head); \ [all …]
|
D | glib.h | 27 #define container_of(ptr, type, member) \ argument 29 typeof(((type *)0)->member) *p = (ptr); \ 30 (type *)((unsigned long)p - (unsigned long)&(((type *)0)->member)); \
|
/DragonOS-0.1.7/docs/kernel/core_api/ |
D | kernel_api.md | 129 ### `list_entry(ptr, type, member)` 145 **member** 149 ### `list_first_entry(ptr, type, member)` argument 159 ### `list_first_entry_or_null(ptr, type, member)` argument 169 ### `list_last_entry(ptr, type, member)` argument 179 ### `list_last_entry_or_full(ptr, type, member)` argument 190 ### `list_next_entry(pos, member)` argument 202 **member** 206 ### `list_prev_entry(pos, member)` argument 279 ### `list_for_each_entry(pos, head, member)` [all …]
|