Searched defs:container_of (Results 1 - 5 of 5) sorted by relevance

/drivers/gpu/drm/nouveau/nvif/
H A Dlist.h245 * f = container_of(&foo->entry, struct foo, entry);
253 #ifndef container_of
254 #define container_of(ptr, type, member) \ macro
259 * Alias of container_of
262 container_of(ptr, type, member)
295 (void *)container_of((ptr), typeof(*(sample)), member)
/drivers/staging/lustre/include/linux/libcfs/
H A Dlibcfs.h61 #if !defined(container_of)
64 #define container_of(ptr, type, member) \ macro
171 /* container_of depends on "likely" which is defined in libcfs_private.h */
/drivers/gpu/drm/radeon/
H A Dmkregtable.c21 * container_of - cast a member of a structure out to the containing structure
27 #define container_of(ptr, type, member) ({ \ macro
353 container_of(ptr, type, member)
/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211.h52 #ifndef container_of
54 * container_of - cast a member of a structure out to the containing structure
61 #define container_of(ptr, type, member) ({ \ macro
/drivers/staging/rtl8192e/
H A Drtllib.h69 #ifndef container_of
71 * container_of - cast a member of a structure out to the containing structure
78 #define container_of(ptr, type, member) ({ \ macro
94 #define container_of_work_rsl(x, y, z) container_of(x, y, z)
96 container_of(container_of(x, struct delayed_work, work), y, z)

Completed in 1455 milliseconds