Lines Matching defs:nullb_device
58 struct nullb_device { struct
59 struct nullb *nullb;
60 struct config_item item;
61 struct radix_tree_root data; /* data stored in the disk */
62 struct radix_tree_root cache; /* disk cache data */
63 unsigned long flags; /* device flags */
64 unsigned int curr_cache;
65 struct badblocks badblocks;
67 unsigned int nr_zones;
68 unsigned int nr_zones_imp_open;
69 unsigned int nr_zones_exp_open;
70 unsigned int nr_zones_closed;
71 unsigned int imp_close_zone_no;
72 struct nullb_zone *zones;
73 sector_t zone_size_sects;
74 bool need_zone_res_mgmt;
75 spinlock_t zone_res_lock;
77 unsigned long size; /* device size in MB */
78 unsigned long completion_nsec; /* time in ns to complete a request */
79 unsigned long cache_size; /* disk cache size in MB */
80 unsigned long zone_size; /* zone size in MB if device is zoned */
104 struct nullb_device *dev; argument