Searched refs:nullb_device (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.10/drivers/block/ |
| D | null_blk.h | 29 struct nullb_device *dev; 35 struct nullb_device { struct 78 struct nullb_device *dev; argument 101 int null_init_zoned_dev(struct nullb_device *dev, struct request_queue *q); 103 void null_free_zoned_dev(struct nullb_device *dev); 112 static inline int null_init_zoned_dev(struct nullb_device *dev, in null_init_zoned_dev() 122 static inline void null_free_zoned_dev(struct nullb_device *dev) {} in null_free_zoned_dev()
|
| D | null_blk_zoned.c | 12 static inline unsigned int null_zone_no(struct nullb_device *dev, sector_t sect) in null_zone_no() 17 int null_init_zoned_dev(struct nullb_device *dev, struct request_queue *q) in null_init_zoned_dev() 121 struct nullb_device *dev = nullb->dev; in null_register_zoned_dev() 141 void null_free_zoned_dev(struct nullb_device *dev) in null_free_zoned_dev() 147 static inline void null_lock_zone(struct nullb_device *dev, unsigned int zno) in null_lock_zone() 154 static inline void null_unlock_zone(struct nullb_device *dev, unsigned int zno) in null_unlock_zone() 166 struct nullb_device *dev = nullb->dev; in null_report_zones() 205 struct nullb_device *dev = nullb->dev; in null_zone_valid_read_len() 220 static blk_status_t null_close_zone(struct nullb_device *dev, struct blk_zone *zone) in null_close_zone() 251 static void null_close_first_imp_zone(struct nullb_device *dev) in null_close_first_imp_zone() [all …]
|
| D | null_blk_main.c | 223 static struct nullb_device *null_alloc_dev(void); 224 static void null_free_dev(struct nullb_device *dev); 226 static int null_add_dev(struct nullb_device *dev); 227 static void null_free_device_storage(struct nullb_device *dev, bool is_cache); 229 static inline struct nullb_device *to_nullb_device(struct config_item *item) in to_nullb_device() 231 return item ? container_of(item, struct nullb_device, item) : NULL; in to_nullb_device() 304 int (*apply_fn)(struct nullb_device *dev, TYPE new_value) = APPLY;\ 305 struct nullb_device *dev = to_nullb_device(item); \ 323 static int nullb_apply_submit_queues(struct nullb_device *dev, in nullb_apply_submit_queues() 373 struct nullb_device *dev = to_nullb_device(item); in nullb_device_power_store() [all …]
|