Searched refs:nsg (Results 1 – 2 of 2) sorted by relevance
/net/rxrpc/ |
D | rxkad.c | 212 int nsg, err; in rxkad_secure_packet_encrypt() local 235 nsg = skb_cow_data(skb, 0, &trailer); in rxkad_secure_packet_encrypt() 236 if (nsg < 0 || nsg > 16) in rxkad_secure_packet_encrypt() 242 sg_init_table(sg, nsg); in rxkad_secure_packet_encrypt() 341 int nsg, ret; in rxkad_verify_packet_auth() local 348 nsg = skb_cow_data(skb, 0, &trailer); in rxkad_verify_packet_auth() 349 if (nsg < 0 || nsg > 16) in rxkad_verify_packet_auth() 352 sg_init_table(sg, nsg); in rxkad_verify_packet_auth() 418 int nsg, ret; in rxkad_verify_packet_encrypt() local 425 nsg = skb_cow_data(skb, 0, &trailer); in rxkad_verify_packet_encrypt() [all …]
|
/net/core/ |
D | skbuff.c | 3496 int nsg = __skb_to_sgvec(skb, sg, offset, len, 0); in skb_to_sgvec() local 3498 if (nsg <= 0) in skb_to_sgvec() 3499 return nsg; in skb_to_sgvec() 3501 sg_mark_end(&sg[nsg - 1]); in skb_to_sgvec() 3503 return nsg; in skb_to_sgvec()
|