Home
last modified time | relevance | path

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

/drivers/nvme/target/
Dnvmet.h41 struct nvmet_ns { struct
60 static inline struct nvmet_ns *to_nvmet_ns(struct config_item *item) in to_nvmet_ns() argument
62 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);
Dcore.c222 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 …]
Dadmin-cmd.c37 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()
Dconfigfs.c268 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()
Dio-cmd.c117 static u16 nvmet_discard_range(struct nvmet_ns *ns, in nvmet_discard_range()