Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/nvme/target/
Dnvmet.h58 struct nvmet_ns { struct
88 static inline struct nvmet_ns *to_nvmet_ns(struct config_item *item) in to_nvmet_ns() argument
90 return container_of(to_config_group(item), struct nvmet_ns, group); in to_nvmet_ns()
93 static inline struct device *nvmet_ns_dev(struct nvmet_ns *ns) in nvmet_ns_dev()
351 struct nvmet_ns *ns;
492 void nvmet_put_namespace(struct nvmet_ns *ns);
493 int nvmet_ns_enable(struct nvmet_ns *ns);
494 void nvmet_ns_disable(struct nvmet_ns *ns);
495 struct nvmet_ns *nvmet_ns_alloc(struct nvmet_subsys *subsys, u32 nsid);
496 void nvmet_ns_free(struct nvmet_ns *ns);
[all …]
Dcore.c123 struct nvmet_ns *cur; in nvmet_max_nsid()
439 struct nvmet_ns *ns = container_of(ref, struct nvmet_ns, ref); in nvmet_destroy_namespace()
444 void nvmet_put_namespace(struct nvmet_ns *ns) in nvmet_put_namespace()
449 static void nvmet_ns_dev_disable(struct nvmet_ns *ns) in nvmet_ns_dev_disable()
455 static int nvmet_p2pmem_ns_enable(struct nvmet_ns *ns) in nvmet_p2pmem_ns_enable()
503 struct nvmet_ns *ns) in nvmet_p2pmem_ns_add_p2p()
538 bool nvmet_ns_revalidate(struct nvmet_ns *ns) in nvmet_ns_revalidate()
550 int nvmet_ns_enable(struct nvmet_ns *ns) in nvmet_ns_enable()
616 void nvmet_ns_disable(struct nvmet_ns *ns) in nvmet_ns_disable()
657 void nvmet_ns_free(struct nvmet_ns *ns) in nvmet_ns_free()
[all …]
Dio-cmd-bdev.c51 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()
365 struct nvmet_ns *ns = req->ns; in nvmet_bdev_discard_range()
Dconfigfs.c343 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_device_path_store()
377 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_p2pmem_show()
385 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_p2pmem_store()
424 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_device_uuid_store()
452 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_device_nguid_store()
498 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_ana_grpid_store()
531 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_enable_store()
556 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_buffered_io_store()
579 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_revalidate_size_store()
618 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_release()
[all …]
Dio-cmd-file.c16 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()
Dadmin-cmd.c108 struct nvmet_ns *ns; in nvmet_get_smart_log_all()
255 struct nvmet_ns *ns; in nvmet_format_ana_group()
584 struct nvmet_ns *ns; in nvmet_execute_identify_nslist()
Dzns.c35 bool nvmet_bdev_zns_enable(struct nvmet_ns *ns) in nvmet_bdev_zns_enable()