![]() |
|
|||
0001 // SPDX-License-Identifier: GPL-2.0 0002 /* 0003 * Copyright (C) 2017 Western Digital Corporation or its affiliates. 0004 */ 0005 0006 #include <linux/blkdev.h> 0007 #include "blk-mq-debugfs.h" 0008 0009 int queue_zone_wlock_show(void *data, struct seq_file *m) 0010 { 0011 struct request_queue *q = data; 0012 unsigned int i; 0013 0014 if (!q->disk->seq_zones_wlock) 0015 return 0; 0016 0017 for (i = 0; i < q->disk->nr_zones; i++) 0018 if (test_bit(i, q->disk->seq_zones_wlock)) 0019 seq_printf(m, "%u\n", i); 0020 0021 return 0; 0022 }
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |