Home
last modified time | relevance | path

Searched refs:curlft (Results 1 – 9 of 9) sorted by relevance

/net/xfrm/
Dxfrm_state.c536 x->curlft.add_time - now; in xfrm_timer_handler()
543 x->curlft.add_time = now - x->saved_tmo - 1; in xfrm_timer_handler()
553 (x->curlft.use_time ? : now) - now; in xfrm_timer_handler()
563 x->curlft.add_time - now; in xfrm_timer_handler()
575 (x->curlft.use_time ? : now) - now; in xfrm_timer_handler()
627 x->curlft.add_time = ktime_get_real_seconds(); in xfrm_state_alloc()
1030 (*best)->curlft.add_time < x->curlft.add_time)) in xfrm_state_look_at()
1554 memcpy(&x->curlft, &orig->curlft, sizeof(x->curlft)); in xfrm_state_clone()
1719 if (x1->curlft.use_time) in xfrm_state_update()
1751 if (!x->curlft.use_time) in xfrm_state_check_expire()
[all …]
Dxfrm_user.c544 x->curlft.bytes = ltime->bytes; in xfrm_update_ae_params()
545 x->curlft.packets = ltime->packets; in xfrm_update_ae_params()
546 x->curlft.add_time = ltime->add_time; in xfrm_update_ae_params()
547 x->curlft.use_time = ltime->use_time; in xfrm_update_ae_params()
793 memcpy(&p->curlft, &x->curlft, sizeof(p->curlft)); in copy_to_user_state()
1646 memcpy(&p->curlft, &xp->curlft, sizeof(p->curlft)); in copy_to_user_policy()
2064 err = nla_put_64bit(skb, XFRMA_LTIME_VAL, sizeof(x->curlft), &x->curlft, in build_aevent()
Dxfrm_policy.c336 xp->curlft.add_time - now; in xfrm_policy_timer()
344 (xp->curlft.use_time ? : xp->curlft.add_time) - now; in xfrm_policy_timer()
352 xp->curlft.add_time - now; in xfrm_policy_timer()
362 (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()
2277 pol->curlft.add_time = ktime_get_real_seconds(); in xfrm_sk_policy_insert()
2312 newp->curlft = old->curlft; in clone_policy()
3149 pols[i]->curlft.use_time = ktime_get_real_seconds(); in xfrm_lookup_with_ifid()
3635 pol->curlft.use_time = ktime_get_real_seconds(); in __xfrm_policy_check()
[all …]
Dxfrm_compat.c26 struct compat_xfrm_lifetime_cur curlft; member
37 struct compat_xfrm_lifetime_cur curlft; member
Dxfrm_output.c455 x->curlft.bytes += skb->len; in xfrm_output_one()
456 x->curlft.packets++; in xfrm_output_one()
Dxfrm_input.c670 x->curlft.bytes += skb->len; in xfrm_input()
671 x->curlft.packets++; in xfrm_input()
/net/ipv6/
Dxfrm6_input.c248 x->curlft.bytes += skb->len; in xfrm6_input_addr()
249 x->curlft.packets++; in xfrm6_input_addr()
/net/key/
Daf_key.c911 lifetime->sadb_lifetime_allocations = x->curlft.packets; in __pfkey_xfrm_state2msg()
912 lifetime->sadb_lifetime_bytes = x->curlft.bytes; in __pfkey_xfrm_state2msg()
913 lifetime->sadb_lifetime_addtime = x->curlft.add_time; in __pfkey_xfrm_state2msg()
914 lifetime->sadb_lifetime_usetime = x->curlft.use_time; in __pfkey_xfrm_state2msg()
2140 lifetime->sadb_lifetime_allocations = xp->curlft.packets; in pfkey_xfrm_policy2msg()
2141 lifetime->sadb_lifetime_bytes = xp->curlft.bytes; in pfkey_xfrm_policy2msg()
2142 lifetime->sadb_lifetime_addtime = xp->curlft.add_time; in pfkey_xfrm_policy2msg()
2143 lifetime->sadb_lifetime_usetime = xp->curlft.use_time; in pfkey_xfrm_policy2msg()
/net/core/
Dpktgen.c2529 x->curlft.bytes += skb->len; in pktgen_output_ipsec()
2530 x->curlft.packets++; in pktgen_output_ipsec()