Lines Matching refs:lft

555 	if (x->lft.hard_add_expires_seconds) {  in xfrm_timer_handler()
556 long tmo = x->lft.hard_add_expires_seconds + in xfrm_timer_handler()
565 tmo = x->lft.hard_add_expires_seconds - x->saved_tmo; in xfrm_timer_handler()
572 if (x->lft.hard_use_expires_seconds) { in xfrm_timer_handler()
573 long tmo = x->lft.hard_use_expires_seconds + in xfrm_timer_handler()
582 if (x->lft.soft_add_expires_seconds) { in xfrm_timer_handler()
583 long tmo = x->lft.soft_add_expires_seconds + in xfrm_timer_handler()
594 if (x->lft.soft_use_expires_seconds) { in xfrm_timer_handler()
595 long tmo = x->lft.soft_use_expires_seconds + in xfrm_timer_handler()
650 x->lft.soft_byte_limit = XFRM_INF; in xfrm_state_alloc()
651 x->lft.soft_packet_limit = XFRM_INF; in xfrm_state_alloc()
652 x->lft.hard_byte_limit = XFRM_INF; in xfrm_state_alloc()
653 x->lft.hard_packet_limit = XFRM_INF; in xfrm_state_alloc()
1179 x->lft.hard_add_expires_seconds = net->xfrm.sysctl_acq_expires; in xfrm_state_find()
1405 x->lft.hard_add_expires_seconds = net->xfrm.sysctl_acq_expires; in __find_acq_core()
1516 memcpy(&x->lft, &orig->lft, sizeof(x->lft)); in xfrm_state_clone()
1740 memcpy(&x1->lft, &x->lft, sizeof(x1->lft)); in xfrm_state_update()
1780 if (x->curlft.bytes >= x->lft.hard_byte_limit || in xfrm_state_check_expire()
1781 x->curlft.packets >= x->lft.hard_packet_limit) { in xfrm_state_check_expire()
1788 (x->curlft.bytes >= x->lft.soft_byte_limit || in xfrm_state_check_expire()
1789 x->curlft.packets >= x->lft.soft_packet_limit)) { in xfrm_state_check_expire()