/kernel/linux/linux-5.10/drivers/usb/mtu3/ |
D | mtu3_gadget.c | 18 struct mtu3_request *mreq = to_mtu3_request(req); in mtu3_req_complete() local 19 struct mtu3 *mtu = mreq->mtu; in mtu3_req_complete() 21 list_del(&mreq->list); in mtu3_req_complete() 25 trace_mtu3_req_complete(mreq); in mtu3_req_complete() 41 struct mtu3_request *mreq = NULL; in nuke() local 53 mreq = list_first_entry(&mep->req_list, in nuke() 55 mtu3_req_complete(mep, &mreq->request, status); in nuke() 236 struct mtu3_request *mreq; in mtu3_alloc_request() local 238 mreq = kzalloc(sizeof(*mreq), gfp_flags); in mtu3_alloc_request() 239 if (!mreq) in mtu3_alloc_request() [all …]
|
D | mtu3_gadget_ep0.c | 165 static int ep0_queue(struct mtu3_ep *mep0, struct mtu3_request *mreq); 172 struct mtu3_request *mreq; in ep0_set_sel_complete() local 178 mreq = to_mtu3_request(req); in ep0_set_sel_complete() 179 mtu = mreq->mtu; in ep0_set_sel_complete() 511 struct mtu3_request *mreq; in ep0_rx_state() local 521 mreq = next_ep0_request(mtu); in ep0_rx_state() 522 req = &mreq->request; in ep0_rx_state() 565 struct mtu3_request *mreq = next_ep0_request(mtu); in ep0_tx_state() local 574 if (!mreq) in ep0_tx_state() 578 req = &mreq->request; in ep0_tx_state() [all …]
|
D | mtu3_trace.h | 119 TP_PROTO(struct mtu3_request *mreq), 120 TP_ARGS(mreq), 122 __string(name, mreq->mep->name) 123 __field(struct mtu3_request *, mreq) 132 __assign_str(name, mreq->mep->name); 133 __entry->mreq = mreq; 134 __entry->gpd = mreq->gpd; 135 __entry->actual = mreq->request.actual; 136 __entry->length = mreq->request.length; 137 __entry->status = mreq->request.status; [all …]
|
D | mtu3_qmu.c | 243 static int mtu3_prepare_tx_gpd(struct mtu3_ep *mep, struct mtu3_request *mreq) in mtu3_prepare_tx_gpd() argument 248 struct usb_request *req = &mreq->request; in mtu3_prepare_tx_gpd() 280 mreq->gpd = gpd; in mtu3_prepare_tx_gpd() 286 static int mtu3_prepare_rx_gpd(struct mtu3_ep *mep, struct mtu3_request *mreq) in mtu3_prepare_rx_gpd() argument 291 struct usb_request *req = &mreq->request; in mtu3_prepare_rx_gpd() 315 mreq->gpd = gpd; in mtu3_prepare_rx_gpd() 321 void mtu3_insert_gpd(struct mtu3_ep *mep, struct mtu3_request *mreq) in mtu3_insert_gpd() argument 325 mtu3_prepare_tx_gpd(mep, mreq); in mtu3_insert_gpd() 327 mtu3_prepare_rx_gpd(mep, mreq); in mtu3_insert_gpd() 423 struct mtu3_request *mreq; in qmu_tx_zlp_error_handler() local [all …]
|
D | mtu3_qmu.h | 25 void mtu3_insert_gpd(struct mtu3_ep *mep, struct mtu3_request *mreq);
|
/kernel/linux/linux-5.10/arch/um/drivers/ |
D | umcast_user.c | 69 struct ip_mreq mreq; in umcast_open() local 124 mreq.imr_multiaddr.s_addr = lsin->sin_addr.s_addr; in umcast_open() 125 mreq.imr_interface.s_addr = 0; in umcast_open() 127 &mreq, sizeof(mreq)) < 0) { in umcast_open() 153 struct ip_mreq mreq; in umcast_close() local 156 mreq.imr_multiaddr.s_addr = lsin->sin_addr.s_addr; in umcast_close() 157 mreq.imr_interface.s_addr = 0; in umcast_close() 159 &mreq, sizeof(mreq)) < 0) { in umcast_close()
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | ip_sockglue.c | 750 struct ip_mreqn mreq; in do_mcast_group_source() local 753 mreq.imr_multiaddr = psin->sin_addr; in do_mcast_group_source() 754 mreq.imr_address.s_addr = 0; in do_mcast_group_source() 755 mreq.imr_ifindex = greqs.gsr_interface; in do_mcast_group_source() 756 err = ip_mc_join_group_ssm(sk, &mreq, MCAST_INCLUDE); in do_mcast_group_source() 759 greqs.gsr_interface = mreq.imr_ifindex; in do_mcast_group_source() 847 struct ip_mreqn mreq = { }; in ip_mcast_join_leave() local 859 mreq.imr_multiaddr = psin->sin_addr; in ip_mcast_join_leave() 860 mreq.imr_ifindex = greq.gr_interface; in ip_mcast_join_leave() 862 return ip_mc_join_group(sk, &mreq); in ip_mcast_join_leave() [all …]
|
D | devinet.c | 623 struct ip_mreqn mreq = { in ip_mc_autojoin_config() local 634 ret = ip_mc_join_group(sk, &mreq); in ip_mc_autojoin_config() 636 ret = ip_mc_leave_group(sk, &mreq); in ip_mc_autojoin_config()
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | ipv6_sockglue.c | 834 struct ipv6_mreq mreq; in do_ipv6_setsockopt() local 844 if (copy_from_sockptr(&mreq, optval, sizeof(struct ipv6_mreq))) in do_ipv6_setsockopt() 848 retv = ipv6_sock_mc_join(sk, mreq.ipv6mr_ifindex, &mreq.ipv6mr_multiaddr); in do_ipv6_setsockopt() 850 retv = ipv6_sock_mc_drop(sk, mreq.ipv6mr_ifindex, &mreq.ipv6mr_multiaddr); in do_ipv6_setsockopt() 856 struct ipv6_mreq mreq; in do_ipv6_setsockopt() local 862 if (copy_from_sockptr(&mreq, optval, sizeof(struct ipv6_mreq))) in do_ipv6_setsockopt() 866 retv = ipv6_sock_ac_join(sk, mreq.ipv6mr_ifindex, &mreq.ipv6mr_acaddr); in do_ipv6_setsockopt() 868 retv = ipv6_sock_ac_drop(sk, mreq.ipv6mr_ifindex, &mreq.ipv6mr_acaddr); in do_ipv6_setsockopt()
|
/kernel/linux/linux-5.10/net/tipc/ |
D | group.c | 163 struct tipc_group_req *mreq, in tipc_group_create() argument 167 bool global = mreq->scope != TIPC_NODE_SCOPE; in tipc_group_create() 169 u32 type = mreq->type; in tipc_group_create() 182 grp->instance = mreq->instance; in tipc_group_create() 183 grp->scope = mreq->scope; in tipc_group_create() 184 grp->loopback = mreq->flags & TIPC_GROUP_LOOPBACK; in tipc_group_create() 185 grp->events = mreq->flags & TIPC_GROUP_MEMBER_EVTS; in tipc_group_create()
|
D | group.h | 46 struct tipc_group_req *mreq,
|
D | socket.c | 3066 static int tipc_sk_join(struct tipc_sock *tsk, struct tipc_group_req *mreq) in tipc_sk_join() argument 3074 if (mreq->type < TIPC_RESERVED_TYPES) in tipc_sk_join() 3076 if (mreq->scope > TIPC_NODE_SCOPE) in tipc_sk_join() 3080 grp = tipc_group_create(net, tsk->portid, mreq, &tsk->group_is_open); in tipc_sk_join() 3084 msg_set_lookup_scope(hdr, mreq->scope); in tipc_sk_join() 3085 msg_set_nametype(hdr, mreq->type); in tipc_sk_join() 3087 seq.type = mreq->type; in tipc_sk_join() 3088 seq.lower = mreq->instance; in tipc_sk_join() 3090 tipc_nametbl_build_group(net, grp, mreq->type, mreq->scope); in tipc_sk_join() 3091 rc = tipc_sk_publish(tsk, mreq->scope, &seq); in tipc_sk_join() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
D | nettest.c | 432 struct ip_mreqn mreq = { .imr_ifindex = ifindex }; in set_multicast_if() local 435 rc = setsockopt(sd, SOL_IP, IP_MULTICAST_IF, &mreq, sizeof(mreq)); in set_multicast_if() 445 struct ip_mreqn mreq; in set_membership() local 453 mreq.imr_multiaddr.s_addr = grp; in set_membership() 454 mreq.imr_address.s_addr = if_addr; in set_membership() 455 mreq.imr_ifindex = ifindex; in set_membership() 457 rc = setsockopt(sd, IPPROTO_IP, IP_ADD_MEMBERSHIP, &mreq, sizeof(mreq)); in set_membership()
|
/kernel/linux/linux-5.10/net/packet/ |
D | af_packet.c | 3619 static int packet_mc_add(struct sock *sk, struct packet_mreq_max *mreq) in packet_mc_add() argument 3629 dev = __dev_get_by_index(sock_net(sk), mreq->mr_ifindex); in packet_mc_add() 3634 if (mreq->mr_alen > dev->addr_len) in packet_mc_add() 3644 if (ml->ifindex == mreq->mr_ifindex && in packet_mc_add() 3645 ml->type == mreq->mr_type && in packet_mc_add() 3646 ml->alen == mreq->mr_alen && in packet_mc_add() 3647 memcmp(ml->addr, mreq->mr_address, ml->alen) == 0) { in packet_mc_add() 3655 i->type = mreq->mr_type; in packet_mc_add() 3656 i->ifindex = mreq->mr_ifindex; in packet_mc_add() 3657 i->alen = mreq->mr_alen; in packet_mc_add() [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/ |
D | qla_mbx.c | 5234 qla2x00_loopback_test(scsi_qla_host_t *vha, struct msg_echo_lb *mreq, in qla2x00_loopback_test() argument 5246 mcp->mb[1] = mreq->options | BIT_6; // BIT_6 specifies 64 bit addressing in qla2x00_loopback_test() 5249 mcp->mb[10] = LSW(mreq->transfer_size); in qla2x00_loopback_test() 5250 mcp->mb[11] = MSW(mreq->transfer_size); in qla2x00_loopback_test() 5253 mcp->mb[14] = LSW(mreq->send_dma); in qla2x00_loopback_test() 5254 mcp->mb[15] = MSW(mreq->send_dma); in qla2x00_loopback_test() 5255 mcp->mb[20] = LSW(MSD(mreq->send_dma)); in qla2x00_loopback_test() 5256 mcp->mb[21] = MSW(MSD(mreq->send_dma)); in qla2x00_loopback_test() 5259 mcp->mb[16] = LSW(mreq->rcv_dma); in qla2x00_loopback_test() 5260 mcp->mb[17] = MSW(mreq->rcv_dma); in qla2x00_loopback_test() [all …]
|
/kernel/linux/linux-5.10/net/netfilter/ipvs/ |
D | ip_vs_sync.c | 1391 struct ip_mreqn mreq; in join_mcast_group() local 1394 memset(&mreq, 0, sizeof(mreq)); in join_mcast_group() 1395 memcpy(&mreq.imr_multiaddr, addr, sizeof(struct in_addr)); in join_mcast_group() 1400 mreq.imr_ifindex = dev->ifindex; in join_mcast_group() 1403 ret = ip_mc_join_group(sk, &mreq); in join_mcast_group()
|
/kernel/linux/linux-5.10/drivers/net/ |
D | vxlan.c | 1630 struct ip_mreqn mreq = { in vxlan_igmp_join() local 1637 ret = ip_mc_join_group(sk, &mreq); in vxlan_igmp_join() 1664 struct ip_mreqn mreq = { in vxlan_igmp_leave() local 1671 ret = ip_mc_leave_group(sk, &mreq); in vxlan_igmp_leave()
|