Home
last modified time | relevance | path

Searched refs:seg (Results 1 – 8 of 8) sorted by relevance

/net/ipv4/
Dudp_offload.c191 static void __udpv4_gso_segment_csum(struct sk_buff *seg, in __udpv4_gso_segment_csum() argument
201 uh = udp_hdr(seg); in __udpv4_gso_segment_csum()
202 iph = ip_hdr(seg); in __udpv4_gso_segment_csum()
205 inet_proto_csum_replace4(&uh->check, seg, *oldip, *newip, in __udpv4_gso_segment_csum()
207 inet_proto_csum_replace2(&uh->check, seg, *oldport, *newport, in __udpv4_gso_segment_csum()
220 struct sk_buff *seg; in __udpv4_gso_segment_list_csum() local
224 seg = segs; in __udpv4_gso_segment_list_csum()
225 uh = udp_hdr(seg); in __udpv4_gso_segment_list_csum()
226 iph = ip_hdr(seg); in __udpv4_gso_segment_list_csum()
228 if ((udp_hdr(seg)->dest == udp_hdr(seg->next)->dest) && in __udpv4_gso_segment_list_csum()
[all …]
/net/sunrpc/xprtrdma/
Drpc_rdma.c209 rpcrdma_convert_kvec(struct kvec *vec, struct rpcrdma_mr_seg *seg, in rpcrdma_convert_kvec() argument
212 seg->mr_page = virt_to_page(vec->iov_base); in rpcrdma_convert_kvec()
213 seg->mr_offset = offset_in_page(vec->iov_base); in rpcrdma_convert_kvec()
214 seg->mr_len = vec->iov_len; in rpcrdma_convert_kvec()
215 ++seg; in rpcrdma_convert_kvec()
217 return seg; in rpcrdma_convert_kvec()
230 struct rpcrdma_mr_seg *seg) in rpcrdma_convert_iovs() argument
238 seg = rpcrdma_convert_kvec(&xdrbuf->head[0], seg, &n); in rpcrdma_convert_iovs()
244 seg->mr_page = *ppages; in rpcrdma_convert_iovs()
245 seg->mr_offset = page_base; in rpcrdma_convert_iovs()
[all …]
Dfrwr_ops.c285 struct rpcrdma_mr_seg *seg, in frwr_map() argument
298 sg_set_page(&mr->mr_sg[i], seg->mr_page, in frwr_map()
299 seg->mr_len, seg->mr_offset); in frwr_map()
301 ++seg; in frwr_map()
305 if ((i < nsegs && seg->mr_offset) || in frwr_map()
306 offset_in_page((seg-1)->mr_offset + (seg-1)->mr_len)) in frwr_map()
340 return seg; in frwr_map()
672 struct rpcrdma_mr_seg seg; in frwr_wp_create() local
681 seg.mr_len = XDR_UNIT; in frwr_wp_create()
682 seg.mr_page = virt_to_page(ep->re_write_pad); in frwr_wp_create()
[all …]
Dsvc_rdma_rw.c473 const struct svc_rdma_segment *seg; in svc_rdma_build_writes() local
484 seg = &info->wi_chunk->ch_segments[info->wi_seg_no]; in svc_rdma_build_writes()
485 write_len = min(remaining, seg->rs_length - info->wi_seg_off); in svc_rdma_build_writes()
494 offset = seg->rs_offset + info->wi_seg_off; in svc_rdma_build_writes()
495 ret = svc_rdma_rw_ctx_init(rdma, ctxt, offset, seg->rs_handle, in svc_rdma_build_writes()
503 if (write_len == seg->rs_length - info->wi_seg_off) { in svc_rdma_build_writes()
Dxprt_rdma.h538 struct rpcrdma_mr_seg *seg,
/net/caif/
Dcfrfml.c216 u8 seg; in cfrfml_transmit() local
241 seg = 1; in cfrfml_transmit()
244 if (cfpkt_add_head(frontpkt, &seg, 1) < 0) in cfrfml_transmit()
273 seg = 0; in cfrfml_transmit()
276 if (cfpkt_add_head(frontpkt, &seg, 1) < 0) in cfrfml_transmit()
/net/openvswitch/
Dflow_table.c797 int seg; in ovs_flow_tbl_lookup_stats() local
820 for (seg = 0; seg < MC_HASH_SEGS; seg++) { in ovs_flow_tbl_lookup_stats()
/net/core/
Dskbuff.c2705 int seg; in __skb_splice_bits() local
2724 for (seg = 0; seg < skb_shinfo(skb)->nr_frags; seg++) { in __skb_splice_bits()
2725 const skb_frag_t *f = &skb_shinfo(skb)->frags[seg]; in __skb_splice_bits()