Home
last modified time | relevance | path

Searched refs:rwlock (Results 1 – 4 of 4) sorted by relevance

/kernel/locking/
Dspinlock_rt.c194 int __sched rt_read_trylock(rwlock_t *rwlock) in rt_read_trylock() argument
198 ret = rwbase_read_trylock(&rwlock->rwbase); in rt_read_trylock()
200 rwlock_acquire_read(&rwlock->dep_map, 0, 1, _RET_IP_); in rt_read_trylock()
208 int __sched rt_write_trylock(rwlock_t *rwlock) in rt_write_trylock() argument
212 ret = rwbase_write_trylock(&rwlock->rwbase); in rt_write_trylock()
214 rwlock_acquire(&rwlock->dep_map, 0, 1, _RET_IP_); in rt_write_trylock()
222 void __sched rt_read_lock(rwlock_t *rwlock) in rt_read_lock() argument
225 rwlock_acquire_read(&rwlock->dep_map, 0, 0, _RET_IP_); in rt_read_lock()
226 rwbase_read_lock(&rwlock->rwbase, TASK_RTLOCK_WAIT); in rt_read_lock()
232 void __sched rt_write_lock(rwlock_t *rwlock) in rt_write_lock() argument
[all …]
Dspinlock.c129 BUILD_LOCK_OPS(read, rwlock);
130 BUILD_LOCK_OPS(write, rwlock);
/kernel/trace/
Dtrace_uprobe.c262 rwlock_init(&filter->rwlock); in NOKPROBE_SYMBOL()
1229 write_lock(&filter->rwlock); in trace_uprobe_filter_remove()
1239 write_unlock(&filter->rwlock); in trace_uprobe_filter_remove()
1250 write_lock(&filter->rwlock); in trace_uprobe_filter_add()
1268 write_unlock(&filter->rwlock); in trace_uprobe_filter_add()
1333 read_lock(&filter->rwlock); in uprobe_perf_filter()
1335 read_unlock(&filter->rwlock); in uprobe_perf_filter()
Dtrace_probe.h232 rwlock_t rwlock; member