Lines Matching refs:ch_id
253 uint32_t ch_id; in vmbus_chan_sysctl_create() local
278 ch_id = chan->ch_id; in vmbus_chan_sysctl_create()
280 ch_id = chan->ch_prichan->ch_id; in vmbus_chan_sysctl_create()
281 snprintf(name, sizeof(name), "%d", ch_id); in vmbus_chan_sysctl_create()
309 "chanid", CTLFLAG_RD, &chan->ch_id, 0, "channel id"); in vmbus_chan_sysctl_create()
367 "leak %d bytes memory\n", chan->ch_id, in vmbus_chan_open()
392 "invalid udata len %d for chan%u\n", udlen, chan->ch_id); in vmbus_chan_open_br()
413 panic("double-open chan%u", chan->ch_id); in vmbus_chan_open_br()
442 "failed to connect bufring GPADL to chan%u\n", chan->ch_id); in vmbus_chan_open_br()
459 chan->ch_id); in vmbus_chan_open_br()
466 req->chm_chanid = chan->ch_id; in vmbus_chan_open_br()
467 req->chm_openid = chan->ch_id; in vmbus_chan_open_br()
478 chan->ch_id, error); in vmbus_chan_open_br()
497 chan->ch_id); in vmbus_chan_open_br()
532 vmbus_chan_printf(chan, "chan%u opened\n", chan->ch_id); in vmbus_chan_open_br()
536 vmbus_chan_printf(chan, "failed to open chan%u\n", chan->ch_id); in vmbus_chan_open_br()
622 chan->ch_id); in vmbus_chan_gpadl_connect()
628 req->chm_chanid = chan->ch_id; in vmbus_chan_gpadl_connect()
641 chan->ch_id, error); in vmbus_chan_gpadl_connect()
677 chan->ch_id, status); in vmbus_chan_gpadl_connect()
685 chan->ch_id); in vmbus_chan_gpadl_connect()
727 chan->ch_id); in vmbus_chan_gpadl_disconnect()
733 req->chm_chanid = chan->ch_id; in vmbus_chan_gpadl_disconnect()
747 "exec failed: %d\n", chan->ch_id, error); in vmbus_chan_gpadl_disconnect()
752 chan->ch_id, error); in vmbus_chan_gpadl_disconnect()
769 chan->ch_id, chan->ch_refs)); in vmbus_chan_detach()
774 chan->ch_id, refs + 1)); in vmbus_chan_detach()
783 chan->ch_id); in vmbus_chan_detach()
794 chan->ch_vmbus->vmbus_chmap[chan->ch_id] = NULL; in vmbus_chan_clrchmap_task()
810 chan->ch_vmbus->vmbus_chmap[chan->ch_id] = chan; in vmbus_chan_set_chmap()
853 chan->ch_id); in vmbus_chan_close_internal()
886 chan->ch_id); in vmbus_chan_close_internal()
893 req->chm_chanid = chan->ch_id; in vmbus_chan_close_internal()
901 chan->ch_id, error); in vmbus_chan_close_internal()
906 vmbus_chan_printf(chan, "chan%u closed\n", chan->ch_id); in vmbus_chan_close_internal()
925 "is still connected after close\n", chan->ch_id); in vmbus_chan_close_internal()
964 chan->ch_id, subchan->ch_subidx)); in vmbus_chan_close_direct()
1371 ("chan%u: interrupted in polling mode", chan->ch_id)); in vmbus_chan_task()
1405 ("chan%u: interrupted in polling mode", chan->ch_id)); in vmbus_chan_task_nobatch()
1415 ("chan%u: polling timeout in interrupt mode", chan->ch_id)); in vmbus_chan_poll_timeout()
1425 ("chan%u: polling in interrupt mode", chan->ch_id)); in vmbus_chan_poll_task()
1466 chan->ch_vmbus->vmbus_chmap[chan->ch_id] = NULL; in vmbus_chan_pollcfg_task()
1532 chan->ch_vmbus->vmbus_chmap[chan->ch_id] = chan; in vmbus_chan_polldis_task()
1613 flag_cnt = (chan->ch_id / VMBUS_EVTFLAG_LEN) + 1; in vmbus_chan_update_evtflagcnt()
1626 chan->ch_id, chan->ch_cpuid, flag_cnt); in vmbus_chan_update_evtflagcnt()
1676 chan->ch_id, chan->ch_refs)); in vmbus_chan_free()
1678 chan->ch_id)); in vmbus_chan_free()
1694 if (newchan->ch_id == 0) { in vmbus_chan_add()
1702 } else if (newchan->ch_id >= VMBUS_CHAN_MAX) { in vmbus_chan_add()
1704 newchan->ch_id); in vmbus_chan_add()
1729 "duplicated primary chan%u\n", newchan->ch_id); in vmbus_chan_add()
1736 "no primary chan for chan%u\n", newchan->ch_id); in vmbus_chan_add()
1760 newchan->ch_id, newchan->ch_refs)); in vmbus_chan_add()
1784 newchan->ch_id, newchan->ch_subidx); in vmbus_chan_add()
1810 chan->ch_id, chan->ch_cpuid, chan->ch_vcpuid); in vmbus_chan_cpu_set()
1853 chan->ch_id = offer->chm_chanid; in vmbus_chan_msgproc_choffer()
1894 chan->ch_id, in vmbus_chan_msgproc_choffer()
1906 &sc->vmbus_tx_evtflags[chan->ch_id >> VMBUS_EVTFLAG_SHIFT]; in vmbus_chan_msgproc_choffer()
1907 chan->ch_evtflag_mask = 1UL << (chan->ch_id & VMBUS_EVTFLAG_MASK); in vmbus_chan_msgproc_choffer()
1927 chan->ch_id, error); in vmbus_chan_msgproc_choffer()
1954 if (chan->ch_id == note->chm_chanid) in vmbus_chan_msgproc_chrescind()
2011 chan->ch_id); in vmbus_chan_release()
2017 req->chm_chanid = chan->ch_id; in vmbus_chan_release()
2025 chan->ch_id, error); in vmbus_chan_release()
2028 vmbus_chan_printf(chan, "chan%u freed\n", chan->ch_id); in vmbus_chan_release()
2039 ("chan%u is not primary channel", chan->ch_id)); in vmbus_prichan_detach_task()
2058 ("chan%u is primary channel", chan->ch_id)); in vmbus_subchan_detach_task()
2199 return chan->ch_id; in vmbus_chan_id()
2227 ("Not a HyperV Socket channel %u", chan->ch_id)); in vmbus_chan_is_hvs_conn_from_host()
2376 ("enable polling on non-batch chan%u", chan->ch_id)); in vmbus_chan_poll_enable()
2392 ("disable polling on non-batch chan%u", chan->ch_id)); in vmbus_chan_poll_disable()