Lines Matching refs:spec
889 struct dm_target_spec *spec; in retrieve_status() local
912 spec = (struct dm_target_spec *) outptr; in retrieve_status()
914 spec->status = 0; in retrieve_status()
915 spec->sector_start = ti->begin; in retrieve_status()
916 spec->length = ti->len; in retrieve_status()
917 strncpy(spec->target_type, ti->type->name, in retrieve_status()
918 sizeof(spec->target_type)); in retrieve_status()
940 spec->next = outptr - outbuf; in retrieve_status()
1001 struct dm_target_spec **spec, char **target_params) in next_target() argument
1003 *spec = (struct dm_target_spec *) ((unsigned char *) last + next); in next_target()
1004 *target_params = (char *) (*spec + 1); in next_target()
1006 if (*spec < (last + 1)) in next_target()
1017 struct dm_target_spec *spec = (struct dm_target_spec *) param; in populate_table() local
1029 r = next_target(spec, next, end, &spec, &target_params); in populate_table()
1035 r = dm_table_add_target(table, spec->target_type, in populate_table()
1036 (sector_t) spec->sector_start, in populate_table()
1037 (sector_t) spec->length, in populate_table()
1044 next = spec->next; in populate_table()