void ttm_bo_list_ref_sub(struct ttm_buffer_object *bo, int count, bool never_free) { kref_sub(&bo->list_kref, count, (never_free) ? ttm_bo_ref_bug : ttm_bo_release_list); }
void test(void) { struct kref kref = { }; kref_sub(&kref, 2, NULL); }