Searched refs:pm (Results 1 - 25 of 186) sorted by relevance

12345678

/freebsd-current/contrib/ntp/scripts/lib/
H A DMakefile.am3 nobase_perllib_DATA = NTP/Util.pm
/freebsd-current/contrib/ofed/opensm/opensm/
H A Dosm_perfmgr.c125 static void init_monitored_nodes(osm_perfmgr_t * pm) argument
127 cl_qmap_init(&pm->monitored_map);
128 pm->remove_list = NULL;
129 cl_event_construct(&pm->sig_query);
130 cl_event_init(&pm->sig_query, FALSE);
133 static void mark_for_removal(osm_perfmgr_t * pm, monitored_node_t * node) argument
135 if (pm->remove_list) {
136 node->next = pm->remove_list;
137 pm->remove_list = node;
140 pm
144 remove_marked_nodes(osm_perfmgr_t * pm) argument
173 decrement_outstanding_queries(osm_perfmgr_t * pm) argument
197 osm_perfmgr_t *pm = (osm_perfmgr_t *) bind_context; local
225 osm_perfmgr_t *pm = (osm_perfmgr_t *) bind_context; local
285 osm_perfmgr_bind(osm_perfmgr_t * pm, ib_net64_t port_guid) argument
332 perfmgr_mad_unbind(osm_perfmgr_t * pm) argument
531 osm_perfmgr_t *pm = (osm_perfmgr_t *) context; local
599 perfmgr_send_cpi_mad(osm_perfmgr_t * pm, ib_net16_t dest_lid, ib_net32_t dest_qp, uint16_t pkey_ix, uint8_t port, osm_madw_context_t * p_context, uint8_t sl) argument
699 osm_perfmgr_t *pm = context; local
1049 osm_perfmgr_process(osm_perfmgr_t * pm) argument
1138 osm_perfmgr_t *pm = arg; local
1144 osm_perfmgr_shutdown(osm_perfmgr_t * pm) argument
1153 osm_perfmgr_destroy(osm_perfmgr_t * pm) argument
1170 perfmgr_check_oob_clear(osm_perfmgr_t * pm, monitored_node_t * mon_node, uint8_t port, perfmgr_db_err_reading_t * cr) argument
1269 perfmgr_check_overflow(osm_perfmgr_t * pm, monitored_node_t * mon_node, int16_t pkey_ix, uint8_t port, ib_port_counters_t * pc, boolean_t xmit_wait_sup) argument
1378 perfmgr_check_pce_overflow(osm_perfmgr_t * pm, monitored_node_t * mon_node, int16_t pkey_ix, uint8_t port, ib_port_counters_ext_t * pc) argument
1457 perfmgr_log_errors(osm_perfmgr_t * pm, monitored_node_t * mon_node, uint8_t port, perfmgr_db_err_reading_t * reading) argument
1518 validate_redir_pkey(osm_perfmgr_t *pm, ib_net16_t pkey) argument
1576 handle_redirect(osm_perfmgr_t *pm, ib_class_port_info_t *cpi, monitored_node_t *p_mon_node, uint8_t port, osm_madw_context_t *mad_context) argument
1711 perfmgr_check_data_cnt_oob_clear(osm_perfmgr_t * pm, monitored_node_t * mon_node, uint8_t port, perfmgr_db_data_cnt_reading_t * dc) argument
1772 osm_perfmgr_t *pm = context; local
1934 osm_perfmgr_init(osm_perfmgr_t * pm, osm_opensm_t * osm, const osm_subn_opt_t * p_opt) argument
1999 osm_perfmgr_clear_counters(osm_perfmgr_t * pm) argument
2011 osm_perfmgr_dump_counters(osm_perfmgr_t * pm, perfmgr_db_dump_t dump_type) argument
2031 osm_perfmgr_print_counters(osm_perfmgr_t * pm, char *nodename, FILE * fp, char *port, int err_only) argument
2047 osm_perfmgr_update_nodename(osm_perfmgr_t *pm, uint64_t node_guid, char *nodename) argument
[all...]
/freebsd-current/sys/dev/hwpmc/
H A Dhwpmc_mod.c202 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);
844 struct pmc *pm, *tmp; local
898 pmc_link_target_process(struct pmc *pm, struct pmc_process *pp) argument
962 pmc_unlink_target_process(struct pmc *pm, struct pmc_process *pp) argument
1033 pmc_can_attach(struct pmc *pm, struct proc *t) argument
1087 pmc_attach_one_process(struct proc *p, struct pmc *pm) argument
1164 pmc_attach_process(struct proc *p, struct pmc *pm) argument
1221 pmc_detach_one_process(struct proc *p, struct pmc *pm, int flags) argument
1276 pmc_detach_process(struct proc *p, struct pmc *pm) argument
1330 struct pmc *pm; local
1443 struct pmc *pm; local
1601 struct pmc *pm; local
1830 const struct pmc *pm; local
1878 const struct pmc *pm; local
1910 pmc_log_kernel_mappings(struct pmc *pm) argument
2654 pmc_destroy_pmc_descriptor(struct pmc *pm) argument
2674 pmc_wait_for_pmc_idle(struct pmc *pm) argument
2711 pmc_release_pmc_descriptor(struct pmc *pm) argument
2908 struct pmc *pm; local
2995 struct pmc *pm; local
3012 struct pmc *pm, *opm; local
3054 pmc_start(struct pmc *pm) argument
3177 pmc_stop(struct pmc *pm) argument
3533 struct pmc *pm; local
3591 struct pmc *pm; local
3631 struct pmc *pm; local
3666 struct pmc *pm; local
3813 struct pmc *pm; local
4031 struct pmc *pm; local
4274 struct pmc *pm; local
4396 struct pmc *pm; local
4437 struct pmc *pm; local
4474 struct pmc *pm; local
4601 pmc_add_sample(ring_type_t ring, struct pmc *pm, struct trapframe *tf) argument
4694 pmc_process_interrupt(int ring, struct pmc *pm, struct trapframe *tf) argument
4715 struct pmc *pm; local
4826 struct pmc *pm; local
4970 struct pmc *pm; local
5138 struct pmc *pm; local
5266 pmc_process_allproc(struct pmc *pm) argument
[all...]
H A Dhwpmc_powerpc.c181 powerpc_allocate_pmc(int cpu, int ri, struct pmc *pm, argument
223 pm->pm_md.pm_powerpc.pm_powerpc_evsel = config;
248 powerpc_start_pmc(int cpu, int ri, struct pmc *pm) argument
252 powerpc_set_pmc(cpu, ri, pm->pm_md.pm_powerpc.pm_powerpc_evsel);
258 powerpc_stop_pmc(int cpu, int ri, struct pmc *pm __unused)
266 powerpc_config_pmc(int cpu, int ri, struct pmc *pm) argument
270 PMCDBG3(MDP,CFG,1, "powerpc-config cpu=%d ri=%d pm=%p", cpu, ri, pm);
279 KASSERT(pm == NULL || phw->phw_pmc == NULL,
280 ("[powerpc,%d] pm
361 powerpc_read_pmc(int cpu, int ri, struct pmc *pm, pmc_value_t *v) argument
408 powerpc_write_pmc(int cpu, int ri, struct pmc *pm, pmc_value_t v) argument
439 struct pmc *pm; local
[all...]
H A Dhwpmc_armv7.c135 armv7_allocate_pmc(int cpu, int ri, struct pmc *pm, argument
151 pm->pm_md.pm_armv7.pm_armv7_evsel = config;
160 armv7_read_pmc(int cpu, int ri, struct pmc *pm, pmc_value_t *v) argument
172 tmp = armv7_pmcn_read(ri, pm->pm_md.pm_armv7.pm_armv7_evsel);
175 if (pm->pm_md.pm_armv7.pm_armv7_evsel == PMC_EV_CPU_CYCLES)
183 pm->pm_pcpu_state[cpu].pps_overflowcnt++;
186 tmp = armv7_pmcn_read(ri, pm->pm_md.pm_armv7.pm_armv7_evsel);
188 tmp += 0x100000000llu * pm->pm_pcpu_state[cpu].pps_overflowcnt;
192 if (PMC_IS_SAMPLING_MODE(PMC_TO_MODE(pm))) {
209 armv7_write_pmc(int cpu, int ri, struct pmc *pm, pmc_value_ argument
232 armv7_config_pmc(int cpu, int ri, struct pmc *pm) argument
255 armv7_start_pmc(int cpu, int ri, struct pmc *pm) argument
280 armv7_stop_pmc(int cpu, int ri, struct pmc *pm) argument
318 struct pmc *pm; local
[all...]
H A Dhwpmc_powerpc.h55 #define PPC_OVERFLOWCNT(pm) (pm)->pm_md.pm_powerpc.pm_powerpc_overflowcnt
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);
H A Dhwpmc_arm64.c163 arm64_allocate_pmc(int cpu, int ri, struct pmc *pm, argument
203 pm->pm_md.pm_arm64.pm_arm64_evsel = config;
211 arm64_read_pmc(int cpu, int ri, struct pmc *pm, pmc_value_t *v) argument
231 pm->pm_pcpu_state[cpu].pps_overflowcnt++;
236 tmp += 0x100000000llu * pm->pm_pcpu_state[cpu].pps_overflowcnt;
240 if (PMC_IS_SAMPLING_MODE(PMC_TO_MODE(pm))) {
257 arm64_write_pmc(int cpu, int ri, struct pmc *pm, pmc_value_t v) argument
265 if (PMC_IS_SAMPLING_MODE(PMC_TO_MODE(pm)))
270 pm->pm_pcpu_state[cpu].pps_overflowcnt = v >> 32;
277 arm64_config_pmc(int cpu, int ri, struct pmc *pm) argument
300 arm64_start_pmc(int cpu, int ri, struct pmc *pm) argument
356 struct pmc *pm; local
[all...]
H A Dhwpmc_soft.c95 soft_allocate_pmc(int cpu, int ri, struct pmc *pm, argument
111 if ((pm->pm_caps & SOFT_CAPS) == 0)
114 if ((pm->pm_caps & ~SOFT_CAPS) != 0)
117 ev = pm->pm_event;
134 soft_config_pmc(int cpu, int ri, struct pmc *pm) argument
138 PMCDBG3(MDP,CFG,1, "cpu=%d ri=%d pm=%p", cpu, ri, pm);
147 KASSERT(pm == NULL || phw->phw_pmc == NULL,
148 ("[soft,%d] pm=%p phw->pm
320 soft_start_pmc(int cpu, int ri, struct pmc *pm) argument
339 soft_stop_pmc(int cpu, int ri, struct pmc *pm) argument
361 struct pmc *pm; local
[all...]
H A Dhwpmc_core.c222 iaf_allocate_pmc(int cpu, int ri, struct pmc *pm, argument
233 PMCDBG2(MDP,ALL,1, "iaf-allocate ri=%d reqcaps=0x%x", ri, pm->pm_caps);
303 pm->pm_md.pm_iaf.pm_iaf_ctrl = (flags << (ri * 4));
306 (uintmax_t) pm->pm_md.pm_iaf.pm_iaf_ctrl);
312 iaf_config_pmc(int cpu, int ri, struct pmc *pm) argument
320 PMCDBG3(MDP,CFG,1, "iaf-config cpu=%d ri=%d pm=%p", cpu, ri, pm);
325 core_pcpu[cpu]->pc_corepmcs[ri + core_iaf_ri].phw_pmc = pm;
371 iaf_read_pmc(int cpu, int ri, struct pmc *pm, pmc_value_t *v) argument
382 if (PMC_IS_SAMPLING_MODE(PMC_TO_MODE(pm)))
417 iaf_start_pmc(int cpu, int ri, struct pmc *pm) argument
443 iaf_stop_pmc(int cpu, int ri, struct pmc *pm) argument
469 iaf_write_pmc(int cpu, int ri, struct pmc *pm, pmc_value_t v) argument
712 iap_allocate_pmc(int cpu, int ri, struct pmc *pm, const struct pmc_op_pmcallocate *a) argument
778 iap_config_pmc(int cpu, int ri, struct pmc *pm) argument
837 iap_read_pmc(int cpu, int ri, struct pmc *pm, pmc_value_t *v) argument
859 iap_release_pmc(int cpu, int ri, struct pmc *pm) argument
878 iap_start_pmc(int cpu, int ri, struct pmc *pm) argument
939 iap_write_pmc(int cpu, int ri, struct pmc *pm, pmc_value_t v) argument
1006 struct pmc *pm; local
1064 struct pmc *pm; local
[all...]
/freebsd-current/lib/libc/stdtime/
H A Dtimelocal.h51 const char *pm; member in struct:lc_time_T
/freebsd-current/sys/contrib/dev/mediatek/mt76/mt7921/
H A Dsdio_mcu.c104 struct mt76_connac_pm *pm = &dev->pm; local
129 pm->stats.last_wake_event = jiffies;
130 pm->stats.doze_time += pm->stats.last_wake_event -
131 pm->stats.last_doze_event;
140 struct mt76_connac_pm *pm = &dev->pm; local
170 pm->stats.last_doze_event = jiffies;
171 pm
[all...]
H A Ddebugfs.c146 struct mt76_connac_pm *pm = &dev->pm; local
153 if (val == pm->enable_user)
156 if (!pm->enable_user) {
157 pm->stats.last_wake_event = jiffies;
158 pm->stats.last_doze_event = jiffies;
163 pm->enable = false;
164 mt76_connac_pm_wake(&dev->mphy, pm);
166 pm->enable_user = val;
168 mt76_connac_power_save_sched(&dev->mphy, pm);
191 struct mt76_connac_pm *pm = &dev->pm; local
[all...]
H A Dsdio.c32 if (!mt76_connac_pm_ref(&dev->mphy, &dev->pm)) {
33 queue_work(mdev->wq, &dev->pm.wake_work);
38 mt76_connac_pm_unref(&dev->mphy, &dev->pm);
43 struct mt76_connac_pm *pm = &dev->pm; local
47 cancel_delayed_work_sync(&pm->ps_work);
48 cancel_work_sync(&pm->wake_work);
208 struct mt76_connac_pm *pm = &dev->pm; local
212 pm
281 struct mt76_connac_pm *pm = &dev->pm; local
[all...]
/freebsd-current/contrib/llvm-project/clang/include/clang/Analysis/
H A DCFGStmtMap.h28 CFGStmtMap(ParentMap *pm, void *m) : PM(pm), M(m) {} argument
/freebsd-current/lib/libpmc/
H A Dlibpmc_pmu_util.c486 pmc_pmu_amd_pmcallocate(const char *event_name, struct pmc_op_pmcallocate *pm, argument
493 amd = &pm->pm_md.pm_amd;
495 pm->pm_caps |= PMC_CAP_QUALIFIER;
498 pm->pm_class = PMC_CLASS_K8;
515 if ((pm->pm_caps & (PMC_CAP_USER|PMC_CAP_SYSTEM)) == 0 ||
516 (pm->pm_caps & (PMC_CAP_USER|PMC_CAP_SYSTEM)) ==
519 else if (pm->pm_caps & PMC_CAP_USER)
521 else if (pm->pm_caps & PMC_CAP_SYSTEM)
527 if (pm->pm_caps & PMC_CAP_INTERRUPT)
534 pmc_pmu_intel_pmcallocate(const char *event_name, struct pmc_op_pmcallocate *pm, argument
576 pmc_pmu_pmcallocate_md(const char *event_name, struct pmc_op_pmcallocate *pm) argument
608 pmc_pmu_pmcallocate_md(const char *event_name, struct pmc_op_pmcallocate *pm) argument
635 pmc_pmu_pmcallocate_md(const char *event_name, struct pmc_op_pmcallocate *pm) argument
668 pmc_pmu_pmcallocate(const char *event_name, struct pmc_op_pmcallocate *pm) argument
[all...]
/freebsd-current/sys/contrib/dev/mediatek/mt76/
H A Dmt76_connac.h312 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) argument
329 spin_lock_bh(&pm->wake.lock);
333 pm->wake.count++;
336 spin_unlock_bh(&pm->wake.lock);
342 mt76_connac_pm_unref(struct mt76_phy *phy, struct mt76_connac_pm *pm) argument
344 spin_lock_bh(&pm->wake.lock);
346 pm
355 mt76_connac_skip_fw_pmctrl(struct mt76_phy *phy, struct mt76_connac_pm *pm) argument
[all...]
H A Dmt792x_debugfs.c130 struct mt76_connac_pm *pm = &dev->pm; local
132 unsigned long awake_time = pm->stats.awake_time;
133 unsigned long doze_time = pm->stats.doze_time;
136 awake_time += jiffies - pm->stats.last_wake_event;
138 doze_time += jiffies - pm->stats.last_doze_event;
144 seq_printf(s, "low power wakes: %9d\n", pm->stats.lp_wake);
154 dev->pm.idle_timeout = msecs_to_jiffies(val);
164 *val = jiffies_to_msecs(dev->pm.idle_timeout);
/freebsd-current/crypto/heimdal/lib/roken/
H A Dqsort.c119 char *pa, *pb, *pc, *pd, *pl, *pm, *pn; local
127 for (pm = (char *)a + es; pm < (char *)a + n * es; pm += es)
128 for (pl = pm;
134 pm = (char *)a + (n / 2) * es;
141 pm = med3(pm - d, pm, pm
[all...]
/freebsd-current/sys/libkern/
H A Dqsort.c114 char *pa, *pb, *pc, *pd, *pl, *pm, *pn; local
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
[all...]
/freebsd-current/lib/libc/stdlib/
H A Dqsort.c106 char *pa, *pb, *pc, *pd, *pl, *pm, *pn; local
117 for (pm = (char *)a + es; pm < (char *)a + n * es; pm += es)
118 for (pl = pm;
124 pm = (char *)a + (n / 2) * es;
132 pm = med3(pm - d, pm, pm
[all...]
/freebsd-current/sys/powerpc/powerpc/
H A Dcopyinout.c162 pmap_t pm; local
169 pm = &td->td_proc->p_vmspace->vm_pmap;
181 if (pmap_map_user_ptr(pm, up, (void **)&p, len, &l)) {
201 pmap_t pm; local
208 pm = &td->td_proc->p_vmspace->vm_pmap;
220 if (pmap_map_user_ptr(pm, up, (void **)&p, len, &l)) {
240 pmap_t pm; local
248 pm = &td->td_proc->p_vmspace->vm_pmap;
263 if (pmap_map_user_ptr(pm, up, (void **)&p, len, &l)) {
293 pmap_t pm; local
321 pmap_t pm; local
350 pmap_t pm; local
385 pmap_t pm; local
421 pmap_t pm; local
450 pmap_t pm; local
478 pmap_t pm; local
507 pmap_t pm; local
536 pmap_t pm; local
565 pmap_t pm; local
620 pmap_t pm; local
[all...]
/freebsd-current/usr.bin/m4/
H A Dgnum4.c280 add_sub(int n, const char *string, regex_t *re, regmatch_t *pm) argument
286 else if (pm[n].rm_so != -1 &&
287 pm[n].rm_eo != -1) {
288 addchars(string + pm[n].rm_so,
289 pm[n].rm_eo - pm[n].rm_so);
297 add_replace(const char *string, regex_t *re, const char *replace, regmatch_t *pm) argument
303 add_sub(0, string, re, pm);
314 add_sub(0, string, re, pm);
321 add_sub(*(++p) - '0', string, re, pm);
330 do_subst(const char *string, regex_t *re, const char *source, const char *replace, regmatch_t *pm) argument
371 do_regexp(const char *string, regex_t *re, const char *source, const char *replace, regmatch_t *pm) argument
389 do_regexpindex(const char *string, regex_t *re, const char *source, regmatch_t *pm) argument
[all...]
/freebsd-current/sys/powerpc/aim/
H A Dslb.c230 user_va_to_slb_entry(pmap_t pm, vm_offset_t va) argument
236 ua = pm->pm_slb_tree_root;
267 va_to_vsid(pmap_t pm, vm_offset_t va) argument
272 if (pm == kernel_pmap)
280 entry = user_va_to_slb_entry(pm, va);
283 return (allocate_user_vsid(pm,
290 allocate_user_vsid(pmap_t pm, uint64_t esid, int large) argument
297 KASSERT(pm != kernel_pmap, ("Attempting to allocate a kernel VSID"));
299 PMAP_LOCK_ASSERT(pm, MA_OWNED);
306 ua = pm
354 free_vsid(pmap_t pm, uint64_t esid, int large) argument
407 slb_free_tree(pmap_t pm) argument
472 slb_insert_user(pmap_t pm, struct slb *slb) argument
592 handle_user_slb_spill(pmap_t pm, vm_offset_t addr) argument
[all...]
/freebsd-current/sys/contrib/dev/rtw88/
H A Drtw8723de.c24 .driver.pm = &rtw_pm_ops,
H A Drtw8822be.c24 .driver.pm = &rtw_pm_ops,

Completed in 215 milliseconds

12345678