Home
last modified time | relevance | path

Searched refs:first_sg (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/crypto/caam/
Dcaamhash.c706 unsigned int first_sg, in ahash_edesc_add_src() argument
712 if (nents > 1 || first_sg) { in ahash_edesc_add_src()
714 unsigned int sgsize = sizeof(*sg) * (first_sg + nents); in ahash_edesc_add_src()
716 sg_to_sec4_sg_last(req->src, nents, sg + first_sg, 0); in ahash_edesc_add_src()
/Linux-v4.19/net/core/
Dfilter.c2298 int first_sg, last_sg, i, shift; in BPF_CALL_4() local
2318 first_sg = i; in BPF_CALL_4()
2353 i = first_sg; in BPF_CALL_4()
2367 sg[first_sg].length = copy; in BPF_CALL_4()
2368 sg_set_page(&sg[first_sg], page, copy, 0); in BPF_CALL_4()
2374 WARN_ON_ONCE(last_sg == first_sg); in BPF_CALL_4()
2375 shift = last_sg > first_sg ? in BPF_CALL_4()
2376 last_sg - first_sg - 1 : in BPF_CALL_4()
2377 MAX_SKB_FRAGS - first_sg + last_sg - 1; in BPF_CALL_4()
2381 i = first_sg; in BPF_CALL_4()
[all …]