Searched refs:cpkt (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/drivers/char/ |
D | virtio_console.c | 152 struct virtio_console_control cpkt; member 555 portdev->cpkt.id = cpu_to_virtio32(portdev->vdev, port_id); in __send_control_msg() 556 portdev->cpkt.event = cpu_to_virtio16(portdev->vdev, event); in __send_control_msg() 557 portdev->cpkt.value = cpu_to_virtio16(portdev->vdev, value); in __send_control_msg() 559 sg_init_one(sg, &portdev->cpkt, sizeof(struct virtio_console_control)); in __send_control_msg() 561 if (virtqueue_add_outbuf(vq, sg, 1, &portdev->cpkt, GFP_ATOMIC) == 0) { in __send_control_msg() 1563 struct virtio_console_control *cpkt; in handle_control_message() local 1568 cpkt = (struct virtio_console_control *)(buf->buf + buf->offset); in handle_control_message() 1570 port = find_port_by_id(portdev, virtio32_to_cpu(vdev, cpkt->id)); in handle_control_message() 1572 cpkt->event != cpu_to_virtio16(vdev, VIRTIO_CONSOLE_PORT_ADD)) { in handle_control_message() [all …]
|
/Linux-v6.6/drivers/infiniband/sw/rxe/ |
D | rxe_recv.c | 235 struct rxe_pkt_info *cpkt; in rxe_rcv_mcast_pkt() local 246 cpkt = SKB_TO_PKT(cskb); in rxe_rcv_mcast_pkt() 247 cpkt->qp = qp; in rxe_rcv_mcast_pkt() 249 rxe_rcv_pkt(cpkt, cskb); in rxe_rcv_mcast_pkt()
|