Home
last modified time | relevance | path

Searched refs:rcu (Results 1 – 25 of 40) sorted by relevance

12

/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_rcu.c151 struct callback_head *rcu; in linux_rcu_cleaner_func() local
159 rcu = container_of(node, struct callback_head, node); in linux_rcu_cleaner_func()
161 STAILQ_INSERT_HEAD(&tmp_head, rcu, entry); in linux_rcu_cleaner_func()
168 while ((rcu = STAILQ_FIRST(&tmp_head)) != NULL) { in linux_rcu_cleaner_func()
171 offset = (uintptr_t)rcu->func; in linux_rcu_cleaner_func()
174 kfree((char *)rcu - offset); in linux_rcu_cleaner_func()
176 rcu->func((struct rcu_head *)rcu); in linux_rcu_cleaner_func()
414 struct callback_head *rcu; in linux_call_rcu() local
419 rcu = (struct callback_head *)context; in linux_call_rcu()
422 rcu->func = func; in linux_call_rcu()
[all …]
H A Dlinux_slab.c89 struct linux_kmem_rcu *rcu = LINUX_KMEM_TO_RCU(c, mem); in linux_kmem_ctor() local
92 rcu->cache = c; in linux_kmem_ctor()
105 struct linux_kmem_rcu *rcu = in linux_kmem_cache_free_rcu_callback() local
108 uma_zfree(rcu->cache->cache_zone, LINUX_RCU_TO_KMEM(rcu)); in linux_kmem_cache_free_rcu_callback()
154 struct linux_kmem_rcu *rcu = LINUX_KMEM_TO_RCU(c, m); in lkpi_kmem_cache_free_rcu() local
156 call_rcu(&rcu->rcu_head, linux_kmem_cache_free_rcu_callback); in lkpi_kmem_cache_free_rcu()
H A Dlinux_work.c165 rcu_work_func(struct rcu_head *rcu) in rcu_work_func() argument
169 rwork = container_of(rcu, struct rcu_work, rcu); in rcu_work_func()
184 linux_call_rcu(RCU_TYPE_REGULAR, &rwork->rcu, rcu_work_func); in linux_queue_rcu_work()
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Drcupdate.h138 #define rcu_replace_pointer(rcu, ptr, c) \ argument
140 typeof(ptr) __tmp = rcu_dereference_protected(rcu, c); \
141 rcu_assign_pointer(rcu, ptr); \
145 #define rcu_swap_protected(rcu, ptr, c) do { \ argument
146 typeof(ptr) p = rcu_dereference_protected(rcu, c); \
147 rcu_assign_pointer(rcu, ptr); \
166 DEFINE_LOCK_GUARD_0(rcu, rcu_read_lock(), rcu_read_unlock())
H A Dworkqueue.h75 struct rcu_head rcu; member
H A Dfs.h114 struct rcu_head rcu; member
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Drcu.cppm
/freebsd/sys/contrib/openzfs/config/
H A Dkernel-acl.m459 dnl # Added the bool rcu argument to get_acl for rcu path walk.
81 bool rcu) { return NULL; }
93 bool rcu) { return NULL; }
110 AC_DEFINE(HAVE_GET_ACL_RCU, 1, [iops->get_acl() takes rcu])
/freebsd/sys/contrib/device-tree/Bindings/mips/lantiq/
H A Drcu.txt17 "lantiq,xrx200-rcu", "simple-mfd", "syscon"
23 rcu0: rcu@203000 {
24 compatible = "lantiq,xrx200-rcu", "simple-mfd", "syscon";
H A Dfpi-bus.txt12 - lantiq,rcu : A phandle to the RCU syscon
23 lantiq,rcu = <&rcu0>;
/freebsd/sys/contrib/device-tree/Bindings/watchdog/
H A Dlantiq-wdt.txt14 - lantiq,rcu : A phandle to the RCU syscon (required for
23 lantiq,rcu = <&rcu0>;
/freebsd/sys/contrib/device-tree/Bindings/net/dsa/
H A Dlantiq-gswip.txt34 - lantiq,rcu : reference to the rcu syscon
128 lantiq,rcu = <&rcu0>;
/freebsd/contrib/llvm-project/libcxx/modules/
H A Dstd.compat.cppm.in66 # if __has_include(<rcu>)
67 # error "please update the header information for <rcu> in headers_not_available in utils/libcxx…
68 # endif // __has_include(<rcu>)
H A Dstd.cppm.in150 # if __has_include(<rcu>)
151 # error "please update the header information for <rcu> in headers_not_available in utils/libcxx…
152 # endif // __has_include(<rcu>)
H A Dstd.cppm
/freebsd/sys/contrib/device-tree/src/mips/lantiq/
H A Ddanube.dtsi58 rcu0: rcu@203000 {
59 compatible = "lantiq,rcu-xway";
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_umem_odp.c309 static void free_per_mm(struct rcu_head *rcu) in free_per_mm() argument
311 kfree(container_of(rcu, struct ib_ucontext_per_mm, rcu)); in free_per_mm()
344 mmu_notifier_call_srcu(&per_mm->rcu, free_per_mm); in put_per_mm()
/freebsd/sys/ofed/include/rdma/
H A Dib_umem_odp.h105 struct rcu_head rcu; member
/freebsd/crypto/openssl/doc/internal/man3/
H A Dossl_rcu_lock_new.pod168 #include "internal/rcu.h"
205 * update steps in an rcu model
216 * 2) Pre allocate the rcu callback item before any publish.
H A Dossl_ht_new.pod19 - internal rcu locked hashtables
55 reference counted object retrieval under the protection of an rcu lock. API
99 to ensure thread synchronization. Note that an rcu lock is used internally for these
101 the write lock must be taken and released to ensure rcu synchronization takes
/freebsd/sys/contrib/openzfs/include/os/linux/zfs/sys/
H A Dzpl.h83 extern struct posix_acl *zpl_get_acl(struct inode *ip, int type, bool rcu);
/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_devx.c84 struct rcu_head rcu; member
103 struct rcu_head rcu; member
1330 kfree_rcu(xa_val_level2, rcu); in devx_cleanup_subscription()
1784 kfree_rcu(xa_val_level2, rcu); in subscribe_event_xa_dealloc()
2629 static void devx_free_subscription(struct rcu_head *rcu) in devx_free_subscription() argument
2632 container_of(rcu, struct devx_event_subscription, rcu); in devx_free_subscription()
2714 call_rcu(&event_sub->rcu, devx_free_subscription); in devx_async_event_destroy_uobj()
/freebsd/sys/contrib/dev/athk/ath12k/
H A Ddp_tx.c208 guard(rcu)(); in ath12k_dp_tx_free_txbuf() local
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/
H A Dversion203 __cpp_lib_rcu 202306L <rcu>
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzpl_xattr.c1130 zpl_get_acl(struct inode *ip, int type, bool rcu) in zpl_get_acl() argument
1132 if (rcu) in zpl_get_acl()

12