Lines Matching refs:nvme_ns
524 struct nvme_ns *ns = req->rq_disk->private_data; in nvme_dif_remap()
553 static void nvme_init_integrity(struct nvme_ns *ns) in nvme_init_integrity()
584 static void nvme_init_integrity(struct nvme_ns *ns) in nvme_init_integrity()
750 static void nvme_submit_discard(struct nvme_queue *nvmeq, struct nvme_ns *ns, in nvme_submit_discard()
772 static void nvme_submit_flush(struct nvme_queue *nvmeq, struct nvme_ns *ns, in nvme_submit_flush()
786 struct nvme_ns *ns) in nvme_submit_iod()
844 struct nvme_ns *ns = hctx->queue->queuedata; in nvme_queue_rq()
1814 static int nvme_submit_io(struct nvme_ns *ns, struct nvme_user_io __user *uio) in nvme_submit_io()
1891 static int nvme_user_cmd(struct nvme_dev *dev, struct nvme_ns *ns, in nvme_user_cmd()
1943 struct nvme_ns *ns = bdev->bd_disk->private_data; in nvme_ioctl()
1981 struct nvme_ns *ns = container_of(kref, struct nvme_ns, kref); in nvme_free_ns()
1998 struct nvme_ns *ns; in nvme_open()
2013 struct nvme_ns *ns = disk->private_data; in nvme_release()
2026 static void nvme_config_discard(struct nvme_ns *ns) in nvme_config_discard()
2038 struct nvme_ns *ns = disk->private_data; in nvme_revalidate_disk()
2134 struct nvme_ns *ns = bdev->bd_disk->private_data; in nvme_pr_command()
2257 struct nvme_ns *ns; in nvme_alloc_ns()
2523 struct nvme_ns *nsa = container_of(a, struct nvme_ns, list); in ns_cmp()
2524 struct nvme_ns *nsb = container_of(b, struct nvme_ns, list); in ns_cmp()
2529 static struct nvme_ns *nvme_find_ns(struct nvme_dev *dev, unsigned nsid) in nvme_find_ns()
2531 struct nvme_ns *ns; in nvme_find_ns()
2548 static void nvme_ns_remove(struct nvme_ns *ns) in nvme_ns_remove()
2575 struct nvme_ns *ns, *next; in nvme_scan_namespaces()
2928 struct nvme_ns *ns; in nvme_freeze_queues()
2944 struct nvme_ns *ns; in nvme_unfreeze_queues()
2985 struct nvme_ns *ns, *next; in nvme_remove_namespaces()
3108 struct nvme_ns *ns; in nvme_dev_ioctl()
3116 ns = list_first_entry(&dev->namespaces, struct nvme_ns, list); in nvme_dev_ioctl()