Lines Matching refs:ptr
39 #define member_of(ptr, type, member) ({ \
40 const typeof(((type *)0)->member) *__mptr = (ptr); \
47 static inline void cam_list_init(struct cam_list *ptr)
49 ptr->next = ptr;
50 ptr->prev = ptr;
73 static inline void cam_list_del_node(struct cam_list *ptr)
75 struct cam_list *prev = ptr->prev;
76 struct cam_list *next = ptr->next;
78 next->prev = ptr->prev;
79 prev->next = ptr->next;
80 ptr->next = ptr;
81 ptr->prev = ptr;