Lines Matching defs:nullb_device

53 struct nullb_device {  struct
54 struct nullb *nullb;
55 struct config_group group;
57 struct fault_config timeout_config;
58 struct fault_config requeue_config;
59 struct fault_config init_hctx_fault_config;
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 */
81 unsigned long zone_capacity; /* zone capacity in MB if device is zoned */
82 unsigned int zone_nr_conv; /* number of conventional zones */
83 unsigned int zone_max_open; /* max number of open zones */
84 unsigned int zone_max_active; /* max number of active zones */
85 unsigned int zone_append_max_sectors; /* Max sectors per zone append command */
86 unsigned int submit_queues; /* number of submission queues */
87 unsigned int prev_submit_queues; /* number of submission queues before change */
88 unsigned int poll_queues; /* number of IOPOLL submission queues */
89 unsigned int prev_poll_queues; /* number of IOPOLL submission queues before change */
90 unsigned int home_node; /* home node for the device */
114 struct nullb_device *dev; argument