Home
last modified time | relevance | path

Searched refs:nvmet_ns (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/drivers/nvme/target/
Dnvmet.h56 struct nvmet_ns { struct
86 static inline struct nvmet_ns *to_nvmet_ns(struct config_item *item) in to_nvmet_ns() argument
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()
318 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_alloc(struct nvmet_subsys *subsys, u32 nsid);
[all …]
Dcore.c119 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 *ns) in nvmet_ns_revalidate()
545 int nvmet_ns_enable(struct nvmet_ns *ns) in nvmet_ns_enable()
[all …]
Dio-cmd-bdev.c50 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()
344 struct nvmet_ns *ns = req->ns; in nvmet_bdev_discard_range()
Dconfigfs.c340 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 *ns = to_nvmet_ns(item); in nvmet_ns_release()
[all …]
Dio-cmd-file.c16 int nvmet_file_ns_revalidate(struct nvmet_ns *ns) in nvmet_file_ns_revalidate()
28 void nvmet_file_ns_disable(struct nvmet_ns *ns) in nvmet_file_ns_disable()
42 int nvmet_file_ns_enable(struct nvmet_ns *ns) in nvmet_file_ns_enable()
Dadmin-cmd.c77 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()
472 struct nvmet_ns *ns; in nvmet_execute_identify_ns()
554 struct nvmet_ns *ns; in nvmet_execute_identify_nslist()
606 struct nvmet_ns *ns; in nvmet_execute_identify_desclist()