Lines Matching refs:spec
1141 struct dm_target_spec *spec;
1166 spec = (struct dm_target_spec *) outptr;
1168 spec->status = 0;
1169 spec->sector_start = ti->begin;
1170 spec->length = ti->len;
1171 strncpy(spec->target_type, ti->type->name,
1172 sizeof(spec->target_type) - 1);
1199 spec->next = outptr - outbuf;
1272 struct dm_target_spec **spec, char **target_params)
1274 *spec = (struct dm_target_spec *) ((unsigned char *) last + next);
1275 *target_params = (char *) (*spec + 1);
1277 if (*spec < (last + 1))
1288 struct dm_target_spec *spec = (struct dm_target_spec *) param;
1300 r = next_target(spec, next, end, &spec, &target_params);
1306 r = dm_table_add_target(table, spec->target_type,
1307 (sector_t) spec->sector_start,
1308 (sector_t) spec->length,
1315 next = spec->next;