mreq 69 arch/um/drivers/umcast_user.c struct ip_mreq mreq; mreq 124 arch/um/drivers/umcast_user.c mreq.imr_multiaddr.s_addr = lsin->sin_addr.s_addr; mreq 125 arch/um/drivers/umcast_user.c mreq.imr_interface.s_addr = 0; mreq 127 arch/um/drivers/umcast_user.c &mreq, sizeof(mreq)) < 0) { mreq 153 arch/um/drivers/umcast_user.c struct ip_mreq mreq; mreq 156 arch/um/drivers/umcast_user.c mreq.imr_multiaddr.s_addr = lsin->sin_addr.s_addr; mreq 157 arch/um/drivers/umcast_user.c mreq.imr_interface.s_addr = 0; mreq 159 arch/um/drivers/umcast_user.c &mreq, sizeof(mreq)) < 0) { mreq 1453 drivers/net/vxlan.c struct ip_mreqn mreq = { mreq 1460 drivers/net/vxlan.c ret = ip_mc_join_group(sk, &mreq); mreq 1487 drivers/net/vxlan.c struct ip_mreqn mreq = { mreq 1494 drivers/net/vxlan.c ret = ip_mc_leave_group(sk, &mreq); mreq 5074 drivers/scsi/qla2xxx/qla_mbx.c qla2x00_loopback_test(scsi_qla_host_t *vha, struct msg_echo_lb *mreq, mreq 5086 drivers/scsi/qla2xxx/qla_mbx.c mcp->mb[1] = mreq->options | BIT_6; // BIT_6 specifies 64 bit addressing mreq 5089 drivers/scsi/qla2xxx/qla_mbx.c mcp->mb[10] = LSW(mreq->transfer_size); mreq 5090 drivers/scsi/qla2xxx/qla_mbx.c mcp->mb[11] = MSW(mreq->transfer_size); mreq 5093 drivers/scsi/qla2xxx/qla_mbx.c mcp->mb[14] = LSW(mreq->send_dma); mreq 5094 drivers/scsi/qla2xxx/qla_mbx.c mcp->mb[15] = MSW(mreq->send_dma); mreq 5095 drivers/scsi/qla2xxx/qla_mbx.c mcp->mb[20] = LSW(MSD(mreq->send_dma)); mreq 5096 drivers/scsi/qla2xxx/qla_mbx.c mcp->mb[21] = MSW(MSD(mreq->send_dma)); mreq 5099 drivers/scsi/qla2xxx/qla_mbx.c mcp->mb[16] = LSW(mreq->rcv_dma); mreq 5100 drivers/scsi/qla2xxx/qla_mbx.c mcp->mb[17] = MSW(mreq->rcv_dma); mreq 5101 drivers/scsi/qla2xxx/qla_mbx.c mcp->mb[6] = LSW(MSD(mreq->rcv_dma)); mreq 5102 drivers/scsi/qla2xxx/qla_mbx.c mcp->mb[7] = MSW(MSD(mreq->rcv_dma)); mreq 5105 drivers/scsi/qla2xxx/qla_mbx.c mcp->mb[18] = LSW(mreq->iteration_count); mreq 5106 drivers/scsi/qla2xxx/qla_mbx.c mcp->mb[19] = MSW(mreq->iteration_count); mreq 5114 drivers/scsi/qla2xxx/qla_mbx.c mcp->buf_size = mreq->transfer_size; mreq 5136 drivers/scsi/qla2xxx/qla_mbx.c qla2x00_echo_test(scsi_qla_host_t *vha, struct msg_echo_lb *mreq, mreq 5150 drivers/scsi/qla2xxx/qla_mbx.c mcp->mb[1] = mreq->options | BIT_15 | BIT_6; mreq 5154 drivers/scsi/qla2xxx/qla_mbx.c mcp->mb[16] = LSW(mreq->rcv_dma); mreq 5155 drivers/scsi/qla2xxx/qla_mbx.c mcp->mb[17] = MSW(mreq->rcv_dma); mreq 5156 drivers/scsi/qla2xxx/qla_mbx.c mcp->mb[6] = LSW(MSD(mreq->rcv_dma)); mreq 5157 drivers/scsi/qla2xxx/qla_mbx.c mcp->mb[7] = MSW(MSD(mreq->rcv_dma)); mreq 5159 drivers/scsi/qla2xxx/qla_mbx.c mcp->mb[10] = LSW(mreq->transfer_size); mreq 5161 drivers/scsi/qla2xxx/qla_mbx.c mcp->mb[14] = LSW(mreq->send_dma); mreq 5162 drivers/scsi/qla2xxx/qla_mbx.c mcp->mb[15] = MSW(mreq->send_dma); mreq 5163 drivers/scsi/qla2xxx/qla_mbx.c mcp->mb[20] = LSW(MSD(mreq->send_dma)); mreq 5164 drivers/scsi/qla2xxx/qla_mbx.c mcp->mb[21] = MSW(MSD(mreq->send_dma)); mreq 5180 drivers/scsi/qla2xxx/qla_mbx.c mcp->buf_size = mreq->transfer_size; mreq 18 drivers/usb/mtu3/mtu3_gadget.c struct mtu3_request *mreq; mreq 22 drivers/usb/mtu3/mtu3_gadget.c mreq = to_mtu3_request(req); mreq 23 drivers/usb/mtu3/mtu3_gadget.c list_del(&mreq->list); mreq 24 drivers/usb/mtu3/mtu3_gadget.c if (mreq->request.status == -EINPROGRESS) mreq 25 drivers/usb/mtu3/mtu3_gadget.c mreq->request.status = status; mreq 27 drivers/usb/mtu3/mtu3_gadget.c mtu = mreq->mtu; mreq 30 drivers/usb/mtu3/mtu3_gadget.c trace_mtu3_req_complete(mreq); mreq 38 drivers/usb/mtu3/mtu3_gadget.c req, req->status, mreq->request.actual, mreq->request.length); mreq 40 drivers/usb/mtu3/mtu3_gadget.c usb_gadget_giveback_request(&mep->ep, &mreq->request); mreq 48 drivers/usb/mtu3/mtu3_gadget.c struct mtu3_request *mreq = NULL; mreq 61 drivers/usb/mtu3/mtu3_gadget.c mreq = list_first_entry(&mep->req_list, mreq 63 drivers/usb/mtu3/mtu3_gadget.c mtu3_req_complete(mep, &mreq->request, status); mreq 241 drivers/usb/mtu3/mtu3_gadget.c struct mtu3_request *mreq; mreq 243 drivers/usb/mtu3/mtu3_gadget.c mreq = kzalloc(sizeof(*mreq), gfp_flags); mreq 244 drivers/usb/mtu3/mtu3_gadget.c if (!mreq) mreq 247 drivers/usb/mtu3/mtu3_gadget.c mreq->request.dma = DMA_ADDR_INVALID; mreq 248 drivers/usb/mtu3/mtu3_gadget.c mreq->epnum = mep->epnum; mreq 249 drivers/usb/mtu3/mtu3_gadget.c mreq->mep = mep; mreq 250 drivers/usb/mtu3/mtu3_gadget.c trace_mtu3_alloc_request(mreq); mreq 252 drivers/usb/mtu3/mtu3_gadget.c return &mreq->request; mreq 257 drivers/usb/mtu3/mtu3_gadget.c struct mtu3_request *mreq = to_mtu3_request(req); mreq 259 drivers/usb/mtu3/mtu3_gadget.c trace_mtu3_free_request(mreq); mreq 260 drivers/usb/mtu3/mtu3_gadget.c kfree(mreq); mreq 267 drivers/usb/mtu3/mtu3_gadget.c struct mtu3_request *mreq; mreq 280 drivers/usb/mtu3/mtu3_gadget.c mreq = to_mtu3_request(req); mreq 281 drivers/usb/mtu3/mtu3_gadget.c mreq->mtu = mtu; mreq 283 drivers/usb/mtu3/mtu3_gadget.c if (mreq->mep != mep) mreq 287 drivers/usb/mtu3/mtu3_gadget.c __func__, mep->is_in ? "TX" : "RX", mreq->epnum, ep->name, mreq 288 drivers/usb/mtu3/mtu3_gadget.c mreq, ep->maxpacket, mreq->request.length); mreq 306 drivers/usb/mtu3/mtu3_gadget.c mreq->request.actual = 0; mreq 307 drivers/usb/mtu3/mtu3_gadget.c mreq->request.status = -EINPROGRESS; mreq 322 drivers/usb/mtu3/mtu3_gadget.c list_add_tail(&mreq->list, &mep->req_list); mreq 323 drivers/usb/mtu3/mtu3_gadget.c mtu3_insert_gpd(mep, mreq); mreq 328 drivers/usb/mtu3/mtu3_gadget.c trace_mtu3_gadget_queue(mreq); mreq 336 drivers/usb/mtu3/mtu3_gadget.c struct mtu3_request *mreq = to_mtu3_request(req); mreq 342 drivers/usb/mtu3/mtu3_gadget.c if (!ep || !req || mreq->mep != mep) mreq 346 drivers/usb/mtu3/mtu3_gadget.c trace_mtu3_gadget_dequeue(mreq); mreq 351 drivers/usb/mtu3/mtu3_gadget.c if (r == mreq) mreq 354 drivers/usb/mtu3/mtu3_gadget.c if (r != mreq) { mreq 378 drivers/usb/mtu3/mtu3_gadget.c struct mtu3_request *mreq; mreq 394 drivers/usb/mtu3/mtu3_gadget.c mreq = next_request(mep); mreq 401 drivers/usb/mtu3/mtu3_gadget.c if (mreq) { mreq 156 drivers/usb/mtu3/mtu3_gadget_ep0.c static int ep0_queue(struct mtu3_ep *mep0, struct mtu3_request *mreq); mreq 163 drivers/usb/mtu3/mtu3_gadget_ep0.c struct mtu3_request *mreq; mreq 169 drivers/usb/mtu3/mtu3_gadget_ep0.c mreq = to_mtu3_request(req); mreq 170 drivers/usb/mtu3/mtu3_gadget_ep0.c mtu = mreq->mtu; mreq 503 drivers/usb/mtu3/mtu3_gadget_ep0.c struct mtu3_request *mreq; mreq 513 drivers/usb/mtu3/mtu3_gadget_ep0.c mreq = next_ep0_request(mtu); mreq 514 drivers/usb/mtu3/mtu3_gadget_ep0.c req = &mreq->request; mreq 557 drivers/usb/mtu3/mtu3_gadget_ep0.c struct mtu3_request *mreq = next_ep0_request(mtu); mreq 566 drivers/usb/mtu3/mtu3_gadget_ep0.c if (!mreq) mreq 570 drivers/usb/mtu3/mtu3_gadget_ep0.c req = &mreq->request; mreq 597 drivers/usb/mtu3/mtu3_gadget_ep0.c struct mtu3_request *mreq; mreq 612 drivers/usb/mtu3/mtu3_gadget_ep0.c mreq = next_ep0_request(mtu); mreq 613 drivers/usb/mtu3/mtu3_gadget_ep0.c if (mreq) mreq 614 drivers/usb/mtu3/mtu3_gadget_ep0.c ep0_req_giveback(mtu, &mreq->request); mreq 634 drivers/usb/mtu3/mtu3_gadget_ep0.c struct mtu3_request *mreq; mreq 676 drivers/usb/mtu3/mtu3_gadget_ep0.c mreq = next_ep0_request(mtu); mreq 677 drivers/usb/mtu3/mtu3_gadget_ep0.c if (mreq && !mreq->request.length) mreq 678 drivers/usb/mtu3/mtu3_gadget_ep0.c ep0_req_giveback(mtu, &mreq->request); mreq 687 drivers/usb/mtu3/mtu3_gadget_ep0.c struct mtu3_request *mreq; mreq 737 drivers/usb/mtu3/mtu3_gadget_ep0.c mreq = next_ep0_request(mtu); mreq 738 drivers/usb/mtu3/mtu3_gadget_ep0.c if (mreq) mreq 739 drivers/usb/mtu3/mtu3_gadget_ep0.c ep0_req_giveback(mtu, &mreq->request); mreq 782 drivers/usb/mtu3/mtu3_gadget_ep0.c static int ep0_queue(struct mtu3_ep *mep, struct mtu3_request *mreq) mreq 786 drivers/usb/mtu3/mtu3_gadget_ep0.c mreq->mtu = mtu; mreq 787 drivers/usb/mtu3/mtu3_gadget_ep0.c mreq->request.actual = 0; mreq 788 drivers/usb/mtu3/mtu3_gadget_ep0.c mreq->request.status = -EINPROGRESS; mreq 791 drivers/usb/mtu3/mtu3_gadget_ep0.c mep->name, decode_ep0_state(mtu), mreq->request.length); mreq 818 drivers/usb/mtu3/mtu3_gadget_ep0.c list_add_tail(&mreq->list, &mep->req_list); mreq 831 drivers/usb/mtu3/mtu3_gadget_ep0.c struct mtu3_request *mreq; mreq 841 drivers/usb/mtu3/mtu3_gadget_ep0.c mreq = to_mtu3_request(req); mreq 844 drivers/usb/mtu3/mtu3_gadget_ep0.c ret = ep0_queue(mep, mreq); mreq 243 drivers/usb/mtu3/mtu3_qmu.c static int mtu3_prepare_tx_gpd(struct mtu3_ep *mep, struct mtu3_request *mreq) mreq 248 drivers/usb/mtu3/mtu3_qmu.c struct usb_request *req = &mreq->request; mreq 278 drivers/usb/mtu3/mtu3_qmu.c mreq->gpd = gpd; mreq 284 drivers/usb/mtu3/mtu3_qmu.c static int mtu3_prepare_rx_gpd(struct mtu3_ep *mep, struct mtu3_request *mreq) mreq 289 drivers/usb/mtu3/mtu3_qmu.c struct usb_request *req = &mreq->request; mreq 311 drivers/usb/mtu3/mtu3_qmu.c mreq->gpd = gpd; mreq 317 drivers/usb/mtu3/mtu3_qmu.c void mtu3_insert_gpd(struct mtu3_ep *mep, struct mtu3_request *mreq) mreq 321 drivers/usb/mtu3/mtu3_qmu.c mtu3_prepare_tx_gpd(mep, mreq); mreq 323 drivers/usb/mtu3/mtu3_qmu.c mtu3_prepare_rx_gpd(mep, mreq); mreq 419 drivers/usb/mtu3/mtu3_qmu.c struct mtu3_request *mreq; mreq 424 drivers/usb/mtu3/mtu3_qmu.c mreq = next_request(mep); mreq 425 drivers/usb/mtu3/mtu3_qmu.c if (mreq && mreq->request.length != 0) mreq 436 drivers/usb/mtu3/mtu3_qmu.c dev_dbg(mtu->dev, "%s send ZLP for req=%p\n", __func__, mreq); mreq 472 drivers/usb/mtu3/mtu3_qmu.c struct mtu3_request *mreq; mreq 484 drivers/usb/mtu3/mtu3_qmu.c mreq = next_request(mep); mreq 486 drivers/usb/mtu3/mtu3_qmu.c if (mreq == NULL || mreq->gpd != gpd) { mreq 491 drivers/usb/mtu3/mtu3_qmu.c request = &mreq->request; mreq 512 drivers/usb/mtu3/mtu3_qmu.c struct mtu3_request *mreq; mreq 523 drivers/usb/mtu3/mtu3_qmu.c mreq = next_request(mep); mreq 525 drivers/usb/mtu3/mtu3_qmu.c if (mreq == NULL || mreq->gpd != gpd) { mreq 529 drivers/usb/mtu3/mtu3_qmu.c req = &mreq->request; mreq 25 drivers/usb/mtu3/mtu3_qmu.h void mtu3_insert_gpd(struct mtu3_ep *mep, struct mtu3_request *mreq); mreq 119 drivers/usb/mtu3/mtu3_trace.h TP_PROTO(struct mtu3_request *mreq), mreq 120 drivers/usb/mtu3/mtu3_trace.h TP_ARGS(mreq), mreq 122 drivers/usb/mtu3/mtu3_trace.h __string(name, mreq->mep->name) mreq 123 drivers/usb/mtu3/mtu3_trace.h __field(struct mtu3_request *, mreq) mreq 132 drivers/usb/mtu3/mtu3_trace.h __assign_str(name, mreq->mep->name); mreq 133 drivers/usb/mtu3/mtu3_trace.h __entry->mreq = mreq; mreq 134 drivers/usb/mtu3/mtu3_trace.h __entry->gpd = mreq->gpd; mreq 135 drivers/usb/mtu3/mtu3_trace.h __entry->actual = mreq->request.actual; mreq 136 drivers/usb/mtu3/mtu3_trace.h __entry->length = mreq->request.length; mreq 137 drivers/usb/mtu3/mtu3_trace.h __entry->status = mreq->request.status; mreq 138 drivers/usb/mtu3/mtu3_trace.h __entry->zero = mreq->request.zero; mreq 139 drivers/usb/mtu3/mtu3_trace.h __entry->no_interrupt = mreq->request.no_interrupt; mreq 142 drivers/usb/mtu3/mtu3_trace.h __get_str(name), __entry->mreq, __entry->gpd, mreq 622 net/ipv4/devinet.c struct ip_mreqn mreq = { mreq 633 net/ipv4/devinet.c ret = ip_mc_join_group(sk, &mreq); mreq 635 net/ipv4/devinet.c ret = ip_mc_leave_group(sk, &mreq); mreq 841 net/ipv4/ip_sockglue.c struct ip_mreqn mreq; mreq 856 net/ipv4/ip_sockglue.c if (copy_from_user(&mreq, optval, sizeof(mreq))) mreq 859 net/ipv4/ip_sockglue.c memset(&mreq, 0, sizeof(mreq)); mreq 861 net/ipv4/ip_sockglue.c if (copy_from_user(&mreq, optval, mreq 865 net/ipv4/ip_sockglue.c if (copy_from_user(&mreq.imr_address, optval, mreq 871 net/ipv4/ip_sockglue.c if (!mreq.imr_ifindex) { mreq 872 net/ipv4/ip_sockglue.c if (mreq.imr_address.s_addr == htonl(INADDR_ANY)) { mreq 878 net/ipv4/ip_sockglue.c dev = ip_dev_find(sock_net(sk), mreq.imr_address.s_addr); mreq 880 net/ipv4/ip_sockglue.c mreq.imr_ifindex = dev->ifindex; mreq 882 net/ipv4/ip_sockglue.c dev = dev_get_by_index(sock_net(sk), mreq.imr_ifindex); mreq 895 net/ipv4/ip_sockglue.c mreq.imr_ifindex != sk->sk_bound_dev_if && mreq 899 net/ipv4/ip_sockglue.c inet->mc_index = mreq.imr_ifindex; mreq 900 net/ipv4/ip_sockglue.c inet->mc_addr = mreq.imr_address.s_addr; mreq 908 net/ipv4/ip_sockglue.c struct ip_mreqn mreq; mreq 918 net/ipv4/ip_sockglue.c if (copy_from_user(&mreq, optval, sizeof(mreq))) mreq 921 net/ipv4/ip_sockglue.c memset(&mreq, 0, sizeof(mreq)); mreq 922 net/ipv4/ip_sockglue.c if (copy_from_user(&mreq, optval, sizeof(struct ip_mreq))) mreq 927 net/ipv4/ip_sockglue.c err = ip_mc_join_group(sk, &mreq); mreq 929 net/ipv4/ip_sockglue.c err = ip_mc_leave_group(sk, &mreq); mreq 984 net/ipv4/ip_sockglue.c struct ip_mreqn mreq; mreq 986 net/ipv4/ip_sockglue.c mreq.imr_multiaddr.s_addr = mreqs.imr_multiaddr; mreq 987 net/ipv4/ip_sockglue.c mreq.imr_address.s_addr = mreqs.imr_interface; mreq 988 net/ipv4/ip_sockglue.c mreq.imr_ifindex = 0; mreq 989 net/ipv4/ip_sockglue.c err = ip_mc_join_group_ssm(sk, &mreq, MCAST_INCLUDE); mreq 1006 net/ipv4/ip_sockglue.c struct ip_mreqn mreq; mreq 1016 net/ipv4/ip_sockglue.c memset(&mreq, 0, sizeof(mreq)); mreq 1017 net/ipv4/ip_sockglue.c mreq.imr_multiaddr = psin->sin_addr; mreq 1018 net/ipv4/ip_sockglue.c mreq.imr_ifindex = greq.gr_interface; mreq 1021 net/ipv4/ip_sockglue.c err = ip_mc_join_group(sk, &mreq); mreq 1023 net/ipv4/ip_sockglue.c err = ip_mc_leave_group(sk, &mreq); mreq 1060 net/ipv4/ip_sockglue.c struct ip_mreqn mreq; mreq 1063 net/ipv4/ip_sockglue.c mreq.imr_multiaddr = psin->sin_addr; mreq 1064 net/ipv4/ip_sockglue.c mreq.imr_address.s_addr = 0; mreq 1065 net/ipv4/ip_sockglue.c mreq.imr_ifindex = greqs.gsr_interface; mreq 1066 net/ipv4/ip_sockglue.c err = ip_mc_join_group_ssm(sk, &mreq, MCAST_INCLUDE); mreq 1069 net/ipv4/ip_sockglue.c greqs.gsr_interface = mreq.imr_ifindex; mreq 644 net/ipv6/ipv6_sockglue.c struct ipv6_mreq mreq; mreq 654 net/ipv6/ipv6_sockglue.c if (copy_from_user(&mreq, optval, sizeof(struct ipv6_mreq))) mreq 658 net/ipv6/ipv6_sockglue.c retv = ipv6_sock_mc_join(sk, mreq.ipv6mr_ifindex, &mreq.ipv6mr_multiaddr); mreq 660 net/ipv6/ipv6_sockglue.c retv = ipv6_sock_mc_drop(sk, mreq.ipv6mr_ifindex, &mreq.ipv6mr_multiaddr); mreq 666 net/ipv6/ipv6_sockglue.c struct ipv6_mreq mreq; mreq 672 net/ipv6/ipv6_sockglue.c if (copy_from_user(&mreq, optval, sizeof(struct ipv6_mreq))) mreq 676 net/ipv6/ipv6_sockglue.c retv = ipv6_sock_ac_join(sk, mreq.ipv6mr_ifindex, &mreq.ipv6mr_acaddr); mreq 678 net/ipv6/ipv6_sockglue.c retv = ipv6_sock_ac_drop(sk, mreq.ipv6mr_ifindex, &mreq.ipv6mr_acaddr); mreq 1394 net/netfilter/ipvs/ip_vs_sync.c struct ip_mreqn mreq; mreq 1397 net/netfilter/ipvs/ip_vs_sync.c memset(&mreq, 0, sizeof(mreq)); mreq 1398 net/netfilter/ipvs/ip_vs_sync.c memcpy(&mreq.imr_multiaddr, addr, sizeof(struct in_addr)); mreq 1403 net/netfilter/ipvs/ip_vs_sync.c mreq.imr_ifindex = dev->ifindex; mreq 1406 net/netfilter/ipvs/ip_vs_sync.c ret = ip_mc_join_group(sk, &mreq); mreq 3551 net/packet/af_packet.c static int packet_mc_add(struct sock *sk, struct packet_mreq_max *mreq) mreq 3561 net/packet/af_packet.c dev = __dev_get_by_index(sock_net(sk), mreq->mr_ifindex); mreq 3566 net/packet/af_packet.c if (mreq->mr_alen > dev->addr_len) mreq 3576 net/packet/af_packet.c if (ml->ifindex == mreq->mr_ifindex && mreq 3577 net/packet/af_packet.c ml->type == mreq->mr_type && mreq 3578 net/packet/af_packet.c ml->alen == mreq->mr_alen && mreq 3579 net/packet/af_packet.c memcmp(ml->addr, mreq->mr_address, ml->alen) == 0) { mreq 3587 net/packet/af_packet.c i->type = mreq->mr_type; mreq 3588 net/packet/af_packet.c i->ifindex = mreq->mr_ifindex; mreq 3589 net/packet/af_packet.c i->alen = mreq->mr_alen; mreq 3590 net/packet/af_packet.c memcpy(i->addr, mreq->mr_address, i->alen); mreq 3606 net/packet/af_packet.c static int packet_mc_drop(struct sock *sk, struct packet_mreq_max *mreq) mreq 3613 net/packet/af_packet.c if (ml->ifindex == mreq->mr_ifindex && mreq 3614 net/packet/af_packet.c ml->type == mreq->mr_type && mreq 3615 net/packet/af_packet.c ml->alen == mreq->mr_alen && mreq 3616 net/packet/af_packet.c memcmp(ml->addr, mreq->mr_address, ml->alen) == 0) { mreq 3667 net/packet/af_packet.c struct packet_mreq_max mreq; mreq 3669 net/packet/af_packet.c memset(&mreq, 0, sizeof(mreq)); mreq 3672 net/packet/af_packet.c if (len > sizeof(mreq)) mreq 3673 net/packet/af_packet.c len = sizeof(mreq); mreq 3674 net/packet/af_packet.c if (copy_from_user(&mreq, optval, len)) mreq 3676 net/packet/af_packet.c if (len < (mreq.mr_alen + offsetof(struct packet_mreq, mr_address))) mreq 3679 net/packet/af_packet.c ret = packet_mc_add(sk, &mreq); mreq 3681 net/packet/af_packet.c ret = packet_mc_drop(sk, &mreq); mreq 163 net/tipc/group.c struct tipc_group_req *mreq, mreq 167 net/tipc/group.c bool global = mreq->scope != TIPC_NODE_SCOPE; mreq 169 net/tipc/group.c u32 type = mreq->type; mreq 182 net/tipc/group.c grp->instance = mreq->instance; mreq 183 net/tipc/group.c grp->scope = mreq->scope; mreq 184 net/tipc/group.c grp->loopback = mreq->flags & TIPC_GROUP_LOOPBACK; mreq 185 net/tipc/group.c grp->events = mreq->flags & TIPC_GROUP_MEMBER_EVTS; mreq 46 net/tipc/group.h struct tipc_group_req *mreq, mreq 2883 net/tipc/socket.c static int tipc_sk_join(struct tipc_sock *tsk, struct tipc_group_req *mreq) mreq 2891 net/tipc/socket.c if (mreq->type < TIPC_RESERVED_TYPES) mreq 2893 net/tipc/socket.c if (mreq->scope > TIPC_NODE_SCOPE) mreq 2897 net/tipc/socket.c grp = tipc_group_create(net, tsk->portid, mreq, &tsk->group_is_open); mreq 2901 net/tipc/socket.c msg_set_lookup_scope(hdr, mreq->scope); mreq 2902 net/tipc/socket.c msg_set_nametype(hdr, mreq->type); mreq 2904 net/tipc/socket.c seq.type = mreq->type; mreq 2905 net/tipc/socket.c seq.lower = mreq->instance; mreq 2907 net/tipc/socket.c tipc_nametbl_build_group(net, grp, mreq->type, mreq->scope); mreq 2908 net/tipc/socket.c rc = tipc_sk_publish(tsk, mreq->scope, &seq); mreq 2955 net/tipc/socket.c struct tipc_group_req mreq; mreq 2975 net/tipc/socket.c if (ol < sizeof(mreq)) mreq 2977 net/tipc/socket.c if (copy_from_user(&mreq, ov, sizeof(mreq))) mreq 3012 net/tipc/socket.c res = tipc_sk_join(tsk, &mreq); mreq 412 tools/testing/selftests/net/nettest.c struct ip_mreqn mreq = { .imr_ifindex = ifindex }; mreq 415 tools/testing/selftests/net/nettest.c rc = setsockopt(sd, SOL_IP, IP_MULTICAST_IF, &mreq, sizeof(mreq)); mreq 425 tools/testing/selftests/net/nettest.c struct ip_mreqn mreq; mreq 433 tools/testing/selftests/net/nettest.c mreq.imr_multiaddr.s_addr = grp; mreq 434 tools/testing/selftests/net/nettest.c mreq.imr_address.s_addr = if_addr; mreq 435 tools/testing/selftests/net/nettest.c mreq.imr_ifindex = ifindex; mreq 437 tools/testing/selftests/net/nettest.c rc = setsockopt(sd, IPPROTO_IP, IP_ADD_MEMBERSHIP, &mreq, sizeof(mreq));