Lines Matching refs:srcu
26 * $FreeBSD: releng/11.0/sys/compat/linuxkpi/common/include/linux/srcu.h 292538 2015-12-21 11:03:12Z hselasky $
40 init_srcu_struct(struct srcu_struct *srcu)
42 sx_init(&srcu->sx, "SleepableRCU");
47 cleanup_srcu_struct(struct srcu_struct *srcu)
49 sx_destroy(&srcu->sx);
53 srcu_read_lock(struct srcu_struct *srcu)
55 sx_slock(&srcu->sx);
60 srcu_read_unlock(struct srcu_struct *srcu, int key)
62 sx_sunlock(&srcu->sx);
66 synchronize_srcu(struct srcu_struct *srcu)
68 sx_xlock(&srcu->sx);
69 sx_xunlock(&srcu->sx);