Slide 53
Slide 53 text
ターゲットをあらわす構造体を作る
53
static struct target_type simple_target = {
.name = "simple",
.version = {0, 0, 1},
.features = DM_TARGET_NOWAIT | DM_TARGET_PASSES_CRYPTO,
.module = THIS_MODULE,
.ctr = simple_ctr,
.dtr = simple_dtr,
.map = simple_map,
.iterate_devices = simple_iterate_devices,
};
dmデバイスのI/Oを下のデバイスに渡す