Searched refs:rcu_head (Results 1 - 5 of 5) sorted by relevance

/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/
H A Drcupdate.h74 #define kfree_rcu(ptr, rcu_head) do { \
75 CTASSERT(offsetof(__typeof(*(ptr)), rcu_head) < \
77 call_rcu(&(ptr)->rcu_head, (rcu_callback_t)(uintptr_t) \
78 offsetof(__typeof(*(ptr)), rcu_head)); \
102 extern void linux_call_rcu(unsigned type, struct rcu_head *ptr, rcu_callback_t func);
H A Dtypes.h79 struct rcu_head { struct
83 typedef void (*rcu_callback_t)(struct rcu_head *head);
84 typedef void (*call_rcu_func_t)(struct rcu_head *head, rcu_callback_t func);
/freebsd-11-stable/sys/compat/linuxkpi/common/src/
H A Dlinux_slab.c35 struct rcu_head rcu_head; member in struct:linux_kmem_rcu
67 linux_kmem_cache_free_rcu_callback(struct rcu_head *head)
70 container_of(head, struct linux_kmem_rcu, rcu_head);
115 call_rcu(&rcu->rcu_head, linux_kmem_cache_free_rcu_callback);
H A Dlinux_rcu.c81 * Verify that "struct rcu_head" is big enough to hold "struct
86 CTASSERT(sizeof(struct rcu_head) == sizeof(struct callback_head));
187 rcu->func((struct rcu_head *)rcu);
391 linux_call_rcu(unsigned type, struct rcu_head *context, rcu_callback_t func)
/freebsd-11-stable/sys/ofed/include/rdma/
H A Dib_verbs.h1395 struct rcu_head rcu; /* kfree_rcu() overhead */

Completed in 79 milliseconds