Lines Matching refs:ptr
48 #define call_rcu(ptr, func) do { \ argument
49 linux_call_rcu(RCU_TYPE_REGULAR, ptr, func); \
72 #define kfree_rcu(ptr, rcu_head) do { \ argument
73 CTASSERT(offsetof(__typeof(*(ptr)), rcu_head) < \
75 call_rcu(&(ptr)->rcu_head, (rcu_callback_t)(uintptr_t) \
76 offsetof(__typeof(*(ptr)), rcu_head)); \
101 #define rcu_replace_pointer(rcu, ptr, c) \ argument
103 typeof(ptr) __tmp = rcu_dereference_protected(rcu, c); \
104 rcu_assign_pointer(rcu, ptr); \
108 #define rcu_swap_protected(rcu, ptr, c) do { \ argument
109 typeof(ptr) p = rcu_dereference_protected(rcu, c); \
110 rcu_assign_pointer(rcu, ptr); \
111 (ptr) = p; \
116 extern void linux_call_rcu(unsigned type, struct rcu_head *ptr, rcu_callback_t func);