Searched refs:nullb_device (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/drivers/block/null_blk/ |
D | null_blk.h | 34 struct nullb_device *dev; 70 struct nullb_device { struct 121 struct nullb_device *dev; argument 139 blk_status_t null_handle_discard(struct nullb_device *dev, sector_t sector, 145 int null_init_zoned_dev(struct nullb_device *dev, struct request_queue *q); 147 void null_free_zoned_dev(struct nullb_device *dev); 155 static inline int null_init_zoned_dev(struct nullb_device *dev, in null_init_zoned_dev() 165 static inline void null_free_zoned_dev(struct nullb_device *dev) {} in null_free_zoned_dev()
|
D | zoned.c | 17 static inline unsigned int null_zone_no(struct nullb_device *dev, sector_t sect) in null_zone_no() 22 static inline void null_lock_zone_res(struct nullb_device *dev) in null_lock_zone_res() 28 static inline void null_unlock_zone_res(struct nullb_device *dev) in null_unlock_zone_res() 34 static inline void null_init_zone_lock(struct nullb_device *dev, in null_init_zone_lock() 43 static inline void null_lock_zone(struct nullb_device *dev, in null_lock_zone() 52 static inline void null_unlock_zone(struct nullb_device *dev, in null_unlock_zone() 61 int null_init_zoned_dev(struct nullb_device *dev, struct request_queue *q) in null_init_zoned_dev() 159 struct nullb_device *dev = nullb->dev; in null_register_zoned_dev() 183 void null_free_zoned_dev(struct nullb_device *dev) in null_free_zoned_dev() 193 struct nullb_device *dev = nullb->dev; in null_report_zones() [all …]
|
D | main.c | 244 static struct nullb_device *null_alloc_dev(void); 245 static void null_free_dev(struct nullb_device *dev); 247 static int null_add_dev(struct nullb_device *dev); 249 static void null_free_device_storage(struct nullb_device *dev, bool is_cache); 251 static inline struct nullb_device *to_nullb_device(struct config_item *item) in to_nullb_device() 253 return item ? container_of(item, struct nullb_device, item) : NULL; in to_nullb_device() 326 int (*apply_fn)(struct nullb_device *dev, TYPE new_value) = APPLY;\ 327 struct nullb_device *dev = to_nullb_device(item); \ 345 static int nullb_update_nr_hw_queues(struct nullb_device *dev, in nullb_update_nr_hw_queues() 392 static int nullb_apply_submit_queues(struct nullb_device *dev, in nullb_apply_submit_queues() [all …]
|