Home
last modified time | relevance | path

Searched refs:__STATE (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/kernel/locking/
Dlockdep_internals.h14 #define LOCKDEP_STATE(__STATE) \ argument
15 LOCK_USED_IN_##__STATE, \
16 LOCK_USED_IN_##__STATE##_READ, \
17 LOCK_ENABLED_##__STATE, \
18 LOCK_ENABLED_##__STATE##_READ,
36 #define __LOCKF(__STATE) LOCKF_##__STATE = (1 << LOCK_##__STATE), argument
39 #define LOCKDEP_STATE(__STATE) \ argument
40 __LOCKF(USED_IN_##__STATE) \
41 __LOCKF(USED_IN_##__STATE##_READ) \
42 __LOCKF(ENABLED_##__STATE) \
[all …]
Dlockdep.c645 #define __USAGE(__STATE) \ argument
646 [LOCK_USED_IN_##__STATE] = "IN-"__stringify(__STATE)"-W", \
647 [LOCK_ENABLED_##__STATE] = __stringify(__STATE)"-ON-W", \
648 [LOCK_USED_IN_##__STATE##_READ] = "IN-"__stringify(__STATE)"-R",\
649 [LOCK_ENABLED_##__STATE##_READ] = __stringify(__STATE)"-ON-R",
653 #define LOCKDEP_STATE(__STATE) __USAGE(__STATE) argument
703 #define LOCKDEP_STATE(__STATE) \ in get_usage_chars() argument
704 usage[i++] = get_usage_char(class, LOCK_USED_IN_##__STATE); \ in get_usage_chars()
705 usage[i++] = get_usage_char(class, LOCK_USED_IN_##__STATE##_READ); in get_usage_chars()
2630 #define LOCKDEP_STATE(__STATE) \ argument
[all …]