Lines Matching refs:tf
227 void dc_transfer_func_retain(struct dc_transfer_func *tf)
229 kref_get(&tf->refcount);
234 struct dc_transfer_func *tf = container_of(kref, struct dc_transfer_func, refcount);
235 kvfree(tf);
238 void dc_transfer_func_release(struct dc_transfer_func *tf)
240 kref_put(&tf->refcount, dc_transfer_func_free);
245 struct dc_transfer_func *tf = kvzalloc(sizeof(*tf), GFP_KERNEL);
247 if (tf == NULL)
250 kref_init(&tf->refcount);
252 return tf;