Home
last modified time | relevance | path

Searched refs:zone_id (Results 1 – 2 of 2) sorted by relevance

/drivers/scsi/
Dscsi_trace.c266 u64 zone_id; in scsi_trace_zbc_in() local
279 zone_id = get_unaligned_be64(&cdb[2]); in scsi_trace_zbc_in()
284 cmd, (unsigned long long)zone_id, alloc_len, in scsi_trace_zbc_in()
297 u64 zone_id; in scsi_trace_zbc_out() local
317 zone_id = get_unaligned_be64(&cdb[2]); in scsi_trace_zbc_out()
320 (unsigned long long)zone_id, cdb[14] & 1); in scsi_trace_zbc_out()
/drivers/md/
Ddm-zoned-metadata.c231 unsigned int zone_id = dmz_dev_zone_id(zmd, zone); in dmz_start_sect() local
233 return (sector_t)zone_id << zmd->zone_nr_sectors_shift; in dmz_start_sect()
238 unsigned int zone_id = dmz_dev_zone_id(zmd, zone); in dmz_start_block() local
240 return (sector_t)zone_id << zmd->zone_nr_blocks_shift; in dmz_start_block()
303 static struct dm_zone *dmz_get(struct dmz_metadata *zmd, unsigned int zone_id) in dmz_get() argument
305 return xa_load(&zmd->zones, zone_id); in dmz_get()
309 unsigned int zone_id, struct dmz_dev *dev) in dmz_insert() argument
316 if (xa_insert(&zmd->zones, zone_id, zone, GFP_KERNEL)) { in dmz_insert()
323 zone->id = zone_id; in dmz_insert()
1116 unsigned int zone_id = zmd->sb[0].zone->id; in dmz_lookup_secondary_sb() local
[all …]