DEFINE_CLASS
DEFINE_CLASS(tdx_vm_state_guard, tdx_vm_state_guard_t,
DEFINE_CLASS(xe_force_wake_release_only, struct xe_force_wake_ref,
DEFINE_CLASS(xe_force_wake, struct xe_force_wake_ref,
DEFINE_CLASS(xe_guc_buf, struct xe_guc_buf,
DEFINE_CLASS(xe_guc_buf_from_data, struct xe_guc_buf,
DEFINE_CLASS(xe_validation, struct xe_validation_ctx *,
DEFINE_CLASS(drm_sched_pending_job_iter, struct drm_sched_pending_job_iter,
DEFINE_CLASS(ttm_bo_lru_cursor, struct ttm_bo_lru_cursor *,
DEFINE_CLASS(_name, _type, if (!__GUARD_IS_ERR(_T)) { _unlock; }, ({ _lock; _T; }), _type _T); \
DEFINE_CLASS(override_creds,
DEFINE_CLASS(prepare_creds,
DEFINE_CLASS(fd, struct fd, fdput(_T), fdget(fd), int fd)
DEFINE_CLASS(fd_raw, struct fd, fdput(_T), fdget_raw(fd), int fd)
DEFINE_CLASS(fd_pos, struct fd, fdput_pos(_T), fdget_pos(fd), int fd)
DEFINE_CLASS(get_unused_fd, int, if (_T >= 0) put_unused_fd(_T),
DEFINE_CLASS(_gpiochip_for_each_data,
DEFINE_CLASS(idr_alloc, struct __class_idr,
DEFINE_CLASS(snd_hda_power_pm, struct __hda_power_obj,
DEFINE_CLASS(hb, struct futex_hash_bucket *,
DEFINE_CLASS(private_hash, struct futex_private_hash *,
DEFINE_CLASS(sched_change, struct sched_change_ctx *,
DEFINE_CLASS(find_get_task, struct task_struct *, if (_T) put_task_struct(_T),
DEFINE_CLASS(lock_timer, struct k_itimer *, unlock_timer(_T), lock_timer(id), timer_t id);
DEFINE_CLASS(gmem_get_file, struct file *, if (_T) fput(_T),