Home
last modified time | relevance | path

Searched refs:greq (Results 1 – 4 of 4) sorted by relevance

/linux/net/ipv6/
A Dipv6_sockglue.c284 struct group_req greq; in ipv6_mcast_join_leave() local
286 if (optlen < sizeof(greq)) in ipv6_mcast_join_leave()
288 if (copy_from_sockptr(&greq, optval, sizeof(greq))) in ipv6_mcast_join_leave()
291 if (greq.gr_group.ss_family != AF_INET6) in ipv6_mcast_join_leave()
293 psin6 = (struct sockaddr_in6 *)&greq.gr_group; in ipv6_mcast_join_leave()
295 return ipv6_sock_mc_join(sk, greq.gr_interface, in ipv6_mcast_join_leave()
297 return ipv6_sock_mc_drop(sk, greq.gr_interface, &psin6->sin6_addr); in ipv6_mcast_join_leave()
/linux/net/ipv4/
A Dip_sockglue.c849 struct group_req greq; in ip_mcast_join_leave() local
853 if (copy_from_sockptr(&greq, optval, sizeof(greq))) in ip_mcast_join_leave()
856 psin = (struct sockaddr_in *)&greq.gr_group; in ip_mcast_join_leave()
860 mreq.imr_ifindex = greq.gr_interface; in ip_mcast_join_leave()
869 struct compat_group_req greq; in compat_ip_mcast_join_leave() local
875 if (copy_from_sockptr(&greq, optval, sizeof(greq))) in compat_ip_mcast_join_leave()
878 psin = (struct sockaddr_in *)&greq.gr_group; in compat_ip_mcast_join_leave()
882 mreq.imr_ifindex = greq.gr_interface; in compat_ip_mcast_join_leave()
/linux/drivers/net/ethernet/chelsio/cxgb3/
A Dcxgb3_main.c459 struct cpl_set_tcb_field *greq; in init_tp_parity() local
481 adap->nofail_skb = alloc_skb(sizeof(*greq), GFP_KERNEL); in init_tp_parity()
503 adap->nofail_skb = alloc_skb(sizeof(*greq), GFP_KERNEL); in init_tp_parity()
525 adap->nofail_skb = alloc_skb(sizeof(*greq), GFP_KERNEL); in init_tp_parity()
531 skb = alloc_skb(sizeof(*greq), GFP_KERNEL); in init_tp_parity()
537 greq = __skb_put_zero(skb, sizeof(*greq)); in init_tp_parity()
538 greq->wr.wr_hi = htonl(V_WR_OP(FW_WROPCODE_FORWARD)); in init_tp_parity()
539 OPCODE_TID(greq) = htonl(MK_OPCODE_TID(CPL_SET_TCB_FIELD, 0)); in init_tp_parity()
540 greq->mask = cpu_to_be64(1); in init_tp_parity()
546 adap->nofail_skb = alloc_skb(sizeof(*greq), GFP_KERNEL); in init_tp_parity()
/linux/net/ceph/
A Dosd_client.c2665 static void map_check_cb(struct ceph_mon_generic_request *greq) in map_check_cb() argument
2667 struct ceph_osd_client *osdc = &greq->monc->client->osdc; in map_check_cb()
2669 u64 tid = greq->private_data; in map_check_cb()
2671 WARN_ON(greq->result || !greq->u.newest); in map_check_cb()
2681 req, req->r_tid, req->r_map_dne_bound, greq->u.newest); in map_check_cb()
2683 req->r_map_dne_bound = greq->u.newest; in map_check_cb()
3259 struct ceph_osd_client *osdc = &greq->monc->client->osdc; in linger_map_check_cb()
3261 u64 linger_id = greq->private_data; in linger_map_check_cb()
3263 WARN_ON(greq->result || !greq->u.newest); in linger_map_check_cb()
3274 greq->u.newest); in linger_map_check_cb()
[all …]

Completed in 38 milliseconds