Lines Matching refs:lft
581 if (x->lft.hard_add_expires_seconds) { in xfrm_timer_handler()
582 time64_t tmo = x->lft.hard_add_expires_seconds + in xfrm_timer_handler()
591 tmo = x->lft.hard_add_expires_seconds - x->saved_tmo; in xfrm_timer_handler()
598 if (x->lft.hard_use_expires_seconds) { in xfrm_timer_handler()
599 time64_t tmo = x->lft.hard_use_expires_seconds + in xfrm_timer_handler()
608 if (x->lft.soft_add_expires_seconds) { in xfrm_timer_handler()
609 time64_t tmo = x->lft.soft_add_expires_seconds + in xfrm_timer_handler()
620 if (x->lft.soft_use_expires_seconds) { in xfrm_timer_handler()
621 time64_t tmo = x->lft.soft_use_expires_seconds + in xfrm_timer_handler()
676 x->lft.soft_byte_limit = XFRM_INF; in xfrm_state_alloc()
677 x->lft.soft_packet_limit = XFRM_INF; in xfrm_state_alloc()
678 x->lft.hard_byte_limit = XFRM_INF; in xfrm_state_alloc()
679 x->lft.hard_packet_limit = XFRM_INF; in xfrm_state_alloc()
1372 x->lft.hard_add_expires_seconds = net->xfrm.sysctl_acq_expires; in xfrm_state_find()
1610 x->lft.hard_add_expires_seconds = net->xfrm.sysctl_acq_expires; in __find_acq_core()
1723 memcpy(&x->lft, &orig->lft, sizeof(x->lft)); in xfrm_state_clone()
1958 memcpy(&x1->lft, &x->lft, sizeof(x1->lft)); in xfrm_state_update()
2000 if (x->curlft.bytes >= x->lft.hard_byte_limit || in xfrm_state_check_expire()
2001 x->curlft.packets >= x->lft.hard_packet_limit) { in xfrm_state_check_expire()
2008 (x->curlft.bytes >= x->lft.soft_byte_limit || in xfrm_state_check_expire()
2009 x->curlft.packets >= x->lft.soft_packet_limit)) { in xfrm_state_check_expire()