Lines Matching refs:pw
683 struct dm_verity_prefetch_work *pw = in verity_prefetch_io() local
685 struct dm_verity *v = pw->v; in verity_prefetch_io()
692 verity_hash_at_level(v, pw->block, i, &hash_block_start, NULL); in verity_prefetch_io()
693 verity_hash_at_level(v, pw->block + pw->n_blocks - 1, i, &hash_block_end, NULL); in verity_prefetch_io()
713 pw->ioprio); in verity_prefetch_io()
716 kfree(pw); in verity_prefetch_io()
724 struct dm_verity_prefetch_work *pw; in verity_submit_prefetch() local
738 pw = kmalloc(sizeof(struct dm_verity_prefetch_work), in verity_submit_prefetch()
741 if (!pw) in verity_submit_prefetch()
744 INIT_WORK(&pw->work, verity_prefetch_io); in verity_submit_prefetch()
745 pw->v = v; in verity_submit_prefetch()
746 pw->block = block; in verity_submit_prefetch()
747 pw->n_blocks = n_blocks; in verity_submit_prefetch()
748 pw->ioprio = ioprio; in verity_submit_prefetch()
749 queue_work(v->verify_wq, &pw->work); in verity_submit_prefetch()