Lines Matching refs:lft

579 	if (x->lft.hard_add_expires_seconds) {  in xfrm_timer_handler()
580 time64_t tmo = x->lft.hard_add_expires_seconds + in xfrm_timer_handler()
589 tmo = x->lft.hard_add_expires_seconds - x->saved_tmo; in xfrm_timer_handler()
596 if (x->lft.hard_use_expires_seconds) { in xfrm_timer_handler()
597 time64_t tmo = x->lft.hard_use_expires_seconds + in xfrm_timer_handler()
606 if (x->lft.soft_add_expires_seconds) { in xfrm_timer_handler()
607 time64_t tmo = x->lft.soft_add_expires_seconds + in xfrm_timer_handler()
618 if (x->lft.soft_use_expires_seconds) { in xfrm_timer_handler()
619 time64_t tmo = x->lft.soft_use_expires_seconds + in xfrm_timer_handler()
674 x->lft.soft_byte_limit = XFRM_INF; in xfrm_state_alloc()
675 x->lft.soft_packet_limit = XFRM_INF; in xfrm_state_alloc()
676 x->lft.hard_byte_limit = XFRM_INF; in xfrm_state_alloc()
677 x->lft.hard_packet_limit = XFRM_INF; in xfrm_state_alloc()
1314 x->lft.hard_add_expires_seconds = net->xfrm.sysctl_acq_expires; in xfrm_state_find()
1556 x->lft.hard_add_expires_seconds = net->xfrm.sysctl_acq_expires; in __find_acq_core()
1669 memcpy(&x->lft, &orig->lft, sizeof(x->lft)); in xfrm_state_clone()
1904 memcpy(&x1->lft, &x->lft, sizeof(x1->lft)); in xfrm_state_update()
1946 if (x->curlft.bytes >= x->lft.hard_byte_limit || in xfrm_state_check_expire()
1947 x->curlft.packets >= x->lft.hard_packet_limit) { in xfrm_state_check_expire()
1954 (x->curlft.bytes >= x->lft.soft_byte_limit || in xfrm_state_check_expire()
1955 x->curlft.packets >= x->lft.soft_packet_limit)) { in xfrm_state_check_expire()