Lines Matching refs:multicast
116 struct ib_sa_multicast multicast; member
338 &member->multicast.rec, in send_join()
339 member->multicast.comp_mask, in send_join()
379 member->multicast.rec = group->rec; in join_group()
380 member->multicast.rec.join_state = join_state; in join_group()
390 return member->multicast.callback(status, &member->multicast); in fail_join()
414 adjust_membership(group, member->multicast.rec.join_state, -1); in process_group_error()
418 ret = member->multicast.callback(-ENETRESET, in process_group_error()
419 &member->multicast); in process_group_error()
422 ib_sa_free_multicast(&member->multicast); in process_group_error()
436 struct ib_sa_multicast *multicast; in mcast_work_handler() local
454 multicast = &member->multicast; in mcast_work_handler()
455 join_state = multicast->rec.join_state; in mcast_work_handler()
459 status = cmp_rec(&group->rec, &multicast->rec, in mcast_work_handler()
460 multicast->comp_mask); in mcast_work_handler()
466 ret = multicast->callback(status, multicast); in mcast_work_handler()
479 ib_sa_free_multicast(&member->multicast); in mcast_work_handler()
511 ret = member->multicast.callback(status, &member->multicast); in process_join_error()
514 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()