Home
last modified time | relevance | path

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

/fs/nfsd/
Dnfs4recover.c98 struct scatterlist sg; in nfs4_make_rec_clidname() local
112 sg_init_one(&sg, clname->data, clname->len); in nfs4_make_rec_clidname()
114 if (crypto_hash_digest(&desc, &sg, sg.length, cksum.data)) in nfs4_make_rec_clidname()
/fs/ecryptfs/
Dcrypto.c98 struct scatterlist sg; in ecryptfs_calculate_md5() local
106 sg_init_one(&sg, (u8 *)src, len); in ecryptfs_calculate_md5()
126 rc = crypto_hash_update(&desc, &sg, len); in ecryptfs_calculate_md5()
293 int virt_to_scatterlist(const void *addr, int size, struct scatterlist *sg, in virt_to_scatterlist() argument
301 sg_init_table(sg, sg_size); in virt_to_scatterlist()
306 if (sg) in virt_to_scatterlist()
307 sg_set_page(&sg[i], pg, 0, offset); in virt_to_scatterlist()
310 if (sg) in virt_to_scatterlist()
311 sg[i].length = remainder_of_page; in virt_to_scatterlist()
315 if (sg) in virt_to_scatterlist()
[all …]
Decryptfs_kernel.h638 int virt_to_scatterlist(const void *addr, int size, struct scatterlist *sg,
/fs/ext4/
Dmballoc.c2342 struct sg { in ext4_mb_seq_groups_show() struct
2345 } sg; in ext4_mb_seq_groups_show() local
2356 i = (sb->s_blocksize_bits + 2) * sizeof(sg.info.bb_counters[0]) + in ext4_mb_seq_groups_show()
2364 memcpy(&sg, ext4_get_group_info(sb, group), i); in ext4_mb_seq_groups_show()
2368 seq_printf(seq, "#%-5u: %-5u %-5u %-5u [", group, sg.info.bb_free, in ext4_mb_seq_groups_show()
2369 sg.info.bb_fragments, sg.info.bb_first_free); in ext4_mb_seq_groups_show()
2372 sg.info.bb_counters[i] : 0); in ext4_mb_seq_groups_show()