Searched refs:sg (Results 1 – 4 of 4) sorted by relevance
/fs/ecryptfs/ |
D | crypto.c | 99 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 sg_set_page(&sg[i], pg, 0, offset); in virt_to_scatterlist() 307 sg[i].length = remainder_of_page; in virt_to_scatterlist() 311 sg[i].length = size; in virt_to_scatterlist()
|
D | ecryptfs_kernel.h | 589 int virt_to_scatterlist(const void *addr, int size, struct scatterlist *sg,
|
/fs/nfsd/ |
D | nfs4recover.c | 108 struct scatterlist sg; in nfs4_make_rec_clidname() local 127 sg_init_one(&sg, clname->data, clname->len); in nfs4_make_rec_clidname() 129 status = crypto_hash_digest(&desc, &sg, sg.length, cksum.data); in nfs4_make_rec_clidname()
|
/fs/ext4/ |
D | mballoc.c | 2253 struct sg { in ext4_mb_seq_groups_show() struct 2256 } sg; in ext4_mb_seq_groups_show() local 2267 i = (sb->s_blocksize_bits + 2) * sizeof(sg.info.bb_counters[0]) + in ext4_mb_seq_groups_show() 2280 memcpy(&sg, ext4_get_group_info(sb, group), i); in ext4_mb_seq_groups_show() 2285 seq_printf(seq, "#%-5u: %-5u %-5u %-5u [", group, sg.info.bb_free, in ext4_mb_seq_groups_show() 2286 sg.info.bb_fragments, sg.info.bb_first_free); in ext4_mb_seq_groups_show() 2289 sg.info.bb_counters[i] : 0); in ext4_mb_seq_groups_show()
|