Lines Matching refs:nvmet_ns
56 struct nvmet_ns { struct
82 static inline struct nvmet_ns *to_nvmet_ns(struct config_item *item) in to_nvmet_ns() argument
84 return container_of(to_config_group(item), struct nvmet_ns, group); in to_nvmet_ns()
273 struct nvmet_ns *ns;
362 struct nvmet_ns *nvmet_find_namespace(struct nvmet_ctrl *ctrl, __le32 nsid);
363 void nvmet_put_namespace(struct nvmet_ns *ns);
364 int nvmet_ns_enable(struct nvmet_ns *ns);
365 void nvmet_ns_disable(struct nvmet_ns *ns);
366 struct nvmet_ns *nvmet_ns_alloc(struct nvmet_subsys *subsys, u32 nsid);
367 void nvmet_ns_free(struct nvmet_ns *ns);
429 int nvmet_bdev_ns_enable(struct nvmet_ns *ns);
430 int nvmet_file_ns_enable(struct nvmet_ns *ns);
431 void nvmet_bdev_ns_disable(struct nvmet_ns *ns);
432 void nvmet_file_ns_disable(struct nvmet_ns *ns);