Back to home page

LXR

 
 

    


 
  Name Size Date (UTC) Last indexed Description
  Name Size Date (UTC) Last indexed Description
folder Parent directory - 2017-02-19 22:34:00  
lockdep.c 111196 bytes 2017-02-19 22:34:00 2017-02-23 15:11:48  
lockdep_internals.h 5105 bytes 2017-02-19 22:34:00 2017-02-23 15:11:48

kernel/ Runtime locking correctness validator lockdep subsystem internal functions and variables.

lockdep_proc.c 17794 bytes 2017-02-19 22:34:00 2017-02-23 15:11:48  
lockdep_states.h 233 bytes 2017-02-19 22:34:00 2017-02-23 15:11:48

Lockdep states, please update XXX_LOCK_USAGE_STATES in include/linux/lockdep.h whenever you add one, or come up with a nice dynamic solution.

locktorture.c 27034 bytes 2017-02-19 22:34:00 2017-02-23 15:11:48  
Makefile 1125 bytes 2017-02-19 22:34:00 2017-02-23 15:11:48  
mcs_spinlock.h 3572 bytes 2017-02-19 22:34:00 2017-02-23 15:11:48

MCS lock defines This file contains the main data structure and API definitions of MCS lock.

mutex-debug.c 2851 bytes 2017-02-19 22:34:00 2017-02-23 15:11:49  
mutex-debug.h 1538 bytes 2017-02-19 22:34:00 2017-02-23 15:11:49

This must be called with lock->wait_lock held.

mutex.c 27688 bytes 2017-02-19 22:34:00 2017-02-23 15:11:49  
mutex.h 986 bytes 2017-02-19 22:34:00 2017-02-23 15:11:49  
osq_lock.c 5392 bytes 2017-02-19 22:34:00 2017-02-23 15:11:49  
percpu-rwsem.c 5262 bytes 2017-02-19 22:34:00 2017-02-23 15:11:49  
qrwlock.c 4115 bytes 2017-02-19 22:34:00 2017-02-23 15:11:49  
qspinlock.c 18265 bytes 2017-02-19 22:34:00 2017-02-23 15:11:49  
qspinlock_paravirt.h 15437 bytes 2017-02-19 22:34:00 2017-02-23 15:11:49  
qspinlock_stat.h 7771 bytes 2017-02-19 22:34:00 2017-02-23 15:11:49  
rtmutex-debug.c 4645 bytes 2017-02-19 22:34:00 2017-02-23 15:11:49  
rtmutex-debug.h 1569 bytes 2017-02-19 22:34:00 2017-02-23 15:11:49  
rtmutex.c 47834 bytes 2017-02-19 22:34:00 2017-02-23 15:11:49  
rtmutex.h 1356 bytes 2017-02-19 22:34:00 2017-02-23 15:11:49  
rtmutex_common.h 3346 bytes 2017-02-19 22:34:00 2017-02-23 15:11:49  
rwsem-spinlock.c 7112 bytes 2017-02-19 22:34:00 2017-02-23 15:11:50 R/W semaphores: contention handling functions for
rwsem-xadd.c 18395 bytes 2017-02-19 22:34:00 2017-02-23 15:11:50

rwsem.c: R/W semaphores: contention handling functions Written by David Howells (dhowells@redhat.com).

rwsem.c 3910 bytes 2017-02-19 22:34:00 2017-02-23 15:11:50 R/W semaphores, public implementation
rwsem.h 1995 bytes 2017-02-19 22:34:00 2017-02-23 15:11:50

The owner field of the rw_semaphore structure will be set to RWSEM_READ_OWNED when a reader grabs the lock.

semaphore.c 7428 bytes 2017-02-19 22:34:00 2017-02-23 15:11:50

Some notes on the implementation: The spinlock controls access to the other members of the semaphore.

spinlock.c 10318 bytes 2017-02-19 22:34:00 2017-02-23 15:11:50  
spinlock_debug.c 7303 bytes 2017-02-19 22:34:00 2017-02-23 15:11:50