Lines Matching refs:kref
215 struct kref kref; member
218 static void cmf_set_schib_release(struct kref *kref) in cmf_set_schib_release() argument
222 set_data = container_of(kref, struct set_schib_struct, kref); in cmf_set_schib_release()
245 kref_init(&set_data->kref); in set_schib_wait()
279 kref_put(&set_data->kref, cmf_set_schib_release); in set_schib_wait()
294 kref_get(&set_data->kref); in retry_set_schib()
298 kref_put(&set_data->kref, cmf_set_schib_release); in retry_set_schib()
342 struct kref kref; member
345 static void cmf_copy_block_release(struct kref *kref) in cmf_copy_block_release() argument
349 copy_block = container_of(kref, struct copy_block_struct, kref); in cmf_copy_block_release()
370 kref_init(©_block->kref); in cmf_cmb_copy_wait()
400 kref_put(©_block->kref, cmf_copy_block_release); in cmf_cmb_copy_wait()
415 kref_get(©_block->kref); in cmf_retry_copy_block()
418 kref_put(©_block->kref, cmf_copy_block_release); in cmf_retry_copy_block()