Lines Matching defs:nullb_device
70 struct nullb_device { struct
71 struct nullb *nullb;
72 struct config_item item;
73 struct radix_tree_root data; /* data stored in the disk */
74 struct radix_tree_root cache; /* disk cache data */
75 unsigned long flags; /* device flags */
76 unsigned int curr_cache;
77 struct badblocks badblocks;
79 unsigned int nr_zones;
80 unsigned int nr_zones_imp_open;
81 unsigned int nr_zones_exp_open;
82 unsigned int nr_zones_closed;
83 unsigned int imp_close_zone_no;
84 struct nullb_zone *zones;
85 sector_t zone_size_sects;
86 bool need_zone_res_mgmt;
87 spinlock_t zone_res_lock;
89 unsigned long size; /* device size in MB */
90 unsigned long completion_nsec; /* time in ns to complete a request */
91 unsigned long cache_size; /* disk cache size in MB */
92 unsigned long zone_size; /* zone size in MB if device is zoned */
93 unsigned long zone_capacity; /* zone capacity in MB if device is zoned */
94 unsigned int zone_nr_conv; /* number of conventional zones */
95 unsigned int zone_max_open; /* max number of open zones */
96 unsigned int zone_max_active; /* max number of active zones */
97 unsigned int submit_queues; /* number of submission queues */
121 struct nullb_device *dev; argument