Searched refs:cmd_p (Results 1 – 2 of 2) sorted by relevance
/drivers/gpu/drm/virtio/ |
D | virtgpu_vq.c | 426 struct virtio_gpu_resource_create_2d *cmd_p; in virtio_gpu_cmd_create_resource() local 429 cmd_p = virtio_gpu_alloc_cmd(vgdev, &vbuf, sizeof(*cmd_p)); in virtio_gpu_cmd_create_resource() 430 memset(cmd_p, 0, sizeof(*cmd_p)); in virtio_gpu_cmd_create_resource() 432 cmd_p->hdr.type = cpu_to_le32(VIRTIO_GPU_CMD_RESOURCE_CREATE_2D); in virtio_gpu_cmd_create_resource() 433 cmd_p->resource_id = cpu_to_le32(resource_id); in virtio_gpu_cmd_create_resource() 434 cmd_p->format = cpu_to_le32(format); in virtio_gpu_cmd_create_resource() 435 cmd_p->width = cpu_to_le32(width); in virtio_gpu_cmd_create_resource() 436 cmd_p->height = cpu_to_le32(height); in virtio_gpu_cmd_create_resource() 444 struct virtio_gpu_resource_unref *cmd_p; in virtio_gpu_cmd_unref_resource() local 447 cmd_p = virtio_gpu_alloc_cmd(vgdev, &vbuf, sizeof(*cmd_p)); in virtio_gpu_cmd_unref_resource() [all …]
|
/drivers/target/iscsi/ |
D | iscsi_target.c | 779 struct iscsi_cmd *cmd, *cmd_p; in iscsit_ack_from_expstatsn() local 787 list_for_each_entry_safe(cmd, cmd_p, &conn->conn_cmd_list, i_conn_node) { in iscsit_ack_from_expstatsn() 800 list_for_each_entry_safe(cmd, cmd_p, &ack_list, i_conn_node) { in iscsit_ack_from_expstatsn() 1592 struct iscsi_cmd *cmd_p = NULL; in iscsit_process_nop_out() local 1627 cmd_p = iscsit_find_cmd_from_ttt(conn, be32_to_cpu(hdr->ttt)); in iscsit_process_nop_out() 1628 if (!cmd_p) in iscsit_process_nop_out() 1633 cmd_p->i_state = ISTATE_REMOVE; in iscsit_process_nop_out() 1634 iscsit_add_cmd_to_immediate_queue(cmd_p, conn, cmd_p->i_state); in iscsit_process_nop_out()
|