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