Home | History | Annotate | Download | only in bits

Lines Matching refs:_name

34 #define _IO_lock_init(_name) \
35 ((_name) = (_IO_lock_t) _IO_lock_initializer , 0)
37 #define _IO_lock_fini(_name) \
40 #define _IO_lock_lock(_name) \
43 if ((_name).owner != __self) \
45 lll_lock ((_name).lock, LLL_PRIVATE); \
46 (_name).owner = __self; \
48 ++(_name).cnt; \
51 #define _IO_lock_trylock(_name) \
55 if ((_name).owner != __self) \
57 if (lll_trylock ((_name).lock) == 0) \
59 (_name).owner = __self; \
60 (_name).cnt = 1; \
66 ++(_name).cnt; \
70 #define _IO_lock_unlock(_name) \
72 if (--(_name).cnt == 0) \
74 (_name).owner = NULL; \
75 lll_unlock ((_name).lock, LLL_PRIVATE); \