Symbol: rwlock
lib/librthread/rthread_rwlock.c
103
val = rwlock->value;
lib/librthread/rthread_rwlock.c
108
} while (atomic_cas_uint(&rwlock->value, val, val + 1) != val);
lib/librthread/rthread_rwlock.c
119
pthread_rwlock_t rwlock;
lib/librthread/rthread_rwlock.c
126
rwlock = *rwlockp;
lib/librthread/rthread_rwlock.c
128
(timed ? "timed" : (trywait ? "try" : "")), (void *)rwlock,
lib/librthread/rthread_rwlock.c
129
rwlock->value);
lib/librthread/rthread_rwlock.c
131
error = _rthread_rwlock_tryrdlock(rwlock);
lib/librthread/rthread_rwlock.c
137
val = rwlock->value;
lib/librthread/rthread_rwlock.c
144
while ((error = _rthread_rwlock_tryrdlock(rwlock)) == EBUSY) {
lib/librthread/rthread_rwlock.c
145
val = rwlock->value;
lib/librthread/rthread_rwlock.c
149
if (atomic_cas_uint(&rwlock->value, val, new) == val) {
lib/librthread/rthread_rwlock.c
150
error = _twait(&rwlock->value, new, CLOCK_REALTIME,
lib/librthread/rthread_rwlock.c
181
_rthread_rwlock_tryrwlock(pthread_rwlock_t rwlock)
lib/librthread/rthread_rwlock.c
183
if (atomic_cas_uint(&rwlock->value, UNLOCKED, WRITER) != UNLOCKED)
lib/librthread/rthread_rwlock.c
196
pthread_rwlock_t rwlock;
lib/librthread/rthread_rwlock.c
203
rwlock = *rwlockp;
lib/librthread/rthread_rwlock.c
205
(timed ? "timed" : (trywait ? "try" : "")), (void *)rwlock,
lib/librthread/rthread_rwlock.c
206
rwlock->value);
lib/librthread/rthread_rwlock.c
208
error = _rthread_rwlock_tryrwlock(rwlock);
lib/librthread/rthread_rwlock.c
214
val = rwlock->value;
lib/librthread/rthread_rwlock.c
221
while ((error = _rthread_rwlock_tryrwlock(rwlock)) == EBUSY) {
lib/librthread/rthread_rwlock.c
222
val = rwlock->value;
lib/librthread/rthread_rwlock.c
226
if (atomic_cas_uint(&rwlock->value, val, new) == val) {
lib/librthread/rthread_rwlock.c
227
error = _twait(&rwlock->value, new, CLOCK_REALTIME,
lib/librthread/rthread_rwlock.c
260
pthread_rwlock_t rwlock;
lib/librthread/rthread_rwlock.c
263
rwlock = *rwlockp;
lib/librthread/rthread_rwlock.c
264
_rthread_debug(5, "%p: rwlock_unlock %p\n", self, (void *)rwlock);
lib/librthread/rthread_rwlock.c
268
val = rwlock->value;
lib/librthread/rthread_rwlock.c
273
} while (atomic_cas_uint(&rwlock->value, val, new) != val);
lib/librthread/rthread_rwlock.c
276
_wake(&rwlock->value, INT_MAX);
lib/librthread/rthread_rwlock.c
47
pthread_rwlock_t rwlock;
lib/librthread/rthread_rwlock.c
49
rwlock = calloc(1, sizeof(*rwlock));
lib/librthread/rthread_rwlock.c
50
if (!rwlock)
lib/librthread/rthread_rwlock.c
53
*lockp = rwlock;
lib/librthread/rthread_rwlock.c
62
pthread_rwlock_t rwlock;
lib/librthread/rthread_rwlock.c
64
rwlock = *lockp;
lib/librthread/rthread_rwlock.c
65
if (rwlock) {
lib/librthread/rthread_rwlock.c
66
if (rwlock->value != UNLOCKED) {
lib/librthread/rthread_rwlock.c
72
free((void *)rwlock);
lib/librthread/rthread_rwlock.c
98
_rthread_rwlock_tryrdlock(pthread_rwlock_t rwlock)
regress/lib/libpthread/pthread_rwlock2/pthread_rwlock2.c
34
static pthread_rwlock_t rwlock = PTHREAD_RWLOCK_INITIALIZER;
regress/lib/libpthread/pthread_rwlock2/pthread_rwlock2.c
42
if (pthread_rwlock_wrlock(&rwlock) != 0)
regress/lib/libpthread/pthread_rwlock2/pthread_rwlock2.c
48
if (pthread_rwlock_unlock(&rwlock) != 0)
regress/lib/libpthread/pthread_rwlock2/pthread_rwlock2.c
57
if (pthread_rwlock_rdlock(&rwlock) != 0)
regress/lib/libpthread/pthread_rwlock2/pthread_rwlock2.c
62
if (pthread_rwlock_unlock(&rwlock) != 0)
sys/arch/alpha/pci/tsciic.c
51
struct rwlock sc_i2c_lock;
sys/arch/amd64/include/cpu.h
244
struct rwlock ci_vmcs_lock;
sys/arch/amd64/include/vmmvar.h
972
struct rwlock vc_lock;
sys/arch/arm/arm/mem.c
142
static struct rwlock physlock = RWLOCK_INITIALIZER("mmrw");
sys/arch/arm64/arm64/mem.c
101
static struct rwlock physlock = RWLOCK_INITIALIZER("mmrw");
sys/arch/armv7/exynos/exiic.c
72
struct rwlock sc_buslock;
sys/arch/armv7/omap/ti_iic.c
92
struct rwlock sc_buslock;
sys/arch/i386/i386/apm.c
83
struct rwlock sc_lock;
sys/arch/i386/i386/mem.c
117
static struct rwlock physlock = RWLOCK_INITIALIZER("mmrw");
sys/arch/loongson/dev/gdiumiic.c
55
struct rwlock sc_i2c_lock;
sys/arch/macppc/dev/kiicvar.h
94
struct rwlock sc_buslock;
sys/arch/macppc/dev/piic.c
35
struct rwlock sc_buslock;
sys/arch/macppc/dev/smu.c
75
struct rwlock sc_lock;
sys/arch/octeon/dev/if_ogx.c
169
struct rwlock node_lock;
sys/arch/octeon/dev/octiic.c
47
struct rwlock sc_i2c_lock;
sys/arch/octeon/dev/octmmc.c
160
struct rwlock octmmc_lock = RWLOCK_INITIALIZER("octmmclk");
sys/arch/powerpc64/powerpc64/mem.c
62
static struct rwlock physlock = RWLOCK_INITIALIZER("mmrw");
sys/arch/riscv64/dev/mpfiic.c
74
struct rwlock sc_i2c_lock;
sys/arch/riscv64/riscv64/mem.c
97
static struct rwlock physlock = RWLOCK_INITIALIZER("mmrw");
sys/arch/sparc64/dev/mgiic.c
75
struct rwlock sc_lock;
sys/arch/sparc64/sparc64/mem.c
92
static struct rwlock physlock = RWLOCK_INITIALIZER("mmrw");
sys/dev/acpi/acpivar.h
176
struct rwlock amt_lock;
sys/dev/acpi/acpivar.h
249
struct rwlock sc_lck;
sys/dev/acpi/asmc.c
83
struct rwlock sc_lock;
sys/dev/dt/dt_dev.c
150
struct rwlock dt_lock = RWLOCK_INITIALIZER("dtlk");
sys/dev/dt/dt_prov_static.c
112
DT_STATIC_PROBE0(rwlock, none);
sys/dev/dt/dt_prov_static.c
113
DT_STATIC_PROBE3(rwlock, netlock, "void *", "int", "int");
sys/dev/dt/dt_prov_static.c
114
DT_STATIC_PROBE3(rwlock, solock, "void *", "int", "int");
sys/dev/dt/dt_prov_static.c
172
&_DT_STATIC_P(rwlock, none),
sys/dev/dt/dt_prov_static.c
173
&_DT_STATIC_P(rwlock, netlock),
sys/dev/dt/dt_prov_static.c
174
&_DT_STATIC_P(rwlock, solock),
sys/dev/dt/dt_prov_static.c
188
if (dtps_static[i] == &_DT_STATIC_P(rwlock, none))
sys/dev/fdt/if_cad.c
303
struct rwlock sc_cfg_lock;
sys/dev/fdt/if_mvneta.c
226
static struct rwlock mvneta_sff_lock = RWLOCK_INITIALIZER("mvnetasff");
sys/dev/fdt/if_mvpp.c
234
static struct rwlock mvpp2_sff_lock = RWLOCK_INITIALIZER("mvpp2sff");
sys/dev/fdt/iicmux.c
53
struct rwlock sc_lock;
sys/dev/fdt/imxspi.c
96
struct rwlock sc_buslock;
sys/dev/fdt/mviic.c
64
struct rwlock sc_buslock;
sys/dev/fdt/mvspi.c
59
struct rwlock sc_buslock;
sys/dev/fdt/rkspi.c
95
struct rwlock sc_buslock;
sys/dev/fdt/sxitwi.c
138
struct rwlock sc_buslock;
sys/dev/gpio/gpioiic.c
52
struct rwlock sc_i2c_lock;
sys/dev/i2c/pca9548.c
65
struct rwlock sc_lock;
sys/dev/ic/aacvar.h
216
typedef struct rwlock aac_lock_t;
sys/dev/ic/amivar.h
128
struct rwlock sc_lock;
sys/dev/ic/dwiicvar.h
77
struct rwlock sc_i2c_lock;
sys/dev/ic/imxiicvar.h
44
struct rwlock sc_buslock;
sys/dev/ic/iosf.c
78
static struct rwlock iosf_lock = RWLOCK_INITIALIZER("iosf");
sys/dev/ic/ispivar.h
61
struct rwlock sc_buslock;
sys/dev/ic/mfivar.h
185
struct rwlock sc_lock;
sys/dev/ic/mpivar.h
164
struct rwlock sc_lock;
sys/dev/ic/nvmevar.h
131
struct rwlock sc_lock;
sys/dev/ic/pcf8584var.h
33
struct rwlock sc_lock;
sys/dev/ic/psp.c
61
struct rwlock sc_lock;
sys/dev/ic/qwxvar.h
1833
struct rwlock ioctl_rwl;
sys/dev/ic/qwzvar.h
1926
struct rwlock ioctl_rwl;
sys/dev/ic/re.c
2478
struct rwlock re_ks_sc_rwl;
sys/dev/ipmivar.h
120
struct rwlock lock;
sys/dev/isa/gscsio.c
52
struct rwlock buslock;
sys/dev/kstat.c
138
struct rwlock kstat_lock = RWLOCK_INITIALIZER("kstat");
sys/dev/kstat.c
160
struct rwlock kstat_default_lock = RWLOCK_INITIALIZER("kstatlk");
sys/dev/kstat.c
559
kstat_set_rlock(struct kstat *ks, struct rwlock *rwl)
sys/dev/kstat.c
568
kstat_set_wlock(struct kstat *ks, struct rwlock *rwl)
sys/dev/ofw/ofw_thermal.c
99
struct rwlock tz_lock;
sys/dev/onewire/onewire.c
48
struct rwlock sc_lock;
sys/dev/onewire/owctr.c
62
struct rwlock sc_lock;
sys/dev/onewire/owsbm.c
72
struct rwlock sc_lock;
sys/dev/onewire/owtemp.c
57
struct rwlock sc_lock;
sys/dev/pci/alipm.c
105
struct rwlock sc_smb_lock;
sys/dev/pci/amdiic.c
88
struct rwlock sc_i2c_lock;
sys/dev/pci/amdpm.c
164
struct rwlock sc_i2c_lock;
sys/dev/pci/arc.c
565
struct rwlock sc_lock;
sys/dev/pci/drm/amd/amdgpu/amdgpu.h
1010
struct rwlock srbm_mutex;
sys/dev/pci/drm/amd/amdgpu/amdgpu.h
1012
struct rwlock grbm_idx_mutex;
sys/dev/pci/drm/amd/amdgpu/amdgpu.h
1228
struct rwlock mn_lock;
sys/dev/pci/drm/amd/amdgpu/amdgpu.h
1259
struct rwlock notifier_lock;
sys/dev/pci/drm/amd/amdgpu/amdgpu.h
1307
struct rwlock benchmark_mutex;
sys/dev/pci/drm/amd/amdgpu/amdgpu.h
1331
struct rwlock enforce_isolation_mutex;
sys/dev/pci/drm/amd/amdgpu/amdgpu.h
1348
struct rwlock userq_mutex;
sys/dev/pci/drm/amd/amdgpu/amdgpu.h
138
struct rwlock mutex;
sys/dev/pci/drm/amd/amdgpu/amdgpu.h
507
struct rwlock bo_list_lock;
sys/dev/pci/drm/amd/amdgpu/amdgpu_aca.h
157
struct rwlock lock;
sys/dev/pci/drm/amd/amdgpu/amdgpu_amdkfd.h
141
struct rwlock lock;
sys/dev/pci/drm/amd/amdgpu/amdgpu_amdkfd.h
71
struct rwlock lock;
sys/dev/pci/drm/amd/amdgpu/amdgpu_bo_list.h
56
struct rwlock bo_list_mutex;
sys/dev/pci/drm/amd/amdgpu/amdgpu_cper.h
57
struct rwlock cper_lock;
sys/dev/pci/drm/amd/amdgpu/amdgpu_cper.h
67
struct rwlock ring_lock;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ctx.h
65
struct rwlock lock;
sys/dev/pci/drm/amd/amdgpu/amdgpu_gfx.h
407
struct rwlock gpu_clock_mutex;
sys/dev/pci/drm/amd/amdgpu/amdgpu_gfx.h
479
struct rwlock gfx_off_mutex; /* mutex to change gfxoff state */
sys/dev/pci/drm/amd/amdgpu/amdgpu_gfx.h
486
struct rwlock pipe_reserve_mutex;
sys/dev/pci/drm/amd/amdgpu/amdgpu_gfx.h
502
struct rwlock partition_mutex;
sys/dev/pci/drm/amd/amdgpu/amdgpu_gfx.h
510
struct rwlock reset_sem_mutex;
sys/dev/pci/drm/amd/amdgpu/amdgpu_gfx.h
521
struct rwlock userq_sch_mutex;
sys/dev/pci/drm/amd/amdgpu/amdgpu_gfx.h
530
struct rwlock workload_profile_mutex;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ids.h
66
struct rwlock lock;
sys/dev/pci/drm/amd/amdgpu/amdgpu_jpeg.h
139
struct rwlock jpeg_pg_lock;
sys/dev/pci/drm/amd/amdgpu/amdgpu_mca.h
87
struct rwlock lock;
sys/dev/pci/drm/amd/amdgpu/amdgpu_mes.h
69
struct rwlock mutex_hidden;
sys/dev/pci/drm/amd/amdgpu/amdgpu_mode.h
231
struct rwlock mutex;
sys/dev/pci/drm/amd/amdgpu/amdgpu_psp.h
224
struct rwlock mutex;
sys/dev/pci/drm/amd/amdgpu/amdgpu_psp.h
237
struct rwlock mutex;
sys/dev/pci/drm/amd/amdgpu/amdgpu_psp.h
435
struct rwlock mutex;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.h
493
struct rwlock lock;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.h
529
struct rwlock recovery_lock;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.h
569
struct rwlock page_retirement_lock;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.h
573
struct rwlock page_rsv_lock;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.h
595
struct rwlock critical_region_lock;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.h
598
struct rwlock poison_lock;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras_eeprom.h
112
struct rwlock ras_tbl_mutex;
sys/dev/pci/drm/amd/amdgpu/amdgpu_reset.h
78
struct rwlock reset_lock;
sys/dev/pci/drm/amd/amdgpu/amdgpu_reset.h
99
struct rwlock sem;
sys/dev/pci/drm/amd/amdgpu/amdgpu_sdma.h
73
struct rwlock engine_reset_mutex;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.h
66
struct rwlock gtt_window_lock;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.h
598
struct rwlock mutex;
sys/dev/pci/drm/amd/amdgpu/amdgpu_umsch_mm.h
176
struct rwlock mutex_hidden;
sys/dev/pci/drm/amd/amdgpu/amdgpu_userq.h
99
struct rwlock userq_mutex;
sys/dev/pci/drm/amd/amdgpu/amdgpu_vce.h
46
struct rwlock idle_mutex;
sys/dev/pci/drm/amd/amdgpu/amdgpu_vcn.h
325
struct rwlock vcn_pg_lock;
sys/dev/pci/drm/amd/amdgpu/amdgpu_vcn.h
332
struct rwlock vcn1_jpeg1_workaround;
sys/dev/pci/drm/amd/amdgpu/amdgpu_vcn.h
339
struct rwlock engine_reset_mutex;
sys/dev/pci/drm/amd/amdgpu/amdgpu_vcn.h
368
struct rwlock workload_profile_mutex;
sys/dev/pci/drm/amd/amdgpu/amdgpu_virt.h
257
struct rwlock ras_telemetry_mutex;
sys/dev/pci/drm/amd/amdgpu/amdgpu_virt.h
73
struct rwlock lock;
sys/dev/pci/drm/amd/amdgpu/amdgpu_vm.h
348
struct rwlock eviction_lock;
sys/dev/pci/drm/amd/amdgpu/amdgpu_vram_mgr.h
33
struct rwlock lock;
sys/dev/pci/drm/amd/amdgpu/amdgpu_xcp.h
120
struct rwlock xcp_lock;
sys/dev/pci/drm/amd/amdgpu/amdgpu_xgmi.h
34
struct rwlock hive_lock;
sys/dev/pci/drm/amd/amdgpu/atom.h
134
struct rwlock mutex;
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.h
446
struct rwlock dc_lock;
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.h
453
struct rwlock audio_lock;
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.h
657
struct rwlock dpia_aux_lock;
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.h
778
struct rwlock handle_mst_msg_ready;
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.h
802
struct rwlock hpd_lock;
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.h
48
struct rwlock mutex;
sys/dev/pci/drm/amd/pm/inc/amdgpu_dpm.h
303
struct rwlock mutex;
sys/dev/pci/drm/amd/pm/inc/amdgpu_dpm.h
334
struct rwlock mutex;
sys/dev/pci/drm/amd/pm/inc/amdgpu_dpm.h
379
struct rwlock stable_pstate_ctx_lock;
sys/dev/pci/drm/amd/pm/powerplay/inc/hwmgr.h
751
struct rwlock msg_lock;
sys/dev/pci/drm/amd/pm/swsmu/inc/amdgpu_smu.h
553
struct rwlock message_lock;
sys/dev/pci/drm/apple/dcp-internal.h
214
struct rwlock bl_register_mutex;
sys/dev/pci/drm/apple/dcp-internal.h
238
struct rwlock hpd_mutex;
sys/dev/pci/drm/drm_gem.c
1756
drm_gem_lru_init(struct drm_gem_lru *lru, struct rwlock *lock)
sys/dev/pci/drm/drm_internal.h
60
extern struct rwlock drm_global_mutex;
sys/dev/pci/drm/drm_linux.c
3120
atomic_dec_and_mutex_lock(volatile int *v, struct rwlock *lock)
sys/dev/pci/drm/drm_managed.c
161
drmm_mutex_init(struct drm_device *dev, struct rwlock *rwl)
sys/dev/pci/drm/drm_self_refresh_helper.c
63
struct rwlock avg_mutex;
sys/dev/pci/drm/i915/display/intel_display_core.h
106
struct rwlock mutex;
sys/dev/pci/drm/i915/display/intel_display_core.h
126
struct rwlock lock;
sys/dev/pci/drm/i915/display/intel_display_core.h
279
struct rwlock wm_mutex;
sys/dev/pci/drm/i915/display/intel_display_core.h
328
struct rwlock lock;
sys/dev/pci/drm/i915/display/intel_display_core.h
415
struct rwlock mutex;
sys/dev/pci/drm/i915/display/intel_display_core.h
433
struct rwlock hdcp_mutex;
sys/dev/pci/drm/i915/display/intel_display_core.h
493
struct rwlock lock;
sys/dev/pci/drm/i915/display/intel_display_core.h
512
struct rwlock mutex;
sys/dev/pci/drm/i915/display/intel_display_core.h
550
struct rwlock lock;
sys/dev/pci/drm/i915/display/intel_display_power.h
148
struct rwlock lock;
sys/dev/pci/drm/i915/display/intel_display_types.h
1439
struct rwlock mutex;
sys/dev/pci/drm/i915/display/intel_display_types.h
1644
struct rwlock lock;
sys/dev/pci/drm/i915/display/intel_display_types.h
1859
struct rwlock lock;
sys/dev/pci/drm/i915/display/intel_display_types.h
1910
struct rwlock mutex;
sys/dev/pci/drm/i915/display/intel_display_types.h
452
struct rwlock mutex;
sys/dev/pci/drm/i915/display/intel_fbc.c
102
struct rwlock lock;
sys/dev/pci/drm/i915/display/intel_tc.c
53
struct rwlock lock; /* protects the TypeC port mode */
sys/dev/pci/drm/i915/gem/i915_gem_context_types.h
258
struct rwlock engines_mutex;
sys/dev/pci/drm/i915/gem/i915_gem_context_types.h
376
struct rwlock mutex;
sys/dev/pci/drm/i915/gem/i915_gem_context_types.h
406
struct rwlock lut_mutex;
sys/dev/pci/drm/i915/gem/i915_gem_mman.h
18
struct rwlock;
sys/dev/pci/drm/i915/gem/i915_gem_object_types.h
240
struct rwlock lock; /* protects this cache */
sys/dev/pci/drm/i915/gem/i915_gem_shrinker.c
464
struct rwlock *mutex)
sys/dev/pci/drm/i915/gem/i915_gem_shrinker.h
13
struct rwlock;
sys/dev/pci/drm/i915/gem/i915_gem_shrinker.h
31
struct rwlock *mutex);
sys/dev/pci/drm/i915/gt/gen6_ppgtt.h
16
struct rwlock flush;
sys/dev/pci/drm/i915/gt/intel_context_types.h
168
struct rwlock pin_mutex; /* guards pinning and associated on-gpuing */
sys/dev/pci/drm/i915/gt/intel_gt_types.h
111
struct rwlock invalidate_lock;
sys/dev/pci/drm/i915/gt/intel_gtt.h
266
struct rwlock mutex; /* protects vma and our lists */
sys/dev/pci/drm/i915/gt/intel_gtt.h
406
struct rwlock error_mutex;
sys/dev/pci/drm/i915/gt/intel_reset_types.h
49
struct rwlock mutex; /* serialises wedging/unwedging */
sys/dev/pci/drm/i915/gt/intel_rps_types.h
100
struct rwlock mutex;
sys/dev/pci/drm/i915/gt/intel_rps_types.h
56
struct rwlock lock; /* protects enabling and the worker */
sys/dev/pci/drm/i915/gt/intel_timeline_types.h
25
struct rwlock mutex; /* protects the flow of requests */
sys/dev/pci/drm/i915/gt/uc/intel_gsc_uc.h
56
struct rwlock mutex; /* protects the tee channel binding */
sys/dev/pci/drm/i915/gt/uc/intel_guc.h
244
struct rwlock send_mutex;
sys/dev/pci/drm/i915/gt/uc/intel_guc_log.h
51
struct rwlock guc_lock;
sys/dev/pci/drm/i915/gt/uc/intel_guc_log.h
72
struct rwlock lock;
sys/dev/pci/drm/i915/gt/uc/intel_guc_slpc_types.h
45
struct rwlock lock;
sys/dev/pci/drm/i915/gvt/gtt.h
98
struct rwlock ppgtt_mm_lock;
sys/dev/pci/drm/i915/gvt/gvt.h
185
struct rwlock vgpu_lock;
sys/dev/pci/drm/i915/gvt/gvt.h
216
struct rwlock dmabuf_lock;
sys/dev/pci/drm/i915/gvt/gvt.h
325
struct rwlock lock;
sys/dev/pci/drm/i915/gvt/gvt.h
327
struct rwlock sched_lock;
sys/dev/pci/drm/i915/i915_active_types.h
27
struct rwlock mutex;
sys/dev/pci/drm/i915/i915_drv.h
133
struct rwlock stolen_lock;
sys/dev/pci/drm/i915/i915_drv.h
176
struct rwlock lock; /* serialises sending of g2v_notify command pkts */
sys/dev/pci/drm/i915/i915_drv.h
292
struct rwlock sbi_lock;
sys/dev/pci/drm/i915/i915_drv.h
296
struct rwlock lock; /* protect sideband access */
sys/dev/pci/drm/i915/i915_drv.h
302
struct rwlock sb_lock;
sys/dev/pci/drm/i915/i915_file_private.h
34
struct rwlock proto_context_lock;
sys/dev/pci/drm/i915/i915_hwmon.c
70
struct rwlock hwmon_lock; /* counter overflow logic and rmw */
sys/dev/pci/drm/i915/i915_perf_types.h
188
struct rwlock lock;
sys/dev/pci/drm/i915/i915_perf_types.h
441
struct rwlock lock;
sys/dev/pci/drm/i915/i915_perf_types.h
469
struct rwlock metrics_lock;
sys/dev/pci/drm/i915/i915_ttm_buddy_manager.c
21
struct rwlock lock;
sys/dev/pci/drm/i915/intel_memory_region.h
79
struct rwlock lock; /* Protects access to objects */
sys/dev/pci/drm/i915/intel_wakeref.h
42
struct rwlock mutex;
sys/dev/pci/drm/i915/pxp/intel_pxp_types.h
79
struct rwlock arb_mutex;
sys/dev/pci/drm/i915/pxp/intel_pxp_types.h
96
struct rwlock tee_mutex;
sys/dev/pci/drm/include/drm/display/drm_dp_helper.h
339
struct rwlock lock;
sys/dev/pci/drm/include/drm/display/drm_dp_helper.h
406
struct rwlock hw_mutex;
sys/dev/pci/drm/include/drm/display/drm_dp_mst_helper.h
688
struct rwlock lock;
sys/dev/pci/drm/include/drm/display/drm_dp_mst_helper.h
695
struct rwlock probe_lock;
sys/dev/pci/drm/include/drm/display/drm_dp_mst_helper.h
752
struct rwlock qlock;
sys/dev/pci/drm/include/drm/display/drm_dp_mst_helper.h
786
struct rwlock delayed_destroy_lock;
sys/dev/pci/drm/include/drm/display/drm_dp_mst_helper.h
809
struct rwlock up_req_lock;
sys/dev/pci/drm/include/drm/display/drm_dp_mst_helper.h
823
struct rwlock topology_ref_history_lock;
sys/dev/pci/drm/include/drm/drm_bridge.h
1145
struct rwlock hpd_mutex;
sys/dev/pci/drm/include/drm/drm_client.h
131
struct rwlock modeset_mutex;
sys/dev/pci/drm/include/drm/drm_connector.h
1788
struct rwlock lock;
sys/dev/pci/drm/include/drm/drm_connector.h
1857
struct rwlock lock;
sys/dev/pci/drm/include/drm/drm_connector.h
1874
struct rwlock mutex;
sys/dev/pci/drm/include/drm/drm_connector.h
1940
struct rwlock mutex;
sys/dev/pci/drm/include/drm/drm_connector.h
2162
struct rwlock edid_override_mutex;
sys/dev/pci/drm/include/drm/drm_connector.h
2186
struct rwlock eld_mutex;
sys/dev/pci/drm/include/drm/drm_device.h
243
struct rwlock master_mutex;
sys/dev/pci/drm/include/drm/drm_device.h
254
struct rwlock filelist_mutex;
sys/dev/pci/drm/include/drm/drm_device.h
279
struct rwlock clientlist_mutex;
sys/dev/pci/drm/include/drm/drm_device.h
369
struct rwlock object_name_lock;
sys/dev/pci/drm/include/drm/drm_fb_helper.h
167
struct rwlock lock;
sys/dev/pci/drm/include/drm/drm_file.h
345
struct rwlock fbs_lock;
sys/dev/pci/drm/include/drm/drm_file.h
391
struct rwlock event_read_lock;
sys/dev/pci/drm/include/drm/drm_file.h
415
struct rwlock client_name_lock;
sys/dev/pci/drm/include/drm/drm_gem.h
262
struct rwlock *lock;
sys/dev/pci/drm/include/drm/drm_gem.h
444
struct rwlock lock;
sys/dev/pci/drm/include/drm/drm_gem.h
599
void drm_gem_lru_init(struct drm_gem_lru *lru, struct rwlock *lock);
sys/dev/pci/drm/include/drm/drm_managed.h
19
void drmm_mutex_init(struct drm_device *, struct rwlock *);
sys/dev/pci/drm/include/drm/drm_managed.h
9
struct rwlock;
sys/dev/pci/drm/include/drm/drm_mode_config.h
371
struct rwlock mutex;
sys/dev/pci/drm/include/drm/drm_mode_config.h
399
struct rwlock idr_mutex;
sys/dev/pci/drm/include/drm/drm_mode_config.h
418
struct rwlock fb_lock;
sys/dev/pci/drm/include/drm/drm_mode_config.h
552
struct rwlock blob_lock;
sys/dev/pci/drm/include/drm/drm_panel.h
259
struct rwlock follower_lock;
sys/dev/pci/drm/include/drm/drm_prime.h
47
struct rwlock lock;
sys/dev/pci/drm/include/linux/kref.h
71
struct rwlock *lock)
sys/dev/pci/drm/include/linux/mutex.h
13
#define DEFINE_MUTEX(x) struct rwlock x = RWLOCK_INITIALIZER(#x)
sys/dev/pci/drm/include/linux/mutex.h
26
mutex_lock_interruptible(struct rwlock *rwl)
sys/dev/pci/drm/include/linux/mutex.h
40
mutex_trylock_recursive(struct rwlock *rwl)
sys/dev/pci/drm/include/linux/mutex.h
49
int atomic_dec_and_mutex_lock(volatile int *, struct rwlock *);
sys/dev/pci/drm/include/linux/mutex.h
51
static inline struct rwlock *
sys/dev/pci/drm/include/linux/mutex.h
52
class_mutex_constructor(struct rwlock *rwl)
sys/dev/pci/drm/include/linux/mutex.h
59
class_mutex_destructor(struct rwlock **p)
sys/dev/pci/drm/include/linux/mutex.h
63
typedef struct rwlock * class_mutex_t;
sys/dev/pci/drm/include/linux/rwsem.h
16
struct rwlock rwl = RWLOCK_INITIALIZER(#rwl)
sys/dev/pci/drm/include/linux/seqlock.h
153
struct rwlock lock;
sys/dev/pci/drm/radeon/atom.h
127
struct rwlock mutex;
sys/dev/pci/drm/radeon/atom.h
128
struct rwlock scratch_mutex;
sys/dev/pci/drm/radeon/radeon.h
1598
struct rwlock mutex;
sys/dev/pci/drm/radeon/radeon.h
1600
struct rwlock mclk_lock;
sys/dev/pci/drm/radeon/radeon.h
1774
struct rwlock component_mutex;
sys/dev/pci/drm/radeon/radeon.h
2320
struct rwlock exclusive_lock;
sys/dev/pci/drm/radeon/radeon.h
2413
struct rwlock ring_lock;
sys/dev/pci/drm/radeon/radeon.h
2453
struct rwlock dc_hw_i2c_mutex; /* display controller hw i2c mutex */
sys/dev/pci/drm/radeon/radeon.h
2465
struct rwlock gpu_clock_mutex;
sys/dev/pci/drm/radeon/radeon.h
2473
struct rwlock srbm_mutex;
sys/dev/pci/drm/radeon/radeon.h
535
struct rwlock mutex;
sys/dev/pci/drm/radeon/radeon.h
888
struct rwlock mutex;
sys/dev/pci/drm/radeon/radeon_mode.h
210
struct rwlock mutex;
sys/dev/pci/glxpcib.c
207
struct rwlock sc_smb_lck;
sys/dev/pci/ichiic.c
56
struct rwlock sc_i2c_lock;
sys/dev/pci/if_em.h
413
struct rwlock sfflock;
sys/dev/pci/if_iavf.c
681
struct rwlock sc_cfg_lock;
sys/dev/pci/if_ice.c
268
static struct rwlock ice_sff_lock = RWLOCK_INITIALIZER("icesff");
sys/dev/pci/if_ice.c
295
struct rwlock sc_cfg_lock;
sys/dev/pci/if_ipwvar.h
85
struct rwlock sc_rwlock;
sys/dev/pci/if_iwivar.h
94
struct rwlock sc_rwlock;
sys/dev/pci/if_iwmvar.h
580
struct rwlock ioctl_rwl;
sys/dev/pci/if_iwnvar.h
206
struct rwlock sc_rwlock;
sys/dev/pci/if_iwxvar.h
760
struct rwlock ioctl_rwl;
sys/dev/pci/if_ix.h
251
struct rwlock sfflock;
sys/dev/pci/if_ixl.c
1265
struct rwlock sc_cfg_lock;
sys/dev/pci/if_ixl.c
1487
static struct rwlock ixl_sff_lock = RWLOCK_INITIALIZER("ixlsff");
sys/dev/pci/if_mcx.c
2466
struct rwlock sc_cmdq_kstat_lk;
sys/dev/pci/if_mcx.c
2467
struct rwlock sc_cmdq_ioctl_lk;
sys/dev/pci/if_msk.c
287
struct rwlock lock;
sys/dev/pci/if_myx.c
160
struct rwlock sc_sff_lock;
sys/dev/pci/if_nxe.c
722
struct rwlock sc_lock;
sys/dev/pci/if_rge.c
3816
struct rwlock rge_ks_sc_rwl;
sys/dev/pci/if_tht.c
494
struct rwlock sc_lock;
sys/dev/pci/if_vmx.c
173
struct rwlock sc_kstat_lock;
sys/dev/pci/if_wpivar.h
142
struct rwlock sc_rwlock;
sys/dev/pci/mfii.c
325
struct rwlock sc_lock;
sys/dev/pci/nviic.c
86
struct rwlock nc_lock;
sys/dev/pci/piixpm.c
65
struct rwlock sc_i2c_lock;
sys/dev/pci/viapm.c
201
struct rwlock sc_i2c_lock;
sys/dev/pckbc/pms.c
159
struct rwlock sc_state_lock;
sys/dev/pv/xenstore.c
178
struct rwlock xs_rnglck;
sys/dev/sdmmc/if_bwfm_sdio.c
86
struct rwlock *sc_lock;
sys/dev/sdmmc/sdmmcvar.h
216
struct rwlock sc_lock; /* lock around host controller */
sys/dev/softraidvar.h
637
struct rwlock sc_lock;
sys/dev/softraidvar.h
642
struct rwlock sc_hs_lock; /* Lock for hotspares list. */
sys/dev/usb/ehcivar.h
164
struct rwlock sc_doorbell_lock;
sys/dev/usb/if_auereg.h
253
struct rwlock aue_mii_lock;
sys/dev/usb/if_axenreg.h
292
struct rwlock axen_mii_lock;
sys/dev/usb/if_axereg.h
257
struct rwlock axe_mii_lock;
sys/dev/usb/if_mosreg.h
200
struct rwlock mos_mii_lock;
sys/dev/usb/if_muereg.h
240
struct rwlock mue_mii_lock;
sys/dev/usb/if_smscreg.h
290
struct rwlock sc_mii_lock;
sys/dev/usb/if_udavreg.h
190
struct rwlock sc_mii_lock;
sys/dev/usb/if_umb.h
392
struct rwlock sc_kstat_lock;
sys/dev/usb/if_urereg.h
677
struct rwlock ure_mii_lock;
sys/dev/usb/if_urlreg.h
173
struct rwlock sc_mii_lock;
sys/dev/usb/ucom.c
119
struct rwlock sc_lock; /* lock during open */
sys/dev/usb/ucom.c
159
struct rwlock sysctl_ucomlock = RWLOCK_INITIALIZER("sysctlulk");
sys/dev/usb/usb.c
96
struct rwlock usbpalock;
sys/dev/usb/usb_subr.c
864
extern struct rwlock usbpalock;
sys/dev/usb/utvfu.c
1248
rw_enter_read(&sc->sc_audio.rwlock);
sys/dev/usb/utvfu.c
1250
rw_exit_read(&sc->sc_audio.rwlock);
sys/dev/usb/utvfu.c
1456
rw_enter_write(&sc->sc_audio.rwlock);
sys/dev/usb/utvfu.c
1465
rw_exit_write(&sc->sc_audio.rwlock);
sys/dev/usb/utvfu.c
2016
rw_enter_write(&sc->sc_audio.rwlock);
sys/dev/usb/utvfu.c
2025
rw_exit_write(&sc->sc_audio.rwlock);
sys/dev/usb/utvfu.c
943
rw_init(&sc->sc_audio.rwlock, "audiorwl");
sys/dev/usb/utvfu.h
133
struct rwlock rwlock;
sys/dev/usb/xhcivar.h
109
struct rwlock sc_cmd_lock; /* Serialize commands */
sys/dev/vmm/vmm.h
194
struct rwlock vm_vcpu_lock;
sys/dev/vmm/vmm.h
216
struct rwlock sc_slock;
sys/dev/vmm/vmm.h
232
struct rwlock vm_lock;
sys/dev/vmm/vmm.h
236
struct rwlock vpid_lock;
sys/dev/vscsi.c
75
struct rwlock sc_ioc_lock;
sys/dev/wscons/wsmux.c
126
struct rwlock wsmux_tree_lock = RWLOCK_INITIALIZER("wsmuxtreelk");
sys/dev/wscons/wsmuxvar.h
80
struct rwlock sc_lock; /* lock for sc_cld */
sys/kern/kern_acct.c
87
struct rwlock acct_lock = RWLOCK_INITIALIZER("acctlk");
sys/kern/kern_event.c
208
struct rwlock kqueue_ps_list_lock = RWLOCK_INITIALIZER("kqpsl");
sys/kern/kern_event.c
2550
struct rwlock *rwl = arg;
sys/kern/kern_event.c
2560
struct rwlock *rwl = arg;
sys/kern/kern_event.c
2569
struct rwlock *rwl = arg;
sys/kern/kern_event.c
2581
klist_init_rwlock(struct klist *klist, struct rwlock *rwl)
sys/kern/kern_intrmap.c
67
struct rwlock intrmap_lock = RWLOCK_INITIALIZER("intrcpus");
sys/kern/kern_proc.c
52
struct rwlock uidinfolk;
sys/kern/kern_resource.c
79
struct rwlock rlimit_lock = RWLOCK_INITIALIZER("rlimitlk");
sys/kern/kern_rwlock.c
105
rw_exit_read(struct rwlock *rwl)
sys/kern/kern_rwlock.c
112
rw_do_exit_read(struct rwlock *rwl, unsigned long owner)
sys/kern/kern_rwlock.c
146
rw_exit_write(struct rwlock *rwl)
sys/kern/kern_rwlock.c
165
_rw_init_flags_witness(struct rwlock *rwl, const char *name, int lo_flags,
sys/kern/kern_rwlock.c
186
_rw_init_flags(struct rwlock *rwl, const char *name, int flags,
sys/kern/kern_rwlock.c
193
rw_enter(struct rwlock *rwl, int flags)
sys/kern/kern_rwlock.c
221
rw_do_enter_write(struct rwlock *rwl, int flags)
sys/kern/kern_rwlock.c
240
TRACEINDEX(rwlock, rwl->rwl_traceidx, rwl, 2, 1);
sys/kern/kern_rwlock.c
274
TRACEINDEX(rwlock, rwl->rwl_traceidx, rwl, 2,
sys/kern/kern_rwlock.c
284
TRACEINDEX(rwlock, rwl->rwl_traceidx, rwl, 2, 4);
sys/kern/kern_rwlock.c
309
TRACEINDEX(rwlock, rwl->rwl_traceidx, rwl, 2, 4);
sys/kern/kern_rwlock.c
316
TRACEINDEX(rwlock, rwl->rwl_traceidx, rwl, 2, 3);
sys/kern/kern_rwlock.c
326
rw_read_incr(struct rwlock *rwl, unsigned long owner)
sys/kern/kern_rwlock.c
344
rw_do_enter_read(struct rwlock *rwl, int flags)
sys/kern/kern_rwlock.c
361
TRACEINDEX(rwlock, rwl->rwl_traceidx, rwl, 1, 1);
sys/kern/kern_rwlock.c
373
TRACEINDEX(rwlock, rwl->rwl_traceidx, rwl, 1, 2);
sys/kern/kern_rwlock.c
379
TRACEINDEX(rwlock, rwl->rwl_traceidx, rwl, 1, 4);
sys/kern/kern_rwlock.c
404
TRACEINDEX(rwlock, rwl->rwl_traceidx, rwl, 1, 4);
sys/kern/kern_rwlock.c
409
TRACEINDEX(rwlock, rwl->rwl_traceidx, rwl, 1, 3);
sys/kern/kern_rwlock.c
419
rw_downgrade(struct rwlock *rwl, int flags)
sys/kern/kern_rwlock.c
450
rw_upgrade(struct rwlock *rwl, int flags)
sys/kern/kern_rwlock.c
468
TRACEINDEX(rwlock, rwl->rwl_traceidx, rwl, 3, 4);
sys/kern/kern_rwlock.c
471
TRACEINDEX(rwlock, rwl->rwl_traceidx, rwl, 3, 1);
sys/kern/kern_rwlock.c
486
rw_exit(struct rwlock *rwl)
sys/kern/kern_rwlock.c
503
rw_exited(struct rwlock *rwl)
sys/kern/kern_rwlock.c
513
rw_status(struct rwlock *rwl)
sys/kern/kern_rwlock.c
531
rw_assert_wrlock(struct rwlock *rwl)
sys/kern/kern_rwlock.c
547
rw_assert_rdlock(struct rwlock *rwl)
sys/kern/kern_rwlock.c
561
rw_assert_anylock(struct rwlock *rwl)
sys/kern/kern_rwlock.c
581
rw_assert_unlocked(struct rwlock *rwl)
sys/kern/kern_rwlock.c
682
struct rwlock ro_lock;
sys/kern/kern_rwlock.c
708
_rw_obj_alloc_flags(struct rwlock **lock, const char *name, int flags,
sys/kern/kern_rwlock.c
729
rw_obj_hold(struct rwlock *lock)
sys/kern/kern_rwlock.c
73
static int rw_do_enter_read(struct rwlock *, int);
sys/kern/kern_rwlock.c
74
static void rw_do_exit_read(struct rwlock *, unsigned long);
sys/kern/kern_rwlock.c
75
static int rw_do_enter_write(struct rwlock *, int);
sys/kern/kern_rwlock.c
750
rw_obj_free(struct rwlock *lock)
sys/kern/kern_rwlock.c
76
static int rw_downgrade(struct rwlock *, int);
sys/kern/kern_rwlock.c
77
static int rw_upgrade(struct rwlock *, int);
sys/kern/kern_rwlock.c
79
static void rw_exited(struct rwlock *);
sys/kern/kern_rwlock.c
93
rw_enter_read(struct rwlock *rwl)
sys/kern/kern_rwlock.c
99
rw_enter_write(struct rwlock *rwl)
sys/kern/kern_sensors.c
179
struct rwlock lock;
sys/kern/kern_synch.c
246
rwsleep_nsec(const volatile void *ident, struct rwlock *rwl, int priority,
sys/kern/kern_synch.c
270
rwsleep(const volatile void *ident, struct rwlock *rwl, int priority,
sys/kern/kern_sysctl.c
184
struct rwlock sysctl_lock = RWLOCK_INITIALIZER("sysctllk");
sys/kern/kern_sysctl.c
185
struct rwlock sysctl_disklock = RWLOCK_INITIALIZER("sysctldlk");
sys/kern/kern_tc.c
104
struct rwlock tc_lock = RWLOCK_INITIALIZER("tc_lock");
sys/kern/kern_unveil.c
51
struct rwlock uv_lock;
sys/kern/subr_log.c
495
struct rwlock logstash_rwlock = RWLOCK_INITIALIZER("logstash");
sys/kern/subr_log.c
92
struct rwlock syslogf_rwlock = RWLOCK_INITIALIZER("syslogf");
sys/kern/subr_pool.c
73
struct rwlock pool_lock = RWLOCK_INITIALIZER("pools");
sys/kern/subr_witness.c
406
static struct rwlock w_ctlock = RWLOCK_INITIALIZER("w_ctlock");
sys/kern/sys_futex.c
96
struct rwlock fsq_lock;
sys/kern/sys_pipe.c
482
struct rwlock *lock = rpipe->pipe_lock;
sys/kern/sys_pipe.c
53
struct rwlock pp_lock;
sys/kern/sys_pipe.c
840
struct rwlock *lock = rpipe->pipe_lock;
sys/kern/sysv_sem.c
50
struct rwlock sysvsem_lock = RWLOCK_INITIALIZER("semlk");
sys/kern/sysv_shm.c
69
struct rwlock sysvshm_lock = RWLOCK_INITIALIZER("shmlk");
sys/kern/tty.c
171
struct rwlock ttylist_lock = RWLOCK_INITIALIZER("ttylist");
sys/kern/tty_pty.c
91
struct rwlock pt_softc_lock = RWLOCK_INITIALIZER("ptarrlk");
sys/kern/uipc_usrreq.c
76
struct rwlock unp_df_lock = RWLOCK_INITIALIZER("unpdflk");
sys/kern/uipc_usrreq.c
77
struct rwlock unp_gc_lock = RWLOCK_INITIALIZER("unpgclk");
sys/kern/vfs_lockf.c
122
struct rwlock lockf_lock = RWLOCK_INITIALIZER("lockflk");
sys/kern/vfs_subr.c
1701
struct rwlock vfs_stall_lock = RWLOCK_INITIALIZER("vfs_stall");
sys/miscfs/fuse/fuse_device.c
42
struct rwlock fd_lock;
sys/net/if.c
203
struct rwlock lock;
sys/net/if.c
225
struct rwlock if_cloners_lock = RWLOCK_INITIALIZER("clonelk");
sys/net/if.c
226
struct rwlock if_tmplist_lock = RWLOCK_INITIALIZER("iftmplk");
sys/net/if.c
253
struct rwlock netlock = RWLOCK_INITIALIZER_TRACE("netlock",
sys/net/if_aggr.c
426
struct rwlock sc_lock;
sys/net/if_bpe.c
128
static struct rwlock bpe_lock = RWLOCK_INITIALIZER("bpeifs");
sys/net/if_ethersubr.c
1370
struct rwlock ep_lock;
sys/net/if_ethersubr.c
1411
static struct rwlock ether_pcb_lock = RWLOCK_INITIALIZER("ethsocks");
sys/net/if_pflow.h
230
struct rwlock sc_lock;
sys/net/if_pfsync.c
212
struct rwlock req_lock;
sys/net/if_pfsync.c
220
struct rwlock snd_lock;
sys/net/if_rport.c
76
static struct rwlock rport_interfaces_lock =
sys/net/if_var.h
159
struct rwlock if_maddrlock;
sys/net/if_var.h
341
extern struct rwlock if_tmplist_lock;
sys/net/if_veb.c
206
struct rwlock sc_rule_lock;
sys/net/if_vlan.c
114
struct rwlock vlan_tagh_lk = RWLOCK_INITIALIZER("vlantag");
sys/net/if_vxlan.c
209
static struct rwlock vxlan_lock = RWLOCK_INITIALIZER("vteps");
sys/net/if_wg.c
243
struct rwlock sc_lock;
sys/net/if_wg.c
249
struct rwlock sc_so_lock;
sys/net/if_wg.c
255
struct rwlock sc_aip_lock;
sys/net/if_wg.c
262
struct rwlock sc_peer_lock;
sys/net/pf_ioctl.c
174
struct rwlock pf_lock = RWLOCK_INITIALIZER("pf_lock");
sys/net/pf_ioctl.c
175
struct rwlock pf_state_lock = RWLOCK_INITIALIZER("pf_state_lock");
sys/net/pf_ioctl.c
176
struct rwlock pfioctl_rw = RWLOCK_INITIALIZER("pfioctl_rw");
sys/net/pfkeyv2.c
159
struct rwlock pkp_lk;
sys/net/pfvar_priv.h
293
struct rwlock pfs_rwl;
sys/net/pfvar_priv.h
510
extern struct rwlock pf_lock;
sys/net/pfvar_priv.h
623
extern struct rwlock pf_lock;
sys/net/pfvar_priv.h
624
extern struct rwlock pf_state_lock;
sys/net/ppp_tty.c
134
struct rwlock ppp_pkt_init = RWLOCK_INITIALIZER("ppppktini");
sys/net/rtable.h
33
struct rwlock r_lock;
sys/net/rtsock.c
167
struct rwlock rtp_lk;
sys/net/wg_cookie.h
104
struct rwlock cc_key_lock;
sys/net/wg_cookie.h
108
struct rwlock cc_secret_lock;
sys/net/wg_cookie.h
80
struct rwlock rl_lock;
sys/net/wg_cookie.h
91
struct rwlock cp_lock;
sys/net/wg_noise.h
112
struct rwlock l_identity_lock;
sys/net/wg_noise.h
98
struct rwlock r_handshake_lock;
sys/netinet/ip_mroute.c
101
struct rwlock mrt_routerlock = RWLOCK_INITIALIZER("mrouter");
sys/netinet/tcp_usrreq.c
1481
extern struct rwlock sysctl_lock;
sys/nfs/nfs_kq.c
71
struct rwlock nfskevq_lock = RWLOCK_INITIALIZER("nfskqlk");
sys/nfs/nfsnode.h
101
struct rwlock n_commitlock; /* Serialize commits */
sys/ntfs/ntfs_inode.h
51
struct rwlock i_lock;
sys/ntfs/ntfs_subr.c
75
struct rwlock ntfs_toupper_lock = RWLOCK_INITIALIZER("ntfs_toupper");
sys/scsi/safte.c
67
struct rwlock sc_lock;
sys/scsi/ses.c
72
struct rwlock sc_lock;
sys/sys/disk.h
76
struct rwlock dk_lock; /* disk lock */
sys/sys/event.h
300
struct rwlock;
sys/sys/event.h
327
extern void klist_init_rwlock(struct klist *, struct rwlock *);
sys/sys/filedesc.h
84
struct rwlock fd_lock; /* lock for the file descs */
sys/sys/kstat.h
137
struct rwlock;
sys/sys/kstat.h
181
void kstat_set_rlock(struct kstat *, struct rwlock *);
sys/sys/kstat.h
182
void kstat_set_wlock(struct kstat *, struct rwlock *);
sys/sys/mount.h
342
struct rwlock mnt_lock; /* mount structure lock */
sys/sys/pipe.h
81
struct rwlock *pipe_lock;
sys/sys/pool.h
148
struct rwlock prl_rwlock;
sys/sys/proc.h
187
struct rwlock ps_lock; /* per-process rwlock */
sys/sys/rwlock.h
134
struct rwlock rrwl_lock;
sys/sys/rwlock.h
140
void _rw_init_flags(struct rwlock *, const char *, int,
sys/sys/rwlock.h
161
void rw_enter_read(struct rwlock *);
sys/sys/rwlock.h
162
void rw_enter_write(struct rwlock *);
sys/sys/rwlock.h
163
void rw_exit_read(struct rwlock *);
sys/sys/rwlock.h
164
void rw_exit_write(struct rwlock *);
sys/sys/rwlock.h
167
void rw_assert_wrlock(struct rwlock *);
sys/sys/rwlock.h
168
void rw_assert_rdlock(struct rwlock *);
sys/sys/rwlock.h
169
void rw_assert_anylock(struct rwlock *);
sys/sys/rwlock.h
170
void rw_assert_unlocked(struct rwlock *);
sys/sys/rwlock.h
178
int rw_enter(struct rwlock *, int);
sys/sys/rwlock.h
179
void rw_exit(struct rwlock *);
sys/sys/rwlock.h
180
int rw_status(struct rwlock *);
sys/sys/rwlock.h
183
rw_read_held(struct rwlock *rwl)
sys/sys/rwlock.h
189
rw_write_held(struct rwlock *rwl)
sys/sys/rwlock.h
195
rw_lock_held(struct rwlock *rwl)
sys/sys/rwlock.h
240
void _rw_obj_alloc_flags(struct rwlock **, const char *, int,
sys/sys/rwlock.h
242
void rw_obj_hold(struct rwlock *);
sys/sys/rwlock.h
243
int rw_obj_free(struct rwlock *);
sys/sys/sem.h
162
extern struct rwlock sysvsem_lock;
sys/sys/shm.h
129
extern struct rwlock sysvshm_lock;
sys/sys/socketvar.h
121
struct rwlock so_lock; /* this socket lock */
sys/sys/socketvar.h
84
struct rwlock sb_lock;
sys/sys/sysctl.h
1036
extern struct rwlock sysctl_lock;
sys/sys/systm.h
282
struct rwlock;
sys/sys/systm.h
291
int rwsleep(const volatile void *, struct rwlock *, int, const char *, int);
sys/sys/systm.h
292
int rwsleep_nsec(const volatile void *, struct rwlock *, int, const char *,
sys/sys/systm.h
333
extern struct rwlock netlock;
sys/sys/timetc.h
104
struct rwlock;
sys/sys/timetc.h
105
extern struct rwlock tc_lock;
sys/tmpfs/tmpfs.h
232
struct rwlock tm_acc_lock;
sys/tmpfs/tmpfs.h
244
struct rwlock tm_lock;
sys/tmpfs/tmpfs.h
96
struct rwlock tn_nlock; /* node lock */
sys/ufs/ufs/dirhash.h
86
struct rwlock dh_mtx; /* protects all fields except dh_list */
sys/ufs/ufs/ufs_dirhash.c
86
struct rwlock ufsdirhash_mtx;
sys/uvm/uvm_amap.c
58
struct rwlock amap_list_lock = RWLOCK_INITIALIZER("amaplstlk");
sys/uvm/uvm_amap.h
133
struct rwlock *am_lock; /* lock for all vm_amap flags */
sys/uvm/uvm_anon.c
236
struct rwlock *lock;
sys/uvm/uvm_anon.h
41
struct rwlock *an_lock;
sys/uvm/uvm_aobj.c
669
static struct rwlock bootstrap_kernel_object_lock;
sys/uvm/uvm_map.h
308
struct rwlock lock; /* Non-intrsafe lock */
sys/uvm/uvm_object.c
100
uvm_obj_setlock(struct uvm_object *uo, struct rwlock *lockptr)
sys/uvm/uvm_object.c
102
struct rwlock *olockptr = uo->vmobjlock;
sys/uvm/uvm_object.h
119
void uvm_obj_setlock(struct uvm_object *, struct rwlock *);
sys/uvm/uvm_object.h
53
struct rwlock *vmobjlock; /* lock on object */
sys/uvm/uvm_page.c
1029
uvm_pagewait(struct vm_page *pg, struct rwlock *lock, const char *wmesg)
sys/uvm/uvm_page.h
232
void uvm_pagewait(struct vm_page *, struct rwlock *, const char *);
sys/uvm/uvm_pager.c
651
struct rwlock *slock = NULL;
sys/uvm/uvm_pdaemon.c
105
struct rwlock *uvmpd_trylockowner(struct vm_page *);
sys/uvm/uvm_pdaemon.c
342
struct rwlock *
sys/uvm/uvm_pdaemon.c
347
struct rwlock *slock;
sys/uvm/uvm_pdaemon.c
537
struct rwlock *slock;
sys/uvm/uvm_pdaemon.c
816
struct rwlock *slock;
sys/uvm/uvm_swap.c
219
struct rwlock swap_syscall_lock = RWLOCK_INITIALIZER("swplk");
sys/uvm/uvm_vnode.c
74
struct rwlock uvn_sync_lock; /* locks sync operation */
usr.sbin/unbound/testcode/checklocks.c
334
LOCKRET(pthread_rwlock_init(&e->u.rwlock, NULL));
usr.sbin/unbound/testcode/checklocks.c
414
LOCKRET(pthread_rwlock_destroy(&e->u.rwlock));
usr.sbin/unbound/testcode/checklocks.c
540
try_rd, timed_rd, &lock->u.rwlock, 0, 0);
usr.sbin/unbound/testcode/checklocks.c
562
try_wr, timed_wr, &lock->u.rwlock, 0, 1);
usr.sbin/unbound/testcode/checklocks.c
684
LOCKRET(pthread_rwlock_unlock(&lock->u.rwlock));
usr.sbin/unbound/testcode/checklocks.h
181
pthread_rwlock_t rwlock;