Searched refs:cpkt (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.1/drivers/char/ |
D | virtio_console.c | 159 struct virtio_console_control cpkt; member 562 portdev->cpkt.id = cpu_to_virtio32(portdev->vdev, port_id); in __send_control_msg() 563 portdev->cpkt.event = cpu_to_virtio16(portdev->vdev, event); in __send_control_msg() 564 portdev->cpkt.value = cpu_to_virtio16(portdev->vdev, value); in __send_control_msg() 566 sg_init_one(sg, &portdev->cpkt, sizeof(struct virtio_console_control)); in __send_control_msg() 568 if (virtqueue_add_outbuf(vq, sg, 1, &portdev->cpkt, GFP_ATOMIC) == 0) { in __send_control_msg() 1566 struct virtio_console_control *cpkt; in handle_control_message() local 1571 cpkt = (struct virtio_console_control *)(buf->buf + buf->offset); in handle_control_message() 1573 port = find_port_by_id(portdev, virtio32_to_cpu(vdev, cpkt->id)); in handle_control_message() 1575 cpkt->event != cpu_to_virtio16(vdev, VIRTIO_CONSOLE_PORT_ADD)) { in handle_control_message() [all …]
|
/Linux-v6.1/drivers/infiniband/sw/rxe/ |
D | rxe_recv.c | 227 struct rxe_pkt_info *cpkt; in rxe_rcv_mcast_pkt() local 238 cpkt = SKB_TO_PKT(cskb); in rxe_rcv_mcast_pkt() 239 cpkt->qp = qp; in rxe_rcv_mcast_pkt() 241 rxe_rcv_pkt(cpkt, cskb); in rxe_rcv_mcast_pkt()
|