RTEMS
5.2
Toggle main menu visibility
Main Page
Related Pages
Modules
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
_
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
v
w
Typedefs
a
b
c
d
e
f
g
h
i
l
m
o
p
q
r
s
t
u
v
w
x
Enumerations
a
b
c
e
h
i
l
m
o
p
q
r
s
t
w
Enumerator
a
c
d
h
i
l
m
p
r
s
t
w
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
cpukit
libfs
src
jffs2
include
linux
spinlock.h
1
#ifndef __LINUX_SPINLOCK_H__
2
#define __LINUX_SPINLOCK_H__
3
4
5
typedef
struct
{ }
spinlock_t
;
6
#define SPIN_LOCK_UNLOCKED (spinlock_t) { }
7
#define DEFINE_SPINLOCK(x) spinlock_t x = SPIN_LOCK_UNLOCKED
8
9
#define spin_lock_init(lock) \
10
CYG_MACRO_START; \
11
CYG_UNUSED_PARAM(spinlock_t *, lock); \
12
CYG_MACRO_END
13
14
#define spin_lock(lock) \
15
CYG_MACRO_START; \
16
CYG_UNUSED_PARAM(spinlock_t *, lock); \
17
CYG_MACRO_END
18
19
#define spin_unlock(lock) \
20
CYG_MACRO_START; \
21
CYG_UNUSED_PARAM(spinlock_t *, lock); \
22
CYG_MACRO_END
23
24
#define spin_lock_bh(lock) \
25
CYG_MACRO_START; \
26
CYG_UNUSED_PARAM(spinlock_t *, lock); \
27
CYG_MACRO_END
28
29
#define spin_unlock_bh(lock) \
30
CYG_MACRO_START; \
31
CYG_UNUSED_PARAM(spinlock_t *, lock); \
32
CYG_MACRO_END
33
34
#endif
/* __LINUX_SPINLOCK_H__ */
spinlock_t
Definition:
spinlock.h:5
Generated by
1.9.4