/linux-4.1.27/net/mac80211/ |
D | aes_gmac.c | 41 sg_set_buf(&sg[0], aad, AAD_LEN); in ieee80211_aes_gmac() 42 sg_set_buf(&sg[1], data, data_len - GMAC_MIC_LEN); in ieee80211_aes_gmac() 43 sg_set_buf(&sg[2], zero, GMAC_MIC_LEN); in ieee80211_aes_gmac() 50 sg_set_buf(&ct[0], mic, GMAC_MIC_LEN); in ieee80211_aes_gmac()
|
D | aes_gcm.c | 34 sg_set_buf(&ct[0], data, data_len); in ieee80211_aes_gcm_encrypt() 35 sg_set_buf(&ct[1], mic, IEEE80211_GCMP_MIC_LEN); in ieee80211_aes_gcm_encrypt() 61 sg_set_buf(&ct[0], data, data_len); in ieee80211_aes_gcm_decrypt() 62 sg_set_buf(&ct[1], mic, IEEE80211_GCMP_MIC_LEN); in ieee80211_aes_gcm_decrypt()
|
D | aes_ccm.c | 38 sg_set_buf(&ct[0], data, data_len); in ieee80211_aes_ccm_encrypt() 39 sg_set_buf(&ct[1], mic, mic_len); in ieee80211_aes_ccm_encrypt() 66 sg_set_buf(&ct[0], data, data_len); in ieee80211_aes_ccm_decrypt() 67 sg_set_buf(&ct[1], mic, mic_len); in ieee80211_aes_ccm_decrypt()
|
/linux-4.1.27/tools/virtio/ |
D | vringh_test.c | 352 sg_set_buf(&sg[0], (void *)dbuf, 1); in parallel_test() 353 sg_set_buf(&sg[1], (void *)dbuf + 1, 2); in parallel_test() 354 sg_set_buf(&sg[2], (void *)dbuf + 3, 1); in parallel_test() 358 sg_set_buf(&sg[0], (void *)dbuf, 1); in parallel_test() 359 sg_set_buf(&sg[1], (void *)dbuf + 1, 3); in parallel_test() 363 sg_set_buf(&sg[0], (void *)dbuf, 4); in parallel_test() 367 sg_set_buf(&sg[0], (void *)dbuf, 1); in parallel_test() 368 sg_set_buf(&sg[1], (void *)dbuf + 1, 1); in parallel_test() 369 sg_set_buf(&sg[2], (void *)dbuf + 2, 1); in parallel_test() 370 sg_set_buf(&sg[3], (void *)dbuf + 3, 1); in parallel_test() [all …]
|
/linux-4.1.27/crypto/ |
D | cts.c | 104 sg_set_buf(&sgsrc[0], s, bsize); in cts_cbc_encrypt() 105 sg_set_buf(&sgdst[0], tmp, bsize); in cts_cbc_encrypt() 112 sg_set_buf(&sgsrc[0], s + bsize, bsize); in cts_cbc_encrypt() 113 sg_set_buf(&sgdst[0], tmp2, bsize); in cts_cbc_encrypt() 189 sg_set_buf(&sgsrc[0], s, bsize); in cts_cbc_decrypt() 190 sg_set_buf(&sgdst[0], tmp, bsize); in cts_cbc_decrypt() 207 sg_set_buf(&sgsrc[0], s + bsize, bsize); in cts_cbc_decrypt() 208 sg_set_buf(&sgdst[0], d, bsize); in cts_cbc_decrypt()
|
D | eseqiv.c | 112 sg_set_buf(reqctx->src, giv, ivsize); in eseqiv_givencrypt() 118 sg_set_buf(reqctx->dst, giv, ivsize); in eseqiv_givencrypt()
|
D | tcrypt.c | 263 sg_set_buf(&sg[k], xbuf[k], PAGE_SIZE); in sg_init_aead() 265 sg_set_buf(&sg[k], xbuf[k], rem); in sg_init_aead() 485 sg_set_buf(sg, tvmem[0] + *keysize, in test_cipher_speed() 488 sg_set_buf(sg + j, tvmem[j], PAGE_SIZE); in test_cipher_speed() 683 sg_set_buf(sg + i, tvmem[i], PAGE_SIZE); in test_hash_sg_init() 1162 sg_set_buf(sg, tvmem[0] + *keysize, in test_acipher_speed() 1167 sg_set_buf(sg + j, tvmem[j], PAGE_SIZE); in test_acipher_speed() 1172 sg_set_buf(sg + j, tvmem[j], k); in test_acipher_speed() 1175 sg_set_buf(sg, tvmem[0] + *keysize, *b_size); in test_acipher_speed()
|
D | ccm.c | 331 sg_set_buf(pctx->src, odata, 16); in crypto_ccm_encrypt() 337 sg_set_buf(pctx->dst, odata, 16); in crypto_ccm_encrypt() 402 sg_set_buf(pctx->src, authtag, 16); in crypto_ccm_decrypt() 408 sg_set_buf(pctx->dst, authtag, 16); in crypto_ccm_decrypt()
|
D | gcm.c | 203 sg_set_buf(pctx->src, pctx->auth_tag, sizeof(pctx->auth_tag)); in crypto_gcm_init_crypt() 209 sg_set_buf(pctx->dst, pctx->auth_tag, sizeof(pctx->auth_tag)); in crypto_gcm_init_crypt() 1154 sg_set_buf(payload, req->iv, 8); in crypto_rfc4543_crypt() 1169 sg_set_buf(assoc, rctx->assocbuf, req->assoclen); in crypto_rfc4543_crypt()
|
D | authenc.c | 345 sg_set_buf(cipher, iv, ivsize); in crypto_authenc_genicv() 500 sg_set_buf(cipher, iv, ivsize); in crypto_authenc_iverify()
|
D | testmgr.c | 320 sg_set_buf(&sg[k], in __test_hash() 644 sg_set_buf(&sg[k], q, template[i].tap[k]); in __test_aead() 652 sg_set_buf(&sgout[k], q, template[i].tap[k]); in __test_aead() 691 sg_set_buf(&asg[k], in __test_aead() 1069 sg_set_buf(&sg[k], q, template[i].tap[k]); in __test_skcipher() 1074 sg_set_buf(&sgout[k], q, template[i].tap[k]); in __test_skcipher()
|
D | authencesn.c | 409 sg_set_buf(cipher, iv, ivsize); in crypto_authenc_esn_genicv() 577 sg_set_buf(cipher, iv, ivsize); in crypto_authenc_esn_iverify()
|
/linux-4.1.27/net/ceph/ |
D | crypto.c | 185 sg_set_buf(&sg_in[0], src, src_len); in ceph_aes_encrypt() 186 sg_set_buf(&sg_in[1], pad, zero_padding); in ceph_aes_encrypt() 245 sg_set_buf(&sg_in[0], src1, src1_len); in ceph_aes_encrypt2() 246 sg_set_buf(&sg_in[1], src2, src2_len); in ceph_aes_encrypt2() 247 sg_set_buf(&sg_in[2], pad, zero_padding); in ceph_aes_encrypt2() 303 sg_set_buf(&sg_out[0], dst, *dst_len); in ceph_aes_decrypt() 304 sg_set_buf(&sg_out[1], pad, sizeof(pad)); in ceph_aes_decrypt() 368 sg_set_buf(&sg_out[0], dst1, *dst1_len); in ceph_aes_decrypt2() 369 sg_set_buf(&sg_out[1], dst2, *dst2_len); in ceph_aes_decrypt2() 370 sg_set_buf(&sg_out[2], pad, sizeof(pad)); in ceph_aes_decrypt2()
|
/linux-4.1.27/drivers/net/wireless/orinoco/ |
D | mic.c | 69 sg_set_buf(&sg[0], hdr, sizeof(hdr)); in orinoco_mic() 70 sg_set_buf(&sg[1], data, data_len); in orinoco_mic()
|
/linux-4.1.27/drivers/usb/wusbcore/ |
D | crypto.c | 255 sg_set_buf(&sg[0], &b0, sizeof(b0)); in wusb_ccm_mac() 256 sg_set_buf(&sg[1], &b1, sizeof(b1)); in wusb_ccm_mac() 257 sg_set_buf(&sg[2], b, blen); in wusb_ccm_mac() 259 sg_set_buf(&sg[3], bzero, zero_padding); in wusb_ccm_mac()
|
/linux-4.1.27/tools/virtio/linux/ |
D | scatterlist.h | 177 static inline void sg_set_buf(struct scatterlist *sg, const void *buf, in sg_set_buf() function 187 sg_set_buf(sg, buf, buflen); in sg_init_one()
|
/linux-4.1.27/net/ipv6/ |
D | esp6.c | 240 sg_set_buf(asg, &esph->spi, sizeof(__be32)); in esp6_output() 242 sg_set_buf(asg + 1, seqhi, seqhilen); in esp6_output() 243 sg_set_buf(asg + 2, &esph->seq_no, sizeof(__be32)); in esp6_output() 390 sg_set_buf(asg, &esph->spi, sizeof(__be32)); in esp6_input() 392 sg_set_buf(asg + 1, seqhi, seqhilen); in esp6_input() 393 sg_set_buf(asg + 2, &esph->seq_no, sizeof(__be32)); in esp6_input()
|
D | ah6.c | 431 sg_set_buf(seqhisg, seqhi, seqhi_len); in ah6_output() 609 sg_set_buf(seqhisg, seqhi, seqhi_len); in ah6_input()
|
/linux-4.1.27/net/ipv4/ |
D | esp4.c | 248 sg_set_buf(asg, &esph->spi, sizeof(__be32)); in esp_output() 250 sg_set_buf(asg + 1, seqhi, seqhilen); in esp_output() 251 sg_set_buf(asg + 2, &esph->seq_no, sizeof(__be32)); in esp_output() 436 sg_set_buf(asg, &esph->spi, sizeof(__be32)); in esp_input() 438 sg_set_buf(asg + 1, seqhi, seqhilen); in esp_input() 439 sg_set_buf(asg + 2, &esph->seq_no, sizeof(__be32)); in esp_input()
|
D | ah4.c | 228 sg_set_buf(seqhisg, seqhi, seqhi_len); in ah_output() 396 sg_set_buf(seqhisg, seqhi, seqhi_len); in ah_input()
|
D | tcp.c | 2960 sg_set_buf(&sg, ((u8 *) tp) + header_len, head_data_len); in tcp_md5_hash_skb_data()
|
/linux-4.1.27/net/mac802154/ |
D | llsec.c | 663 sg_set_buf(&assoc[0], skb_mac_header(skb), skb->mac_len); in llsec_do_encrypt_auth() 670 sg_set_buf(&assoc[1], data, 0); in llsec_do_encrypt_auth() 672 sg_set_buf(&assoc[1], data, datalen); in llsec_do_encrypt_auth() 680 sg_set_buf(&dst[0], data, datalen); in llsec_do_encrypt_auth() 681 sg_set_buf(&dst[1], skb_put(skb, authlen), authlen); in llsec_do_encrypt_auth() 872 sg_set_buf(&assoc[0], skb_mac_header(skb), skb->mac_len); in llsec_do_decrypt_auth() 879 sg_set_buf(&assoc[1], data, 0); in llsec_do_decrypt_auth() 881 sg_set_buf(&assoc[1], data, datalen - authlen); in llsec_do_decrypt_auth()
|
/linux-4.1.27/security/keys/encrypted-keys/ |
D | encrypted.c | 487 sg_set_buf(&sg_in[0], epayload->decrypted_data, in derived_key_encrypt() 489 sg_set_buf(&sg_in[1], pad, padlen); in derived_key_encrypt() 492 sg_set_buf(sg_out, epayload->encrypted_data, encrypted_datalen); in derived_key_encrypt() 583 sg_set_buf(sg_in, epayload->encrypted_data, encrypted_datalen); in derived_key_decrypt() 584 sg_set_buf(&sg_out[0], epayload->decrypted_data, in derived_key_decrypt() 586 sg_set_buf(&sg_out[1], pad, sizeof pad); in derived_key_decrypt()
|
/linux-4.1.27/drivers/scsi/arm/ |
D | scsi.h | 36 sg_set_buf(sg, SCp->ptr, SCp->this_residual); in copy_SCp_to_sg()
|
/linux-4.1.27/drivers/spi/ |
D | spi-pxa2xx-dma.c | 59 sg_set_buf(sg, pbuf, bytes); in pxa2xx_spi_map_dma_buffer() 61 sg_set_buf(sg, drv_data->dummy, bytes); in pxa2xx_spi_map_dma_buffer()
|
D | spi.c | 503 sg_set_buf(&sgt->sgl[i], sg_buf, min); in spi_map_buf()
|
/linux-4.1.27/net/sunrpc/auth_gss/ |
D | gss_krb5_crypto.c | 885 sg_set_buf(sg, &zeroconstant, 4); in krb5_rc4_setup_seq_key() 896 sg_set_buf(sg, cksum, 8); in krb5_rc4_setup_seq_key() 955 sg_set_buf(sg, zeroconstant, 4); in krb5_rc4_setup_enc_key() 971 sg_set_buf(sg, seqnumarray, 4); in krb5_rc4_setup_enc_key()
|
D | gss_krb5_mech.c | 454 sg_set_buf(sg, sigkeyconstant, slen); in context_derive_keys_rc4()
|
/linux-4.1.27/drivers/net/ |
D | virtio_net.c | 544 sg_set_buf(rq->sg, hdr, vi->hdr_len); in add_recvbuf_small() 571 sg_set_buf(&rq->sg[i], page_address(first), PAGE_SIZE); in add_recvbuf_big() 587 sg_set_buf(&rq->sg[0], p, vi->hdr_len); in add_recvbuf_big() 591 sg_set_buf(&rq->sg[1], p + offset, PAGE_SIZE - offset); in add_recvbuf_big() 903 sg_set_buf(sq->sg, hdr, hdr_len); in xmit_skb() 1200 sg_set_buf(&sg[0], mac_data, in virtnet_set_rx_mode() 1211 sg_set_buf(&sg[1], mac_data, in virtnet_set_rx_mode()
|
/linux-4.1.27/include/linux/ |
D | scatterlist.h | 111 static inline void sg_set_buf(struct scatterlist *sg, const void *buf, in sg_set_buf() function
|
/linux-4.1.27/drivers/net/irda/ |
D | sa1100_ir.c | 180 sg_set_buf(&si->dma_rx.sg, si->dma_rx.skb->data, HPSIR_MAX_RXLEN); in sa1100_irda_rx_alloc() 263 sg_set_buf(&si->dma_tx.sg, si->tx_buff.data, si->tx_buff.len); in sa1100_irda_sir_tx_start() 399 sg_set_buf(&si->dma_tx.sg, skb->data, skb->len); in sa1100_irda_fir_tx_start()
|
/linux-4.1.27/net/wireless/ |
D | lib80211_crypt_tkip.c | 519 sg_set_buf(&sg[0], hdr, 16); in michael_mic() 520 sg_set_buf(&sg[1], data, data_len); in michael_mic()
|
/linux-4.1.27/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_crypt_tkip.c | 513 sg_set_buf(&sg[0], hdr, 16); in michael_mic() 514 sg_set_buf(&sg[1], data, data_len); in michael_mic()
|
/linux-4.1.27/drivers/i2c/busses/ |
D | i2c-mxs.c | 263 sg_set_buf(&i2c->sg_io[0], &i2c->addr_data, 1); in mxs_i2c_dma_setup_xfer() 264 sg_set_buf(&i2c->sg_io[1], msg->buf, msg->len); in mxs_i2c_dma_setup_xfer()
|
/linux-4.1.27/drivers/staging/rtl8192e/ |
D | rtllib_crypt_tkip.c | 516 sg_set_buf(&sg[0], hdr, 16); in michael_mic() 517 sg_set_buf(&sg[1], data, data_len); in michael_mic()
|
/linux-4.1.27/lib/ |
D | scatterlist.c | 128 sg_set_buf(sg, buf, buflen); in sg_init_one()
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
D | icm.c | 121 sg_set_buf(mem, buf, PAGE_SIZE << order); in mlx4_alloc_icm_coherent()
|
/linux-4.1.27/drivers/s390/scsi/ |
D | zfcp_aux.c | 578 sg_set_buf(sg, addr, PAGE_SIZE); in zfcp_sg_setup_table()
|
/linux-4.1.27/drivers/net/ppp/ |
D | ppp_mppe.c | 70 sg_set_buf(sg, address, length); in setup_sg()
|
/linux-4.1.27/drivers/mmc/card/ |
D | queue.c | 469 sg_set_buf(__sg, buf + offset, len); in mmc_queue_packed_map_sg()
|
/linux-4.1.27/drivers/crypto/ |
D | omap-des.c | 579 sg_set_buf(&dd->in_sgl, buf_in, dd->total); in omap_des_copy_sgs() 583 sg_set_buf(&dd->out_sgl, buf_out, dd->total); in omap_des_copy_sgs()
|
D | omap-aes.c | 597 sg_set_buf(&dd->in_sgl, buf_in, dd->total); in omap_aes_copy_sgs() 601 sg_set_buf(&dd->out_sgl, buf_out, dd->total); in omap_aes_copy_sgs()
|
D | bfin_crc.c | 371 sg_set_buf(ctx->bufsl, ctx->buflast, ctx->buflast_len); in bfin_crypto_crc_handle_queue()
|
D | sahara.c | 1000 sg_set_buf(rctx->in_sg_chain, rctx->rembuf, rctx->buf_cnt); in sahara_sha_prepare_request()
|
D | ixp4xx_crypto.c | 1049 sg_set_buf(&req_ctx->ivlist, iv, ivsize); in aead_perform()
|
D | talitos.c | 1737 sg_set_buf(req_ctx->bufsl, req_ctx->buf, req_ctx->nbuf); in ahash_process_req()
|
/linux-4.1.27/net/rxrpc/ |
D | rxkad.c | 701 sg_set_buf(&sg[0], buf, buflen); in rxkad_sg_set_buf2() 705 sg_set_buf(&sg[1], buf + sg[0].length, buflen - sg[0].length); in rxkad_sg_set_buf2()
|
/linux-4.1.27/net/9p/ |
D | trans_virtio.c | 198 sg_set_buf(&sg[index++], data, s); in pack_sg_list()
|
/linux-4.1.27/drivers/crypto/qce/ |
D | sha.c | 298 sg_set_buf(rctx->sg, rctx->tmpbuf, rctx->buflen); in qce_ahash_update()
|
/linux-4.1.27/net/sunrpc/ |
D | xdr.c | 1465 sg_set_buf(sg, buf->head[0].iov_base + offset, thislen); in xdr_process_buf() 1505 sg_set_buf(sg, buf->tail[0].iov_base + offset, thislen); in xdr_process_buf()
|
/linux-4.1.27/drivers/infiniband/hw/mthca/ |
D | mthca_memfree.c | 131 sg_set_buf(mem, buf, PAGE_SIZE << order); in mthca_alloc_icm_coherent()
|
/linux-4.1.27/drivers/target/ |
D | target_core_file.c | 292 sg_set_buf(fd_prot->prot_sg, buf, prot_size); in fd_do_prot_rw()
|
/linux-4.1.27/drivers/net/usb/ |
D | usbnet.c | 1270 sg_set_buf(&urb->sg[s++], skb->data, skb_headlen(skb)); in build_dma_sg() 1344 sg_set_buf(&urb->sg[urb->num_sgs++], in usbnet_start_xmit()
|
/linux-4.1.27/drivers/tty/serial/ |
D | imx.c | 535 sg_set_buf(sgl, xmit->buf + xmit->tail, in imx_dma_tx() 537 sg_set_buf(sgl + 1, xmit->buf, xmit->head); in imx_dma_tx()
|
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/ |
D | sdio.c | 249 sg_set_buf(sg, scat_req->scat_list[i].buf, in ath6kl_sdio_setup_scat_data()
|
/linux-4.1.27/drivers/hsi/clients/ |
D | ssi_protocol.c | 189 sg_set_buf(sg, skb->data, skb_headlen(skb)); in ssip_skb_to_msg()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/ |
D | bcmsdh.c | 589 sg_set_buf(sgl, pkt_data, sg_data_sz); in brcmf_sdiod_sglist_rw()
|
/linux-4.1.27/drivers/usb/core/ |
D | devio.c | 1464 sg_set_buf(&as->urb->sg[i], buf, u); in proc_do_submiturb()
|
/linux-4.1.27/drivers/usb/misc/ |
D | usbtest.c | 520 sg_set_buf(&sg[i], buf, size); in alloc_sglist()
|
/linux-4.1.27/drivers/block/drbd/ |
D | drbd_receiver.c | 4992 sg_set_buf(&sg, peers_ch, pi.size); in drbd_do_auth() 5042 sg_set_buf(&sg, my_challenge, CHALLENGE_LEN); in drbd_do_auth()
|
/linux-4.1.27/net/core/ |
D | skbuff.c | 3371 sg_set_buf(sg, skb->data + offset, copy); in __skb_to_sgvec()
|