Home
last modified time | relevance | path

Searched refs:seq_zones_wlock (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/block/
Dblk-zoned.c60 if (!rq->q->disk->seq_zones_wlock) in blk_req_needs_zone_write_lock()
71 if (test_and_set_bit(zno, rq->q->disk->seq_zones_wlock)) in blk_req_zone_write_trylock()
84 rq->q->disk->seq_zones_wlock))) in __blk_req_zone_write_lock()
95 if (rq->q->disk->seq_zones_wlock) in __blk_req_zone_write_unlock()
97 rq->q->disk->seq_zones_wlock)); in __blk_req_zone_write_unlock()
436 kfree(disk->seq_zones_wlock); in disk_free_zone_bitmaps()
437 disk->seq_zones_wlock = NULL; in disk_free_zone_bitmaps()
443 unsigned long *seq_zones_wlock; member
502 if (!args->seq_zones_wlock) { in blk_revalidate_zone_cb()
503 args->seq_zones_wlock = in blk_revalidate_zone_cb()
[all …]
Dblk-mq-debugfs-zoned.c14 if (!q->disk->seq_zones_wlock) in queue_zone_wlock_show()
18 if (test_bit(i, q->disk->seq_zones_wlock)) in queue_zone_wlock_show()
/linux-6.6.21/drivers/md/
Ddm-zone.c146 bitmap_free(md->disk->seq_zones_wlock); in dm_cleanup_zoned_dev()
147 md->disk->seq_zones_wlock = NULL; in dm_cleanup_zoned_dev()
195 if (!disk->seq_zones_wlock) { in dm_zone_revalidate_cb()
196 disk->seq_zones_wlock = bitmap_zalloc(disk->nr_zones, in dm_zone_revalidate_cb()
198 if (!disk->seq_zones_wlock) in dm_zone_revalidate_cb()
469 wait_on_bit_lock_io(disk->seq_zones_wlock, zno, TASK_UNINTERRUPTIBLE); in dm_zone_lock()
479 WARN_ON_ONCE(!test_bit(zno, disk->seq_zones_wlock)); in dm_zone_unlock()
480 clear_bit_unlock(zno, disk->seq_zones_wlock); in dm_zone_unlock()
482 wake_up_bit(disk->seq_zones_wlock, zno); in dm_zone_unlock()
/linux-6.6.21/include/linux/
Dblk-mq.h1190 return rq->q->disk->seq_zones_wlock && in blk_req_zone_is_write_locked()
1191 test_bit(blk_rq_zone_no(rq), rq->q->disk->seq_zones_wlock); in blk_req_zone_is_write_locked()
Dblkdev.h193 unsigned long *seq_zones_wlock; member