mcast            2109 arch/mips/include/asm/octeon/cvmx-pip-defs.h 		uint64_t mcast:32;
mcast            2111 arch/mips/include/asm/octeon/cvmx-pip-defs.h 		uint64_t mcast:32;
mcast            2122 arch/mips/include/asm/octeon/cvmx-pip-defs.h 		uint64_t mcast:32;
mcast            2124 arch/mips/include/asm/octeon/cvmx-pip-defs.h 		uint64_t mcast:32;
mcast            2135 arch/mips/include/asm/octeon/cvmx-pip-defs.h 		uint64_t mcast:32;
mcast            2137 arch/mips/include/asm/octeon/cvmx-pip-defs.h 		uint64_t mcast:32;
mcast            2148 arch/mips/include/asm/octeon/cvmx-pip-defs.h 		uint64_t mcast:32;
mcast            2150 arch/mips/include/asm/octeon/cvmx-pip-defs.h 		uint64_t mcast:32;
mcast            2596 arch/mips/include/asm/octeon/cvmx-pip-defs.h 		uint64_t mcast:32;
mcast            2598 arch/mips/include/asm/octeon/cvmx-pip-defs.h 		uint64_t mcast:32;
mcast            2609 arch/mips/include/asm/octeon/cvmx-pip-defs.h 		uint64_t mcast:32;
mcast            2611 arch/mips/include/asm/octeon/cvmx-pip-defs.h 		uint64_t mcast:32;
mcast            2487 drivers/infiniband/core/uverbs_cmd.c 	struct ib_uverbs_mcast_entry *mcast;
mcast            2501 drivers/infiniband/core/uverbs_cmd.c 	list_for_each_entry(mcast, &obj->mcast_list, list)
mcast            2502 drivers/infiniband/core/uverbs_cmd.c 		if (cmd.mlid == mcast->lid &&
mcast            2503 drivers/infiniband/core/uverbs_cmd.c 		    !memcmp(cmd.gid, mcast->gid.raw, sizeof mcast->gid.raw)) {
mcast            2508 drivers/infiniband/core/uverbs_cmd.c 	mcast = kmalloc(sizeof *mcast, GFP_KERNEL);
mcast            2509 drivers/infiniband/core/uverbs_cmd.c 	if (!mcast) {
mcast            2514 drivers/infiniband/core/uverbs_cmd.c 	mcast->lid = cmd.mlid;
mcast            2515 drivers/infiniband/core/uverbs_cmd.c 	memcpy(mcast->gid.raw, cmd.gid, sizeof mcast->gid.raw);
mcast            2517 drivers/infiniband/core/uverbs_cmd.c 	ret = ib_attach_mcast(qp, &mcast->gid, cmd.mlid);
mcast            2519 drivers/infiniband/core/uverbs_cmd.c 		list_add_tail(&mcast->list, &obj->mcast_list);
mcast            2521 drivers/infiniband/core/uverbs_cmd.c 		kfree(mcast);
mcast            2535 drivers/infiniband/core/uverbs_cmd.c 	struct ib_uverbs_mcast_entry *mcast;
mcast            2550 drivers/infiniband/core/uverbs_cmd.c 	list_for_each_entry(mcast, &obj->mcast_list, list)
mcast            2551 drivers/infiniband/core/uverbs_cmd.c 		if (cmd.mlid == mcast->lid &&
mcast            2552 drivers/infiniband/core/uverbs_cmd.c 		    !memcmp(cmd.gid, mcast->gid.raw, sizeof mcast->gid.raw)) {
mcast            2553 drivers/infiniband/core/uverbs_cmd.c 			list_del(&mcast->list);
mcast            2554 drivers/infiniband/core/uverbs_cmd.c 			kfree(mcast);
mcast             177 drivers/infiniband/core/uverbs_main.c 	struct ib_uverbs_mcast_entry *mcast, *tmp;
mcast             179 drivers/infiniband/core/uverbs_main.c 	list_for_each_entry_safe(mcast, tmp, &uobj->mcast_list, list) {
mcast             180 drivers/infiniband/core/uverbs_main.c 		ib_detach_mcast(qp, &mcast->gid, mcast->lid);
mcast             181 drivers/infiniband/core/uverbs_main.c 		list_del(&mcast->list);
mcast             182 drivers/infiniband/core/uverbs_main.c 		kfree(mcast);
mcast             508 drivers/infiniband/hw/hfi1/verbs.c 		struct rvt_mcast *mcast;
mcast             513 drivers/infiniband/hw/hfi1/verbs.c 		mcast = rvt_mcast_find(&ibp->rvp,
mcast             516 drivers/infiniband/hw/hfi1/verbs.c 		if (!mcast)
mcast             519 drivers/infiniband/hw/hfi1/verbs.c 		list_for_each_entry_rcu(p, &mcast->qp_list, list) {
mcast             536 drivers/infiniband/hw/hfi1/verbs.c 		if (atomic_dec_return(&mcast->refcount) <= 1)
mcast             537 drivers/infiniband/hw/hfi1/verbs.c 			wake_up(&mcast->wait);
mcast            3931 drivers/infiniband/hw/mlx5/main.c 		bool mcast)
mcast            3940 drivers/infiniband/hw/mlx5/main.c 	if (mcast)
mcast            4105 drivers/infiniband/hw/mlx5/main.c 	bool mcast;
mcast            4118 drivers/infiniband/hw/mlx5/main.c 	mcast = raw_fs_is_multicast(fs_matcher, cmd_in);
mcast            4121 drivers/infiniband/hw/mlx5/main.c 	ft_prio = _get_flow_table(dev, fs_matcher, mcast);
mcast             323 drivers/infiniband/hw/qib/qib_verbs.c 		struct rvt_mcast *mcast;
mcast             328 drivers/infiniband/hw/qib/qib_verbs.c 		mcast = rvt_mcast_find(&ibp->rvp, &hdr->u.l.grh.dgid, lid);
mcast             329 drivers/infiniband/hw/qib/qib_verbs.c 		if (mcast == NULL)
mcast             333 drivers/infiniband/hw/qib/qib_verbs.c 		list_for_each_entry_rcu(p, &mcast->qp_list, list)
mcast             340 drivers/infiniband/hw/qib/qib_verbs.c 		if (atomic_dec_return(&mcast->refcount) <= 1)
mcast             341 drivers/infiniband/hw/qib/qib_verbs.c 			wake_up(&mcast->wait);
mcast             109 drivers/infiniband/sw/rdmavt/mcast.c 	struct rvt_mcast *mcast;
mcast             111 drivers/infiniband/sw/rdmavt/mcast.c 	mcast = kzalloc(sizeof(*mcast), GFP_KERNEL);
mcast             112 drivers/infiniband/sw/rdmavt/mcast.c 	if (!mcast)
mcast             115 drivers/infiniband/sw/rdmavt/mcast.c 	mcast->mcast_addr.mgid = *mgid;
mcast             116 drivers/infiniband/sw/rdmavt/mcast.c 	mcast->mcast_addr.lid = lid;
mcast             118 drivers/infiniband/sw/rdmavt/mcast.c 	INIT_LIST_HEAD(&mcast->qp_list);
mcast             119 drivers/infiniband/sw/rdmavt/mcast.c 	init_waitqueue_head(&mcast->wait);
mcast             120 drivers/infiniband/sw/rdmavt/mcast.c 	atomic_set(&mcast->refcount, 0);
mcast             123 drivers/infiniband/sw/rdmavt/mcast.c 	return mcast;
mcast             126 drivers/infiniband/sw/rdmavt/mcast.c static void rvt_mcast_free(struct rvt_mcast *mcast)
mcast             130 drivers/infiniband/sw/rdmavt/mcast.c 	list_for_each_entry_safe(p, tmp, &mcast->qp_list, list)
mcast             133 drivers/infiniband/sw/rdmavt/mcast.c 	kfree(mcast);
mcast             159 drivers/infiniband/sw/rdmavt/mcast.c 		struct rvt_mcast *mcast;
mcast             161 drivers/infiniband/sw/rdmavt/mcast.c 		mcast = rb_entry(n, struct rvt_mcast, rb_node);
mcast             163 drivers/infiniband/sw/rdmavt/mcast.c 		ret = memcmp(mgid->raw, mcast->mcast_addr.mgid.raw,
mcast             171 drivers/infiniband/sw/rdmavt/mcast.c 			if (mcast->mcast_addr.lid == lid) {
mcast             172 drivers/infiniband/sw/rdmavt/mcast.c 				atomic_inc(&mcast->refcount);
mcast             173 drivers/infiniband/sw/rdmavt/mcast.c 				found = mcast;
mcast             194 drivers/infiniband/sw/rdmavt/mcast.c 			 struct rvt_mcast *mcast, struct rvt_mcast_qp *mqp)
mcast             209 drivers/infiniband/sw/rdmavt/mcast.c 		ret = memcmp(mcast->mcast_addr.mgid.raw,
mcast             211 drivers/infiniband/sw/rdmavt/mcast.c 			     sizeof(mcast->mcast_addr.mgid));
mcast             221 drivers/infiniband/sw/rdmavt/mcast.c 		if (tmcast->mcast_addr.lid != mcast->mcast_addr.lid) {
mcast             256 drivers/infiniband/sw/rdmavt/mcast.c 	mcast->n_attached++;
mcast             258 drivers/infiniband/sw/rdmavt/mcast.c 	list_add_tail_rcu(&mqp->list, &mcast->qp_list);
mcast             260 drivers/infiniband/sw/rdmavt/mcast.c 	atomic_inc(&mcast->refcount);
mcast             261 drivers/infiniband/sw/rdmavt/mcast.c 	rb_link_node(&mcast->rb_node, pn, n);
mcast             262 drivers/infiniband/sw/rdmavt/mcast.c 	rb_insert_color(&mcast->rb_node, &ibp->mcast_tree);
mcast             285 drivers/infiniband/sw/rdmavt/mcast.c 	struct rvt_mcast *mcast;
mcast             296 drivers/infiniband/sw/rdmavt/mcast.c 	mcast = rvt_mcast_alloc(gid, lid);
mcast             297 drivers/infiniband/sw/rdmavt/mcast.c 	if (!mcast)
mcast             304 drivers/infiniband/sw/rdmavt/mcast.c 	switch (rvt_mcast_add(rdi, ibp, mcast, mqp)) {
mcast             330 drivers/infiniband/sw/rdmavt/mcast.c 	rvt_mcast_free(mcast);
mcast             348 drivers/infiniband/sw/rdmavt/mcast.c 	struct rvt_mcast *mcast = NULL;
mcast             367 drivers/infiniband/sw/rdmavt/mcast.c 		mcast = rb_entry(n, struct rvt_mcast, rb_node);
mcast             368 drivers/infiniband/sw/rdmavt/mcast.c 		ret = memcmp(gid->raw, mcast->mcast_addr.mgid.raw,
mcast             376 drivers/infiniband/sw/rdmavt/mcast.c 			if (mcast->mcast_addr.lid != lid) {
mcast             385 drivers/infiniband/sw/rdmavt/mcast.c 	list_for_each_entry_safe(p, tmp, &mcast->qp_list, list) {
mcast             393 drivers/infiniband/sw/rdmavt/mcast.c 		mcast->n_attached--;
mcast             397 drivers/infiniband/sw/rdmavt/mcast.c 		if (list_empty(&mcast->qp_list)) {
mcast             398 drivers/infiniband/sw/rdmavt/mcast.c 			rb_erase(&mcast->rb_node, &ibp->mcast_tree);
mcast             413 drivers/infiniband/sw/rdmavt/mcast.c 	wait_event(mcast->wait, atomic_read(&mcast->refcount) <= 1);
mcast             417 drivers/infiniband/sw/rdmavt/mcast.c 		atomic_dec(&mcast->refcount);
mcast             418 drivers/infiniband/sw/rdmavt/mcast.c 		wait_event(mcast->wait, !atomic_read(&mcast->refcount));
mcast             419 drivers/infiniband/sw/rdmavt/mcast.c 		rvt_mcast_free(mcast);
mcast              74 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 					       struct ipoib_mcast *mcast,
mcast              85 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	if (mcast && delay) {
mcast              89 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		mcast->backoff *= 2;
mcast              90 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		if (mcast->backoff > IPOIB_MAX_BACKOFF_SECONDS)
mcast              91 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 			mcast->backoff = IPOIB_MAX_BACKOFF_SECONDS;
mcast              92 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		mcast->delay_until = jiffies + (mcast->backoff * HZ);
mcast             112 drivers/infiniband/ulp/ipoib/ipoib_multicast.c static void ipoib_mcast_free(struct ipoib_mcast *mcast)
mcast             114 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	struct net_device *dev = mcast->dev;
mcast             118 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 			mcast->mcmember.mgid.raw);
mcast             121 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	ipoib_del_neighs_by_gid(dev, mcast->mcmember.mgid.raw);
mcast             123 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	if (mcast->ah)
mcast             124 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		ipoib_put_ah(mcast->ah);
mcast             126 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	while (!skb_queue_empty(&mcast->pkt_queue)) {
mcast             128 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		dev_kfree_skb_any(skb_dequeue(&mcast->pkt_queue));
mcast             135 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	kfree(mcast);
mcast             141 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	struct ipoib_mcast *mcast;
mcast             143 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	mcast = kzalloc(sizeof(*mcast), can_sleep ? GFP_KERNEL : GFP_ATOMIC);
mcast             144 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	if (!mcast)
mcast             147 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	mcast->dev = dev;
mcast             148 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	mcast->created = jiffies;
mcast             149 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	mcast->delay_until = jiffies;
mcast             150 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	mcast->backoff = 1;
mcast             152 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	INIT_LIST_HEAD(&mcast->list);
mcast             153 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	INIT_LIST_HEAD(&mcast->neigh_list);
mcast             154 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	skb_queue_head_init(&mcast->pkt_queue);
mcast             156 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	return mcast;
mcast             165 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		struct ipoib_mcast *mcast;
mcast             168 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		mcast = rb_entry(n, struct ipoib_mcast, rb_node);
mcast             170 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		ret = memcmp(mgid, mcast->mcmember.mgid.raw,
mcast             177 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 			return mcast;
mcast             183 drivers/infiniband/ulp/ipoib/ipoib_multicast.c static int __ipoib_mcast_add(struct net_device *dev, struct ipoib_mcast *mcast)
mcast             195 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		ret = memcmp(mcast->mcmember.mgid.raw, tmcast->mcmember.mgid.raw,
mcast             205 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	rb_link_node(&mcast->rb_node, pn, n);
mcast             206 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	rb_insert_color(&mcast->rb_node, &priv->multicast_tree);
mcast             211 drivers/infiniband/ulp/ipoib/ipoib_multicast.c static int ipoib_mcast_join_finish(struct ipoib_mcast *mcast,
mcast             214 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	struct net_device *dev = mcast->dev;
mcast             222 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	mcast->mcmember = *mcmember;
mcast             227 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	if (!memcmp(mcast->mcmember.mgid.raw, priv->dev->broadcast + 4,
mcast             257 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	if (!test_bit(IPOIB_MCAST_FLAG_SENDONLY, &mcast->flags)) {
mcast             258 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		if (test_and_set_bit(IPOIB_MCAST_FLAG_ATTACHED, &mcast->flags)) {
mcast             260 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 				   mcast->mcmember.mgid.raw);
mcast             265 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		ret = rn->attach_mcast(dev, priv->ca, &mcast->mcmember.mgid,
mcast             266 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 				       be16_to_cpu(mcast->mcmember.mlid),
mcast             270 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 				   mcast->mcmember.mgid.raw);
mcast             272 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 			clear_bit(IPOIB_MCAST_FLAG_ATTACHED, &mcast->flags);
mcast             279 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	rdma_ah_set_dlid(&av, be16_to_cpu(mcast->mcmember.mlid)),
mcast             281 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	rdma_ah_set_sl(&av, mcast->mcmember.sl);
mcast             282 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	rdma_ah_set_static_rate(&av, mcast->mcmember.rate);
mcast             284 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	rdma_ah_set_grh(&av, &mcast->mcmember.mgid,
mcast             285 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 			be32_to_cpu(mcast->mcmember.flow_label),
mcast             286 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 			0, mcast->mcmember.hop_limit,
mcast             287 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 			mcast->mcmember.traffic_class);
mcast             297 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	mcast->ah = ah;
mcast             301 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 			mcast->mcmember.mgid.raw,
mcast             302 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 			mcast->ah->ah,
mcast             303 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 			be16_to_cpu(mcast->mcmember.mlid),
mcast             304 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 			mcast->mcmember.sl);
mcast             308 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	while (!skb_queue_empty(&mcast->pkt_queue)) {
mcast             309 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		struct sk_buff *skb = skb_dequeue(&mcast->pkt_queue);
mcast             370 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	struct ipoib_mcast *mcast = multicast->context;
mcast             371 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	struct net_device *dev = mcast->dev;
mcast             375 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 			test_bit(IPOIB_MCAST_FLAG_SENDONLY, &mcast->flags) ?
mcast             377 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 			mcast->mcmember.mgid.raw, status);
mcast             386 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		status = ipoib_mcast_join_finish(mcast, &multicast->rec);
mcast             389 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		mcast->backoff = 1;
mcast             390 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		mcast->delay_until = jiffies;
mcast             399 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		if (mcast == priv->broadcast) {
mcast             407 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		    test_bit(IPOIB_MCAST_FLAG_SENDONLY, &mcast->flags) &&
mcast             410 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		if (mcast->logcount < 20) {
mcast             414 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 						test_bit(IPOIB_MCAST_FLAG_SENDONLY, &mcast->flags) ? "sendonly " : "",
mcast             415 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 						mcast->mcmember.mgid.raw, status);
mcast             418 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 						test_bit(IPOIB_MCAST_FLAG_SENDONLY, &mcast->flags) ? "sendonly " : "",
mcast             419 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 					   mcast->mcmember.mgid.raw, status);
mcast             423 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 				mcast->logcount++;
mcast             426 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		if (test_bit(IPOIB_MCAST_FLAG_SENDONLY, &mcast->flags) &&
mcast             427 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		    mcast->backoff >= 2) {
mcast             437 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 			mcast->backoff = 1;
mcast             439 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 			while (!skb_queue_empty(&mcast->pkt_queue)) {
mcast             441 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 				dev_kfree_skb_any(skb_dequeue(&mcast->pkt_queue));
mcast             447 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 			__ipoib_mcast_schedule_join_thread(priv, mcast, 1);
mcast             459 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		mcast->mc = NULL;
mcast             461 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		mcast->mc = multicast;
mcast             462 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	clear_bit(IPOIB_MCAST_FLAG_BUSY, &mcast->flags);
mcast             464 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	complete(&mcast->done);
mcast             472 drivers/infiniband/ulp/ipoib/ipoib_multicast.c static int ipoib_mcast_join(struct net_device *dev, struct ipoib_mcast *mcast)
mcast             486 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	init_completion(&mcast->done);
mcast             487 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	set_bit(IPOIB_MCAST_FLAG_BUSY, &mcast->flags);
mcast             489 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	ipoib_dbg_mcast(priv, "joining MGID %pI6\n", mcast->mcmember.mgid.raw);
mcast             491 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	rec.mgid     = mcast->mcmember.mgid;
mcast             501 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	if (mcast != priv->broadcast) {
mcast             541 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		if (test_bit(IPOIB_MCAST_FLAG_SENDONLY, &mcast->flags) &&
mcast             550 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 					 ipoib_mcast_join_complete, mcast);
mcast             556 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		__ipoib_mcast_schedule_join_thread(priv, mcast, 1);
mcast             557 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		clear_bit(IPOIB_MCAST_FLAG_BUSY, &mcast->flags);
mcast             559 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		complete(&mcast->done);
mcast             572 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	struct ipoib_mcast *mcast = NULL;
mcast             625 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 			mcast = priv->broadcast;
mcast             626 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 			if (mcast->backoff > 1 &&
mcast             627 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 			    time_before(jiffies, mcast->delay_until)) {
mcast             628 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 				delay_until = mcast->delay_until;
mcast             629 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 				mcast = NULL;
mcast             639 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	list_for_each_entry(mcast, &priv->multicast_list, list) {
mcast             640 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		if (IS_ERR_OR_NULL(mcast->mc) &&
mcast             641 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		    !test_bit(IPOIB_MCAST_FLAG_BUSY, &mcast->flags) &&
mcast             642 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		    (!test_bit(IPOIB_MCAST_FLAG_SENDONLY, &mcast->flags) ||
mcast             643 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		     !skb_queue_empty(&mcast->pkt_queue))) {
mcast             644 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 			if (mcast->backoff == 1 ||
mcast             645 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 			    time_after_eq(jiffies, mcast->delay_until)) {
mcast             647 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 				if (ipoib_mcast_join(dev, mcast)) {
mcast             652 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 				 time_before(mcast->delay_until, delay_until))
mcast             653 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 				delay_until = mcast->delay_until;
mcast             657 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	mcast = NULL;
mcast             666 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	if (mcast)
mcast             667 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		ipoib_mcast_join(dev, mcast);
mcast             695 drivers/infiniband/ulp/ipoib/ipoib_multicast.c static int ipoib_mcast_leave(struct net_device *dev, struct ipoib_mcast *mcast)
mcast             701 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	if (test_and_clear_bit(IPOIB_MCAST_FLAG_BUSY, &mcast->flags))
mcast             704 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	if (!IS_ERR_OR_NULL(mcast->mc))
mcast             705 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		ib_sa_free_multicast(mcast->mc);
mcast             707 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	if (test_and_clear_bit(IPOIB_MCAST_FLAG_ATTACHED, &mcast->flags)) {
mcast             709 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 				mcast->mcmember.mgid.raw);
mcast             712 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		ret = rn->detach_mcast(dev, priv->ca, &mcast->mcmember.mgid,
mcast             713 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 				       be16_to_cpu(mcast->mcmember.mlid));
mcast             716 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	} else if (!test_bit(IPOIB_MCAST_FLAG_SENDONLY, &mcast->flags))
mcast             732 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		struct ipoib_mcast *mcast = __ipoib_mcast_find(priv->dev, mgid);
mcast             734 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		if (mcast && test_bit(IPOIB_MCAST_FLAG_SENDONLY, &mcast->flags)) {
mcast             735 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 			list_del(&mcast->list);
mcast             736 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 			rb_erase(&mcast->rb_node, &priv->multicast_tree);
mcast             737 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 			list_add_tail(&mcast->list, remove_list);
mcast             744 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	struct ipoib_mcast *mcast, *tmcast;
mcast             750 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	list_for_each_entry_safe(mcast, tmcast, remove_list, list)
mcast             751 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		if (test_bit(IPOIB_MCAST_FLAG_BUSY, &mcast->flags))
mcast             752 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 			wait_for_completion(&mcast->done);
mcast             754 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	list_for_each_entry_safe(mcast, tmcast, remove_list, list) {
mcast             755 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		ipoib_mcast_leave(mcast->dev, mcast);
mcast             756 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		ipoib_mcast_free(mcast);
mcast             764 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	struct ipoib_mcast *mcast;
mcast             778 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	mcast = __ipoib_mcast_find(dev, mgid);
mcast             779 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	if (!mcast || !mcast->ah) {
mcast             780 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		if (!mcast) {
mcast             785 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 			mcast = ipoib_mcast_alloc(dev, 0);
mcast             786 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 			if (!mcast) {
mcast             794 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 			set_bit(IPOIB_MCAST_FLAG_SENDONLY, &mcast->flags);
mcast             795 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 			memcpy(mcast->mcmember.mgid.raw, mgid,
mcast             797 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 			__ipoib_mcast_add(dev, mcast);
mcast             798 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 			list_add_tail(&mcast->list, &priv->multicast_list);
mcast             800 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		if (skb_queue_len(&mcast->pkt_queue) < IPOIB_MAX_MCAST_QUEUE) {
mcast             803 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 			skb_queue_tail(&mcast->pkt_queue, skb);
mcast             808 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		if (!test_bit(IPOIB_MCAST_FLAG_BUSY, &mcast->flags)) {
mcast             823 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 				kref_get(&mcast->ah->ref);
mcast             824 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 				neigh->ah	= mcast->ah;
mcast             826 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 				list_add_tail(&neigh->list, &mcast->neigh_list);
mcast             830 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		mcast->ah->last_send = rn->send(dev, skb, mcast->ah->ah,
mcast             845 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	struct ipoib_mcast *mcast, *tmcast;
mcast             853 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	list_for_each_entry_safe(mcast, tmcast, &priv->multicast_list, list) {
mcast             854 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		list_del(&mcast->list);
mcast             855 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		rb_erase(&mcast->rb_node, &priv->multicast_tree);
mcast             856 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		list_add_tail(&mcast->list, &remove_list);
mcast             888 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	struct ipoib_mcast *mcast, *tmcast;
mcast             911 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	list_for_each_entry(mcast, &priv->multicast_list, list)
mcast             912 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		clear_bit(IPOIB_MCAST_FLAG_FOUND, &mcast->flags);
mcast             923 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		mcast = __ipoib_mcast_find(dev, &mgid);
mcast             924 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		if (!mcast || test_bit(IPOIB_MCAST_FLAG_SENDONLY, &mcast->flags)) {
mcast             949 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 			if (mcast) {
mcast             951 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 				list_move_tail(&mcast->list, &remove_list);
mcast             953 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 				rb_replace_node(&mcast->rb_node,
mcast             962 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		if (mcast)
mcast             963 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 			set_bit(IPOIB_MCAST_FLAG_FOUND, &mcast->flags);
mcast             967 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	list_for_each_entry_safe(mcast, tmcast, &priv->multicast_list, list) {
mcast             968 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		if (!test_bit(IPOIB_MCAST_FLAG_FOUND, &mcast->flags) &&
mcast             969 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		    !test_bit(IPOIB_MCAST_FLAG_SENDONLY, &mcast->flags)) {
mcast             971 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 					mcast->mcmember.mgid.raw);
mcast             973 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 			rb_erase(&mcast->rb_node, &priv->multicast_tree);
mcast             976 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 			list_move_tail(&mcast->list, &remove_list);
mcast            1020 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 	struct ipoib_mcast *mcast;
mcast            1028 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		mcast = rb_entry(n, struct ipoib_mcast, rb_node);
mcast            1030 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 		if (memcmp(iter->mgid.raw, mcast->mcmember.mgid.raw,
mcast            1032 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 			iter->mgid      = mcast->mcmember.mgid;
mcast            1033 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 			iter->created   = mcast->created;
mcast            1034 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 			iter->queuelen  = skb_queue_len(&mcast->pkt_queue);
mcast            1035 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 			iter->complete  = !!mcast->ah;
mcast            1036 drivers/infiniband/ulp/ipoib/ipoib_multicast.c 			iter->send_only = !!(mcast->flags & (1 << IPOIB_MCAST_FLAG_SENDONLY));
mcast             450 drivers/net/ethernet/atheros/atlx/atl2.c 			if (rxd->status.mcast)
mcast             241 drivers/net/ethernet/atheros/atlx/atl2.h 	unsigned mcast:1;	/* multicast packet */
mcast             290 drivers/net/ethernet/atheros/atlx/atl2.h 	unsigned mcast:1;	/* current packet is multicast */
mcast             150 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h 	} mcast;
mcast             562 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c 	struct bnx2x_mcast_ramrod_params mcast;
mcast             568 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c 	memset(&mcast, 0, sizeof(struct bnx2x_mcast_ramrod_params));
mcast             569 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c 	mcast.mcast_obj = &vf->mcast_obj;
mcast             571 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c 		set_bit(RAMROD_DRV_CLR_ONLY, &mcast.ramrod_flags);
mcast             573 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c 		set_bit(RAMROD_COMP_WAIT, &mcast.ramrod_flags);
mcast             584 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c 		INIT_LIST_HEAD(&mcast.mcast_list);
mcast             588 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c 				      &mcast.mcast_list);
mcast             592 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c 		mcast.mcast_list_len = mc_num;
mcast             593 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c 		rc = bnx2x_config_mcast(bp, &mcast, BNX2X_MCAST_CMD_SET);
mcast             598 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c 		rc = bnx2x_config_mcast(bp, &mcast, BNX2X_MCAST_CMD_DEL);
mcast             682 drivers/net/ethernet/brocade/bna/bfi_enet.h 	u64 mcast;
mcast             701 drivers/net/ethernet/brocade/bna/bfi_enet.h 	u64 mcast;
mcast            1063 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	bool mcast, ghtx;
mcast            1071 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	mcast = (bool)((addr & MAC_GROUP_ADDRESS) ? true : false);
mcast            1074 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	if (ghtx && !mcast) {
mcast            1098 drivers/net/ethernet/freescale/fman/fman_dtsec.c 		if (mcast)
mcast            1174 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	bool mcast, ghtx;
mcast            1182 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	mcast = (bool)((addr & MAC_GROUP_ADDRESS) ? true : false);
mcast            1185 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	if (ghtx && !mcast) {
mcast            1199 drivers/net/ethernet/freescale/fman/fman_dtsec.c 		if (mcast)
mcast             622 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	struct dsaf_tbl_tcam_mcast_cfg *mcast)
mcast             628 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		     mcast->tbl_mcast_item_vld);
mcast             630 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		     mcast->tbl_mcast_old_en);
mcast             633 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		       mcast->tbl_mcast_port_msk[4]);
mcast             637 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		       mcast->tbl_mcast_port_msk[3]);
mcast             640 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		       mcast->tbl_mcast_port_msk[2]);
mcast             643 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		       mcast->tbl_mcast_port_msk[1]);
mcast             646 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		       mcast->tbl_mcast_port_msk[0]);
mcast             190 drivers/net/ethernet/marvell/octeontx2/af/rvu.h 	struct nix_mcast mcast;
mcast             101 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c static u16 nix_alloc_mce_list(struct nix_mcast *mcast, int count)
mcast             105 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	if (!mcast)
mcast             108 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	idx = mcast->next_free_mce;
mcast             109 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	mcast->next_free_mce += count;
mcast             508 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 		if (!hw->nix0->mcast.mce_ctx ||
mcast            1697 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	struct nix_mcast *mcast;
mcast            1714 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	mcast = &nix_hw->mcast;
mcast            1729 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	mutex_lock(&mcast->mce_lock);
mcast            1759 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	mutex_unlock(&mcast->mce_lock);
mcast            1765 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	struct nix_mcast *mcast = &nix_hw->mcast;
mcast            1782 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 		pfvf->bcast_mce_idx = nix_alloc_mce_list(mcast, numvfs + 1);
mcast            1807 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	struct nix_mcast *mcast = &nix_hw->mcast;
mcast            1815 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	err = qmem_alloc(rvu->dev, &mcast->mce_ctx,
mcast            1821 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 		    (u64)mcast->mce_ctx->iova);
mcast            1829 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	err = qmem_alloc(rvu->dev, &mcast->mcast_buf,
mcast            1835 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 		    (u64)mcast->mcast_buf->iova);
mcast            1838 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	mcast->replay_pkind = rvu_alloc_rsrc(&hw->pkind.rsrc);
mcast            1841 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 		    BIT_ULL(63) | (mcast->replay_pkind << 24) |
mcast            1844 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	mutex_init(&mcast->mce_lock);
mcast            2800 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	struct nix_mcast *mcast;
mcast            2821 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 		mcast = &nix_hw->mcast;
mcast            2822 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 		qmem_free(rvu->dev, mcast->mce_ctx);
mcast            2823 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 		qmem_free(rvu->dev, mcast->mcast_buf);
mcast            2824 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 		mutex_destroy(&mcast->mce_lock);
mcast             828 drivers/net/ethernet/mellanox/mlx4/mlx4.h 	__be32 mcast;
mcast            1381 drivers/net/ethernet/mellanox/mlx4/port.c 			promisc = be32_to_cpu(qpn_context->mcast) >>
mcast            1383 drivers/net/ethernet/mellanox/mlx4/port.c 			qpn_context->mcast = cpu_to_be32(
mcast            1663 drivers/net/ethernet/mellanox/mlx4/port.c 	context->mcast = cpu_to_be32(m_promisc << SET_PORT_MC_PROMISC_SHIFT |
mcast             860 drivers/net/ethernet/micrel/ks8851_mll.c static void ks_set_mcast(struct ks_net *ks, u16 mcast)
mcast             864 drivers/net/ethernet/micrel/ks8851_mll.c 	ks->all_mcast = mcast;
mcast             868 drivers/net/ethernet/micrel/ks8851_mll.c 	if (mcast)
mcast            2758 drivers/net/ethernet/qlogic/qed/qed_l2.c 	struct qed_filter_mcast mcast;
mcast            2761 drivers/net/ethernet/qlogic/qed/qed_l2.c 	memset(&mcast, 0, sizeof(mcast));
mcast            2764 drivers/net/ethernet/qlogic/qed/qed_l2.c 		mcast.opcode = QED_FILTER_ADD;
mcast            2767 drivers/net/ethernet/qlogic/qed/qed_l2.c 		mcast.opcode = QED_FILTER_REMOVE;
mcast            2774 drivers/net/ethernet/qlogic/qed/qed_l2.c 	mcast.num_mc_addrs = params->num;
mcast            2775 drivers/net/ethernet/qlogic/qed/qed_l2.c 	for (i = 0; i < mcast.num_mc_addrs; i++)
mcast            2776 drivers/net/ethernet/qlogic/qed/qed_l2.c 		ether_addr_copy(mcast.mac[i], params->mac[i]);
mcast            2778 drivers/net/ethernet/qlogic/qed/qed_l2.c 	return qed_filter_mcast_cmd(cdev, &mcast, QED_SPQ_MODE_CB, NULL);
mcast            2790 drivers/net/ethernet/qlogic/qed/qed_l2.c 		return qed_configure_filter_mcast(cdev, &params->filter.mcast);
mcast            1138 drivers/net/ethernet/qlogic/qede/qede_filter.c 	filter_cmd.filter.mcast.type = opcode;
mcast            1139 drivers/net/ethernet/qlogic/qede/qede_filter.c 	filter_cmd.filter.mcast.num = num_macs;
mcast            1142 drivers/net/ethernet/qlogic/qede/qede_filter.c 		ether_addr_copy(filter_cmd.filter.mcast.mac[i], mac);
mcast             118 drivers/net/ethernet/ti/cpsw_ale.c DEFINE_ALE_FIELD(mcast,			40,	1)
mcast             167 drivers/net/ipvlan/ipvlan.h 		     unsigned int len, bool success, bool mcast);
mcast              15 drivers/net/ipvlan/ipvlan_core.c 			    unsigned int len, bool success, bool mcast)
mcast              24 drivers/net/ipvlan/ipvlan_core.c 		if (mcast)
mcast            1899 drivers/net/usb/smsc75xx.c 			const u8 mcast[] = {0x01, 0x00, 0x5E};
mcast            1903 drivers/net/usb/smsc75xx.c 				| smsc_crc(mcast, 3);
mcast            1691 drivers/net/usb/smsc95xx.c 			const u8 mcast[] = {0x01, 0x00, 0x5E};
mcast            1699 drivers/net/usb/smsc95xx.c 			crc[filter/2] |= smsc_crc(mcast, 3, filter);
mcast              98 drivers/net/wireless/ath/wil6210/rx_reorder.c 	int tid, cid, mid, mcast, retry;
mcast             106 drivers/net/wireless/ath/wil6210/rx_reorder.c 					 &mcast, &retry);
mcast             110 drivers/net/wireless/ath/wil6210/rx_reorder.c 		     mid, cid, tid, seq, mcast);
mcast             128 drivers/net/wireless/ath/wil6210/rx_reorder.c 	if (unlikely(mcast)) {
mcast             919 drivers/net/wireless/ath/wil6210/txrx.c 	int mcast = is_multicast_ether_addr(da);
mcast             932 drivers/net/wireless/ath/wil6210/txrx.c 		if (mcast && ether_addr_equal(sa, ndev->dev_addr)) {
mcast             939 drivers/net/wireless/ath/wil6210/txrx.c 		if (mcast) {
mcast             997 drivers/net/wireless/ath/wil6210/txrx.c 		if (mcast)
mcast            2048 drivers/net/wireless/ath/wil6210/txrx.c 	bool mcast = (ring_index == vif->bcast_ring);
mcast            2078 drivers/net/wireless/ath/wil6210/txrx.c 	if (unlikely(mcast)) {
mcast            2563 drivers/net/wireless/ath/wil6210/txrx.c 				   int *mid, u16 *seq, int *mcast, int *retry)
mcast            2571 drivers/net/wireless/ath/wil6210/txrx.c 	*mcast = wil_rxdesc_mcast(d);
mcast             520 drivers/net/wireless/ath/wil6210/txrx_edma.c 					int *mcast, int *retry)
mcast             528 drivers/net/wireless/ath/wil6210/txrx_edma.c 	*mcast = wil_rx_status_get_mcast(s);
mcast             629 drivers/net/wireless/ath/wil6210/wil6210.h 				   int *mid, u16 *seq, int *mcast, int *retry);
mcast            1294 drivers/net/wireless/cisco/airo.c static int RxSeqValid (struct airo_info *ai,miccntx *context,int mcast,u32 micSeq);
mcast            1494 drivers/net/wireless/cisco/airo.c 		int mcast = eth->da[0] & 1;
mcast            1496 drivers/net/wireless/cisco/airo.c 		context = mcast ? &ai->mod[i].mCtx : &ai->mod[i].uCtx;
mcast            1525 drivers/net/wireless/cisco/airo.c 		if (RxSeqValid(ai, context, mcast, micSEQ) == SUCCESS) {
mcast            1558 drivers/net/wireless/cisco/airo.c static int RxSeqValid (struct airo_info *ai,miccntx *context,int mcast,u32 micSeq)
mcast            1565 drivers/net/wireless/cisco/airo.c 	if (mcast) {
mcast            2368 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 				    bool mcast)
mcast            2389 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	if (mcast)
mcast            3197 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 				struct ieee80211_key_conf *key, bool mcast,
mcast            3270 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	if (mcast)
mcast            3412 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 				 bool mcast)
mcast            3442 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		ret = iwl_mvm_send_sta_key(mvm, sta_id, keyconf, mcast,
mcast            3451 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		ret = iwl_mvm_send_sta_key(mvm, sta_id, keyconf, mcast,
mcast            3455 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		ret = iwl_mvm_send_sta_key(mvm, sta_id, keyconf, mcast,
mcast            3468 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	bool mcast = !(keyconf->flags & IEEE80211_KEY_FLAG_PAIRWISE);
mcast            3534 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	ret = __iwl_mvm_set_sta_key(mvm, vif, sta, keyconf, key_offset, mcast);
mcast            3548 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 					    key_offset, !mcast);
mcast            3550 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 			__iwl_mvm_remove_sta_key(mvm, sta_id, keyconf, mcast);
mcast            3569 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	bool mcast = !(keyconf->flags & IEEE80211_KEY_FLAG_PAIRWISE);
mcast            3580 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	else if (!sta && vif->type == NL80211_IFTYPE_AP && mcast)
mcast            3610 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	ret = __iwl_mvm_remove_sta_key(mvm, sta_id, keyconf, mcast);
mcast            3617 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		ret = __iwl_mvm_remove_sta_key(mvm, sta_id, keyconf, !mcast);
mcast            3629 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	bool mcast = !(keyconf->flags & IEEE80211_KEY_FLAG_PAIRWISE);
mcast            3637 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	iwl_mvm_send_sta_key(mvm, mvm_sta->sta_id, keyconf, mcast,
mcast            1302 drivers/net/wireless/intersil/hostap/hostap_ioctl.c 	__le16 enable, mcast;
mcast            1337 drivers/net/wireless/intersil/hostap/hostap_ioctl.c 	if (local->func->get_rid(dev, HFA384X_RID_CNFMULTICASTRECEIVE, &mcast,
mcast            1341 drivers/net/wireless/intersil/hostap/hostap_ioctl.c 	if (le16_to_cpu(mcast))
mcast             673 drivers/net/wireless/intersil/orinoco/wext.c 	u16 enable, period, timeout, mcast;
mcast             695 drivers/net/wireless/intersil/orinoco/wext.c 				  HERMES_RID_CNFMULTICASTRECEIVE, &mcast);
mcast             708 drivers/net/wireless/intersil/orinoco/wext.c 	if (mcast)
mcast            3620 drivers/net/wireless/marvell/mwl8k.c mwl8k_cmd_use_fixed_rate_ap(struct ieee80211_hw *hw, int mcast, int mgmt)
mcast            3632 drivers/net/wireless/marvell/mwl8k.c 	cmd->multicast_rate = mcast;
mcast             721 drivers/net/xen-netback/netback.c 	struct xenvif_mcast_addr *mcast;
mcast             730 drivers/net/xen-netback/netback.c 	mcast = kzalloc(sizeof(*mcast), GFP_ATOMIC);
mcast             731 drivers/net/xen-netback/netback.c 	if (!mcast)
mcast             734 drivers/net/xen-netback/netback.c 	ether_addr_copy(mcast->addr, addr);
mcast             735 drivers/net/xen-netback/netback.c 	list_add_tail_rcu(&mcast->entry, &vif->fe_mcast_addr);
mcast             743 drivers/net/xen-netback/netback.c 	struct xenvif_mcast_addr *mcast;
mcast             745 drivers/net/xen-netback/netback.c 	list_for_each_entry_rcu(mcast, &vif->fe_mcast_addr, entry) {
mcast             746 drivers/net/xen-netback/netback.c 		if (ether_addr_equal(addr, mcast->addr)) {
mcast             748 drivers/net/xen-netback/netback.c 			list_del_rcu(&mcast->entry);
mcast             749 drivers/net/xen-netback/netback.c 			kfree_rcu(mcast, rcu);
mcast             757 drivers/net/xen-netback/netback.c 	struct xenvif_mcast_addr *mcast;
mcast             760 drivers/net/xen-netback/netback.c 	list_for_each_entry_rcu(mcast, &vif->fe_mcast_addr, entry) {
mcast             761 drivers/net/xen-netback/netback.c 		if (ether_addr_equal(addr, mcast->addr)) {
mcast             777 drivers/net/xen-netback/netback.c 		struct xenvif_mcast_addr *mcast;
mcast             779 drivers/net/xen-netback/netback.c 		mcast = list_first_entry(&vif->fe_mcast_addr,
mcast             783 drivers/net/xen-netback/netback.c 		list_del(&mcast->entry);
mcast             784 drivers/net/xen-netback/netback.c 		kfree(mcast);
mcast             853 drivers/net/xen-netback/netback.c 			ret = xenvif_mcast_add(queue->vif, extra->u.mcast.addr);
mcast             867 drivers/net/xen-netback/netback.c 			xenvif_mcast_del(queue->vif, extra->u.mcast.addr);
mcast            4295 drivers/staging/qlge/qlge_main.c 	unsigned long pkts, mcast, dropped, errors, bytes;
mcast            4299 drivers/staging/qlge/qlge_main.c 	pkts = mcast = dropped = errors = bytes = 0;
mcast            4305 drivers/staging/qlge/qlge_main.c 			mcast += rx_ring->rx_multicast;
mcast            4311 drivers/staging/qlge/qlge_main.c 	ndev->stats.multicast = mcast;
mcast             646 drivers/staging/rtl8188eu/core/rtw_recv.c 	bool mcast = is_multicast_ether_addr(pattrib->dst);
mcast             657 drivers/staging/rtl8188eu/core/rtw_recv.c 		if (memcmp(myhwaddr, pattrib->dst, ETH_ALEN) && !mcast) {
mcast             679 drivers/staging/rtl8188eu/core/rtw_recv.c 		if (mcast) {
mcast             698 drivers/staging/rtl8188eu/core/rtw_recv.c 	if (mcast)
mcast             725 drivers/staging/rtl8188eu/core/rtw_recv.c 	bool mcast = is_multicast_ether_addr(pattrib->dst);
mcast             738 drivers/staging/rtl8188eu/core/rtw_recv.c 		if (memcmp(myhwaddr, pattrib->dst, ETH_ALEN) && !mcast) {
mcast             753 drivers/staging/rtl8188eu/core/rtw_recv.c 			if (!mcast) {
mcast             762 drivers/staging/rtl8188eu/core/rtw_recv.c 		if (mcast)
mcast             787 drivers/staging/rtl8188eu/core/rtw_recv.c 		if (!memcmp(myhwaddr, pattrib->dst, ETH_ALEN) && !mcast) {
mcast             398 drivers/staging/rtl8188eu/core/rtw_xmit.c 	bool mcast;
mcast             461 drivers/staging/rtl8188eu/core/rtw_xmit.c 	mcast = is_multicast_ether_addr(pattrib->ra);
mcast             464 drivers/staging/rtl8188eu/core/rtw_xmit.c 	if (mcast) {
mcast             520 drivers/staging/rtl8188eu/core/rtw_xmit.c 		GET_ENCRY_ALGO(psecuritypriv, psta, pattrib->encrypt, mcast);
mcast             529 drivers/staging/rtl8188eu/core/rtw_xmit.c 			if (mcast)
mcast             917 drivers/staging/rtl8188eu/core/rtw_xmit.c 	bool mcast = is_multicast_ether_addr(pattrib->ra);
mcast             967 drivers/staging/rtl8188eu/core/rtw_xmit.c 				if (mcast)
mcast             973 drivers/staging/rtl8188eu/core/rtw_xmit.c 				if (mcast)
mcast            1003 drivers/staging/rtl8188eu/core/rtw_xmit.c 		mem_sz = min_t(size_t, mcast ? pattrib->pktlen : mpdu_len, remainder);
mcast            1016 drivers/staging/rtl8188eu/core/rtw_xmit.c 		if (mcast || remainder == 0) {
mcast            1047 drivers/staging/rtl8188eu/core/rtw_xmit.c 	if (!mcast)
mcast            1641 drivers/staging/rtl8188eu/core/rtw_xmit.c 	bool mcast = is_multicast_ether_addr(pattrib->ra);
mcast            1655 drivers/staging/rtl8188eu/core/rtw_xmit.c 		if (mcast)
mcast            1660 drivers/staging/rtl8188eu/core/rtw_xmit.c 	if (mcast) {
mcast              87 drivers/staging/rtl8188eu/os_dep/recv_linux.c 		bool mcast = is_multicast_ether_addr(pattrib->dst);
mcast              91 drivers/staging/rtl8188eu/os_dep/recv_linux.c 			if (mcast) {
mcast             107 drivers/staging/rtl8188eu/os_dep/recv_linux.c 				if (mcast)
mcast             177 include/linux/qed/qed_eth_if.h 	struct qed_filter_mcast_params mcast;
mcast             876 include/xen/interface/io/netif.h 		} mcast;
mcast             171 net/batman-adv/main.c 	spin_lock_init(&bat_priv->mcast.mla_lock);
mcast             172 net/batman-adv/main.c 	spin_lock_init(&bat_priv->mcast.want_lists_lock);
mcast             183 net/batman-adv/main.c 	INIT_HLIST_HEAD(&bat_priv->mcast.want_all_unsnoopables_list);
mcast             184 net/batman-adv/main.c 	INIT_HLIST_HEAD(&bat_priv->mcast.want_all_ipv4_list);
mcast             185 net/batman-adv/main.c 	INIT_HLIST_HEAD(&bat_priv->mcast.want_all_ipv6_list);
mcast             191 net/batman-adv/main.c 	INIT_HLIST_HEAD(&bat_priv->mcast.mla_list);
mcast              71 net/batman-adv/multicast.c 	queue_delayed_work(batadv_event_workqueue, &bat_priv->mcast.work,
mcast             691 net/batman-adv/multicast.c 	hlist_for_each_entry_safe(mcast_entry, tmp, &bat_priv->mcast.mla_list,
mcast             726 net/batman-adv/multicast.c 						  &bat_priv->mcast.mla_list))
mcast             735 net/batman-adv/multicast.c 		hlist_add_head(&mcast_entry->list, &bat_priv->mcast.mla_list);
mcast             773 net/batman-adv/multicast.c 	else if (!bat_priv->mcast.mla_flags.bridged && !new_state->exists)
mcast             811 net/batman-adv/multicast.c 	struct batadv_mcast_mla_flags *old_flags = &bat_priv->mcast.mla_flags;
mcast             840 net/batman-adv/multicast.c 	bool old_enabled = bat_priv->mcast.mla_flags.enabled;
mcast             841 net/batman-adv/multicast.c 	u8 old_flags = bat_priv->mcast.mla_flags.tvlv_flags;
mcast             875 net/batman-adv/multicast.c 	if (!memcmp(flags, &bat_priv->mcast.mla_flags, sizeof(*flags)))
mcast             887 net/batman-adv/multicast.c 	bat_priv->mcast.mla_flags = *flags;
mcast             919 net/batman-adv/multicast.c 	spin_lock(&bat_priv->mcast.mla_lock);
mcast             923 net/batman-adv/multicast.c 	spin_unlock(&bat_priv->mcast.mla_lock);
mcast             946 net/batman-adv/multicast.c 	bat_priv = container_of(priv_mcast, struct batadv_priv, mcast);
mcast            1139 net/batman-adv/multicast.c 		return atomic_read(&bat_priv->mcast.num_want_all_ipv4);
mcast            1141 net/batman-adv/multicast.c 		return atomic_read(&bat_priv->mcast.num_want_all_ipv6);
mcast            1163 net/batman-adv/multicast.c 		return atomic_read(&bat_priv->mcast.num_want_all_rtr4);
mcast            1165 net/batman-adv/multicast.c 		return atomic_read(&bat_priv->mcast.num_want_all_rtr6);
mcast            1201 net/batman-adv/multicast.c 				 &bat_priv->mcast.want_all_ipv4_list,
mcast            1228 net/batman-adv/multicast.c 				 &bat_priv->mcast.want_all_ipv6_list,
mcast            1279 net/batman-adv/multicast.c 				 &bat_priv->mcast.want_all_unsnoopables_list,
mcast            1306 net/batman-adv/multicast.c 				 &bat_priv->mcast.want_all_rtr4_list,
mcast            1333 net/batman-adv/multicast.c 				 &bat_priv->mcast.want_all_rtr6_list,
mcast            1404 net/batman-adv/multicast.c 			atomic_read(&bat_priv->mcast.num_want_all_unsnoopables);
mcast            1508 net/batman-adv/multicast.c 				 &bat_priv->mcast.want_all_ipv4_list,
mcast            1546 net/batman-adv/multicast.c 				 &bat_priv->mcast.want_all_ipv6_list,
mcast            1613 net/batman-adv/multicast.c 				 &bat_priv->mcast.want_all_rtr4_list,
mcast            1651 net/batman-adv/multicast.c 				 &bat_priv->mcast.want_all_rtr6_list,
mcast            1754 net/batman-adv/multicast.c 	struct hlist_head *head = &bat_priv->mcast.want_all_unsnoopables_list;
mcast            1761 net/batman-adv/multicast.c 		atomic_inc(&bat_priv->mcast.num_want_all_unsnoopables);
mcast            1763 net/batman-adv/multicast.c 		spin_lock_bh(&bat_priv->mcast.want_lists_lock);
mcast            1768 net/batman-adv/multicast.c 		spin_unlock_bh(&bat_priv->mcast.want_lists_lock);
mcast            1772 net/batman-adv/multicast.c 		atomic_dec(&bat_priv->mcast.num_want_all_unsnoopables);
mcast            1774 net/batman-adv/multicast.c 		spin_lock_bh(&bat_priv->mcast.want_lists_lock);
mcast            1779 net/batman-adv/multicast.c 		spin_unlock_bh(&bat_priv->mcast.want_lists_lock);
mcast            1799 net/batman-adv/multicast.c 	struct hlist_head *head = &bat_priv->mcast.want_all_ipv4_list;
mcast            1806 net/batman-adv/multicast.c 		atomic_inc(&bat_priv->mcast.num_want_all_ipv4);
mcast            1808 net/batman-adv/multicast.c 		spin_lock_bh(&bat_priv->mcast.want_lists_lock);
mcast            1813 net/batman-adv/multicast.c 		spin_unlock_bh(&bat_priv->mcast.want_lists_lock);
mcast            1817 net/batman-adv/multicast.c 		atomic_dec(&bat_priv->mcast.num_want_all_ipv4);
mcast            1819 net/batman-adv/multicast.c 		spin_lock_bh(&bat_priv->mcast.want_lists_lock);
mcast            1824 net/batman-adv/multicast.c 		spin_unlock_bh(&bat_priv->mcast.want_lists_lock);
mcast            1844 net/batman-adv/multicast.c 	struct hlist_head *head = &bat_priv->mcast.want_all_ipv6_list;
mcast            1851 net/batman-adv/multicast.c 		atomic_inc(&bat_priv->mcast.num_want_all_ipv6);
mcast            1853 net/batman-adv/multicast.c 		spin_lock_bh(&bat_priv->mcast.want_lists_lock);
mcast            1858 net/batman-adv/multicast.c 		spin_unlock_bh(&bat_priv->mcast.want_lists_lock);
mcast            1862 net/batman-adv/multicast.c 		atomic_dec(&bat_priv->mcast.num_want_all_ipv6);
mcast            1864 net/batman-adv/multicast.c 		spin_lock_bh(&bat_priv->mcast.want_lists_lock);
mcast            1869 net/batman-adv/multicast.c 		spin_unlock_bh(&bat_priv->mcast.want_lists_lock);
mcast            1889 net/batman-adv/multicast.c 	struct hlist_head *head = &bat_priv->mcast.want_all_rtr4_list;
mcast            1896 net/batman-adv/multicast.c 		atomic_inc(&bat_priv->mcast.num_want_all_rtr4);
mcast            1898 net/batman-adv/multicast.c 		spin_lock_bh(&bat_priv->mcast.want_lists_lock);
mcast            1903 net/batman-adv/multicast.c 		spin_unlock_bh(&bat_priv->mcast.want_lists_lock);
mcast            1907 net/batman-adv/multicast.c 		atomic_dec(&bat_priv->mcast.num_want_all_rtr4);
mcast            1909 net/batman-adv/multicast.c 		spin_lock_bh(&bat_priv->mcast.want_lists_lock);
mcast            1914 net/batman-adv/multicast.c 		spin_unlock_bh(&bat_priv->mcast.want_lists_lock);
mcast            1934 net/batman-adv/multicast.c 	struct hlist_head *head = &bat_priv->mcast.want_all_rtr6_list;
mcast            1941 net/batman-adv/multicast.c 		atomic_inc(&bat_priv->mcast.num_want_all_rtr6);
mcast            1943 net/batman-adv/multicast.c 		spin_lock_bh(&bat_priv->mcast.want_lists_lock);
mcast            1948 net/batman-adv/multicast.c 		spin_unlock_bh(&bat_priv->mcast.want_lists_lock);
mcast            1952 net/batman-adv/multicast.c 		atomic_dec(&bat_priv->mcast.num_want_all_rtr6);
mcast            1954 net/batman-adv/multicast.c 		spin_lock_bh(&bat_priv->mcast.want_lists_lock);
mcast            1959 net/batman-adv/multicast.c 		spin_unlock_bh(&bat_priv->mcast.want_lists_lock);
mcast            2046 net/batman-adv/multicast.c 	INIT_DELAYED_WORK(&bat_priv->mcast.work, batadv_mcast_mla_update);
mcast            2063 net/batman-adv/multicast.c 	struct batadv_mcast_mla_flags *mla_flags = &bat_priv->mcast.mla_flags;
mcast            2170 net/batman-adv/multicast.c 	u32 flags = bat_priv->mcast.mla_flags.tvlv_flags;
mcast            2173 net/batman-adv/multicast.c 	if (bat_priv->mcast.mla_flags.bridged) {
mcast            2176 net/batman-adv/multicast.c 		if (bat_priv->mcast.mla_flags.querier_ipv4.exists)
mcast            2178 net/batman-adv/multicast.c 		if (bat_priv->mcast.mla_flags.querier_ipv6.exists)
mcast            2180 net/batman-adv/multicast.c 		if (bat_priv->mcast.mla_flags.querier_ipv4.shadowing)
mcast            2182 net/batman-adv/multicast.c 		if (bat_priv->mcast.mla_flags.querier_ipv6.shadowing)
mcast            2401 net/batman-adv/multicast.c 	cancel_delayed_work_sync(&bat_priv->mcast.work);
mcast             777 net/batman-adv/soft-interface.c 	atomic_set(&bat_priv->mcast.num_want_all_unsnoopables, 0);
mcast             778 net/batman-adv/soft-interface.c 	atomic_set(&bat_priv->mcast.num_want_all_ipv4, 0);
mcast             779 net/batman-adv/soft-interface.c 	atomic_set(&bat_priv->mcast.num_want_all_ipv6, 0);
mcast            1749 net/batman-adv/types.h 	struct batadv_priv_mcast mcast;