Lines Matching defs:ns
129 static void nvme_set_queue_dying(struct nvme_ns *ns) in nvme_set_queue_dying()
589 struct nvme_ns *ns = container_of(kref, struct nvme_ns, kref); in nvme_free_ns() local
597 static inline bool nvme_get_ns(struct nvme_ns *ns) in nvme_get_ns()
602 void nvme_put_ns(struct nvme_ns *ns) in nvme_put_ns()
822 static inline void nvme_setup_flush(struct nvme_ns *ns, in nvme_setup_flush()
829 static blk_status_t nvme_setup_discard(struct nvme_ns *ns, struct request *req, in nvme_setup_discard()
899 static inline blk_status_t nvme_setup_write_zeroes(struct nvme_ns *ns, in nvme_setup_write_zeroes()
918 static inline blk_status_t nvme_setup_rw(struct nvme_ns *ns, in nvme_setup_rw()
988 blk_status_t nvme_setup_cmd(struct nvme_ns *ns, struct request *req) in nvme_setup_cmd()
1138 u32 nvme_command_effects(struct nvme_ctrl *ctrl, struct nvme_ns *ns, u8 opcode) in nvme_command_effects()
1168 static u32 nvme_passthru_start(struct nvme_ctrl *ctrl, struct nvme_ns *ns, in nvme_passthru_start()
1230 struct nvme_ns *ns = rq->q->queuedata; in nvme_execute_passthru_rq() local
1626 static int nvme_ns_open(struct nvme_ns *ns) in nvme_ns_open()
1645 static void nvme_ns_release(struct nvme_ns *ns) in nvme_ns_release()
1704 static void nvme_config_discard(struct gendisk *disk, struct nvme_ns *ns) in nvme_config_discard()
1743 static int nvme_setup_streams_ns(struct nvme_ctrl *ctrl, struct nvme_ns *ns, in nvme_setup_streams_ns()
1768 static void nvme_configure_metadata(struct nvme_ns *ns, struct nvme_id_ns *id) in nvme_configure_metadata()
1841 struct nvme_ns *ns, struct nvme_id_ns *id) in nvme_update_disk_info()
1918 static void nvme_set_chunk_sectors(struct nvme_ns *ns, struct nvme_id_ns *id) in nvme_set_chunk_sectors()
1949 static int nvme_update_ns_info(struct nvme_ns *ns, struct nvme_id_ns *id) in nvme_update_ns_info()
2033 struct nvme_ns *ns = nvme_find_path(head); in nvme_send_ns_head_pr_command() local
2044 static int nvme_send_ns_pr_command(struct nvme_ns *ns, struct nvme_command *c, in nvme_send_ns_pr_command()
3710 static int nvme_add_ns_cdev(struct nvme_ns *ns) in nvme_add_ns_cdev()
3780 static int nvme_init_ns_head(struct nvme_ns *ns, unsigned nsid, in nvme_init_ns_head()
3830 struct nvme_ns *ns, *ret = NULL; in nvme_find_get_ns() local
3851 static void nvme_ns_add_to_ctrl_list(struct nvme_ns *ns) in nvme_ns_add_to_ctrl_list()
3867 struct nvme_ns *ns; in nvme_alloc_ns() local
3950 static void nvme_ns_remove(struct nvme_ns *ns) in nvme_ns_remove()
3992 struct nvme_ns *ns = nvme_find_get_ns(ctrl, nsid); in nvme_ns_remove_by_nsid() local
4000 static void nvme_validate_ns(struct nvme_ns *ns, struct nvme_ns_ids *ids) in nvme_validate_ns()
4037 struct nvme_ns *ns; in nvme_validate_or_alloc_ns() local
4078 struct nvme_ns *ns, *next; in nvme_remove_invalid_namespaces() local
4222 struct nvme_ns *ns, *next; in nvme_remove_namespaces() local
4639 struct nvme_ns *ns; in nvme_kill_queues() local
4656 struct nvme_ns *ns; in nvme_unfreeze() local
4667 struct nvme_ns *ns; in nvme_wait_freeze_timeout() local
4682 struct nvme_ns *ns; in nvme_wait_freeze() local
4693 struct nvme_ns *ns; in nvme_start_freeze() local
4704 struct nvme_ns *ns; in nvme_stop_queues() local
4715 struct nvme_ns *ns; in nvme_start_queues() local
4726 struct nvme_ns *ns; in nvme_sync_io_queues() local