Searched refs:nullb_device (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.15/drivers/block/null_blk/ |
D | null_blk.h | 32 struct nullb_device *dev; 58 struct nullb_device { struct 104 struct nullb_device *dev; argument 122 blk_status_t null_handle_discard(struct nullb_device *dev, sector_t sector, 129 int null_init_zoned_dev(struct nullb_device *dev, struct request_queue *q); 131 void null_free_zoned_dev(struct nullb_device *dev); 140 static inline int null_init_zoned_dev(struct nullb_device *dev, in null_init_zoned_dev() 150 static inline void null_free_zoned_dev(struct nullb_device *dev) {} in null_free_zoned_dev()
|
D | zoned.c | 14 static inline unsigned int null_zone_no(struct nullb_device *dev, sector_t sect) in null_zone_no() 19 static inline void null_lock_zone_res(struct nullb_device *dev) in null_lock_zone_res() 25 static inline void null_unlock_zone_res(struct nullb_device *dev) in null_unlock_zone_res() 31 static inline void null_init_zone_lock(struct nullb_device *dev, in null_init_zone_lock() 40 static inline void null_lock_zone(struct nullb_device *dev, in null_lock_zone() 49 static inline void null_unlock_zone(struct nullb_device *dev, in null_unlock_zone() 58 int null_init_zoned_dev(struct nullb_device *dev, struct request_queue *q) in null_init_zoned_dev() 156 struct nullb_device *dev = nullb->dev; in null_register_zoned_dev() 180 void null_free_zoned_dev(struct nullb_device *dev) in null_free_zoned_dev() 190 struct nullb_device *dev = nullb->dev; in null_report_zones() [all …]
|
D | main.c | 227 static struct nullb_device *null_alloc_dev(void); 228 static void null_free_dev(struct nullb_device *dev); 230 static int null_add_dev(struct nullb_device *dev); 231 static void null_free_device_storage(struct nullb_device *dev, bool is_cache); 233 static inline struct nullb_device *to_nullb_device(struct config_item *item) in to_nullb_device() 235 return item ? container_of(item, struct nullb_device, item) : NULL; in to_nullb_device() 308 int (*apply_fn)(struct nullb_device *dev, TYPE new_value) = APPLY;\ 309 struct nullb_device *dev = to_nullb_device(item); \ 327 static int nullb_apply_submit_queues(struct nullb_device *dev, in nullb_apply_submit_queues() 379 struct nullb_device *dev = to_nullb_device(item); in nullb_device_power_store() [all …]
|