Lines Matching refs:_name
31 #define _IO_lock_init(_name) \ argument
32 ((void) ((_name) = (_IO_lock_t) _IO_lock_initializer))
34 #define _IO_lock_fini(_name) \ argument
37 #define _IO_lock_lock(_name) \ argument
40 if ((_name).owner != __self) \
42 lll_lock ((_name).lock, LLL_PRIVATE); \
43 (_name).owner = __self; \
45 ++(_name).cnt; \
48 #define _IO_lock_trylock(_name) \ argument
52 if ((_name).owner != __self) \
54 if (lll_trylock ((_name).lock) == 0) \
56 (_name).owner = __self; \
57 (_name).cnt = 1; \
63 ++(_name).cnt; \
67 #define _IO_lock_unlock(_name) \ argument
69 if (--(_name).cnt == 0) \
71 (_name).owner = NULL; \
72 lll_unlock ((_name).lock, LLL_PRIVATE); \