/linux-3.4.99/net/ceph/ |
D | crypto.c | 114 sg_set_buf(&sg_in[0], src, src_len); in ceph_aes_encrypt() 115 sg_set_buf(&sg_in[1], pad, zero_padding); in ceph_aes_encrypt() 117 sg_set_buf(sg_out, dst, *dst_len); in ceph_aes_encrypt() 165 sg_set_buf(&sg_in[0], src1, src1_len); in ceph_aes_encrypt2() 166 sg_set_buf(&sg_in[1], src2, src2_len); in ceph_aes_encrypt2() 167 sg_set_buf(&sg_in[2], pad, zero_padding); in ceph_aes_encrypt2() 169 sg_set_buf(sg_out, dst, *dst_len); in ceph_aes_encrypt2() 215 sg_set_buf(sg_in, src, src_len); in ceph_aes_decrypt() 216 sg_set_buf(&sg_out[0], dst, *dst_len); in ceph_aes_decrypt() 217 sg_set_buf(&sg_out[1], pad, sizeof(pad)); in ceph_aes_decrypt() [all …]
|
/linux-3.4.99/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() 206 sg_set_buf(&sgsrc[0], s + bsize, bsize); in cts_cbc_decrypt() 207 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 | 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 | tcrypt.c | 209 sg_set_buf(sg, tvmem[0] + *keysize, in test_cipher_speed() 212 sg_set_buf(sg + j, tvmem[j], PAGE_SIZE); in test_cipher_speed() 411 sg_set_buf(sg + i, tvmem[i], PAGE_SIZE); in test_hash_sg_init() 886 sg_set_buf(sg, tvmem[0] + *keysize, in test_acipher_speed() 889 sg_set_buf(sg + j, tvmem[j], PAGE_SIZE); in test_acipher_speed()
|
D | gcm.c | 197 sg_set_buf(pctx->src, pctx->auth_tag, sizeof(pctx->auth_tag)); in crypto_gcm_init_crypt() 203 sg_set_buf(pctx->dst, pctx->auth_tag, sizeof(pctx->auth_tag)); in crypto_gcm_init_crypt() 1142 sg_set_buf(payload, req->iv, 8); in crypto_rfc4543_crypt() 1157 sg_set_buf(assoc, rctx->assocbuf, req->assoclen); in crypto_rfc4543_crypt()
|
/linux-3.4.99/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-3.4.99/drivers/hv/ |
D | channel.c | 586 sg_set_buf(&bufferlist[0], &desc, sizeof(struct vmpacket_descriptor)); in vmbus_sendpacket() 587 sg_set_buf(&bufferlist[1], buffer, bufferlen); in vmbus_sendpacket() 588 sg_set_buf(&bufferlist[2], &aligned_data, in vmbus_sendpacket() 647 sg_set_buf(&bufferlist[0], &desc, descsize); in vmbus_sendpacket_pagebuffer() 648 sg_set_buf(&bufferlist[1], buffer, bufferlen); in vmbus_sendpacket_pagebuffer() 649 sg_set_buf(&bufferlist[2], &aligned_data, in vmbus_sendpacket_pagebuffer() 709 sg_set_buf(&bufferlist[0], &desc, descsize); in vmbus_sendpacket_multipagebuffer() 710 sg_set_buf(&bufferlist[1], buffer, bufferlen); in vmbus_sendpacket_multipagebuffer() 711 sg_set_buf(&bufferlist[2], &aligned_data, in vmbus_sendpacket_multipagebuffer()
|
/linux-3.4.99/drivers/usb/wusbcore/ |
D | crypto.c | 257 sg_set_buf(&sg[0], &b0, sizeof(b0)); in wusb_ccm_mac() 258 sg_set_buf(&sg[1], &b1, sizeof(b1)); in wusb_ccm_mac() 259 sg_set_buf(&sg[2], b, blen); in wusb_ccm_mac() 261 sg_set_buf(&sg[3], bzero, zero_padding); in wusb_ccm_mac()
|
/linux-3.4.99/drivers/net/ |
D | virtio_net.c | 369 sg_set_buf(vi->rx_sg, &hdr->hdr, sizeof hdr->hdr); in add_recvbuf_small() 394 sg_set_buf(&vi->rx_sg[i], page_address(first), PAGE_SIZE); in add_recvbuf_big() 410 sg_set_buf(&vi->rx_sg[0], p, sizeof(struct virtio_net_hdr)); in add_recvbuf_big() 414 sg_set_buf(&vi->rx_sg[1], p + offset, PAGE_SIZE - offset); in add_recvbuf_big() 609 sg_set_buf(vi->tx_sg, &hdr->mhdr, sizeof hdr->mhdr); in xmit_skb() 611 sg_set_buf(vi->tx_sg, &hdr->hdr, sizeof hdr->hdr); in xmit_skb() 767 sg_set_buf(&sg[0], &ctrl, sizeof(ctrl)); in virtnet_send_command() 769 sg_set_buf(&sg[i + 1], sg_virt(s), s->length); in virtnet_send_command() 770 sg_set_buf(&sg[out + in - 1], &status, sizeof(status)); in virtnet_send_command() 851 sg_set_buf(&sg[0], mac_data, in virtnet_set_rx_mode() [all …]
|
/linux-3.4.99/net/ipv6/ |
D | esp6.c | 241 sg_set_buf(asg, &esph->spi, sizeof(__be32)); in esp6_output() 243 sg_set_buf(asg + 1, seqhi, seqhilen); in esp6_output() 244 sg_set_buf(asg + 2, &esph->seq_no, sizeof(__be32)); in esp6_output() 388 sg_set_buf(asg, &esph->spi, sizeof(__be32)); in esp6_input() 390 sg_set_buf(asg + 1, seqhi, seqhilen); in esp6_input() 391 sg_set_buf(asg + 2, &esph->seq_no, sizeof(__be32)); in esp6_input()
|
/linux-3.4.99/drivers/block/ |
D | virtio_blk.c | 143 sg_set_buf(&vblk->sg[out++], &vbr->out_hdr, sizeof(vbr->out_hdr)); in do_req() 152 sg_set_buf(&vblk->sg[out++], vbr->req->cmd, vbr->req->cmd_len); in do_req() 157 sg_set_buf(&vblk->sg[num + out + in++], vbr->req->sense, SCSI_SENSE_BUFFERSIZE); in do_req() 158 sg_set_buf(&vblk->sg[num + out + in++], &vbr->in_hdr, in do_req() 162 sg_set_buf(&vblk->sg[num + out + in++], &vbr->status, in do_req()
|
/linux-3.4.99/net/ipv4/ |
D | esp4.c | 252 sg_set_buf(asg, &esph->spi, sizeof(__be32)); in esp_output() 254 sg_set_buf(asg + 1, seqhi, seqhilen); in esp_output() 255 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()
|
/linux-3.4.99/tools/virtio/linux/ |
D | virtio.h | 71 static inline void sg_set_buf(struct scatterlist *sg, const void *buf, in sg_set_buf() function 80 sg_set_buf(sg, buf, buflen); in sg_init_one()
|
/linux-3.4.99/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-3.4.99/drivers/scsi/arm/ |
D | scsi.h | 36 sg_set_buf(sg, SCp->ptr, SCp->this_residual); in copy_SCp_to_sg()
|
/linux-3.4.99/include/linux/ |
D | scatterlist.h | 111 static inline void sg_set_buf(struct scatterlist *sg, const void *buf, in sg_set_buf() function
|
/linux-3.4.99/net/sunrpc/auth_gss/ |
D | gss_krb5_crypto.c | 890 sg_set_buf(sg, &zeroconstant, 4); in krb5_rc4_setup_seq_key() 901 sg_set_buf(sg, cksum, 8); in krb5_rc4_setup_seq_key() 960 sg_set_buf(sg, zeroconstant, 4); in krb5_rc4_setup_enc_key() 976 sg_set_buf(sg, seqnumarray, 4); in krb5_rc4_setup_enc_key()
|
/linux-3.4.99/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-3.4.99/drivers/scsi/ |
D | virtio_scsi.c | 235 sg_set_buf(&sg[idx++], &cmd->req, req_size); in virtscsi_map_cmd() 244 sg_set_buf(&sg[idx++], &cmd->resp, resp_size); in virtscsi_map_cmd()
|
/linux-3.4.99/drivers/staging/rtl8187se/ieee80211/ |
D | ieee80211_crypt_tkip.c | 482 sg_set_buf(&sg[0], hdr, 16); in michael_mic() 483 sg_set_buf(&sg[1], data, data_len); in michael_mic()
|
/linux-3.4.99/drivers/staging/rtl8192e/ |
D | rtllib_crypt_tkip.c | 507 sg_set_buf(&sg[0], hdr, 16); in michael_mic() 508 sg_set_buf(&sg[1], data, data_len); in michael_mic()
|
/linux-3.4.99/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_crypt_tkip.c | 514 sg_set_buf(&sg[0], hdr, 16); in michael_mic() 515 sg_set_buf(&sg[1], data, data_len); in michael_mic()
|
/linux-3.4.99/lib/ |
D | scatterlist.c | 109 sg_set_buf(sg, buf, buflen); in sg_init_one()
|
/linux-3.4.99/net/wireless/ |
D | lib80211_crypt_tkip.c | 537 sg_set_buf(&sg[0], hdr, 16); in michael_mic() 538 sg_set_buf(&sg[1], data, data_len); in michael_mic()
|