Home
last modified time | relevance | path

Searched refs:lft_c (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/netipsec/
H A Dipsec_offload.h59 struct seclifetime *lft_c, if_t ifp, enum IF_SA_CNT_WHICH op,
117 struct seclifetime *lft_c, if_t ifp, enum IF_SA_CNT_WHICH op, in ipsec_accel_sa_lifetime_op() argument
120 int (*p)(struct secasvar *sav, struct seclifetime *lft_c, if_t ifp, in ipsec_accel_sa_lifetime_op()
125 return (p(sav, lft_c, ifp, op, sahtree_trackerp)); in ipsec_accel_sa_lifetime_op()
H A Dkeydb.h176 counter_u64_t lft_c; /* CURRENT lifetime */
177 #define lft_c_allocations lft_c
178 #define lft_c_bytes lft_c + 1
173 counter_u64_t lft_c; /* CURRENT lifetime */ global() member
H A Dipsec_offload.c151 struct seclifetime *lft_c, if_t ifp, enum IF_SA_CNT_WHICH op,
981 ipsec_accel_sa_lifetime_update(struct seclifetime *lft_c, in ipsec_accel_sa_lifetime_update() argument
984 lft_c->allocations += lft_l->allocations; in ipsec_accel_sa_lifetime_update()
985 lft_c->bytes += lft_l->bytes; in ipsec_accel_sa_lifetime_update()
986 lft_c->usetime = min(lft_c->usetime, lft_l->usetime); in ipsec_accel_sa_lifetime_update()
1017 if (sav->lft_c != NULL) { in ipsec_accel_drv_sa_lifetime_update_impl()
1076 struct seclifetime *lft_c, if_t ifp, enum IF_SA_CNT_WHICH op, in ipsec_accel_sa_lifetime_op_impl() argument
1126 memset(lft_c, 0, sizeof(*lft_c)); in ipsec_accel_sa_lifetime_op_impl()
1127 ipsec_accel_sa_lifetime_update(lft_c, &lft_l); in ipsec_accel_sa_lifetime_op_impl()
H A Dkey_debug.c855 struct seclifetime lft_c; in kdebug_secasv()
864 lft_c.addtime = sav->created; in kdebug_secasv()
865 lft_c.allocations = (uint32_t)counter_u64_fetch( in kdebug_secasv()
867 lft_c.bytes = counter_u64_fetch(sav->lft_c_bytes); in kdebug_secasv()
868 lft_c.usetime = sav->firstused; in kdebug_secasv()
869 kdebug_sec_lifetime(&lft_c, " c_"); in kdebug_secasv()
850 struct seclifetime lft_c; kdebug_secasv() local
H A Dkey.c107 struct seclifetime *lft_c, if_t ifp, enum IF_SA_CNT_WHICH op,
3079 sav->lft_c = uma_zalloc_pcpu(ipsec_key_lft_zone, M_NOWAIT | M_ZERO); in key_newsav()
3080 if (sav->lft_c == NULL) { in key_newsav()
3195 if (sav->lft_c != NULL) in key_newsav()
3196 uma_zfree_pcpu(ipsec_key_lft_zone, sav->lft_c); in key_newsav()
3286 uma_zfree_pcpu(ipsec_key_lft_zone, sav->lft_c); in key_delsav()
3718 struct seclifetime lft_c; in key_setdumpsa() local
3811 lft_c.addtime = sav->created; in key_setdumpsa()
3812 lft_c.allocations = (uint32_t)counter_u64_fetch( in key_setdumpsa()
3814 lft_c.bytes = counter_u64_fetch(sav->lft_c_bytes); in key_setdumpsa()
[all …]