Home
last modified time | relevance | path

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

/linux-2.6.39/crypto/
Dauthenc.c414 struct skcipher_givcrypt_request *greq = aead_request_ctx(areq); in crypto_authenc_givencrypt_done() local
416 err = crypto_authenc_genicv(areq, greq->giv, 0); in crypto_authenc_givencrypt_done()
427 struct skcipher_givcrypt_request *greq = aead_request_ctx(areq); in crypto_authenc_givencrypt() local
431 skcipher_givcrypt_set_tfm(greq, ctx->enc); in crypto_authenc_givencrypt()
432 skcipher_givcrypt_set_callback(greq, aead_request_flags(areq), in crypto_authenc_givencrypt()
434 skcipher_givcrypt_set_crypt(greq, areq->src, areq->dst, areq->cryptlen, in crypto_authenc_givencrypt()
436 skcipher_givcrypt_set_giv(greq, iv, req->seq); in crypto_authenc_givencrypt()
438 err = crypto_skcipher_givencrypt(greq); in crypto_authenc_givencrypt()
Dauthencesn.c521 struct skcipher_givcrypt_request *greq = aead_request_ctx(areq); in crypto_authenc_esn_givencrypt_done() local
523 err = crypto_authenc_esn_genicv(areq, greq->giv, 0); in crypto_authenc_esn_givencrypt_done()
534 struct skcipher_givcrypt_request *greq = aead_request_ctx(areq); in crypto_authenc_esn_givencrypt() local
538 skcipher_givcrypt_set_tfm(greq, ctx->enc); in crypto_authenc_esn_givencrypt()
539 skcipher_givcrypt_set_callback(greq, aead_request_flags(areq), in crypto_authenc_esn_givencrypt()
541 skcipher_givcrypt_set_crypt(greq, areq->src, areq->dst, areq->cryptlen, in crypto_authenc_esn_givencrypt()
543 skcipher_givcrypt_set_giv(greq, iv, req->seq); in crypto_authenc_esn_givencrypt()
545 err = crypto_skcipher_givencrypt(greq); in crypto_authenc_esn_givencrypt()
/linux-2.6.39/net/ipv6/
Dipv6_sockglue.c584 struct group_req greq; in do_ipv6_setsockopt() local
591 if (copy_from_user(&greq, optval, sizeof(struct group_req))) in do_ipv6_setsockopt()
593 if (greq.gr_group.ss_family != AF_INET6) { in do_ipv6_setsockopt()
597 psin6 = (struct sockaddr_in6 *)&greq.gr_group; in do_ipv6_setsockopt()
599 retv = ipv6_sock_mc_join(sk, greq.gr_interface, in do_ipv6_setsockopt()
602 retv = ipv6_sock_mc_drop(sk, greq.gr_interface, in do_ipv6_setsockopt()
/linux-2.6.39/drivers/net/cxgb3/
Dcxgb3_main.c456 struct cpl_set_tcb_field *greq; in init_tp_parity() local
479 adap->nofail_skb = alloc_skb(sizeof(*greq), GFP_KERNEL); in init_tp_parity()
502 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 = (struct cpl_set_tcb_field *)__skb_put(skb, sizeof(*greq)); in init_tp_parity()
538 memset(greq, 0, sizeof(*greq)); in init_tp_parity()
539 greq->wr.wr_hi = htonl(V_WR_OP(FW_WROPCODE_FORWARD)); in init_tp_parity()
540 OPCODE_TID(greq) = htonl(MK_OPCODE_TID(CPL_SET_TCB_FIELD, 0)); in init_tp_parity()
541 greq->mask = cpu_to_be64(1); in init_tp_parity()
[all …]
/linux-2.6.39/net/ipv4/
Dip_sockglue.c788 struct group_req greq; in do_ip_setsockopt() local
795 if (copy_from_user(&greq, optval, sizeof(greq))) in do_ip_setsockopt()
797 psin = (struct sockaddr_in *)&greq.gr_group; in do_ip_setsockopt()
802 mreq.imr_ifindex = greq.gr_interface; in do_ip_setsockopt()