/freebsd/crypto/openssl/doc/man1/ |
H A D | build.info | 3 # the additional dependencies on ../perlvars.pm. 5 DEPEND[openssl-asn1parse.pod]=../perlvars.pm 6 DEPEND[openssl-ca.pod]=../perlvars.pm 7 DEPEND[openssl-ciphers.pod]=../perlvars.pm 8 DEPEND[openssl-cmds.pod]=../perlvars.pm 9 DEPEND[openssl-cmp.pod]=../perlvars.pm 10 DEPEND[openssl-cms.pod]=../perlvars.pm 11 DEPEND[openssl-crl2pkcs7.pod]=../perlvars.pm 12 DEPEND[openssl-crl.pod]=../perlvars.pm 13 DEPEND[openssl-dgst.pod]=../perlvars.pm [all …]
|
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_perfmgr.c | 125 static void init_monitored_nodes(osm_perfmgr_t * pm) in init_monitored_nodes() argument 127 cl_qmap_init(&pm->monitored_map); in init_monitored_nodes() 128 pm->remove_list = NULL; in init_monitored_nodes() 129 cl_event_construct(&pm->sig_query); in init_monitored_nodes() 130 cl_event_init(&pm->sig_query, FALSE); in init_monitored_nodes() 133 static void mark_for_removal(osm_perfmgr_t * pm, monitored_node_t * node) in mark_for_removal() argument 135 if (pm->remove_list) { in mark_for_removal() 136 node->next = pm->remove_list; in mark_for_removal() 137 pm->remove_list = node; in mark_for_removal() 140 pm->remove_list = node; in mark_for_removal() [all …]
|
/freebsd/sys/dev/hwpmc/ |
H A D | hwpmc_mod.c | 202 static int pmc_add_sample(ring_type_t ring, struct pmc *pm, 206 static int pmc_attach_process(struct proc *p, struct pmc *pm); 209 static int pmc_attach_one_process(struct proc *p, struct pmc *pm); 213 static int pmc_can_attach(struct pmc *pm, struct proc *p); 217 static int pmc_detach_process(struct proc *p, struct pmc *pm); 218 static int pmc_detach_one_process(struct proc *p, struct pmc *pm, 221 static void pmc_destroy_pmc_descriptor(struct pmc *pm); 224 static int pmc_find_pmc(pmc_id_t pmcid, struct pmc **pm); 232 static void pmc_link_target_process(struct pmc *pm, 235 static void pmc_log_kernel_mappings(struct pmc *pm); [all …]
|
H A D | hwpmc_armv7.c | 135 armv7_allocate_pmc(int cpu, int ri, struct pmc *pm, in armv7_allocate_pmc() argument 151 pm->pm_md.pm_armv7.pm_armv7_evsel = config; in armv7_allocate_pmc() 160 armv7_read_pmc(int cpu, int ri, struct pmc *pm, pmc_value_t *v) in armv7_read_pmc() argument 172 tmp = armv7_pmcn_read(ri, pm->pm_md.pm_armv7.pm_armv7_evsel); in armv7_read_pmc() 175 if (pm->pm_md.pm_armv7.pm_armv7_evsel == PMC_EV_CPU_CYCLES) in armv7_read_pmc() 183 pm->pm_pcpu_state[cpu].pps_overflowcnt++; in armv7_read_pmc() 186 tmp = armv7_pmcn_read(ri, pm->pm_md.pm_armv7.pm_armv7_evsel); in armv7_read_pmc() 188 tmp += 0x100000000llu * pm->pm_pcpu_state[cpu].pps_overflowcnt; in armv7_read_pmc() 192 if (PMC_IS_SAMPLING_MODE(PMC_TO_MODE(pm))) { in armv7_read_pmc() 209 armv7_write_pmc(int cpu, int ri, struct pmc *pm, pmc_value_t v) in armv7_write_pmc() argument [all …]
|
H A D | hwpmc_cmn600.c | 141 cmn600_read_pmc(int cpu, int ri, struct pmc *pm, pmc_value_t *v) in cmn600_read_pmc() argument 155 nodeid = pm->pm_md.pm_cmn600.pm_cmn600_nodeid; in cmn600_read_pmc() 156 local_counter = pm->pm_md.pm_cmn600.pm_cmn600_local_counter; in cmn600_read_pmc() 168 cmn600_write_pmc(int cpu, int ri, struct pmc *pm, pmc_value_t v) in cmn600_write_pmc() argument 182 nodeid = pm->pm_md.pm_cmn600.pm_cmn600_nodeid; in cmn600_write_pmc() 183 local_counter = pm->pm_md.pm_cmn600.pm_cmn600_local_counter; in cmn600_write_pmc() 185 KASSERT(pm != NULL, in cmn600_write_pmc() 200 cmn600_config_pmc(int cpu, int ri, struct pmc *pm) in cmn600_config_pmc() argument 204 PMCDBG4(MDP, CFG, 1, "%s cpu=%d ri=%d pm=%p", __func__, cpu, ri, pm); in cmn600_config_pmc() 213 KASSERT(pm == NULL || phw->phw_pmc == NULL, in cmn600_config_pmc() [all …]
|
H A D | hwpmc_powerpc.c | 181 powerpc_allocate_pmc(int cpu, int ri, struct pmc *pm, in powerpc_allocate_pmc() argument 223 pm->pm_md.pm_powerpc.pm_powerpc_evsel = config; in powerpc_allocate_pmc() 248 powerpc_start_pmc(int cpu, int ri, struct pmc *pm) in powerpc_start_pmc() argument 252 powerpc_set_pmc(cpu, ri, pm->pm_md.pm_powerpc.pm_powerpc_evsel); in powerpc_start_pmc() 258 powerpc_stop_pmc(int cpu, int ri, struct pmc *pm __unused) in powerpc_stop_pmc() 266 powerpc_config_pmc(int cpu, int ri, struct pmc *pm) in powerpc_config_pmc() argument 270 PMCDBG3(MDP,CFG,1, "powerpc-config cpu=%d ri=%d pm=%p", cpu, ri, pm); in powerpc_config_pmc() 279 KASSERT(pm == NULL || phw->phw_pmc == NULL, in powerpc_config_pmc() 281 __LINE__, pm, phw->phw_pmc)); in powerpc_config_pmc() 283 phw->phw_pmc = pm; in powerpc_config_pmc() [all …]
|
H A D | hwpmc_core.c | 222 iaf_allocate_pmc(int cpu, int ri, struct pmc *pm, in iaf_allocate_pmc() argument 233 PMCDBG2(MDP,ALL,1, "iaf-allocate ri=%d reqcaps=0x%x", ri, pm->pm_caps); in iaf_allocate_pmc() 303 pm->pm_md.pm_iaf.pm_iaf_ctrl = (flags << (ri * 4)); in iaf_allocate_pmc() 306 (uintmax_t) pm->pm_md.pm_iaf.pm_iaf_ctrl); in iaf_allocate_pmc() 312 iaf_config_pmc(int cpu, int ri, struct pmc *pm) in iaf_config_pmc() argument 320 PMCDBG3(MDP,CFG,1, "iaf-config cpu=%d ri=%d pm=%p", cpu, ri, pm); in iaf_config_pmc() 325 core_pcpu[cpu]->pc_corepmcs[ri + core_iaf_ri].phw_pmc = pm; in iaf_config_pmc() 371 iaf_read_pmc(int cpu, int ri, struct pmc *pm, pmc_value_t *v) in iaf_read_pmc() argument 382 if (PMC_IS_SAMPLING_MODE(PMC_TO_MODE(pm))) in iaf_read_pmc() 417 iaf_start_pmc(int cpu, int ri, struct pmc *pm) in iaf_start_pmc() argument [all …]
|
H A D | hwpmc_arm64.c | 164 arm64_allocate_pmc(int cpu, int ri, struct pmc *pm, in arm64_allocate_pmc() 216 pm->pm_md.pm_arm64.pm_arm64_evsel = config; in arm64_read_pmc() 225 arm64_read_pmc(int cpu, int ri, struct pmc *pm, pmc_value_t *v) in arm64_read_pmc() 245 pm->pm_pcpu_state[cpu].pps_overflowcnt++; in arm64_read_pmc() 250 tmp += 0x100000000llu * pm->pm_pcpu_state[cpu].pps_overflowcnt; in arm64_read_pmc() 254 if (PMC_IS_SAMPLING_MODE(PMC_TO_MODE(pm))) { in arm64_read_pmc() 271 arm64_write_pmc(int cpu, int ri, struct pmc *pm, pmc_value_t v) in arm64_write_pmc() 279 if (PMC_IS_SAMPLING_MODE(PMC_TO_MODE(pm))) in arm64_config_pmc() 284 pm->pm_pcpu_state[cpu].pps_overflowcnt = v >> 32; in arm64_config_pmc() 291 arm64_config_pmc(int cpu, int ri, struct pmc *pm) in arm64_config_pmc() 163 arm64_allocate_pmc(int cpu,int ri,struct pmc * pm,const struct pmc_op_pmcallocate * a) arm64_allocate_pmc() argument 211 arm64_read_pmc(int cpu,int ri,struct pmc * pm,pmc_value_t * v) arm64_read_pmc() argument 257 arm64_write_pmc(int cpu,int ri,struct pmc * pm,pmc_value_t v) arm64_write_pmc() argument 277 arm64_config_pmc(int cpu,int ri,struct pmc * pm) arm64_config_pmc() argument 300 arm64_start_pmc(int cpu,int ri,struct pmc * pm) arm64_start_pmc() argument 356 struct pmc *pm; arm64_intr() local [all...] |
H A D | hwpmc_soft.c | 95 soft_allocate_pmc(int cpu, int ri, struct pmc *pm, in soft_allocate_pmc() argument 111 if ((pm->pm_caps & SOFT_CAPS) == 0) in soft_allocate_pmc() 114 if ((pm->pm_caps & ~SOFT_CAPS) != 0) in soft_allocate_pmc() 117 ev = pm->pm_event; in soft_allocate_pmc() 134 soft_config_pmc(int cpu, int ri, struct pmc *pm) in soft_config_pmc() argument 138 PMCDBG3(MDP,CFG,1, "cpu=%d ri=%d pm=%p", cpu, ri, pm); in soft_config_pmc() 147 KASSERT(pm == NULL || phw->phw_pmc == NULL, in soft_config_pmc() 149 pm, phw->phw_pmc)); in soft_config_pmc() 151 phw->phw_pmc = pm; in soft_config_pmc() 257 soft_read_pmc(int cpu, int ri, struct pmc *pm __unused, pmc_value_t *v) in soft_read_pmc() [all …]
|
H A D | hwpmc_uncore.c | 185 ucf_allocate_pmc(int cpu, int ri, struct pmc *pm, in ucf_allocate_pmc() argument 193 PMCDBG2(MDP,ALL,1, "ucf-allocate ri=%d reqcaps=0x%x", ri, pm->pm_caps); in ucf_allocate_pmc() 206 pm->pm_md.pm_ucf.pm_ucf_ctrl = (flags << (ri * 4)); in ucf_allocate_pmc() 209 (uintmax_t) pm->pm_md.pm_ucf.pm_ucf_ctrl); in ucf_allocate_pmc() 215 ucf_config_pmc(int cpu, int ri, struct pmc *pm) in ucf_config_pmc() argument 223 PMCDBG3(MDP,CFG,1, "ucf-config cpu=%d ri=%d pm=%p", cpu, ri, pm); in ucf_config_pmc() 228 uncore_pcpu[cpu]->pc_uncorepmcs[ri + uncore_ucf_ri].phw_pmc = pm; in ucf_config_pmc() 263 ucf_read_pmc(int cpu, int ri, struct pmc *pm, pmc_value_t *v) in ucf_read_pmc() argument 274 if (PMC_IS_SAMPLING_MODE(PMC_TO_MODE(pm))) in ucf_read_pmc() 301 ucf_start_pmc(int cpu, int ri, struct pmc *pm) in ucf_start_pmc() argument [all …]
|
H A D | hwpmc_dmc620.c | 192 CLASSDEP_FN4(dmc620_read_pmc, int, cpu, int, ri, struct pmc *, pm, in CLASSDEP_FN4() argument 211 *v = ((uint64_t)pm->pm_pcpu_state[0].pps_overflowcnt << 32) | in CLASSDEP_FN4() 224 CLASSDEP_FN4(dmc620_write_pmc, int, cpu, int, ri, struct pmc *, pm, in CLASSDEP_FN4() argument 248 CLASSDEP_FN3(dmc620_config_pmc, int, cpu, int, ri, struct pmc *, pm) in CLASSDEP_FN3() argument 252 PMCDBG4(MDP, CFG, 1, "%s cpu=%d ri=%d pm=%p", __func__, cpu, ri, pm); in CLASSDEP_FN3() 261 KASSERT(pm == NULL || phw->phw_pmc == NULL, in CLASSDEP_FN3() 263 __LINE__, pm, phw->phw_pmc)); in CLASSDEP_FN3() 265 phw->phw_pmc = pm; in CLASSDEP_FN3() 285 CLASSDEP_FN4(dmc620_allocate_pmc, int, cpu, int, ri, struct pmc *,pm, in CLASSDEP_FN4() argument 309 caps = pm->pm_caps; in CLASSDEP_FN4() [all …]
|
H A D | hwpmc_powerpc.h | 55 #define PPC_OVERFLOWCNT(pm) (pm)->pm_md.pm_powerpc.pm_powerpc_overflowcnt argument 99 int powerpc_allocate_pmc(int cpu, int ri, struct pmc *pm, 102 int powerpc_start_pmc(int cpu, int ri, struct pmc *pm); 103 int powerpc_stop_pmc(int cpu, int ri, struct pmc *pm); 104 int powerpc_config_pmc(int cpu, int ri, struct pmc *pm); 107 int powerpc_read_pmc(int cpu, int ri, struct pmc *pm, pmc_value_t *v); 108 int powerpc_write_pmc(int cpu, int ri, struct pmc *pm, pmc_value_t v);
|
/freebsd/sys/powerpc/powerpc/ |
H A D | copyinout.c | 162 pmap_t pm; in REMAP() local 169 pm = &td->td_proc->p_vmspace->vm_pmap; in REMAP() 181 if (pmap_map_user_ptr(pm, up, (void **)&p, len, &l)) { in REMAP() 201 pmap_t pm; in REMAP() local 208 pm = &td->td_proc->p_vmspace->vm_pmap; in REMAP() 220 if (pmap_map_user_ptr(pm, up, (void **)&p, len, &l)) { in REMAP() 240 pmap_t pm; in REMAP() local 248 pm = &td->td_proc->p_vmspace->vm_pmap; in REMAP() 263 if (pmap_map_user_ptr(pm, up, (void **)&p, len, &l)) { in REMAP() 293 pmap_t pm; in REMAP() local [all …]
|
/freebsd/sys/powerpc/aim/ |
H A D | slb.c | 230 user_va_to_slb_entry(pmap_t pm, vm_offset_t va) in user_va_to_slb_entry() argument 236 ua = pm->pm_slb_tree_root; in user_va_to_slb_entry() 267 va_to_vsid(pmap_t pm, vm_offset_t va) in va_to_vsid() argument 272 if (pm == kernel_pmap) in va_to_vsid() 280 entry = user_va_to_slb_entry(pm, va); in va_to_vsid() 283 return (allocate_user_vsid(pm, in va_to_vsid() 290 allocate_user_vsid(pmap_t pm, uint64_t esid, int large) in allocate_user_vsid() argument 297 KASSERT(pm != kernel_pmap, ("Attempting to allocate a kernel VSID")); in allocate_user_vsid() 299 PMAP_LOCK_ASSERT(pm, MA_OWNED); in allocate_user_vsid() 306 ua = pm->pm_slb_tree_root; in allocate_user_vsid() [all …]
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | qsort.c | 119 char *pa, *pb, *pc, *pd, *pl, *pm, *pn; in rk_qsort_r() local 127 for (pm = (char *)a + es; pm < (char *)a + n * es; pm += es) in rk_qsort_r() 128 for (pl = pm; in rk_qsort_r() 134 pm = (char *)a + (n / 2) * es; in rk_qsort_r() 141 pm = med3(pm - d, pm, pm + d, cmp, thunk); in rk_qsort_r() 144 pm = med3(pl, pm, pn, cmp, thunk); in rk_qsort_r() 146 swap(a, pm); in rk_qsort_r() 175 for (pm = (char *)a + es; pm < (char *)a + n * es; pm += es) in rk_qsort_r() 176 for (pl = pm; in rk_qsort_r()
|
/freebsd/sys/contrib/dev/mediatek/mt76/ |
H A D | mt76_connac.h | 312 int mt76_connac_pm_wake(struct mt76_phy *phy, struct mt76_connac_pm *pm); 314 struct mt76_connac_pm *pm); 315 void mt76_connac_free_pending_tx_skbs(struct mt76_connac_pm *pm, 325 mt76_connac_pm_ref(struct mt76_phy *phy, struct mt76_connac_pm *pm) in mt76_connac_pm_ref() argument 329 spin_lock_bh(&pm->wake.lock); in mt76_connac_pm_ref() 333 pm->wake.count++; in mt76_connac_pm_ref() 336 spin_unlock_bh(&pm->wake.lock); in mt76_connac_pm_ref() 342 mt76_connac_pm_unref(struct mt76_phy *phy, struct mt76_connac_pm *pm) in mt76_connac_pm_unref() argument 344 spin_lock_bh(&pm->wake.lock); in mt76_connac_pm_unref() 346 pm->last_activity = jiffies; in mt76_connac_pm_unref() [all …]
|
/freebsd/usr.bin/m4/ |
H A D | gnum4.c | 280 add_sub(int n, const char *string, regex_t *re, regmatch_t *pm) in add_sub() argument 286 else if (pm[n].rm_so != -1 && in add_sub() 287 pm[n].rm_eo != -1) { in add_sub() 288 addchars(string + pm[n].rm_so, in add_sub() 289 pm[n].rm_eo - pm[n].rm_so); in add_sub() 297 add_replace(const char *string, regex_t *re, const char *replace, regmatch_t *pm) in add_replace() argument 303 add_sub(0, string, re, pm); in add_replace() 314 add_sub(0, string, re, pm); in add_replace() 321 add_sub(*(++p) - '0', string, re, pm); in add_replace() 331 const char *replace, regmatch_t *pm) in do_subst() argument [all …]
|
/freebsd/sys/libkern/ |
H A D | qsort.c | 114 char *pa, *pb, *pc, *pd, *pl, *pm, *pn; variable 123 for (pm = (char *)a + es; pm < (char *)a + n * es; pm += es) 124 for (pl = pm; 130 pm = (char *)a + (n / 2) * es; 138 pm = med3(pm - d, pm, pm + d, cmp, thunk); 141 pm = med3(pl, pm, pn, cmp, thunk); 143 swap(a, pm); 172 for (pm = (char *)a + es; pm < (char *)a + n * es; pm += es) 173 for (pl = pm;
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7921/ |
H A D | debugfs.c | 146 struct mt76_connac_pm *pm = &dev->pm; in mt7921_pm_set() local 153 if (val == pm->enable_user) in mt7921_pm_set() 156 if (!pm->enable_user) { in mt7921_pm_set() 157 pm->stats.last_wake_event = jiffies; in mt7921_pm_set() 158 pm->stats.last_doze_event = jiffies; in mt7921_pm_set() 163 pm->enable = false; in mt7921_pm_set() 164 mt76_connac_pm_wake(&dev->mphy, pm); in mt7921_pm_set() 166 pm->enable_user = val; in mt7921_pm_set() 168 mt76_connac_power_save_sched(&dev->mphy, pm); in mt7921_pm_set() 180 *val = dev->pm.enable_user; in mt7921_pm_get() [all …]
|
H A D | sdio.c | 32 if (!mt76_connac_pm_ref(&dev->mphy, &dev->pm)) { in mt7921s_txrx_worker() 33 queue_work(mdev->wq, &dev->pm.wake_work); in mt7921s_txrx_worker() 38 mt76_connac_pm_unref(&dev->mphy, &dev->pm); in mt7921s_txrx_worker() 43 struct mt76_connac_pm *pm = &dev->pm; in mt7921s_unregister_device() local 47 cancel_delayed_work_sync(&pm->ps_work); in mt7921s_unregister_device() 48 cancel_work_sync(&pm->wake_work); in mt7921s_unregister_device() 208 struct mt76_connac_pm *pm = &dev->pm; in mt7921s_suspend() local 212 pm->suspended = true; in mt7921s_suspend() 216 cancel_delayed_work_sync(&pm->ps_work); in mt7921s_suspend() 217 cancel_work_sync(&pm->wake_work); in mt7921s_suspend() [all …]
|
H A D | sdio_mcu.c | 104 struct mt76_connac_pm *pm = &dev->pm; in mt7921s_mcu_drv_pmctrl() local 129 pm->stats.last_wake_event = jiffies; in mt7921s_mcu_drv_pmctrl() 130 pm->stats.doze_time += pm->stats.last_wake_event - in mt7921s_mcu_drv_pmctrl() 131 pm->stats.last_doze_event; in mt7921s_mcu_drv_pmctrl() 140 struct mt76_connac_pm *pm = &dev->pm; in mt7921s_mcu_fw_pmctrl() local 170 pm->stats.last_doze_event = jiffies; in mt7921s_mcu_fw_pmctrl() 171 pm->stats.awake_time += pm->stats.last_doze_event - in mt7921s_mcu_fw_pmctrl() 172 pm->stats.last_wake_event; in mt7921s_mcu_fw_pmctrl()
|
/freebsd/lib/libc/stdlib/ |
H A D | qsort.c | 106 char *pa, *pb, *pc, *pd, *pl, *pm, *pn; in local_qsort() local 117 for (pm = (char *)a + es; pm < (char *)a + n * es; pm += es) in local_qsort() 118 for (pl = pm; in local_qsort() 124 pm = (char *)a + (n / 2) * es; in local_qsort() 132 pm = med3(pm - d, pm, pm + d, cmp, thunk); in local_qsort() 135 pm = med3(pl, pm, pn, cmp, thunk); in local_qsort() 137 swapfunc(a, pm, es); in local_qsort() 166 for (pm = (char *)a + es; pm < (char *)a + n * es; pm += es) in local_qsort() 167 for (pl = pm; in local_qsort()
|
/freebsd/usr.bin/calendar/ |
H A D | dates.c | 89 struct cal_month *pm, *pmp; in createdate() local 126 pm = py->months; in createdate() 127 while (pm != NULL) { in createdate() 128 if (pm->month == m) in createdate() 130 pmp = pm; in createdate() 131 pm = pm->nextmonth; in createdate() 134 if (pm == NULL) { in createdate() 135 pm = (struct cal_month *)calloc(1, sizeof(struct cal_month)); in createdate() 136 pm->year = py; in createdate() 137 pm->month = m; in createdate() [all …]
|
/freebsd/crypto/openssl/providers/common/der/ |
H A D | build.info | 8 DEPEND[$DER_DIGESTS_GEN]=oids_to_c.pm NIST.asn1 DIGESTS.asn1 12 DEPEND[$DER_DIGESTS_H]=oids_to_c.pm NIST.asn1 DIGESTS.asn1 22 DEPEND[$DER_RSA_GEN]=oids_to_c.pm NIST.asn1 RSA.asn1 27 DEPEND[$DER_RSA_H]=oids_to_c.pm NIST.asn1 RSA.asn1 36 DEPEND[$DER_DSA_GEN]=oids_to_c.pm DSA.asn1 41 DEPEND[$DER_DSA_H]=oids_to_c.pm DSA.asn1 51 DEPEND[$DER_EC_GEN]=oids_to_c.pm EC.asn1 56 DEPEND[$DER_EC_H]=oids_to_c.pm EC.asn1 66 DEPEND[$DER_ECX_GEN]=oids_to_c.pm ECX.asn1 71 DEPEND[$DER_ECX_H]=oids_to_c.pm ECX.asn1 [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | Regex.cpp | 100 SmallVector<llvm_regmatch_t, 8> pm; in match() 101 pm.resize(nmatch > 0 ? nmatch : 1); in match() 102 pm[0].rm_so = 0; in match() 103 pm[0].rm_eo = String.size(); in match() 105 int rc = llvm_regexec(preg, String.data(), nmatch, pm.data(), REG_STARTEND); in match() 123 if (pm[i].rm_so == -1) { in match() 128 assert(pm[i].rm_eo >= pm[i].rm_so); in match() 129 Matches->push_back(StringRef(String.data()+pm[i].rm_so, in match() 130 pm[ in match() 96 SmallVector<llvm_regmatch_t, 8> pm; match() local [all...] |