Lines Matching refs:container_of
104 #ifndef container_of
105 #define container_of(ptr, sample, member) \ macro
111 for (pos = container_of((head)->next, pos, member); \
113 pos = container_of(pos->member.next, pos, member))
116 for (pos = container_of((head)->next, pos, member), \
117 storage = container_of(pos->member.next, pos, member); \
119 pos = storage, storage = container_of(storage->member.next, storage, member))
122 for (pos = container_of((head)->prev, pos, member), \
123 storage = container_of(pos->member.prev, pos, member); \
125 pos = storage, storage = container_of(storage->member.prev, storage, member))
128 for (pos = container_of((start), pos, member); \
130 pos = container_of(pos->member.next, pos, member))
133 for (pos = container_of((start), pos, member); \
135 pos = container_of(pos->member.prev, pos, member))