Lines Matching refs:_T
198 static inline void __free_##_name(void *p) { _type _T = *(_type *)p; _free; }
246 { _type _T = *p; _exit; } \
296 DEFINE_CLASS(_name, _type, if (_T) { _unlock; }, ({ _lock; _T; }), _type _T); \
297 static inline void * class_##_name##_lock_ptr(class_##_name##_t *_T) \
298 { return (void *)(__force unsigned long)*_T; }
303 ({ void *_t = _T; if (_T && !(_condlock)) _t = NULL; _t; }), \
304 class_##_name##_t _T) \
305 static inline void * class_##_name##_ext##_lock_ptr(class_##_name##_t *_T) \
306 { return class_##_name##_lock_ptr(_T); }
372 static inline void class_##_name##_destructor(class_##_name##_t *_T) \
374 if (_T->lock) { _unlock; } \
377 static inline void *class_##_name##_lock_ptr(class_##_name##_t *_T) \
379 return (void *)(__force unsigned long)_T->lock; \
386 class_##_name##_t _t = { .lock = l }, *_T = &_t; \
395 *_T __maybe_unused = &_t; \
413 ({ class_##_name##_t _t = { .lock = l }, *_T = &_t;\
414 if (_T->lock && !(_condlock)) _T->lock = NULL; \
417 static inline void * class_##_name##_ext##_lock_ptr(class_##_name##_t *_T) \
418 { return class_##_name##_lock_ptr(_T); }