Lines Matching refs:multicast
115 struct ib_sa_multicast multicast; member
338 &member->multicast.rec, in send_join()
339 member->multicast.comp_mask, in send_join()
371 member->multicast.rec = group->rec; in join_group()
372 member->multicast.rec.join_state = join_state; in join_group()
382 return member->multicast.callback(status, &member->multicast); in fail_join()
406 adjust_membership(group, member->multicast.rec.join_state, -1); in process_group_error()
410 ret = member->multicast.callback(-ENETRESET, in process_group_error()
411 &member->multicast); in process_group_error()
414 ib_sa_free_multicast(&member->multicast); in process_group_error()
428 struct ib_sa_multicast *multicast; in mcast_work_handler() local
446 multicast = &member->multicast; in mcast_work_handler()
447 join_state = multicast->rec.join_state; in mcast_work_handler()
451 status = cmp_rec(&group->rec, &multicast->rec, in mcast_work_handler()
452 multicast->comp_mask); in mcast_work_handler()
458 ret = multicast->callback(status, multicast); in mcast_work_handler()
471 ib_sa_free_multicast(&member->multicast); in mcast_work_handler()
503 ret = member->multicast.callback(status, &member->multicast); in process_join_error()
506 ib_sa_free_multicast(&member->multicast); in process_join_error()
612 struct ib_sa_multicast *multicast), in ib_sa_join_multicast() argument
617 struct ib_sa_multicast *multicast; in ib_sa_join_multicast() local
630 member->multicast.rec = *rec; in ib_sa_join_multicast()
631 member->multicast.comp_mask = comp_mask; in ib_sa_join_multicast()
632 member->multicast.callback = callback; in ib_sa_join_multicast()
633 member->multicast.context = context; in ib_sa_join_multicast()
651 multicast = &member->multicast; in ib_sa_join_multicast()
653 return multicast; in ib_sa_join_multicast()
662 void ib_sa_free_multicast(struct ib_sa_multicast *multicast) in ib_sa_free_multicast() argument
667 member = container_of(multicast, struct mcast_member, multicast); in ib_sa_free_multicast()
672 adjust_membership(group, multicast->rec.join_state, -1); in ib_sa_free_multicast()