Home
last modified time | relevance | path

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

/lib/
Dscatterlist.c23 struct scatterlist *sg_next(struct scatterlist *sg) in sg_next() argument
25 if (sg_is_last(sg)) in sg_next()
28 sg++; in sg_next()
29 if (unlikely(sg_is_chain(sg))) in sg_next()
30 sg = sg_chain_ptr(sg); in sg_next()
32 return sg; in sg_next()
45 int sg_nents(struct scatterlist *sg) in sg_nents() argument
48 for (nents = 0; sg; sg = sg_next(sg)) in sg_nents()
68 int sg_nents_for_len(struct scatterlist *sg, u64 len) in sg_nents_for_len() argument
76 for (nents = 0, total = 0; sg; sg = sg_next(sg)) { in sg_nents_for_len()
[all …]
Dsg_split.c28 struct scatterlist *sg; in sg_calculate_split() local
35 for_each_sg(in, sg, nents, i) { in sg_calculate_split()
36 sglen = mapped ? sg_dma_len(sg) : sg->length; in sg_calculate_split()
44 curr->in_sg0 = sg; in sg_calculate_split()
57 curr->in_sg0 = sg; in sg_calculate_split()
Diov_iter.c1751 struct scatterlist sg; in hash_and_copy_to_iter() local
1755 sg_init_one(&sg, addr, copied); in hash_and_copy_to_iter()
1756 ahash_request_set_crypt(hash, &sg, NULL, copied); in hash_and_copy_to_iter()
DKconfig640 # sg chaining option
DKconfig.debug1647 their sg tables.