Home
last modified time | relevance | path

Searched refs:iv (Results 1 – 6 of 6) sorted by relevance

/fs/
Dbio-integrity.c48 struct bio_vec *iv; in bio_integrity_alloc_bioset() local
61 iv = bvec_alloc_bs(gfp_mask, nr_vecs, &idx, bs); in bio_integrity_alloc_bioset()
62 if (unlikely(iv == NULL)) { in bio_integrity_alloc_bioset()
69 bip->bip_vec = iv; in bio_integrity_alloc_bioset()
134 struct bio_vec *iv; in bio_integrity_add_page() local
141 iv = bip_vec_idx(bip, bip->bip_vcnt); in bio_integrity_add_page()
142 BUG_ON(iv == NULL); in bio_integrity_add_page()
144 iv->bv_page = page; in bio_integrity_add_page()
145 iv->bv_len = len; in bio_integrity_add_page()
146 iv->bv_offset = offset; in bio_integrity_add_page()
[all …]
/fs/smbfs/
Dsock.c161 struct kvec *iv = *data; in smb_move_iov() local
168 while (iv->iov_len <= amount) { in smb_move_iov()
169 amount -= iv->iov_len; in smb_move_iov()
170 iv++; in smb_move_iov()
177 vec[0].iov_len = iv->iov_len-amount; in smb_move_iov()
178 vec[0].iov_base =((unsigned char *)iv->iov_base)+amount; in smb_move_iov()
179 iv++; in smb_move_iov()
187 vec[i] = *iv++; in smb_move_iov()
/fs/ecryptfs/
Dcrypto.c43 unsigned char *iv);
48 unsigned char *iv);
178 int ecryptfs_derive_iv(char *iv, struct ecryptfs_crypt_stat *crypt_stat, in ecryptfs_derive_iv() argument
207 memcpy(iv, dst, crypt_stat->iv_bytes); in ecryptfs_derive_iv()
210 ecryptfs_dump_hex(iv, crypt_stat->iv_bytes); in ecryptfs_derive_iv()
340 unsigned char *iv) in encrypt_scatterlist() argument
344 .info = iv, in encrypt_scatterlist()
688 unsigned char *iv) in decrypt_scatterlist() argument
692 .info = iv, in decrypt_scatterlist()
737 unsigned char *iv) in ecryptfs_encrypt_page_offset() argument
[all …]
Dkeystore.c485 char iv[ECRYPTFS_MAX_IV_BYTES]; member
714 memset(s->iv, 0, ECRYPTFS_MAX_IV_BYTES); in ecryptfs_write_tag_70_packet()
715 s->desc.info = s->iv; in ecryptfs_write_tag_70_packet()
767 char iv[ECRYPTFS_MAX_IV_BYTES]; member
902 memset(s->iv, 0, ECRYPTFS_MAX_IV_BYTES); in ecryptfs_parse_tag_70_packet()
903 s->desc.info = s->iv; in ecryptfs_parse_tag_70_packet()
Decryptfs_kernel.h641 void ecryptfs_rotate_iv(unsigned char *iv);
762 int ecryptfs_derive_iv(char *iv, struct ecryptfs_crypt_stat *crypt_stat,
/fs/xfs/linux-2.6/
Dxfs_lrw.c190 const struct iovec *iv = &iovp[seg]; in xfs_read() local
196 size += iv->iov_len; in xfs_read()
197 if (unlikely((ssize_t)(size|iv->iov_len) < 0)) in xfs_read()