Home
last modified time | relevance | path

Searched refs:cntr (Results 1 – 13 of 13) sorted by relevance

/f-stack/freebsd/netipsec/
H A Dsubr_ipsec.c130 ipsec_kmod_enter(volatile u_int *cntr) in ipsec_kmod_enter() argument
135 old = *cntr; in ipsec_kmod_enter()
139 } while(atomic_cmpset_acq_int(cntr, old, new) == 0); in ipsec_kmod_enter()
144 ipsec_kmod_exit(volatile u_int *cntr) in ipsec_kmod_exit() argument
149 old = *cntr; in ipsec_kmod_exit()
151 } while (atomic_cmpset_rel_int(cntr, old, new) == 0); in ipsec_kmod_exit()
155 ipsec_kmod_drain(volatile u_int *cntr) in ipsec_kmod_drain() argument
160 old = *cntr; in ipsec_kmod_drain()
162 } while (atomic_cmpset_acq_int(cntr, old, new) == 0); in ipsec_kmod_drain()
163 while (atomic_cmpset_int(cntr, 0, 0) == 0) in ipsec_kmod_drain()
H A Dkeydb.h186 uint64_t cntr; /* counter for GCM and CTR */ member
H A Dxform_esp.c685 uint64_t cntr; in esp_output() local
803 cntr = sav->cntr++; in esp_output()
877 be64enc(&ivp[4], cntr); in esp_output()
H A Dkey.c5250 newsav->cntr = sav->cntr; in key_updateaddresses()
/f-stack/freebsd/net/altq/
H A Daltq.h73 #define PKTCNTR_ADD(cntr, len) \ argument
74 do { (cntr)->packets++; (cntr)->bytes += len; } while (/*CONSTCOND*/ 0)
/f-stack/freebsd/netpfil/ipfw/
H A Dip_fw_sockopt.c404 cntr->size = sizeof(*cntr); in export_cntr1_base()
406 if (krule->cntr != NULL) { in export_cntr1_base()
407 cntr->pcnt = counter_u64_fetch(krule->cntr); in export_cntr1_base()
408 cntr->bcnt = counter_u64_fetch(krule->cntr + 1); in export_cntr1_base()
411 if (cntr->timestamp > 0) { in export_cntr1_base()
422 if (krule->cntr != NULL) { in export_cntr0_base()
423 cntr->pcnt = counter_u64_fetch(krule->cntr); in export_cntr0_base()
424 cntr->bcnt = counter_u64_fetch(krule->cntr + 1); in export_cntr0_base()
427 if (cntr->timestamp > 0) { in export_cntr0_base()
473 struct ip_fw_bcounter *cntr; in export_rule1() local
[all …]
H A Dip_fw_private.h275 counter_u64_t cntr; /* Pointer to rule counters */ member
388 counter_u64_add((_cntr)->cntr, 1); \
389 counter_u64_add((_cntr)->cntr + 1, _bytes); \
400 counter_u64_zero((_cntr)->cntr); \
401 counter_u64_zero((_cntr)->cntr + 1); \
/f-stack/dpdk/drivers/net/octeontx2/
H A Dotx2_flow_utils.c31 req->cntr = ctr_id; in otx2_flow_mcam_free_counter()
47 req->cntr = ctr_id; in otx2_flow_mcam_read_counter()
62 req->cntr = ctr_id; in otx2_flow_mcam_clear_counter()
928 req->cntr = ctr; in otx2_flow_mcam_alloc_and_write()
/f-stack/dpdk/drivers/net/bnxt/
H A Dbnxt_hwrm.h285 uint16_t cntr, uint16_t ctx_id,
289 uint16_t cntr,
H A Dbnxt_hwrm.c5617 uint16_t cntr, uint16_t ctx_id, in bnxt_hwrm_cfa_counter_cfg() argument
5634 req.counter_type = rte_cpu_to_le_16(cntr); in bnxt_hwrm_cfa_counter_cfg()
5655 uint16_t cntr, in bnxt_hwrm_cfa_counter_qstats() argument
5680 req.counter_type = rte_cpu_to_le_16(cntr); in bnxt_hwrm_cfa_counter_qstats()
/f-stack/tools/ipfw/
H A Dipfw2.c2187 pr_u64(bp, &cntr->pcnt, fo->pcwidth); in show_static_rule()
2188 pr_u64(bp, &cntr->bcnt, fo->bcwidth); in show_static_rule()
2193 bprintf(bp, "%10u ", cntr->timestamp); in show_static_rule()
2203 if (cntr->timestamp > 0) { in show_static_rule()
2204 t = _long_to_time(cntr->timestamp); in show_static_rule()
2612 struct ip_fw_bcounter *cntr; in prepare_format_opts() local
2621 r = (struct ip_fw_rule *)((caddr_t)cntr + cntr->size); in prepare_format_opts()
2627 width = pr_u64(NULL, &cntr->pcnt, 0); in prepare_format_opts()
2651 struct ip_fw_bcounter *cntr; in list_static_range() local
2659 r = (struct ip_fw_rule *)((caddr_t)cntr + cntr->size); in list_static_range()
[all …]
/f-stack/dpdk/drivers/common/octeontx2/
H A Dotx2_mbox.h1374 uint16_t __otx2_io cntr; /* Counter for this MCAM entry */ member
1412 uint16_t __otx2_io cntr; member
1419 uint16_t __otx2_io cntr; /* Free a counter or clear/fetch it's stats */ member
1430 uint16_t __otx2_io cntr; member
1448 uint16_t __otx2_io cntr; member
/f-stack/freebsd/contrib/octeon-sdk/
H A Dcvmx-mio-defs.h5555 uint64_t cntr : 64; /**< Nanoseconds */ member
5557 uint64_t cntr : 64;