Home
last modified time | relevance | path

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

/net/smc/
Dsmc_tx.c308 size_t src_off, size_t src_len, in smcr_tx_rdma_writes() argument
316 int src_len_sum = src_len, dst_len_sum = dst_len; in smcr_tx_rdma_writes()
329 sge[srcchunk].length = src_len; in smcr_tx_rdma_writes()
332 src_off += src_len; in smcr_tx_rdma_writes()
339 src_len = dst_len - src_len; /* remainder */ in smcr_tx_rdma_writes()
340 src_len_sum += src_len; in smcr_tx_rdma_writes()
352 src_len = min_t(int, dst_len, conn->sndbuf_desc->len - in smcr_tx_rdma_writes()
354 src_len_sum = src_len; in smcr_tx_rdma_writes()
361 size_t src_off, size_t src_len, in smcd_tx_rdma_writes() argument
364 int src_len_sum = src_len, dst_len_sum = dst_len; in smcd_tx_rdma_writes()
[all …]
/net/ipv4/
Dfib_rules.c37 u8 src_len; member
52 if (r->dst_len || r->src_len || r->tos) in fib4_rule_matchall()
257 if (frh->src_len) in fib4_rule_configure()
274 rule4->src_len = frh->src_len; in fib4_rule_configure()
275 rule4->srcmask = inet_make_mask(rule4->src_len); in fib4_rule_configure()
315 if (frh->src_len && (rule4->src_len != frh->src_len)) in fib4_rule_compare()
329 if (frh->src_len && (rule4->src != nla_get_in_addr(tb[FRA_SRC]))) in fib4_rule_compare()
344 frh->src_len = rule4->src_len; in fib4_rule_fill()
349 (rule4->src_len && in fib4_rule_fill()
Dipmr.c219 frh->src_len = 0; in ipmr_rule_fill()
/net/ipv6/
Dfib6_rules.c368 if (frh->src_len) in fib6_rule_configure()
374 rule6->src.plen = frh->src_len; in fib6_rule_configure()
403 if (frh->src_len && (rule6->src.plen != frh->src_len)) in fib6_rule_compare()
412 if (frh->src_len && in fib6_rule_compare()
429 frh->src_len = rule6->src.plen; in fib6_rule_fill()
Dip6_fib.c1703 const struct in6_addr *saddr, int src_len, in fib6_locate() argument
1713 if (src_len) { in fib6_locate()
1719 fn = fib6_locate_1(subtree, saddr, src_len, in fib6_locate()
Dip6mr.c206 frh->src_len = 0; in ip6mr_rule_fill()
/net/xfrm/
Dxfrm_compat.c137 int src_len = xfrm_msg_min[type]; in xfrm_nlmsg_put_compat() local
141 if (WARN_ON_ONCE(src_len < payload)) in xfrm_nlmsg_put_compat()
163 WARN_ON_ONCE(src_len != payload); in xfrm_nlmsg_put_compat()
164 memcpy(nlmsg_data(nlh_dst), nlmsg_data(nlh_src), src_len); in xfrm_nlmsg_put_compat()
171 WARN_ON_ONCE(src_len != payload + 4); in xfrm_nlmsg_put_compat()
/net/core/
Dfib_rules.c528 if (frh->src_len) in fib_nl2rule()
530 frh->src_len > (ops->addr_size * 8) || in fib_nl2rule()
1106 if (frh->dst_len || frh->src_len || frh->tos || frh->table || in fib_valid_dumprule_req()