Lines Matching refs:join_state
228 static void adjust_membership(struct mcast_group *group, u8 join_state, int inc) in adjust_membership() argument
232 for (i = 0; i < NUM_JOIN_MEMBERSHIP_TYPES; i++, join_state >>= 1) in adjust_membership()
233 if (join_state & 0x1) in adjust_membership()
252 return leave_state & group->rec.join_state; in get_leave_state()
352 rec.join_state = leave_state; in send_leave()
366 u8 join_state) in join_group() argument
369 adjust_membership(group, join_state, 1); in join_group()
370 group->rec.join_state |= join_state; in join_group()
372 member->multicast.rec.join_state = join_state; in join_group()
406 adjust_membership(group, member->multicast.rec.join_state, -1); in process_group_error()
418 group->rec.join_state = 0; in process_group_error()
430 u8 join_state; in mcast_work_handler() local
447 join_state = multicast->rec.join_state; in mcast_work_handler()
450 if (join_state == (group->rec.join_state & join_state)) { in mcast_work_handler()
454 join_group(group, member, join_state); in mcast_work_handler()
475 join_state = get_leave_state(group); in mcast_work_handler()
476 if (join_state) { in mcast_work_handler()
477 group->rec.join_state &= ~join_state; in mcast_work_handler()
479 if (send_leave(group, join_state)) in mcast_work_handler()
672 adjust_membership(group, multicast->rec.join_state, -1); in ib_sa_free_multicast()