Lines Matching refs:join_state
227 static void adjust_membership(struct mcast_group *group, u8 join_state, int inc) in adjust_membership() argument
231 for (i = 0; i < 3; i++, join_state >>= 1) in adjust_membership()
232 if (join_state & 0x1) in adjust_membership()
251 return leave_state & group->rec.join_state; in get_leave_state()
355 rec.join_state = leave_state; in send_leave()
373 u8 join_state) in join_group() argument
376 adjust_membership(group, join_state, 1); in join_group()
377 group->rec.join_state |= join_state; in join_group()
379 member->multicast.rec.join_state = join_state; in join_group()
413 adjust_membership(group, member->multicast.rec.join_state, -1); in process_group_error()
425 group->rec.join_state = 0; in process_group_error()
437 u8 join_state; in mcast_work_handler() local
454 join_state = multicast->rec.join_state; in mcast_work_handler()
457 if (join_state == (group->rec.join_state & join_state)) { in mcast_work_handler()
461 join_group(group, member, join_state); in mcast_work_handler()
482 join_state = get_leave_state(group); in mcast_work_handler()
483 if (join_state) { in mcast_work_handler()
484 group->rec.join_state &= ~join_state; in mcast_work_handler()
486 if (send_leave(group, join_state)) in mcast_work_handler()
671 adjust_membership(group, multicast->rec.join_state, -1); in ib_sa_free_multicast()