Searched refs:seq_zones_wlock (Results 1 – 5 of 5) sorted by relevance
63 if (!rq->q->disk->seq_zones_wlock) in blk_req_needs_zone_write_lock()77 if (test_and_set_bit(zno, rq->q->disk->seq_zones_wlock)) in blk_req_zone_write_trylock()90 rq->q->disk->seq_zones_wlock))) in __blk_req_zone_write_lock()101 if (rq->q->disk->seq_zones_wlock) in __blk_req_zone_write_unlock()103 rq->q->disk->seq_zones_wlock)); in __blk_req_zone_write_unlock()452 kfree(disk->seq_zones_wlock); in disk_free_zone_bitmaps()453 disk->seq_zones_wlock = NULL; in disk_free_zone_bitmaps()459 unsigned long *seq_zones_wlock; member523 if (!args->seq_zones_wlock) { in blk_revalidate_zone_cb()524 args->seq_zones_wlock = in blk_revalidate_zone_cb()[all …]
14 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()
145 kfree(md->disk->seq_zones_wlock); in dm_cleanup_zoned_dev()146 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 = in dm_zone_revalidate_cb()199 if (!disk->seq_zones_wlock) in dm_zone_revalidate_cb()470 wait_on_bit_lock_io(disk->seq_zones_wlock, zno, TASK_UNINTERRUPTIBLE); in dm_zone_lock()480 WARN_ON_ONCE(!test_bit(zno, disk->seq_zones_wlock)); in dm_zone_unlock()481 clear_bit_unlock(zno, disk->seq_zones_wlock); in dm_zone_unlock()483 wake_up_bit(disk->seq_zones_wlock, zno); in dm_zone_unlock()
1177 return rq->q->disk->seq_zones_wlock && in blk_req_zone_is_write_locked()1178 test_bit(blk_rq_zone_no(rq), rq->q->disk->seq_zones_wlock); in blk_req_zone_is_write_locked()
189 unsigned long *seq_zones_wlock; member