Lines Matching defs:ns
17 static bool nvme_cmd_allowed(struct nvme_ns *ns, struct nvme_command *c, in nvme_cmd_allowed()
173 struct nvme_ns *ns = q->queuedata; in nvme_map_user_request() local
232 struct nvme_ns *ns = q->queuedata; in nvme_submit_user_cmd() local
272 static int nvme_submit_io(struct nvme_ns *ns, struct nvme_user_io __user *uio) in nvme_submit_io()
335 struct nvme_ns *ns, __u32 nsid) in nvme_validate_passthru_nsid()
348 static int nvme_user_cmd(struct nvme_ctrl *ctrl, struct nvme_ns *ns, in nvme_user_cmd()
396 static int nvme_user_cmd64(struct nvme_ctrl *ctrl, struct nvme_ns *ns, in nvme_user_cmd64()
566 static int nvme_uring_cmd_io(struct nvme_ctrl *ctrl, struct nvme_ns *ns, in nvme_uring_cmd_io()
690 static int nvme_ns_ioctl(struct nvme_ns *ns, unsigned int cmd, in nvme_ns_ioctl()
723 struct nvme_ns *ns = bdev->bd_disk->private_data; in nvme_ioctl() local
738 struct nvme_ns *ns = in nvme_ns_chr_ioctl() local
758 static int nvme_ns_uring_cmd(struct nvme_ns *ns, struct io_uring_cmd *ioucmd, in nvme_ns_uring_cmd()
786 struct nvme_ns *ns = container_of(file_inode(ioucmd->file)->i_cdev, in nvme_ns_chr_uring_cmd() local
808 static int nvme_ns_head_ctrl_ioctl(struct nvme_ns *ns, unsigned int cmd, in nvme_ns_head_ctrl_ioctl()
830 struct nvme_ns *ns; in nvme_ns_head_ioctl() local
865 struct nvme_ns *ns; in nvme_ns_head_chr_ioctl() local
889 struct nvme_ns *ns = nvme_find_path(head); in nvme_ns_head_chr_uring_cmd() local
929 struct nvme_ns *ns; in nvme_dev_user_cmd() local