Home
last modified time | relevance | path

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

/fs/ecryptfs/
Dcrypto.c99 struct scatterlist sg; in ecryptfs_calculate_md5() local
107 sg_init_one(&sg, (u8 *)src, len); in ecryptfs_calculate_md5()
127 rc = crypto_hash_update(&desc, &sg, len); in ecryptfs_calculate_md5()
291 int virt_to_scatterlist(const void *addr, int size, struct scatterlist *sg, in virt_to_scatterlist() argument
299 sg_init_table(sg, sg_size); in virt_to_scatterlist()
304 if (sg) in virt_to_scatterlist()
305 sg_set_page(&sg[i], pg, 0, offset); in virt_to_scatterlist()
308 if (sg) in virt_to_scatterlist()
309 sg[i].length = remainder_of_page; in virt_to_scatterlist()
313 if (sg) in virt_to_scatterlist()
[all …]
Decryptfs_kernel.h586 int virt_to_scatterlist(const void *addr, int size, struct scatterlist *sg,
/fs/nfsd/
Dnfs4recover.c110 struct scatterlist sg; in nfs4_make_rec_clidname() local
124 sg_init_one(&sg, clname->data, clname->len); in nfs4_make_rec_clidname()
126 if (crypto_hash_digest(&desc, &sg, sg.length, cksum.data)) in nfs4_make_rec_clidname()
/fs/ext4/
Dmballoc.c2086 struct sg { in ext4_mb_seq_groups_show() struct
2089 } sg; in ext4_mb_seq_groups_show() local
2100 i = (sb->s_blocksize_bits + 2) * sizeof(sg.info.bb_counters[0]) + in ext4_mb_seq_groups_show()
2108 memcpy(&sg, ext4_get_group_info(sb, group), i); in ext4_mb_seq_groups_show()
2112 seq_printf(seq, "#%-5u: %-5u %-5u %-5u [", group, sg.info.bb_free, in ext4_mb_seq_groups_show()
2113 sg.info.bb_fragments, sg.info.bb_first_free); in ext4_mb_seq_groups_show()
2116 sg.info.bb_counters[i] : 0); in ext4_mb_seq_groups_show()