Searched refs:nvmet_ns (Results 1 – 5 of 5) sorted by relevance
41 struct nvmet_ns { struct60 static inline struct nvmet_ns *to_nvmet_ns(struct config_item *item) in to_nvmet_ns() argument62 return container_of(to_config_group(item), struct nvmet_ns, group); in to_nvmet_ns()218 struct nvmet_ns *ns;287 struct nvmet_ns *nvmet_find_namespace(struct nvmet_ctrl *ctrl, __le32 nsid);288 void nvmet_put_namespace(struct nvmet_ns *ns);289 int nvmet_ns_enable(struct nvmet_ns *ns);290 void nvmet_ns_disable(struct nvmet_ns *ns);291 struct nvmet_ns *nvmet_ns_alloc(struct nvmet_subsys *subsys, u32 nsid);292 void nvmet_ns_free(struct nvmet_ns *ns);
222 static struct nvmet_ns *__nvmet_find_namespace(struct nvmet_ctrl *ctrl, in __nvmet_find_namespace()225 struct nvmet_ns *ns; in __nvmet_find_namespace()235 struct nvmet_ns *nvmet_find_namespace(struct nvmet_ctrl *ctrl, __le32 nsid) in nvmet_find_namespace()237 struct nvmet_ns *ns; in nvmet_find_namespace()250 struct nvmet_ns *ns = container_of(ref, struct nvmet_ns, ref); in nvmet_destroy_namespace()255 void nvmet_put_namespace(struct nvmet_ns *ns) in nvmet_put_namespace()260 int nvmet_ns_enable(struct nvmet_ns *ns) in nvmet_ns_enable()298 struct nvmet_ns *old; in nvmet_ns_enable()323 void nvmet_ns_disable(struct nvmet_ns *ns) in nvmet_ns_disable()359 void nvmet_ns_free(struct nvmet_ns *ns) in nvmet_ns_free()[all …]
37 struct nvmet_ns *ns; in nvmet_get_smart_log_nsid()69 struct nvmet_ns *ns; in nvmet_get_smart_log_all()285 struct nvmet_ns *ns; in nvmet_execute_identify_ns()338 struct nvmet_ns *ns; in nvmet_execute_identify_nslist()
268 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_device_path_store()302 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_device_nguid_store()348 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_enable_store()374 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_release()393 struct nvmet_ns *ns; in nvmet_ns_make()
117 static u16 nvmet_discard_range(struct nvmet_ns *ns, in nvmet_discard_range()