Lines Matching +defs:val +defs:channel
79 #define VD_CHANNEL_ENDPOINT "channel-endpoint"
261 #define VDS_SET_MDEG_PROP_INST(specp, val) (specp)[1].ps_val = (val);
500 boolean_t reset_ldc; /* reset LDC channel? */
587 * fails to reset disk exclusive access when a LDC channel is reset. When a
588 * LDC channel is reset the vdisk server will try to reset disk exclusive
2312 PR0("taking down LDC channel");
4368 * communication on this channel now
5242 * check if channel is UP - else break out of loop
5246 PR0("channel not up (status=%d), exiting recv loop\n",
5304 PR0("LDC_EVT_DOWN: LDC channel went down");
5316 PR0("LDC_EVT_RESET: LDC channel was reset");
5329 PR0("channel already reset, ignoring...\n");
5368 vds_check_for_vd(mod_hash_key_t key, mod_hash_val_t *val, void *arg)
5370 _NOTE(ARGUNUSED(key, val))
6814 PRN("Could not initialize LDC channel %lx, "
6822 PRN("Could not initialize LDC channel %lu,"
6828 PRN("Could not initialize LDC channel %lu,"
6840 PRN("Could not initialize LDC channel %lu,"
6927 /* close LDC channel - retry on EAGAIN */
6930 PR0("Timed out closing channel");
6940 * Closing the LDC channel has failed. Ideally we should
7015 vds_do_get_ldc_id(md_t *md, mde_cookie_t vd_node, mde_cookie_t *channel,
7021 /* Look for channel endpoint child(ren) of the vdisk MD node */
7024 md_find_name(md, "fwd"), channel)) <= 0) {
7029 /* Get the "id" value for the first channel endpoint node */
7030 if (md_get_prop_val(md, channel[0], VD_ID_PROP, ldc_id) != 0) {
7048 mde_cookie_t *channel;
7055 size = num_nodes*(sizeof (*channel));
7056 channel = kmem_zalloc(size, KM_SLEEP);
7057 status = vds_do_get_ldc_id(md, vd_node, channel, ldc_id);
7058 kmem_free(channel, size);