Searched refs:zno (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/md/ |
A D | dm-zone.c | 445 WRITE_ONCE(md->zwp_offset[zno], in dm_zone_map_bio_end() 528 unsigned int zno; in dm_zone_map_bio() local 540 zno = bio_zone_no(orig_bio); in dm_zone_map_bio() 541 dm_zone_lock(q, zno, clone); in dm_zone_map_bio() 548 dm_zone_unlock(q, zno, clone); in dm_zone_map_bio() 577 dm_zone_unlock(q, zno, clone); in dm_zone_map_bio() 582 dm_zone_unlock(q, zno, clone); in dm_zone_map_bio() 605 unsigned int zno; in dm_zone_endio() local 634 zno = bio_zone_no(orig_bio); in dm_zone_endio() 652 WRITE_ONCE(md->zwp_offset[zno], in dm_zone_endio() [all …]
|
/linux/drivers/scsi/ |
A D | sd_zbc.c | 283 sector_t zno; in sd_zbc_update_wp_offset_workfn() local 289 for (zno = 0; zno < sdkp->nr_zones; zno++) { in sd_zbc_update_wp_offset_workfn() 296 zno * sdkp->zone_blocks, true); in sd_zbc_update_wp_offset_workfn() 300 zno, sd_zbc_update_wp_offset_cb, in sd_zbc_update_wp_offset_workfn() 326 unsigned int wp_offset, zno = blk_rq_zone_no(rq); in sd_zbc_prepare_zone_append() local 342 wp_offset = sdkp->zones_wp_offset[zno]; in sd_zbc_prepare_zone_append() 355 sdkp->zones_wp_offset[zno] = SD_ZBC_UPDATING_WP_OFST; in sd_zbc_prepare_zone_append() 447 unsigned int zno = blk_rq_zone_no(rq); in sd_zbc_zone_wp_update() local 477 rq->__sector += sdkp->zones_wp_offset[zno]; in sd_zbc_zone_wp_update() 483 sdkp->zones_wp_offset[zno] += in sd_zbc_zone_wp_update() [all …]
|
/linux/drivers/block/null_blk/ |
A D | zoned.c | 283 unsigned int zno, i; in null_close_imp_open_zone() local 285 zno = dev->imp_close_zone_no; in null_close_imp_open_zone() 286 if (zno >= dev->nr_zones) in null_close_imp_open_zone() 287 zno = dev->zone_nr_conv; in null_close_imp_open_zone() 290 zone = &dev->zones[zno]; in null_close_imp_open_zone() 291 zno++; in null_close_imp_open_zone() 292 if (zno >= dev->nr_zones) in null_close_imp_open_zone() 293 zno = dev->zone_nr_conv; in null_close_imp_open_zone() 297 dev->imp_close_zone_no = zno; in null_close_imp_open_zone() 371 struct nullb_zone *zone = &dev->zones[zno]; in null_zone_write() [all …]
|
/linux/fs/btrfs/ |
A D | zoned.h | 261 unsigned int zno; in btrfs_dev_set_empty_zone_bit() local 266 zno = pos >> zone_info->zone_size_shift; in btrfs_dev_set_empty_zone_bit() 268 set_bit(zno, zone_info->empty_zones); in btrfs_dev_set_empty_zone_bit() 270 clear_bit(zno, zone_info->empty_zones); in btrfs_dev_set_empty_zone_bit()
|
A D | zoned.c | 995 unsigned int zno = (pos >> zone_info->zone_size_shift); in btrfs_dev_set_active_zone() local 1001 if (!test_bit(zno, zone_info->active_zones)) { in btrfs_dev_set_active_zone() 1005 if (test_and_set_bit(zno, zone_info->active_zones)) { in btrfs_dev_set_active_zone() 1017 unsigned int zno = (pos >> zone_info->zone_size_shift); in btrfs_dev_clear_active_zone() local 1023 if (test_and_clear_bit(zno, zone_info->active_zones)) in btrfs_dev_clear_active_zone()
|
/linux/block/ |
A D | blk-zoned.c | 79 unsigned int zno = blk_rq_zone_no(rq); in blk_req_zone_write_trylock() local 81 if (test_and_set_bit(zno, rq->q->seq_zones_wlock)) in blk_req_zone_write_trylock()
|
/linux/fs/f2fs/ |
A D | f2fs.h | 4239 unsigned int zno = blkaddr >> sbi->log_blocks_per_blkz; in f2fs_blkz_is_seq() local 4241 return test_bit(zno, FDEV(devi).blkz_seq); in f2fs_blkz_is_seq()
|
Completed in 33 milliseconds