Searched defs:pap (Results 1 - 25 of 43) sorted by relevance

12

/illumos-gate/usr/src/uts/sfmmu/vm/
H A Dhat_kdi.c41 kdi_vtop(uintptr_t va, uint64_t *pap) argument
51 *pap = (TTE_TO_PFN((caddr_t)va, &tte) << MMU_PAGESHIFT) |
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dgetprotoent.c100 char **pap; local
107 for (pap = net_data->pr_last->p_aliases; pap && *pap; pap++)
108 if (!strcmp(name, *pap))
/illumos-gate/usr/src/uts/i86pc/vm/
H A Dhat_kdi.c150 kdi_vtop(uintptr_t va, uint64_t *pap) argument
171 *pap = pfn_to_pa(pfn) + (vaddr & MMU_PAGEOFFSET);
180 *pap = pfn_to_pa(CPU->cpu_current_hat->hat_htable->ht_pfn);
182 *pap = getcr3() & MMU_PAGEMASK;
186 *pap += index << mmu.pte_size_shift;
188 if (kdi_pread((caddr_t)&pte, mmu.pte_size, *pap, &len) != 0)
194 *pap = kdi_mtop(pte & PT_PADDR_LGPG);
197 *pap = kdi_mtop(pte & PT_PADDR);
202 *pap += va & LEVEL_OFFSET(level);
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dlpfsck.c320 va_makepath (va_list *pap, char **ret) argument
327 while ((component = va_arg((*pap), char *)) != NULL) {
/illumos-gate/usr/src/lib/abi/apptrace/common/
H A Dapptraceutil.c141 print_int(ctf_id_t base, ulong_t off, printarg_t *pap) argument
143 ctf_file_t *ctfp = pap->pa_ctfp;
146 ulong_t addr = pap->pa_addr + off / NBBY;
193 print_float(ctf_id_t base, ulong_t off, printarg_t *pap) argument
195 ctf_file_t *ctfp = pap->pa_ctfp;
223 print_ptr(ctf_id_t base, ulong_t off, printarg_t *pap) argument
225 ctf_file_t *ctfp = pap->pa_ctfp;
226 ulong_t addr = pap->pa_addr + off / NBBY;
249 print_array(ctf_id_t base, ulong_t off, printarg_t *pap) argument
251 ulong_t addr = pap
259 print_sou(ctf_id_t base, ulong_t off, printarg_t *pap) argument
266 print_enum(ctf_id_t base, ulong_t off, printarg_t *pap) argument
281 print_tag(ctf_id_t base, ulong_t off, printarg_t *pap) argument
304 printarg_t *pap = data; local
[all...]
/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_kdi.c230 kmdb_kdi_vtop(uintptr_t va, physaddr_t *pap) argument
240 if ((err = mdb.m_kdi->kdi_vtop(va, pap)) != 0)
H A Dkmdb_promif.c696 kmdb_prom_vtop(uintptr_t virt, physaddr_t *pap) argument
706 if (rc == 0 && pap != NULL)
707 *pap = pa;
/illumos-gate/usr/src/cmd/mdb/sparc/kmdb/
H A Dkmdb_promif_isadep.c200 kmdb_prom_translate_virt(uintptr_t virt, physaddr_t *pap) argument
214 *pap = pa + off;
/illumos-gate/usr/src/uts/intel/io/intel_nb5000/
H A Ddimm_addr.c118 inb_unumtopa(void *arg, mc_unum_t *unump, nvlist_t *nvl, uint64_t *pap) argument
142 *pap = pa;
157 *pap = pa;
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_print.c126 dt_print_trailing_braces(dt_printarg_t *pap, int depth) argument
130 for (d = pap->pa_depth; d > depth; d--) {
131 (void) fprintf(pap->pa_file, "%*s}%s",
132 (d + pap->pa_nest - 1) * 4, "",
142 dt_print_indent(dt_printarg_t *pap) argument
144 (void) fprintf(pap->pa_file, "%*s",
145 (pap->pa_depth + pap->pa_nest) * 4, "");
155 print_bitfield(dt_printarg_t *pap, ulong_t off, ctf_encoding_t *ep) argument
157 FILE *fp = pap
229 dt_print_int(ctf_id_t base, ulong_t off, dt_printarg_t *pap) argument
283 dt_print_float(ctf_id_t base, ulong_t off, dt_printarg_t *pap) argument
314 dt_print_ptr(ctf_id_t base, ulong_t off, dt_printarg_t *pap) argument
366 dt_print_array(ctf_id_t base, ulong_t off, dt_printarg_t *pap) argument
465 dt_print_structlike(ctf_id_t id, ulong_t off, dt_printarg_t *pap) argument
476 dt_print_enum(ctf_id_t base, ulong_t off, dt_printarg_t *pap) argument
520 dt_print_tag(ctf_id_t base, ulong_t off, dt_printarg_t *pap) argument
549 dt_printarg_t *pap = data; local
[all...]
H A Ddt_provider.c683 const dtrace_pattr_t *pap; local
792 pap = &_dtrace_prvdesc;
794 pap = &pvp->pv_desc.dtvd_attr;
796 pip->dtp_attr = pap->dtpa_provider;
799 pip->dtp_attr = dt_attr_min(pip->dtp_attr, pap->dtpa_mod);
801 pip->dtp_attr = dt_attr_min(pip->dtp_attr, pap->dtpa_func);
803 pip->dtp_attr = dt_attr_min(pip->dtp_attr, pap->dtpa_name);
805 pip->dtp_arga = pap->dtpa_args;
/illumos-gate/usr/src/cmd/pfexecd/
H A Dpfexecd.c297 callback_forced_privs(pfexec_arg_t *pap) argument
307 exec = getexecprof("Forced Privilege", KV_COMMAND, pap->pfa_path,
310 if (exec == NULL && removeisapath(pap->pfa_path)) {
312 pap->pfa_path, GET_ONE);
321 (fset = get_privset(value, NULL, pap->pfa_path)) == NULL) {
335 callback_user_privs(pfexec_arg_t *pap) argument
340 wset = (priv_set_t *)&pap->pfa_buf;
341 gset = get_granted_privs(pap->pfa_uid);
350 callback_pfexec(pfexec_arg_t *pap) argument
361 char *path = pap
480 pfexec_arg_t *pap = (pfexec_arg_t *)argp; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Dcommon.c363 ehost(const ppptun_atype *pap) argument
365 return (ehost2((const struct ether_addr *)pap));
/illumos-gate/usr/src/cmd/mdb/i86pc/modules/unix/
H A Di86mmu.c58 platform_vtop(uintptr_t addr, struct as *asp, physaddr_t *pap) argument
68 return (do_va2pa(addr, asp, 0, pap, NULL));
562 do_va2pa(uintptr_t addr, struct as *asp, int print_level, physaddr_t *pap, argument
643 if (pap != NULL)
644 *pap = paddr;
/illumos-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/
H A Dbitmap.c422 pphav_t *pap; local
456 scnt = len / sizeof (*pap);
485 pap = (pphav_t *)cb_physavail + scnt - 1;
486 for (; scnt--; pap--, arp--) {
487 pages = mmu_btop(pap->size);
488 arp->low = ADDR_TO_PN(pap->base);
H A Dutil.c293 * stores virt and phys addrs at *vap and *pap
296 cb_alloc(size_t size, uint_t align, caddr_t *vap, physaddr_t *pap) argument
310 *pap = phys;
/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp_cpu.c695 uint64_t *pap; local
708 pap = map->pa;
716 *pap = 0;
726 *pap = SBDP_CPU_SRAM_ADDR + offset;
/illumos-gate/usr/src/common/mc/mc-amd/
H A Dmcamd_rowcol.c478 uint64_t offset, uint64_t *pap)
642 if (iaddr_unnormalize(hdl, &mcp, iaddr, pap) < 0)
477 mc_offset_to_pa(struct mcamd_hdl *hdl, mcamd_node_t *mc, mcamd_node_t *dimm, uint64_t offset, uint64_t *pap) argument
/illumos-gate/usr/src/cmd/rcap/rcapd/
H A Drcapd_scanner.c240 prasmap_t *pap; local
258 pap = (prasmap_t *)pcp->pr_pdaddr;
260 pcp->pr_npage = pap->pr_npage;
261 pcp->pr_pagesize = pap->pr_pagesize;
262 pcp->pr_addr = pap->pr_vaddr;
263 pcp->pr_pdaddr = pap + 1;
269 if ((pap->pr_mflags ^ (MA_SHARED | MA_READ | MA_WRITE | MA_EXEC |
270 MA_ANON)) == 0 && pap->pr_npage == 1) {
/illumos-gate/usr/src/cmd/mdb/sun4u/modules/unix/
H A Dsfmmu.c143 sfmmu_vtop_common(struct as *asp, uintptr_t addr, physaddr_t *pap) argument
170 ret = sfmmu_vtop_impl(addr, hatp, mhatp, pap);
177 physaddr_t *pap)
324 *pap = (start_pfn << MMU_PAGESHIFT) +
326 pfn = *pap >> MMU_PAGESHIFT;
470 platform_vtop(uintptr_t addr, struct as *asp, physaddr_t *pap) argument
482 if ((rv = sfmmu_vtop_common(asp, addr, pap)) == 0) {
176 sfmmu_vtop_impl(uintptr_t addr, sfmmu_t *sfmmup, sfmmu_t *msfmmup, physaddr_t *pap) argument
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd.c370 fmd_conf_path_t *pap; local
481 (void) fmd_conf_getprop(dp->d_conf, "conf_path", &pap);
484 for (i = 0; i < pap->cpa_argc; i++) {
486 "%s/%s", pap->cpa_argv[i], name);
820 fmd_conf_path_t *pap; local
998 (void) fmd_conf_getprop(dp->d_conf, "plugin.path", &pap);
999 fmd_modhash_loadall(dp->d_mod_hash, pap, &fmd_rtld_ops, ".so");
1001 (void) fmd_conf_getprop(dp->d_conf, "agent.path", &pap);
1002 fmd_modhash_loadall(dp->d_mod_hash, pap, &fmd_proc_ops, NULL);
H A Dfmd_module.c1086 fmd_modhash_loadall(fmd_modhash_t *mhp, const fmd_conf_path_t *pap, argument
1091 for (i = 0; i < pap->cpa_argc; i++)
1092 fmd_modhash_loaddir(mhp, pap->cpa_argv[i], ops, suffix);
/illumos-gate/usr/src/uts/intel/io/mc-amd/
H A Dmcamd_subr.c541 mcamd_unumtopa_wrap(void *arg, mc_unum_t *unump, nvlist_t *nvl, uint64_t *pap) argument
558 rc = mcamd_unumtopa(&mcamd, (mcamd_node_t *)mc_list, unump, pap);
/illumos-gate/usr/src/uts/common/os/
H A Dklpd.c848 pfexec_arg_t *pap; local
878 pap = kmem_zalloc(pasize, KM_SLEEP);
880 if (get_path(pap->pfa_path, rpnp->pn_path, rpnp->pn_pathlen) == -1)
883 pap->pfa_vers = PFEXEC_ARG_VERS;
884 pap->pfa_call = PFEXEC_EXEC_ATTRS;
885 pap->pfa_len = pasize;
886 pap->pfa_uid = crgetruid(cr);
888 da.data_ptr = (char *)pap;
889 da.data_size = pap->pfa_len;
987 kmem_free(pap, pasiz
1002 pfexec_arg_t *pap; local
1092 pfexec_arg_t *pap; local
[all...]
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_kproc.c551 kp_vtop(mdb_tgt_t *t, mdb_tgt_as_t as, uintptr_t va, physaddr_t *pap) argument
560 *pap = pa;

Completed in 93 milliseconds

12