Searched refs:nvmet_ns (Results 1 - 13 of 13) sorted by relevance
/kernel/linux/linux-5.10/drivers/nvme/target/ |
H A D | nvmet.h | 56 struct nvmet_ns { struct 86 static inline struct nvmet_ns *to_nvmet_ns(struct config_item *item) in to_nvmet_ns() 88 return container_of(to_config_group(item), struct nvmet_ns, group); in to_nvmet_ns() 91 static inline struct device *nvmet_ns_dev(struct nvmet_ns *ns) in nvmet_ns_dev() 317 struct nvmet_ns *ns; 444 struct nvmet_ns *nvmet_find_namespace(struct nvmet_ctrl *ctrl, __le32 nsid); 445 void nvmet_put_namespace(struct nvmet_ns *ns); 446 int nvmet_ns_enable(struct nvmet_ns *ns); 447 void nvmet_ns_disable(struct nvmet_ns *ns); 448 struct nvmet_ns *nvmet_ns_allo [all...] |
H A D | core.c | 119 struct nvmet_ns *cur; in nvmet_max_nsid() 420 struct nvmet_ns *nvmet_find_namespace(struct nvmet_ctrl *ctrl, __le32 nsid) in nvmet_find_namespace() 422 struct nvmet_ns *ns; in nvmet_find_namespace() 433 struct nvmet_ns *ns = container_of(ref, struct nvmet_ns, ref); in nvmet_destroy_namespace() 438 void nvmet_put_namespace(struct nvmet_ns *ns) in nvmet_put_namespace() 443 static void nvmet_ns_dev_disable(struct nvmet_ns *ns) in nvmet_ns_dev_disable() 449 static int nvmet_p2pmem_ns_enable(struct nvmet_ns *ns) in nvmet_p2pmem_ns_enable() 497 struct nvmet_ns *ns) in nvmet_p2pmem_ns_add_p2p() 532 void nvmet_ns_revalidate(struct nvmet_ns *n [all...] |
H A D | io-cmd-bdev.c | 50 static void nvmet_bdev_ns_enable_integrity(struct nvmet_ns *ns) in nvmet_bdev_ns_enable_integrity() 66 int nvmet_bdev_ns_enable(struct nvmet_ns *ns) in nvmet_bdev_ns_enable() 92 void nvmet_bdev_ns_disable(struct nvmet_ns *ns) in nvmet_bdev_ns_disable() 100 void nvmet_bdev_ns_revalidate(struct nvmet_ns *ns) in nvmet_bdev_ns_revalidate() 343 struct nvmet_ns *ns = req->ns; in nvmet_bdev_discard_range()
|
H A D | configfs.c | 340 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_device_path_store() 374 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_p2pmem_show() 382 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_p2pmem_store() 421 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_device_uuid_store() 449 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_device_nguid_store() 495 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_ana_grpid_store() 528 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_enable_store() 553 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_buffered_io_store() 576 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_revalidate_size_store() 614 struct nvmet_ns *n in nvmet_ns_release() [all...] |
H A D | io-cmd-file.c | 17 int nvmet_file_ns_revalidate(struct nvmet_ns *ns) in nvmet_file_ns_revalidate() 29 void nvmet_file_ns_disable(struct nvmet_ns *ns) in nvmet_file_ns_disable() 43 int nvmet_file_ns_enable(struct nvmet_ns *ns) in nvmet_file_ns_enable()
|
H A D | admin-cmd.c | 77 struct nvmet_ns *ns; in nvmet_get_smart_log_nsid() 114 struct nvmet_ns *ns; in nvmet_get_smart_log_all() 229 struct nvmet_ns *ns; in nvmet_format_ana_group() 557 struct nvmet_ns *ns; in nvmet_execute_identify_nslist() 609 struct nvmet_ns *ns; in nvmet_execute_identify_desclist()
|
/kernel/linux/linux-6.6/drivers/nvme/target/ |
H A D | nvmet.h | 59 struct nvmet_ns { struct 89 static inline struct nvmet_ns *to_nvmet_ns(struct config_item *item) in to_nvmet_ns() 91 return container_of(to_config_group(item), struct nvmet_ns, group); in to_nvmet_ns() 94 static inline struct device *nvmet_ns_dev(struct nvmet_ns *ns) in nvmet_ns_dev() 354 struct nvmet_ns *ns; 495 void nvmet_put_namespace(struct nvmet_ns *ns); 496 int nvmet_ns_enable(struct nvmet_ns *ns); 497 void nvmet_ns_disable(struct nvmet_ns *ns); 498 struct nvmet_ns *nvmet_ns_alloc(struct nvmet_subsys *subsys, u32 nsid); 499 void nvmet_ns_free(struct nvmet_ns *n [all...] |
H A D | io-cmd-bdev.c | 51 void nvmet_bdev_ns_disable(struct nvmet_ns *ns) in nvmet_bdev_ns_disable() 59 static void nvmet_bdev_ns_enable_integrity(struct nvmet_ns *ns) in nvmet_bdev_ns_enable_integrity() 75 int nvmet_bdev_ns_enable(struct nvmet_ns *ns) in nvmet_bdev_ns_enable() 117 void nvmet_bdev_ns_revalidate(struct nvmet_ns *ns) in nvmet_bdev_ns_revalidate() 364 struct nvmet_ns *ns = req->ns; in nvmet_bdev_discard_range()
|
H A D | core.c | 125 struct nvmet_ns *cur; in nvmet_max_nsid() 441 struct nvmet_ns *ns = container_of(ref, struct nvmet_ns, ref); in nvmet_destroy_namespace() 446 void nvmet_put_namespace(struct nvmet_ns *ns) in nvmet_put_namespace() 451 static void nvmet_ns_dev_disable(struct nvmet_ns *ns) in nvmet_ns_dev_disable() 457 static int nvmet_p2pmem_ns_enable(struct nvmet_ns *ns) in nvmet_p2pmem_ns_enable() 505 struct nvmet_ns *ns) in nvmet_p2pmem_ns_add_p2p() 540 bool nvmet_ns_revalidate(struct nvmet_ns *ns) in nvmet_ns_revalidate() 552 int nvmet_ns_enable(struct nvmet_ns *ns) in nvmet_ns_enable() 618 void nvmet_ns_disable(struct nvmet_ns *n [all...] |
H A D | configfs.c | 345 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_device_path_store() 379 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_p2pmem_show() 387 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_p2pmem_store() 426 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_device_uuid_store() 454 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_device_nguid_store() 500 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_ana_grpid_store() 534 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_enable_store() 559 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_buffered_io_store() 582 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_revalidate_size_store() 621 struct nvmet_ns *n in nvmet_ns_release() [all...] |
H A D | io-cmd-file.c | 16 void nvmet_file_ns_revalidate(struct nvmet_ns *ns) in nvmet_file_ns_revalidate() 21 void nvmet_file_ns_disable(struct nvmet_ns *ns) in nvmet_file_ns_disable() 33 int nvmet_file_ns_enable(struct nvmet_ns *ns) in nvmet_file_ns_enable()
|
H A D | admin-cmd.c | 108 struct nvmet_ns *ns; in nvmet_get_smart_log_all() 257 struct nvmet_ns *ns; in nvmet_format_ana_group() 583 struct nvmet_ns *ns; in nvmet_execute_identify_nslist()
|
H A D | zns.c | 35 bool nvmet_bdev_zns_enable(struct nvmet_ns *ns) in nvmet_bdev_zns_enable()
|
Completed in 16 milliseconds