Searched refs:vcmd (Results 1 – 2 of 2) sorted by relevance
/drivers/nvme/host/ |
D | lightnvm.c | 752 struct nvme_nvm_command *vcmd, in nvme_nvm_submit_user_cmd() argument 758 bool write = nvme_is_write((struct nvme_command *)vcmd); in nvme_nvm_submit_user_cmd() 770 rq = nvme_alloc_request(q, (struct nvme_command *)vcmd, 0, in nvme_nvm_submit_user_cmd() 790 vcmd->ph_rw.spba = cpu_to_le64(ppa_dma); in nvme_nvm_submit_user_cmd() 792 vcmd->ph_rw.spba = cpu_to_le64((uintptr_t)ppa_buf); in nvme_nvm_submit_user_cmd() 817 vcmd->ph_rw.metadata = cpu_to_le64(metadata_dma); in nvme_nvm_submit_user_cmd() 890 struct nvm_passthru_vio vcmd; in nvme_nvm_user_vcmd() local 896 if (copy_from_user(&vcmd, uvcmd, sizeof(vcmd))) in nvme_nvm_user_vcmd() 898 if ((vcmd.opcode != 0xF2) && (!capable(CAP_SYS_ADMIN))) in nvme_nvm_user_vcmd() 900 if (vcmd.flags) in nvme_nvm_user_vcmd() [all …]
|
/drivers/gpu/drm/virtio/ |
D | virtgpu_vq.c | 261 struct scatterlist *sgs[3], vcmd, vout, vresp; in virtio_gpu_queue_ctrl_buffer_locked() local 268 sg_init_one(&vcmd, vbuf->buf, vbuf->size); in virtio_gpu_queue_ctrl_buffer_locked() 269 sgs[outcnt + incnt] = &vcmd; in virtio_gpu_queue_ctrl_buffer_locked()
|