Back to home page

OSCL-LXR

 
 

    


 
  Name Size Date (UTC) Last indexed Description
  Name Size Date (UTC) Last indexed Description
folder Parent directory - 2025-03-06 09:18:39  
irqflag-debug.c 324 bytes 2025-03-06 09:18:38 2025-03-06 13:27:29  
lock_events.c 4443 bytes 2025-03-06 09:18:38 2025-03-06 13:27:29

Collect locking event counts

lock_events.h 1715 bytes 2025-03-06 09:18:38 2025-03-06 13:27:29  
lock_events_list.h 3159 bytes 2025-03-06 09:18:38 2025-03-06 13:27:29  
lockdep.c 172093 bytes 2025-03-06 09:18:38 2025-03-06 13:27:30  
lockdep_internals.h 7434 bytes 2025-03-06 09:18:38 2025-03-06 13:27:30

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

lockdep_proc.c 19120 bytes 2025-03-06 09:18:38 2025-03-06 13:27:30  
lockdep_states.h 207 bytes 2025-03-06 09:18:38 2025-03-06 13:27:30

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 30245 bytes 2025-03-06 09:18:38 2025-03-06 13:27:30  
Makefile 1241 bytes 2025-03-06 09:18:38 2025-03-06 13:27:30  
mcs_spinlock.h 3767 bytes 2025-03-06 09:18:38 2025-03-06 13:27:30

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

mutex-debug.c 2842 bytes 2025-03-06 09:18:38 2025-03-06 13:27:30  
mutex.c 29888 bytes 2025-03-06 09:18:38 2025-03-06 13:27:30  
mutex.h 1681 bytes 2025-03-06 09:18:38 2025-03-06 13:27:30

This is the control structure for tasks blocked on mutex, which resides on the blocked task's kernel stack:

osq_lock.c 5958 bytes 2025-03-06 09:18:38 2025-03-06 13:27:31  
percpu-rwsem.c 7502 bytes 2025-03-06 09:18:38 2025-03-06 13:27:31  
qrwlock.c 2600 bytes 2025-03-06 09:18:38 2025-03-06 13:27:31  
qspinlock.c 17100 bytes 2025-03-06 09:18:38 2025-03-06 13:27:31  
qspinlock_paravirt.h 16403 bytes 2025-03-06 09:18:38 2025-03-06 13:27:31  
qspinlock_stat.h 3061 bytes 2025-03-06 09:18:38 2025-03-06 13:27:31

Authors: Waiman Long <redhat.com">longman@redhat.com>

rtmutex.c 47924 bytes 2025-03-06 09:18:38 2025-03-06 13:27:31  
rtmutex_api.c 16687 bytes 2025-03-06 09:18:38 2025-03-06 13:27:31

rtmutex API

rtmutex_common.h 6338 bytes 2025-03-06 09:18:38 2025-03-06 13:27:31  
rwbase_rt.c 8384 bytes 2025-03-06 09:18:38 2025-03-06 13:27:31  
rwsem.c 46224 bytes 2025-03-06 09:18:38 2025-03-06 13:27:31 R/W semaphores, public implementation
semaphore.c 7733 bytes 2025-03-06 09:18:38 2025-03-06 13:27:31

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

spinlock.c 10214 bytes 2025-03-06 09:18:38 2025-03-06 13:27:31  
spinlock_debug.c 5975 bytes 2025-03-06 09:18:38 2025-03-06 13:27:31  
spinlock_rt.c 7047 bytes 2025-03-06 09:18:38 2025-03-06 13:27:31  
test-ww_mutex.c 13809 bytes 2025-03-06 09:18:38 2025-03-06 13:27:31

Module-based API test facility for ww_mutexes

ww_mutex.h 14074 bytes 2025-03-06 09:18:38 2025-03-06 13:27:31  
ww_rt_mutex.c 2400 bytes 2025-03-06 09:18:38 2025-03-06 13:27:31

rtmutex API