Home
last modified time | relevance | path

Searched refs:nullb_device (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-6.6/drivers/block/null_blk/
H A Dnull_blk.h34 struct nullb_device *dev;
70 struct nullb_device { struct
126 struct nullb_device *dev;
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 *de in null_zone_valid_read_len()
[all...]
H A Dzoned.c17 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 *de in null_report_zones()
[all...]
H A Dmain.c34 * Status flags for nullb_device.
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 *de
[all...]
/kernel/linux/linux-5.10/drivers/block/null_blk/
H A Dzoned.c11 static inline unsigned int null_zone_no(struct nullb_device *dev, sector_t sect) in null_zone_no()
16 int null_init_zoned_dev(struct nullb_device *dev, struct request_queue *q) in null_init_zoned_dev()
128 struct nullb_device *dev = nullb->dev; in null_register_zoned_dev()
148 void null_free_zoned_dev(struct nullb_device *dev) in null_free_zoned_dev()
155 static inline void null_lock_zone(struct nullb_device *dev, unsigned int zno) in null_lock_zone()
162 static inline void null_unlock_zone(struct nullb_device *dev, unsigned int zno) in null_unlock_zone()
174 struct nullb_device *dev = nullb->dev; in null_report_zones()
213 struct nullb_device *dev = nullb->dev; in null_zone_valid_read_len()
228 static blk_status_t null_close_zone(struct nullb_device *dev, struct blk_zone *zone) in null_close_zone()
259 static void null_close_first_imp_zone(struct nullb_device *de
[all...]
H A Dnull_blk.h30 struct nullb_device *dev;
36 struct nullb_device { struct
79 struct nullb_device *dev;
102 int null_init_zoned_dev(struct nullb_device *dev, struct request_queue *q);
104 void null_free_zoned_dev(struct nullb_device *dev);
113 static inline int null_init_zoned_dev(struct nullb_device *dev, in null_init_zoned_dev()
123 static inline void null_free_zoned_dev(struct nullb_device *dev) {} in null_free_zoned_dev()
H A Dmain.c35 * Status flags for nullb_device.
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 *de
[all...]

Completed in 6 milliseconds