Lines Matching refs:mcast_group
101 struct mcast_group { struct
136 struct mcast_group *group; argument
162 static struct mcast_group *mcast_find(struct mlx4_ib_demux_ctx *ctx, in mcast_find()
166 struct mcast_group *group; in mcast_find()
170 group = rb_entry(node, struct mcast_group, node); in mcast_find()
183 static struct mcast_group *mcast_insert(struct mlx4_ib_demux_ctx *ctx, in mcast_insert()
184 struct mcast_group *group) in mcast_insert()
188 struct mcast_group *cur_group; in mcast_insert()
193 cur_group = rb_entry(parent, struct mcast_group, node); in mcast_insert()
252 static int send_join_to_wire(struct mcast_group *group, struct ib_sa_mad *sa_mad) in send_join_to_wire()
279 static int send_leave_to_wire(struct mcast_group *group, u8 join_state) in send_leave_to_wire()
318 static int send_reply_to_slave(int slave, struct mcast_group *group, in send_reply_to_slave()
437 static int release_group(struct mcast_group *group, int from_timeout_handler) in release_group()
474 static void adjust_membership(struct mcast_group *group, u8 join_state, int inc) in adjust_membership()
483 static u8 get_leave_state(struct mcast_group *group) in get_leave_state()
495 static int join_group(struct mcast_group *group, int slave, u8 join_mask) in join_group()
511 static int leave_group(struct mcast_group *group, int slave, u8 leave_state) in leave_group()
524 static int check_leave(struct mcast_group *group, int slave, u8 leave_mask) in check_leave()
542 struct mcast_group *group; in mlx4_ib_mcg_timeout_handler()
584 static int handle_leave_req(struct mcast_group *group, u8 leave_mask, in handle_leave_req()
605 static int handle_join_req(struct mcast_group *group, u8 join_mask, in handle_join_req()
644 struct mcast_group *group; in mlx4_ib_mcg_work_handler()
746 static struct mcast_group *search_relocate_mgid0_group(struct mlx4_ib_demux_ctx *ctx, in search_relocate_mgid0_group()
750 struct mcast_group *group = NULL, *cur_group, *n; in search_relocate_mgid0_group()
810 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()
993 struct mcast_group *group = in sysfs_show_group()
994 container_of(attr, struct mcast_group, dentry); in sysfs_show_group()
1060 static void force_clean_group(struct mcast_group *group) in force_clean_group()
1077 struct mcast_group *group; in _mlx4_ib_mcg_port_cleanup()
1103 group = rb_entry(p, struct mcast_group, node); in _mlx4_ib_mcg_port_cleanup()
1163 static void clear_pending_reqs(struct mcast_group *group, int vf) in clear_pending_reqs()
1196 static int push_deleteing_req(struct mcast_group *group, int slave) in push_deleteing_req()
1227 struct mcast_group *group; in clean_vf_mcast()
1232 group = rb_entry(p, struct mcast_group, node); in clean_vf_mcast()