Lines Matching defs:template
354 * @template: block integrity profile to register
358 * the capability with the block layer. The template is a blk_integrity
362 void blk_integrity_register(struct gendisk *disk, struct blk_integrity *template)
367 template->flags;
368 bi->interval_exp = template->interval_exp ? :
370 bi->profile = template->profile ? template->profile : &nop_profile;
371 bi->tuple_size = template->tuple_size;
372 bi->tag_size = template->tag_size;
373 bi->pi_offset = template->pi_offset;