Lines Matching defs:channel

598 		if (hdev->channel->rescind) {
863 * Nearly every SR-IOV device contains just such a communications channel in
865 * software channel, however, allows driver implementers to leverage software
866 * tools that fuzz the communications channel looking for vulnerabilities.
962 ret = vmbus_sendpacket(hbus->hdev->channel, read_blk,
1052 ret = vmbus_sendpacket(hbus->hdev->channel, write_blk, pkt_size,
1122 vmbus_sendpacket(hpdev->hbus->hdev->channel, int_pkt, sizeof(*int_pkt),
1307 * always fails since the vmbus channel has been closed:
1400 struct vmbus_channel *channel;
1434 channel = hbus->hdev->channel;
1506 ret = vmbus_sendpacket(hpdev->hbus->hdev->channel, &ctxt.int_pkts,
1521 tasklet_disable(&channel->callback_event);
1540 * for the channel's onchannel_callback being NULL within a
1544 spin_lock_irqsave(&channel->sched_lock, flags);
1545 if (unlikely(channel->onchannel_callback == NULL)) {
1546 spin_unlock_irqrestore(&channel->sched_lock, flags);
1550 spin_unlock_irqrestore(&channel->sched_lock, flags);
1555 tasklet_enable(&channel->callback_event);
1581 tasklet_enable(&channel->callback_event);
2021 ret = vmbus_sendpacket(hbus->hdev->channel, res_req,
2397 vmbus_sendpacket(hbus->hdev->channel, ejct_pkt,
2440 * this channel (which is private to this root PCI bus).
2466 ret = vmbus_recvpacket_raw(hbus->hdev->channel, buffer,
2585 * @version: Array of supported channel protocol versions in
2597 * This function negotiates the channel protocol version,
2630 ret = vmbus_sendpacket(hdev->channel, version_req,
2853 ret = vmbus_sendpacket(hdev->channel, d0_entry, sizeof(*d0_entry),
2931 ret = vmbus_sendpacket(hdev->channel, &message, sizeof(message),
2940 * channel callback already scheduled a work to hbus->wq, which can be
2950 * channel->rescind = true.
3020 ret = vmbus_sendpacket(hdev->channel, &pkt->message,
3070 ret = vmbus_sendpacket(hdev->channel, &pkt, sizeof(pkt), 0,
3137 * hv_pci_probe() - New VMBus channel probe, for a root PCI bus
3227 ret = vmbus_open(hdev->channel, pci_ring_size, pci_ring_size, NULL, 0,
3308 vmbus_close(hdev->channel);
3332 * access the per-channel ringbuffer any longer.
3334 if (hdev->channel->rescind)
3371 ret = vmbus_sendpacket(hdev->channel, &pkt.teardown_packet.message,
3386 * hv_pci_remove() - Remove routine for this VMBus channel
3398 tasklet_disable(&hdev->channel->callback_event);
3400 tasklet_enable(&hdev->channel->callback_event);
3419 vmbus_close(hdev->channel);
3445 * as a callback in dpm_suspend(). When it starts to run, the channel
3450 * vmbus channel, which can be being closed by hv_pci_suspend(), e.g.
3452 * new_pcichild_device() writes to the vmbus channel.
3454 * To eliminate the race, hv_pci_suspend() disables the channel
3458 * hbus->wq and safely closes the vmbus channel.
3460 tasklet_disable(&hdev->channel->callback_event);
3467 tasklet_enable(&hdev->channel->callback_event);
3478 vmbus_close(hdev->channel);
3519 ret = vmbus_open(hdev->channel, pci_ring_size, pci_ring_size, NULL, 0,
3549 vmbus_close(hdev->channel);