Searched refs:__container_of (Results 1 – 2 of 2) sorted by relevance
/drivers/gpu/drm/nouveau/include/nvif/ |
D | list.h | 294 #define __container_of(ptr, sample, member) \ macro 315 for (pos = __container_of((head)->next, pos, member); \ 317 pos = __container_of(pos->member.next, pos, member)) 327 for (pos = __container_of((head)->next, pos, member), \ 328 tmp = __container_of(pos->member.next, pos, member); \ 330 pos = tmp, tmp = __container_of(pos->member.next, tmp, member)) 334 for (pos = __container_of((head)->prev, pos, member); \ 336 pos = __container_of(pos->member.prev, pos, member)) 339 for (pos = __container_of(pos->member.next, pos, member); \ 341 pos = __container_of(pos->member.next, pos, member)) [all …]
|
/drivers/staging/lustre/include/linux/libcfs/ |
D | libcfs.h | 132 static inline void *__container_of(void *ptr, unsigned long shift) in __container_of() function 140 ((type *)__container_of((void *)(ptr), offsetof(type, member)))
|