Lines Matching refs:_T
198 static inline void __free_##_name(void *p) { _type _T = *(_type *)p; _free; }
246 { _type _T = *p; _exit; } \
295 static inline void * class_##_name##_lock_ptr(class_##_name##_t *_T) \
300 __DEFINE_GUARD_LOCK_PTR(_name, _T)
304 __DEFINE_GUARD_LOCK_PTR(_name, _T)
307 DEFINE_CLASS(_name, _type, if (_T) { _unlock; }, ({ _lock; _T; }), _type _T); \
313 ({ void *_t = _T; if (_T && !(_condlock)) _t = NULL; _t; }), \
314 class_##_name##_t _T) \
315 static inline void * class_##_name##_ext##_lock_ptr(class_##_name##_t *_T) \
316 { return class_##_name##_lock_ptr(_T); }
383 static inline void class_##_name##_destructor(class_##_name##_t *_T) \
385 if (_T->lock) { _unlock; } \
388 __DEFINE_GUARD_LOCK_PTR(_name, &_T->lock)
393 class_##_name##_t _t = { .lock = l }, *_T = &_t; \
402 *_T __maybe_unused = &_t; \
420 ({ class_##_name##_t _t = { .lock = l }, *_T = &_t;\
421 if (_T->lock && !(_condlock)) _T->lock = NULL; \
424 static inline void * class_##_name##_ext##_lock_ptr(class_##_name##_t *_T) \
425 { return class_##_name##_lock_ptr(_T); }