Lines Matching refs:mcast_group

97 struct mcast_group {  struct
132 struct mcast_group *group; argument
158 static struct mcast_group *mcast_find(struct mlx4_ib_demux_ctx *ctx, in mcast_find()
162 struct mcast_group *group; in mcast_find()
166 group = rb_entry(node, struct mcast_group, node); in mcast_find()
179 static struct mcast_group *mcast_insert(struct mlx4_ib_demux_ctx *ctx, in mcast_insert()
180 struct mcast_group *group) in mcast_insert()
184 struct mcast_group *cur_group; in mcast_insert()
189 cur_group = rb_entry(parent, struct mcast_group, node); in mcast_insert()
248 static int send_join_to_wire(struct mcast_group *group, struct ib_sa_mad *sa_mad) in send_join_to_wire()
275 static int send_leave_to_wire(struct mcast_group *group, u8 join_state) in send_leave_to_wire()
314 static int send_reply_to_slave(int slave, struct mcast_group *group, in send_reply_to_slave()
433 static int release_group(struct mcast_group *group, int from_timeout_handler) in release_group()
470 static void adjust_membership(struct mcast_group *group, u8 join_state, int inc) in adjust_membership()
479 static u8 get_leave_state(struct mcast_group *group) in get_leave_state()
491 static int join_group(struct mcast_group *group, int slave, u8 join_mask) in join_group()
507 static int leave_group(struct mcast_group *group, int slave, u8 leave_state) in leave_group()
520 static int check_leave(struct mcast_group *group, int slave, u8 leave_mask) in check_leave()
538 struct mcast_group *group; in mlx4_ib_mcg_timeout_handler()
580 static int handle_leave_req(struct mcast_group *group, u8 leave_mask, in handle_leave_req()
601 static int handle_join_req(struct mcast_group *group, u8 join_mask, in handle_join_req()
640 struct mcast_group *group; in mlx4_ib_mcg_work_handler()
742 static struct mcast_group *search_relocate_mgid0_group(struct mlx4_ib_demux_ctx *ctx, in search_relocate_mgid0_group()
746 struct mcast_group *group = NULL, *cur_group; in search_relocate_mgid0_group()
753 group = list_entry(pos, struct mcast_group, mgid0_list); in search_relocate_mgid0_group()
809 static struct mcast_group *acquire_group(struct mlx4_ib_demux_ctx *ctx, in acquire_group()
813 struct mcast_group *group, *cur_group; in acquire_group()
871 struct mcast_group *group = req->group; in queue_req()
888 struct mcast_group *group; in mlx4_ib_mcg_demux_handler()
937 struct mcast_group *group; in mlx4_ib_mcg_multiplex_handler()
992 struct mcast_group *group = in sysfs_show_group()
993 container_of(attr, struct mcast_group, dentry); in sysfs_show_group()
1059 static void force_clean_group(struct mcast_group *group) in force_clean_group()
1076 struct mcast_group *group; in _mlx4_ib_mcg_port_cleanup()
1102 group = rb_entry(p, struct mcast_group, node); in _mlx4_ib_mcg_port_cleanup()
1162 static void clear_pending_reqs(struct mcast_group *group, int vf) in clear_pending_reqs()
1195 static int push_deleteing_req(struct mcast_group *group, int slave) in push_deleteing_req()
1228 struct mcast_group *group; in clean_vf_mcast()
1233 group = rb_entry(p, struct mcast_group, node); in clean_vf_mcast()