Lines Matching refs:lft
393 if (x->lft.hard_add_expires_seconds) { in xfrm_timer_handler()
394 long tmo = x->lft.hard_add_expires_seconds + in xfrm_timer_handler()
403 tmo = x->lft.hard_add_expires_seconds - x->saved_tmo; in xfrm_timer_handler()
410 if (x->lft.hard_use_expires_seconds) { in xfrm_timer_handler()
411 long tmo = x->lft.hard_use_expires_seconds + in xfrm_timer_handler()
420 if (x->lft.soft_add_expires_seconds) { in xfrm_timer_handler()
421 long tmo = x->lft.soft_add_expires_seconds + in xfrm_timer_handler()
432 if (x->lft.soft_use_expires_seconds) { in xfrm_timer_handler()
433 long tmo = x->lft.soft_use_expires_seconds + in xfrm_timer_handler()
487 x->lft.soft_byte_limit = XFRM_INF; in xfrm_state_alloc()
488 x->lft.soft_packet_limit = XFRM_INF; in xfrm_state_alloc()
489 x->lft.hard_byte_limit = XFRM_INF; in xfrm_state_alloc()
490 x->lft.hard_packet_limit = XFRM_INF; in xfrm_state_alloc()
862 x->lft.hard_add_expires_seconds = net->xfrm.sysctl_acq_expires; in xfrm_state_find()
1062 x->lft.hard_add_expires_seconds = net->xfrm.sysctl_acq_expires; in __find_acq_core()
1146 memcpy(&x->lft, &orig->lft, sizeof(x->lft)); in xfrm_state_clone()
1350 memcpy(&x1->lft, &x->lft, sizeof(x1->lft)); in xfrm_state_update()
1374 if (x->curlft.bytes >= x->lft.hard_byte_limit || in xfrm_state_check_expire()
1375 x->curlft.packets >= x->lft.hard_packet_limit) { in xfrm_state_check_expire()
1382 (x->curlft.bytes >= x->lft.soft_byte_limit || in xfrm_state_check_expire()
1383 x->curlft.packets >= x->lft.soft_packet_limit)) { in xfrm_state_check_expire()