Searched refs:nsg (Results 1 – 4 of 4) sorted by relevance
/net/rxrpc/ |
D | rxkad.c | 440 int nsg, ret; in rxkad_verify_packet_2() local 454 nsg = skb_shinfo(skb)->nr_frags; in rxkad_verify_packet_2() 455 if (nsg <= 4) { in rxkad_verify_packet_2() 456 nsg = 4; in rxkad_verify_packet_2() 458 sg = kmalloc_array(nsg, sizeof(*sg), GFP_NOIO); in rxkad_verify_packet_2() 463 sg_init_table(sg, nsg); in rxkad_verify_packet_2()
|
/net/tls/ |
D | tls_device.c | 755 int err = 0, offset = rxm->offset, copy, nsg, data_len, pos; in tls_device_reencrypt() local 766 nsg = skb_cow_data(skb, 0, &unused); in tls_device_reencrypt() 767 if (unlikely(nsg < 0)) { in tls_device_reencrypt() 768 err = nsg; in tls_device_reencrypt()
|
D | tls_sw.c | 1383 int n_sgin, n_sgout, nsg, mem_size, aead_size, err, pages = 0; in decrypt_internal() local 1412 nsg = n_sgin + n_sgout; in decrypt_internal() 1415 mem_size = aead_size + (nsg * sizeof(struct scatterlist)); in decrypt_internal()
|
/net/core/ |
D | skbuff.c | 4247 int nsg = __skb_to_sgvec(skb, sg, offset, len, 0); in skb_to_sgvec() local 4249 if (nsg <= 0) in skb_to_sgvec() 4250 return nsg; in skb_to_sgvec() 4252 sg_mark_end(&sg[nsg - 1]); in skb_to_sgvec() 4254 return nsg; in skb_to_sgvec()
|