Lines Matching refs:x
229 #define L(x) spin_lock(&lock_##x) argument
230 #define U(x) spin_unlock(&lock_##x) argument
231 #define LU(x) L(x); U(x) argument
232 #define SI(x) spin_lock_init(&lock_##x) argument
234 #define WL(x) write_lock(&rwlock_##x) argument
235 #define WU(x) write_unlock(&rwlock_##x) argument
236 #define WLU(x) WL(x); WU(x) argument
238 #define RL(x) read_lock(&rwlock_##x) argument
239 #define RU(x) read_unlock(&rwlock_##x) argument
240 #define RLU(x) RL(x); RU(x) argument
241 #define RWI(x) rwlock_init(&rwlock_##x) argument
243 #define ML(x) mutex_lock(&mutex_##x) argument
244 #define MU(x) mutex_unlock(&mutex_##x) argument
245 #define MI(x) mutex_init(&mutex_##x) argument
247 #define RTL(x) rt_mutex_lock(&rtmutex_##x) argument
248 #define RTU(x) rt_mutex_unlock(&rtmutex_##x) argument
249 #define RTI(x) rt_mutex_init(&rtmutex_##x) argument
251 #define WSL(x) down_write(&rwsem_##x) argument
252 #define WSU(x) up_write(&rwsem_##x) argument
254 #define RSL(x) down_read(&rwsem_##x) argument
255 #define RSU(x) up_read(&rwsem_##x) argument
256 #define RWSI(x) init_rwsem(&rwsem_##x) argument
259 #define WWAI(x) ww_acquire_init(x, &ww_lockdep) argument
261 #define WWAI(x) do { ww_acquire_init(x, &ww_lockdep); (x)->deadlock_inject_countdown = ~0U; } whi… argument
263 #define WWAD(x) ww_acquire_done(x) argument
264 #define WWAF(x) ww_acquire_fini(x) argument
266 #define WWL(x, c) ww_mutex_lock(x, c) argument
267 #define WWT(x) ww_mutex_trylock(x, NULL) argument
268 #define WWL1(x) ww_mutex_lock(x, NULL) argument
269 #define WWU(x) ww_mutex_unlock(x) argument
272 #define LOCK_UNLOCK_2(x,y) LOCK(x); LOCK(y); UNLOCK(y); UNLOCK(x) argument
1348 # define I_SPINLOCK(x) lockdep_reset_lock(&lock_##x.dep_map) argument
1349 # define I_RAW_SPINLOCK(x) lockdep_reset_lock(&raw_lock_##x.dep_map) argument
1350 # define I_RWLOCK(x) lockdep_reset_lock(&rwlock_##x.dep_map) argument
1351 # define I_MUTEX(x) lockdep_reset_lock(&mutex_##x.dep_map) argument
1352 # define I_RWSEM(x) lockdep_reset_lock(&rwsem_##x.dep_map) argument
1353 # define I_WW(x) lockdep_reset_lock(&x.dep_map) argument
1354 # define I_LOCAL_LOCK(x) lockdep_reset_lock(this_cpu_ptr(&local_##x.dep_map)) argument
1356 # define I_RTMUTEX(x) lockdep_reset_lock(&rtmutex_##x.dep_map) argument
1359 # define I_SPINLOCK(x)
1360 # define I_RAW_SPINLOCK(x)
1361 # define I_RWLOCK(x)
1362 # define I_MUTEX(x)
1363 # define I_RWSEM(x)
1364 # define I_WW(x)
1365 # define I_LOCAL_LOCK(x)
1369 # define I_RTMUTEX(x) argument
1373 #define I2_RTMUTEX(x) rt_mutex_init(&rtmutex_##x) argument
1375 #define I2_RTMUTEX(x)
1378 #define I1(x) \ argument
1380 I_SPINLOCK(x); \
1381 I_RWLOCK(x); \
1382 I_MUTEX(x); \
1383 I_RWSEM(x); \
1384 I_RTMUTEX(x); \
1387 #define I2(x) \ argument
1389 spin_lock_init(&lock_##x); \
1390 rwlock_init(&rwlock_##x); \
1391 mutex_init(&mutex_##x); \
1392 init_rwsem(&rwsem_##x); \
1393 I2_RTMUTEX(x); \