Lines Matching refs:refcount
114 kref_init(&plane_state->refcount);
181 kref_get(&plane_state->refcount);
186 struct dc_plane_state *plane_state = container_of(kref, struct dc_plane_state, refcount);
193 kref_put(&plane_state->refcount, dc_plane_state_free);
198 kref_get(&gamma->refcount);
203 struct dc_gamma *gamma = container_of(kref, struct dc_gamma, refcount);
209 kref_put(&(*gamma)->refcount, dc_gamma_free);
220 kref_init(&gamma->refcount);
229 kref_get(&tf->refcount);
234 struct dc_transfer_func *tf = container_of(kref, struct dc_transfer_func, refcount);
240 kref_put(&tf->refcount, dc_transfer_func_free);
250 kref_init(&tf->refcount);
260 struct dc_3dlut *lut = container_of(kref, struct dc_3dlut, refcount);
272 kref_init(&lut->refcount);
284 kref_put(&lut->refcount, dc_3dlut_func_free);
289 kref_get(&lut->refcount);