Lines Matching refs:kref
210 struct kref kref; member
213 static void cmf_set_schib_release(struct kref *kref) in cmf_set_schib_release() argument
217 set_data = container_of(kref, struct set_schib_struct, kref); in cmf_set_schib_release()
240 kref_init(&set_data->kref); in set_schib_wait()
274 kref_put(&set_data->kref, cmf_set_schib_release); in set_schib_wait()
289 kref_get(&set_data->kref); in retry_set_schib()
293 kref_put(&set_data->kref, cmf_set_schib_release); in retry_set_schib()
337 struct kref kref; member
340 static void cmf_copy_block_release(struct kref *kref) in cmf_copy_block_release() argument
344 copy_block = container_of(kref, struct copy_block_struct, kref); in cmf_copy_block_release()
365 kref_init(©_block->kref); in cmf_cmb_copy_wait()
395 kref_put(©_block->kref, cmf_copy_block_release); in cmf_cmb_copy_wait()
410 kref_get(©_block->kref); in cmf_retry_copy_block()
413 kref_put(©_block->kref, cmf_copy_block_release); in cmf_retry_copy_block()