Lines Matching defs:mcastp

1474 	sol_ucma_mcast_t		*mcastp;
1485 mcastp = kmem_zalloc(sizeof (sol_ucma_mcast_t), KM_SLEEP);
1486 bcopy((void *)(&(join_buf->addr)), (void *)(&(mcastp->mcast_addr)),
1488 mcastp->mcast_chan = chanp;
1489 sol_ofs_uobj_init(&mcastp->mcast_uobj, NULL, SOL_UCMA_MCAST_TYPE);
1490 if (sol_ofs_uobj_add(&ucma_mcast_uo_tbl, &mcastp->mcast_uobj) != 0) {
1491 sol_ofs_uobj_free(&mcastp->mcast_uobj);
1494 mcastp->mcast_uobj.uo_live = 1;
1495 mcastp->mcast_id = join_resp.id = mcastp->mcast_uobj.uo_id;
1496 mcastp->mcast_uid = join_buf->uid;
1499 (struct sockaddr *)(&(join_buf->addr)), mcastp);
1503 rw_enter(&(mcastp->mcast_uobj.uo_lock), RW_WRITER);
1505 &mcastp->mcast_uobj);
1506 rw_exit(&(mcastp->mcast_uobj.uo_lock));
1507 sol_ofs_uobj_free(&mcastp->mcast_uobj);
1522 rw_enter(&(mcastp->mcast_uobj.uo_lock), RW_WRITER);
1524 &mcastp->mcast_uobj);
1525 rw_exit(&(mcastp->mcast_uobj.uo_lock));
1526 sol_ofs_uobj_free(&mcastp->mcast_uobj);
1539 sol_ucma_mcast_t *mcastp;
1547 mcastp = (sol_ucma_mcast_t *)sol_ofs_uobj_get_read(&ucma_mcast_uo_tbl,
1549 if (mcastp == NULL) {
1554 chanp = mcastp->mcast_chan;
1556 rdma_leave_multicast(chanp->chan_rdma_id, &mcastp->mcast_addr);
1557 id_resp.events_reported = mcastp->mcast_events;
1568 sol_ofs_uobj_put(&mcastp->mcast_uobj);
1571 sol_ofs_uobj_put(&mcastp->mcast_uobj);
1572 rw_enter(&(mcastp->mcast_uobj.uo_lock), RW_WRITER);
1573 (void) sol_ofs_uobj_remove(&ucma_mcast_uo_tbl, &mcastp->mcast_uobj);
1574 rw_exit(&(mcastp->mcast_uobj.uo_lock));
1575 sol_ofs_uobj_free(&mcastp->mcast_uobj);