| /freebsd/sys/dev/hwpmc/ |
| H A D | pmu_dmc620.c | 79 pmu_dmc620_rd4(void *arg, u_int cntr, off_t reg) in pmu_dmc620_rd4() argument 85 KASSERT(cntr < DMC620_COUNTERS_N, ("Wrong counter unit %d", cntr)); in pmu_dmc620_rd4() 87 val = RD4(sc, DMC620_REG(cntr, reg)); in pmu_dmc620_rd4() 92 pmu_dmc620_wr4(void *arg, u_int cntr, off_t reg, uint32_t val) in pmu_dmc620_wr4() argument 97 KASSERT(cntr < DMC620_COUNTERS_N, ("Wrong counter unit %d", cntr)); in pmu_dmc620_wr4() 99 WR4(sc, DMC620_REG(cntr, reg), val); in pmu_dmc620_wr4()
|
| H A D | hwpmc_dmc620.c | 152 cntr(int class, int ri) in cntr() function 212 pmu_dmc620_rd4(desc->pd_rw_arg, cntr(class, ri), in CLASSDEP_FN4() 238 pmu_dmc620_wr4(desc->pd_rw_arg, cntr(class, ri), in CLASSDEP_FN4() 378 pmu_dmc620_wr4(desc->pd_rw_arg, cntr(class, ri), in CLASSDEP_FN3() 380 pmu_dmc620_wr4(desc->pd_rw_arg, cntr(class, ri), in CLASSDEP_FN3() 382 pmu_dmc620_wr4(desc->pd_rw_arg, cntr(class, ri), in CLASSDEP_FN3() 384 pmu_dmc620_wr4(desc->pd_rw_arg, cntr(class, ri), in CLASSDEP_FN3() 391 pmu_dmc620_wr4(desc->pd_rw_arg, cntr(class, ri), in CLASSDEP_FN3() 416 pmu_dmc620_wr4(desc->pd_rw_arg, cntr(class, ri), in CLASSDEP_FN3()
|
| H A D | pmu_dmc620_reg.h | 76 uint32_t pmu_dmc620_rd4(void *arg, u_int cntr, off_t reg); 77 void pmu_dmc620_wr4(void *arg, u_int cntr, off_t reg, uint32_t val);
|
| /freebsd/sys/netipsec/ |
| H A D | subr_ipsec.c | 117 ipsec_kmod_enter(volatile u_int *cntr) in ipsec_kmod_enter() argument 122 old = *cntr; in ipsec_kmod_enter() 126 } while(atomic_cmpset_acq_int(cntr, old, new) == 0); in ipsec_kmod_enter() 131 ipsec_kmod_exit(volatile u_int *cntr) in ipsec_kmod_exit() argument 136 old = *cntr; in ipsec_kmod_exit() 138 } while (atomic_cmpset_rel_int(cntr, old, new) == 0); in ipsec_kmod_exit() 142 ipsec_kmod_drain(volatile u_int *cntr) in ipsec_kmod_drain() argument 147 old = *cntr; in ipsec_kmod_drain() 149 } while (atomic_cmpset_acq_int(cntr, old, new) == 0); in ipsec_kmod_drain() 150 while (atomic_cmpset_int(cntr, 0, 0) == 0) in ipsec_kmod_drain()
|
| H A D | xform_esp.c | 711 uint64_t cntr; in esp_output() local 833 cntr = sav->cntr++; in esp_output() 907 be64enc(&ivp[4], cntr); in esp_output()
|
| H A D | keydb.h | 189 uint64_t cntr; /* counter for GCM and CTR */ 186 uint64_t cntr; /* counter for GCM and CTR */ global() member
|
| H A D | key.c | 5512 newsav->cntr = sav->cntr; in key_updateaddresses()
|
| /freebsd/sys/net/altq/ |
| H A D | altq.h | 72 #define PKTCNTR_ADD(cntr, len) \ argument 73 do { (cntr)->packets++; (cntr)->bytes += len; } while (/*CONSTCOND*/ 0)
|
| /freebsd/contrib/ntp/kernel/sys/ |
| H A D | pcl720.h | 28 #define pcl720_cntr(base,cntr) (base+4+cntr) /* cntr: 0..2 */ argument 56 ctrl.s.cntr = c; \ 68 ctrl.s.cntr = i8253_cntr_0; \
|
| H A D | i8253.h | 41 unsigned int cntr : 2; member
|
| /freebsd/crypto/openssl/test/recipes/ |
| H A D | 80-test_ca.t | 248 my $cntr = 10; 251 1 while $cntr-- > 0 && print PIPE "y\n";
|
| /freebsd/sys/netpfil/ipfw/ |
| H A D | ip_fw_private.h | 293 counter_u64_t cntr; /* Pointer to rule counters */ member 405 counter_u64_add((_cntr)->cntr, 1); \ 406 counter_u64_add((_cntr)->cntr + 1, _bytes); \ 417 counter_u64_zero((_cntr)->cntr); \ 418 counter_u64_zero((_cntr)->cntr + 1); \
|
| H A D | ip_fw_sockopt.c | 195 rule->cntr = uma_zalloc_pcpu(V_ipfw_cntr_zone, M_WAITOK | M_ZERO); in ipfw_alloc_rule() 213 uma_zfree_pcpu(V_ipfw_cntr_zone, rule->cntr); in ipfw_free_rule() 358 export_cntr1_base(struct ip_fw *krule, struct ip_fw_bcounter *cntr) in export_cntr1_base() argument 362 cntr->size = sizeof(*cntr); in export_cntr1_base() 364 if (krule->cntr != NULL) { in export_cntr1_base() 365 cntr->pcnt = counter_u64_fetch(krule->cntr); in export_cntr1_base() 366 cntr->bcnt = counter_u64_fetch(krule->cntr + 1); in export_cntr1_base() 367 cntr->timestamp = krule->timestamp; in export_cntr1_base() 369 if (cntr->timestamp > 0) { in export_cntr1_base() 371 cntr->timestamp += boottime.tv_sec; in export_cntr1_base() [all …]
|
| /freebsd/sbin/ipfw/ |
| H A D | ipfw2.c | 2446 struct buf_pr *bp, struct ip_fw_rule *rule, struct ip_fw_bcounter *cntr) in show_static_rule() argument 2469 if (cntr != NULL) { in show_static_rule() 2472 pr_u64(bp, &cntr->pcnt, fo->pcwidth); in show_static_rule() 2473 pr_u64(bp, &cntr->bcnt, fo->bcwidth); in show_static_rule() 2478 bprintf(bp, "%10u ", cntr->timestamp); in show_static_rule() 2488 if (cntr->timestamp > 0) { in show_static_rule() 2489 t = _long_to_time(cntr->timestamp); in show_static_rule() 2911 struct ip_fw_bcounter *cntr; in prepare_format_opts() local 2919 cntr = (struct ip_fw_bcounter *)(rtlv + 1); in prepare_format_opts() 2920 r = (struct ip_fw_rule *)((caddr_t)cntr + cntr->size); in prepare_format_opts() [all …]
|
| /freebsd/sys/dev/bxe/ |
| H A D | ecore_hsi.h | 9409 uint16_t cntr /* CQ pending completion counter */; member 9413 uint16_t cntr /* CQ pending completion counter */;
|
| /freebsd/share/misc/ |
| H A D | usb_vendors | 21580 cb72 ben-wpan, cntr
|