Lines Matching refs:t
21 static int dm_blk_do_report_zones(struct mapped_device *md, struct dm_table *t, in dm_blk_do_report_zones() argument
36 tgt = dm_table_find_target(t, args.next_sector); in dm_blk_do_report_zones()
226 static int dm_revalidate_zones(struct mapped_device *md, struct dm_table *t) in dm_revalidate_zones() argument
246 ret = dm_blk_do_report_zones(md, t, 0, disk->nr_zones, in dm_revalidate_zones()
273 static bool dm_table_supports_zone_append(struct dm_table *t) in dm_table_supports_zone_append() argument
275 for (unsigned int i = 0; i < t->num_targets; i++) { in dm_table_supports_zone_append()
276 struct dm_target *ti = dm_table_get_target(t, i); in dm_table_supports_zone_append()
289 int dm_set_zones_restrictions(struct dm_table *t, struct request_queue *q) in dm_set_zones_restrictions() argument
291 struct mapped_device *md = t->md; in dm_set_zones_restrictions()
301 if (dm_table_supports_zone_append(t)) { in dm_set_zones_restrictions()
315 return dm_revalidate_zones(md, t); in dm_set_zones_restrictions()
333 struct dm_table *t; in dm_update_zone_wp_offset() local
336 t = dm_get_live_table(md, &srcu_idx); in dm_update_zone_wp_offset()
337 if (!t) in dm_update_zone_wp_offset()
345 ret = dm_blk_do_report_zones(md, t, sector, 1, in dm_update_zone_wp_offset()