Lines Matching refs:copy_block
302 struct copy_block_struct copy_block; in cmf_cmb_copy_wait() local
316 init_waitqueue_head(©_block.wait); in cmf_cmb_copy_wait()
317 copy_block.ret = CMF_PENDING; in cmf_cmb_copy_wait()
320 cdev->private->cmb_wait = ©_block; in cmf_cmb_copy_wait()
323 ret = wait_event_interruptible(copy_block.wait, in cmf_cmb_copy_wait()
324 copy_block.ret != CMF_PENDING); in cmf_cmb_copy_wait()
327 if (copy_block.ret == CMF_PENDING) { in cmf_cmb_copy_wait()
328 copy_block.ret = -ERESTARTSYS; in cmf_cmb_copy_wait()
334 ret = copy_block.ret; in cmf_cmb_copy_wait()
342 struct copy_block_struct *copy_block = cdev->private->cmb_wait; in cmf_retry_copy_block() local
344 if (!copy_block) in cmf_retry_copy_block()
347 copy_block->ret = cmf_copy_block(cdev); in cmf_retry_copy_block()
348 wake_up(©_block->wait); in cmf_retry_copy_block()