Lines Matching refs:lft
152 attrs->lft.hard_packet_limit = x->lft.hard_packet_limit;
153 attrs->lft.soft_packet_limit = x->lft.soft_packet_limit;
154 if (x->lft.soft_packet_limit == XFRM_INF)
187 n = attrs->lft.hard_packet_limit / BIT_ULL(31);
188 start_value = attrs->lft.hard_packet_limit - n * BIT_ULL(31);
195 start_value = attrs->lft.hard_packet_limit - n * BIT_ULL(31);
200 attrs->lft.hard_packet_limit = lower_32_bits(start_value);
201 attrs->lft.numb_rounds_hard = (u64)n;
225 n = (x->lft.soft_packet_limit - attrs->lft.hard_packet_limit) / BIT_ULL(31);
226 start_value = attrs->lft.hard_packet_limit + n * BIT_ULL(31) -
227 x->lft.soft_packet_limit;
238 start_value = attrs->lft.hard_packet_limit + n * BIT_ULL(31) - start_value;
239 if (n != attrs->lft.numb_rounds_hard && start_value < BIT_ULL(30))
247 start_value = attrs->lft.hard_packet_limit + n * BIT_ULL(31) - start_value;
255 attrs->lft.soft_packet_limit = lower_32_bits(start_value);
256 attrs->lft.numb_rounds_soft = (u64)n;
523 if (x->lft.soft_byte_limit >= x->lft.hard_byte_limit &&
524 x->lft.hard_byte_limit != XFRM_INF) {
530 if (!x->lft.soft_byte_limit || !x->lft.hard_byte_limit) {
535 if (x->lft.soft_packet_limit >= x->lft.hard_packet_limit &&
536 x->lft.hard_packet_limit != XFRM_INF) {
542 if (!x->lft.soft_packet_limit || !x->lft.hard_packet_limit) {
667 if (x->lft.soft_packet_limit == XFRM_INF &&
668 x->lft.hard_packet_limit == XFRM_INF &&
669 x->lft.soft_byte_limit == XFRM_INF &&
670 x->lft.hard_byte_limit == XFRM_INF)