Searched refs:nullb_device (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/drivers/block/null_blk/ |
D | null_blk.h | 34 struct nullb_device *dev; 70 struct nullb_device { struct 126 struct nullb_device *dev; argument 144 blk_status_t null_handle_discard(struct nullb_device *dev, sector_t sector, 150 int null_init_zoned_dev(struct nullb_device *dev, struct request_queue *q); 152 void null_free_zoned_dev(struct nullb_device *dev); 159 ssize_t zone_cond_store(struct nullb_device *dev, const char *page, 162 static inline int null_init_zoned_dev(struct nullb_device *dev, in null_init_zoned_dev() 172 static inline void null_free_zoned_dev(struct nullb_device *dev) {} in null_free_zoned_dev() 184 static inline ssize_t zone_cond_store(struct nullb_device *dev, in zone_cond_store()
|
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() 177 void null_free_zoned_dev(struct nullb_device *dev) in null_free_zoned_dev() 187 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(to_config_group(item), struct nullb_device, group) : 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 …]
|