/linux-6.12.1/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() 235 struct mtu3_request *mreq; in mtu3_alloc_request() local 237 mreq = kzalloc(sizeof(*mreq), gfp_flags); in mtu3_alloc_request() 238 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_qmu.c | 244 static int mtu3_prepare_tx_gpd(struct mtu3_ep *mep, struct mtu3_request *mreq) in mtu3_prepare_tx_gpd() argument 249 struct usb_request *req = &mreq->request; in mtu3_prepare_tx_gpd() 281 mreq->gpd = gpd; in mtu3_prepare_tx_gpd() 287 static int mtu3_prepare_rx_gpd(struct mtu3_ep *mep, struct mtu3_request *mreq) in mtu3_prepare_rx_gpd() argument 292 struct usb_request *req = &mreq->request; in mtu3_prepare_rx_gpd() 316 mreq->gpd = gpd; in mtu3_prepare_rx_gpd() 322 void mtu3_insert_gpd(struct mtu3_ep *mep, struct mtu3_request *mreq) in mtu3_insert_gpd() argument 326 mtu3_prepare_tx_gpd(mep, mreq); in mtu3_insert_gpd() 328 mtu3_prepare_rx_gpd(mep, mreq); in mtu3_insert_gpd() 431 struct mtu3_request *mreq; in qmu_tx_zlp_error_handler() local [all …]
|
D | mtu3_trace.h | 117 TP_PROTO(struct mtu3_request *mreq), 118 TP_ARGS(mreq), 120 __string(name, mreq->mep->name) 121 __field(struct mtu3_request *, mreq) 131 __entry->mreq = mreq; 132 __entry->gpd = mreq->gpd; 133 __entry->actual = mreq->request.actual; 134 __entry->length = mreq->request.length; 135 __entry->status = mreq->request.status; 136 __entry->zero = mreq->request.zero; [all …]
|
D | mtu3_qmu.h | 25 void mtu3_insert_gpd(struct mtu3_ep *mep, struct mtu3_request *mreq);
|
/linux-6.12.1/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()
|
/linux-6.12.1/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() 848 struct ip_mreqn mreq = { }; in ip_mcast_join_leave() local 860 mreq.imr_multiaddr = psin->sin_addr; in ip_mcast_join_leave() 861 mreq.imr_ifindex = greq.gr_interface; in ip_mcast_join_leave() 863 return ip_mc_join_group(sk, &mreq); in ip_mcast_join_leave() [all …]
|
D | devinet.c | 647 struct ip_mreqn mreq = { in ip_mc_autojoin_config() local 658 ret = ip_mc_join_group(sk, &mreq); in ip_mc_autojoin_config() 660 ret = ip_mc_leave_group(sk, &mreq); in ip_mc_autojoin_config()
|
/linux-6.12.1/drivers/net/vxlan/ |
D | vxlan_multicast.c | 27 struct ip_mreqn mreq = { in vxlan_igmp_join() local 34 ret = ip_mc_join_group(sk, &mreq); in vxlan_igmp_join() 61 struct ip_mreqn mreq = { in vxlan_igmp_leave() local 68 ret = ip_mc_leave_group(sk, &mreq); in vxlan_igmp_leave()
|
/linux-6.12.1/net/ipv6/ |
D | ipv6_sockglue.c | 887 struct ipv6_mreq mreq; in do_ipv6_setsockopt() local 897 if (copy_from_sockptr(&mreq, optval, sizeof(struct ipv6_mreq))) in do_ipv6_setsockopt() 901 retv = ipv6_sock_mc_join(sk, mreq.ipv6mr_ifindex, &mreq.ipv6mr_multiaddr); in do_ipv6_setsockopt() 903 retv = ipv6_sock_mc_drop(sk, mreq.ipv6mr_ifindex, &mreq.ipv6mr_multiaddr); in do_ipv6_setsockopt() 909 struct ipv6_mreq mreq; in do_ipv6_setsockopt() local 915 if (copy_from_sockptr(&mreq, optval, sizeof(struct ipv6_mreq))) in do_ipv6_setsockopt() 919 retv = ipv6_sock_ac_join(sk, mreq.ipv6mr_ifindex, &mreq.ipv6mr_acaddr); in do_ipv6_setsockopt() 921 retv = ipv6_sock_ac_drop(sk, mreq.ipv6mr_ifindex, &mreq.ipv6mr_acaddr); in do_ipv6_setsockopt()
|
/linux-6.12.1/net/tipc/ |
D | group.c | 164 struct tipc_group_req *mreq, in tipc_group_create() argument 168 bool global = mreq->scope != TIPC_NODE_SCOPE; in tipc_group_create() 170 u32 type = mreq->type; in tipc_group_create() 183 grp->instance = mreq->instance; in tipc_group_create() 184 grp->scope = mreq->scope; in tipc_group_create() 185 grp->loopback = mreq->flags & TIPC_GROUP_LOOPBACK; in tipc_group_create() 186 grp->events = mreq->flags & TIPC_GROUP_MEMBER_EVTS; in tipc_group_create()
|
D | group.h | 47 struct tipc_group_req *mreq,
|
D | socket.c | 3067 static int tipc_sk_join(struct tipc_sock *tsk, struct tipc_group_req *mreq) in tipc_sk_join() argument 3075 if (mreq->type < TIPC_RESERVED_TYPES) in tipc_sk_join() 3077 if (mreq->scope > TIPC_NODE_SCOPE) in tipc_sk_join() 3079 if (mreq->scope != TIPC_NODE_SCOPE) in tipc_sk_join() 3080 mreq->scope = TIPC_CLUSTER_SCOPE; in tipc_sk_join() 3083 grp = tipc_group_create(net, tsk->portid, mreq, &tsk->group_is_open); in tipc_sk_join() 3087 msg_set_lookup_scope(hdr, mreq->scope); in tipc_sk_join() 3088 msg_set_nametype(hdr, mreq->type); in tipc_sk_join() 3090 tipc_uaddr(&ua, TIPC_SERVICE_RANGE, mreq->scope, in tipc_sk_join() 3091 mreq->type, mreq->instance, mreq->instance); in tipc_sk_join() [all …]
|
/linux-6.12.1/net/packet/ |
D | af_packet.c | 3744 static int packet_mc_add(struct sock *sk, struct packet_mreq_max *mreq) in packet_mc_add() argument 3754 dev = __dev_get_by_index(sock_net(sk), mreq->mr_ifindex); in packet_mc_add() 3759 if (mreq->mr_alen > dev->addr_len) in packet_mc_add() 3769 if (ml->ifindex == mreq->mr_ifindex && in packet_mc_add() 3770 ml->type == mreq->mr_type && in packet_mc_add() 3771 ml->alen == mreq->mr_alen && in packet_mc_add() 3772 memcmp(ml->addr, mreq->mr_address, ml->alen) == 0) { in packet_mc_add() 3780 i->type = mreq->mr_type; in packet_mc_add() 3781 i->ifindex = mreq->mr_ifindex; in packet_mc_add() 3782 i->alen = mreq->mr_alen; in packet_mc_add() [all …]
|
/linux-6.12.1/tools/testing/selftests/net/ |
D | nettest.c | 490 struct ip_mreqn mreq = { .imr_ifindex = ifindex }; in set_multicast_if() local 493 rc = setsockopt(sd, SOL_IP, IP_MULTICAST_IF, &mreq, sizeof(mreq)); in set_multicast_if() 503 struct ip_mreqn mreq; in set_membership() local 511 mreq.imr_multiaddr.s_addr = grp; in set_membership() 512 mreq.imr_address.s_addr = if_addr; in set_membership() 513 mreq.imr_ifindex = ifindex; in set_membership() 515 rc = setsockopt(sd, IPPROTO_IP, IP_ADD_MEMBERSHIP, &mreq, sizeof(mreq)); in set_membership()
|
/linux-6.12.1/drivers/scsi/qla2xxx/ |
D | qla_mbx.c | 5314 qla2x00_loopback_test(scsi_qla_host_t *vha, struct msg_echo_lb *mreq, in qla2x00_loopback_test() argument 5326 mcp->mb[1] = mreq->options | BIT_6; // BIT_6 specifies 64 bit addressing in qla2x00_loopback_test() 5329 mcp->mb[10] = LSW(mreq->transfer_size); in qla2x00_loopback_test() 5330 mcp->mb[11] = MSW(mreq->transfer_size); in qla2x00_loopback_test() 5333 mcp->mb[14] = LSW(mreq->send_dma); in qla2x00_loopback_test() 5334 mcp->mb[15] = MSW(mreq->send_dma); in qla2x00_loopback_test() 5335 mcp->mb[20] = LSW(MSD(mreq->send_dma)); in qla2x00_loopback_test() 5336 mcp->mb[21] = MSW(MSD(mreq->send_dma)); in qla2x00_loopback_test() 5339 mcp->mb[16] = LSW(mreq->rcv_dma); in qla2x00_loopback_test() 5340 mcp->mb[17] = MSW(mreq->rcv_dma); in qla2x00_loopback_test() [all …]
|
/linux-6.12.1/net/netfilter/ipvs/ |
D | ip_vs_sync.c | 1385 struct ip_mreqn mreq; in join_mcast_group() local 1388 memset(&mreq, 0, sizeof(mreq)); in join_mcast_group() 1389 memcpy(&mreq.imr_multiaddr, addr, sizeof(struct in_addr)); in join_mcast_group() 1394 mreq.imr_ifindex = dev->ifindex; in join_mcast_group() 1397 ret = ip_mc_join_group(sk, &mreq); in join_mcast_group()
|
/linux-6.12.1/drivers/media/platform/mediatek/vcodec/decoder/ |
D | mtk_vcodec_dec_stateless.c | 714 static int fops_media_request_validate(struct media_request *mreq) in fops_media_request_validate() argument 716 const unsigned int buffer_cnt = vb2_request_buffer_cnt(mreq); in fops_media_request_validate() 731 return vb2_request_validate(mreq); in fops_media_request_validate()
|