Lines Matching refs:lft

534 	if (x->lft.hard_add_expires_seconds) {  in xfrm_timer_handler()
535 long tmo = x->lft.hard_add_expires_seconds + in xfrm_timer_handler()
544 tmo = x->lft.hard_add_expires_seconds - x->saved_tmo; in xfrm_timer_handler()
551 if (x->lft.hard_use_expires_seconds) { in xfrm_timer_handler()
552 long tmo = x->lft.hard_use_expires_seconds + in xfrm_timer_handler()
561 if (x->lft.soft_add_expires_seconds) { in xfrm_timer_handler()
562 long tmo = x->lft.soft_add_expires_seconds + in xfrm_timer_handler()
573 if (x->lft.soft_use_expires_seconds) { in xfrm_timer_handler()
574 long tmo = x->lft.soft_use_expires_seconds + in xfrm_timer_handler()
628 x->lft.soft_byte_limit = XFRM_INF; in xfrm_state_alloc()
629 x->lft.soft_packet_limit = XFRM_INF; in xfrm_state_alloc()
630 x->lft.hard_byte_limit = XFRM_INF; in xfrm_state_alloc()
631 x->lft.hard_packet_limit = XFRM_INF; in xfrm_state_alloc()
1151 x->lft.hard_add_expires_seconds = net->xfrm.sysctl_acq_expires; in xfrm_state_find()
1371 x->lft.hard_add_expires_seconds = net->xfrm.sysctl_acq_expires; in __find_acq_core()
1482 memcpy(&x->lft, &orig->lft, sizeof(x->lft)); in xfrm_state_clone()
1714 memcpy(&x1->lft, &x->lft, sizeof(x1->lft)); in xfrm_state_update()
1754 if (x->curlft.bytes >= x->lft.hard_byte_limit || in xfrm_state_check_expire()
1755 x->curlft.packets >= x->lft.hard_packet_limit) { in xfrm_state_check_expire()
1762 (x->curlft.bytes >= x->lft.soft_byte_limit || in xfrm_state_check_expire()
1763 x->curlft.packets >= x->lft.soft_packet_limit)) { in xfrm_state_check_expire()