Searched refs:curlft (Results 1 – 12 of 12) sorted by relevance
/linux-6.6.21/net/ipv6/ |
D | xfrm6_input.c | 248 x->curlft.bytes += skb->len; in xfrm6_input_addr() 249 x->curlft.packets++; in xfrm6_input_addr()
|
/linux-6.6.21/net/xfrm/ |
D | xfrm_state.c | 581 x->curlft.add_time - now; in xfrm_timer_handler() 588 x->curlft.add_time = now - x->saved_tmo - 1; in xfrm_timer_handler() 598 (READ_ONCE(x->curlft.use_time) ? : now) - now; in xfrm_timer_handler() 608 x->curlft.add_time - now; in xfrm_timer_handler() 620 (READ_ONCE(x->curlft.use_time) ? : now) - now; in xfrm_timer_handler() 673 x->curlft.add_time = ktime_get_real_seconds(); in xfrm_state_alloc() 1121 (*best)->curlft.add_time < x->curlft.add_time)) in xfrm_state_look_at() 1738 memcpy(&x->curlft, &orig->curlft, sizeof(x->curlft)); in xfrm_state_clone() 1906 if (READ_ONCE(x1->curlft.use_time)) in xfrm_state_update() 1940 if (!READ_ONCE(x->curlft.use_time)) in xfrm_state_check_expire() [all …]
|
D | xfrm_policy.c | 331 xp->curlft.add_time - now; in xfrm_policy_timer() 339 (READ_ONCE(xp->curlft.use_time) ? : xp->curlft.add_time) - now; in xfrm_policy_timer() 347 xp->curlft.add_time - now; in xfrm_policy_timer() 357 (READ_ONCE(xp->curlft.use_time) ? : xp->curlft.add_time) - now; in xfrm_policy_timer() 1609 policy->curlft.add_time = ktime_get_real_seconds(); in xfrm_policy_insert() 1610 policy->curlft.use_time = 0; in xfrm_policy_insert() 2351 pol->curlft.add_time = ktime_get_real_seconds(); in xfrm_sk_policy_insert() 2386 newp->curlft = old->curlft; in clone_policy() 3223 WRITE_ONCE(pols[i]->curlft.use_time, ktime_get_real_seconds()); in xfrm_lookup_with_ifid() 3680 WRITE_ONCE(pol->curlft.use_time, ktime_get_real_seconds()); in __xfrm_policy_check() [all …]
|
D | xfrm_user.c | 650 x->curlft.bytes = ltime->bytes; in xfrm_update_ae_params() 651 x->curlft.packets = ltime->packets; in xfrm_update_ae_params() 652 x->curlft.add_time = ltime->add_time; in xfrm_update_ae_params() 653 x->curlft.use_time = ltime->use_time; in xfrm_update_ae_params() 906 memcpy(&p->curlft, &x->curlft, sizeof(p->curlft)); in copy_to_user_state() 1907 memcpy(&p->curlft, &xp->curlft, sizeof(p->curlft)); in copy_to_user_policy() 2435 err = nla_put_64bit(skb, XFRMA_LTIME_VAL, sizeof(x->curlft), &x->curlft, in build_aevent()
|
D | xfrm_compat.c | 26 struct compat_xfrm_lifetime_cur curlft; member 37 struct compat_xfrm_lifetime_cur curlft; member
|
D | xfrm_input.c | 657 x->curlft.bytes += skb->len; in xfrm_input() 658 x->curlft.packets++; in xfrm_input()
|
D | xfrm_output.c | 534 x->curlft.bytes += skb->len; in xfrm_output_one() 535 x->curlft.packets++; in xfrm_output_one()
|
/linux-6.6.21/include/uapi/linux/ |
D | xfrm.h | 377 struct xfrm_lifetime_cur curlft; member 421 struct xfrm_lifetime_cur curlft; member
|
/linux-6.6.21/net/key/ |
D | af_key.c | 907 lifetime->sadb_lifetime_allocations = x->curlft.packets; in __pfkey_xfrm_state2msg() 908 lifetime->sadb_lifetime_bytes = x->curlft.bytes; in __pfkey_xfrm_state2msg() 909 lifetime->sadb_lifetime_addtime = x->curlft.add_time; in __pfkey_xfrm_state2msg() 910 lifetime->sadb_lifetime_usetime = x->curlft.use_time; in __pfkey_xfrm_state2msg() 2135 lifetime->sadb_lifetime_allocations = xp->curlft.packets; in pfkey_xfrm_policy2msg() 2136 lifetime->sadb_lifetime_bytes = xp->curlft.bytes; in pfkey_xfrm_policy2msg() 2137 lifetime->sadb_lifetime_addtime = xp->curlft.add_time; in pfkey_xfrm_policy2msg() 2138 lifetime->sadb_lifetime_usetime = xp->curlft.use_time; in pfkey_xfrm_policy2msg()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | ipsec.c | 994 x->curlft.packets += packets; in mlx5e_xfrm_update_curlft() 995 x->curlft.bytes += bytes; in mlx5e_xfrm_update_curlft()
|
/linux-6.6.21/include/net/ |
D | xfrm.h | 264 struct xfrm_lifetime_cur curlft; member 537 struct xfrm_lifetime_cur curlft; member
|
/linux-6.6.21/net/core/ |
D | pktgen.c | 2665 x->curlft.bytes += skb->len; in pktgen_output_ipsec() 2666 x->curlft.packets++; in pktgen_output_ipsec()
|