Lines Matching refs:spec
1103 struct dm_target_spec *spec; in retrieve_status() local
1128 spec = (struct dm_target_spec *) outptr; in retrieve_status()
1130 spec->status = 0; in retrieve_status()
1131 spec->sector_start = ti->begin; in retrieve_status()
1132 spec->length = ti->len; in retrieve_status()
1133 strncpy(spec->target_type, ti->type->name, in retrieve_status()
1134 sizeof(spec->target_type)); in retrieve_status()
1161 spec->next = outptr - outbuf; in retrieve_status()
1221 struct dm_target_spec **spec, char **target_params) in next_target() argument
1223 *spec = (struct dm_target_spec *) ((unsigned char *) last + next); in next_target()
1224 *target_params = (char *) (*spec + 1); in next_target()
1226 if (*spec < (last + 1)) in next_target()
1237 struct dm_target_spec *spec = (struct dm_target_spec *) param; in populate_table() local
1249 r = next_target(spec, next, end, &spec, &target_params); in populate_table()
1255 r = dm_table_add_target(table, spec->target_type, in populate_table()
1256 (sector_t) spec->sector_start, in populate_table()
1257 (sector_t) spec->length, in populate_table()
1264 next = spec->next; in populate_table()