Searched refs:src_len (Results 1 – 9 of 9) sorted by relevance
/net/smc/ |
D | smc_tx.c | 321 size_t src_off, size_t src_len, in smcr_tx_rdma_writes() argument 329 int src_len_sum = src_len, dst_len_sum = dst_len; in smcr_tx_rdma_writes() 342 sge[srcchunk].length = src_len; in smcr_tx_rdma_writes() 345 src_off += src_len; in smcr_tx_rdma_writes() 352 src_len = dst_len - src_len; /* remainder */ in smcr_tx_rdma_writes() 353 src_len_sum += src_len; in smcr_tx_rdma_writes() 365 src_len = min_t(int, dst_len, conn->sndbuf_desc->len - in smcr_tx_rdma_writes() 367 src_len_sum = src_len; in smcr_tx_rdma_writes() 374 size_t src_off, size_t src_len, in smcd_tx_rdma_writes() argument 377 int src_len_sum = src_len, dst_len_sum = dst_len; in smcd_tx_rdma_writes() [all …]
|
/net/ipv4/ |
D | fib_rules.c | 37 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()
|
D | ipmr.c | 219 frh->src_len = 0; in ipmr_rule_fill()
|
/net/ipv6/ |
D | fib6_rules.c | 368 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()
|
D | ip6_fib.c | 1705 const struct in6_addr *saddr, int src_len, in fib6_locate() argument 1715 if (src_len) { in fib6_locate() 1721 fn = fib6_locate_1(subtree, saddr, src_len, in fib6_locate()
|
D | ip6mr.c | 206 frh->src_len = 0; in ip6mr_rule_fill()
|
/net/xfrm/ |
D | xfrm_compat.c | 138 int src_len = xfrm_msg_min[type]; in xfrm_nlmsg_put_compat() local 142 if (WARN_ON_ONCE(src_len < payload)) in xfrm_nlmsg_put_compat() 164 WARN_ON_ONCE(src_len != payload); in xfrm_nlmsg_put_compat() 165 memcpy(nlmsg_data(nlh_dst), nlmsg_data(nlh_src), src_len); in xfrm_nlmsg_put_compat() 172 WARN_ON_ONCE(src_len != payload + 4); in xfrm_nlmsg_put_compat()
|
/net/core/ |
D | fib_rules.c | 528 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()
|
/net/ceph/ |
D | messenger_v2.c | 843 int src_len) in gcm_crypt() argument 851 aead_request_set_crypt(con->v2.gcm_req, src, dst, src_len, (u8 *)nonce); in gcm_crypt()
|