/titanic_41/usr/src/lib/libdtrace/common/ |
H A D | dt_print.c | 126 dt_print_trailing_braces(dt_printarg_t *pap, int depth) in dt_print_trailing_braces() argument 130 for (d = pap->pa_depth; d > depth; d--) { in dt_print_trailing_braces() 131 (void) fprintf(pap->pa_file, "%*s}%s", in dt_print_trailing_braces() 132 (d + pap->pa_nest - 1) * 4, "", in dt_print_trailing_braces() 142 dt_print_indent(dt_printarg_t *pap) in dt_print_indent() argument 144 (void) fprintf(pap->pa_file, "%*s", in dt_print_indent() 145 (pap->pa_depth + pap->pa_nest) * 4, ""); in dt_print_indent() 155 print_bitfield(dt_printarg_t *pap, ulong_t off, ctf_encoding_t *ep) in print_bitfield() argument 157 FILE *fp = pap->pa_file; in print_bitfield() 158 caddr_t addr = pap->pa_addr + off / NBBY; in print_bitfield() [all …]
|
H A D | dt_provider.c | 683 const dtrace_pattr_t *pap; in dt_probe_info() local 792 pap = &_dtrace_prvdesc; in dt_probe_info() 794 pap = &pvp->pv_desc.dtvd_attr; in dt_probe_info() 796 pip->dtp_attr = pap->dtpa_provider; in dt_probe_info() 799 pip->dtp_attr = dt_attr_min(pip->dtp_attr, pap->dtpa_mod); in dt_probe_info() 801 pip->dtp_attr = dt_attr_min(pip->dtp_attr, pap->dtpa_func); in dt_probe_info() 803 pip->dtp_attr = dt_attr_min(pip->dtp_attr, pap->dtpa_name); in dt_probe_info() 805 pip->dtp_arga = pap->dtpa_args; in dt_probe_info()
|
/titanic_41/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_print.c | 860 print_bitfield(ulong_t off, printarg_t *pap, ctf_encoding_t *ep) in print_bitfield() argument 862 mdb_tgt_addr_t addr = pap->pa_addr + off / NBBY; in print_bitfield() 871 if (!(pap->pa_flags & PA_SHOWVAL)) in print_bitfield() 888 if (mdb_tgt_aread(pap->pa_tgt, pap->pa_as, buf, size, addr) != size) { in print_bitfield() 917 if ((pap->pa_flags & PA_INTHEX) || in print_bitfield() 919 format = (pap->pa_flags & PA_INTDEC)? "%#llu" : "%#llx"; in print_bitfield() 938 printarg_t *pap) in print_int_val() argument 944 mdb_tgt_addr_t addr = pap->pa_addr + off / NBBY; in print_int_val() 957 if (!(pap->pa_flags & PA_SHOWVAL)) in print_int_val() 971 return (print_bitfield(off, pap, ep)); in print_int_val() [all …]
|
/titanic_41/usr/src/lib/abi/apptrace/common/ |
H A D | apptraceutil.c | 141 print_int(ctf_id_t base, ulong_t off, printarg_t *pap) in print_int() argument 143 ctf_file_t *ctfp = pap->pa_ctfp; in print_int() 146 ulong_t addr = pap->pa_addr + off / NBBY; in print_int() 193 print_float(ctf_id_t base, ulong_t off, printarg_t *pap) in print_float() argument 195 ctf_file_t *ctfp = pap->pa_ctfp; in print_float() 223 print_ptr(ctf_id_t base, ulong_t off, printarg_t *pap) in print_ptr() argument 225 ctf_file_t *ctfp = pap->pa_ctfp; in print_ptr() 226 ulong_t addr = pap->pa_addr + off / NBBY; in print_ptr() 249 print_array(ctf_id_t base, ulong_t off, printarg_t *pap) in print_array() argument 251 ulong_t addr = pap->pa_addr + off / NBBY; in print_array() [all …]
|
/titanic_41/usr/src/cmd/pfexecd/ |
H A D | pfexecd.c | 297 callback_forced_privs(pfexec_arg_t *pap) in callback_forced_privs() argument 307 exec = getexecprof("Forced Privilege", KV_COMMAND, pap->pfa_path, in callback_forced_privs() 310 if (exec == NULL && removeisapath(pap->pfa_path)) { in callback_forced_privs() 312 pap->pfa_path, GET_ONE); in callback_forced_privs() 321 (fset = get_privset(value, NULL, pap->pfa_path)) == NULL) { in callback_forced_privs() 335 callback_user_privs(pfexec_arg_t *pap) in callback_user_privs() argument 340 wset = (priv_set_t *)&pap->pfa_buf; in callback_user_privs() 341 gset = get_granted_privs(pap->pfa_uid); in callback_user_privs() 350 callback_pfexec(pfexec_arg_t *pap) in callback_pfexec() argument 361 char *path = pap->pfa_path; in callback_pfexec() [all …]
|
/titanic_41/usr/src/uts/common/os/ |
H A D | klpd.c | 846 pfexec_arg_t *pap; in pfexec_call() local 871 pap = kmem_zalloc(pasize, KM_SLEEP); in pfexec_call() 873 if (get_path(pap->pfa_path, rpnp->pn_path, rpnp->pn_pathlen) == -1) in pfexec_call() 876 pap->pfa_vers = PFEXEC_ARG_VERS; in pfexec_call() 877 pap->pfa_call = PFEXEC_EXEC_ATTRS; in pfexec_call() 878 pap->pfa_len = pasize; in pfexec_call() 879 pap->pfa_uid = crgetruid(cr); in pfexec_call() 881 da.data_ptr = (char *)pap; in pfexec_call() 882 da.data_size = pap->pfa_len; in pfexec_call() 977 kmem_free(pap, pasize); in pfexec_call() [all …]
|
/titanic_41/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_conf.c | 266 fmd_conf_path_t *pap; in set_path() local 274 pap = fmd_alloc(sizeof (fmd_conf_path_t), FMD_SLEEP); in set_path() 275 pap->cpa_argv = fmd_alloc(sizeof (char *) * patc, FMD_SLEEP); in set_path() 276 pap->cpa_argc = patc; in set_path() 292 pap->cpa_argv[i] = q = fmd_alloc(len + 1, FMD_SLEEP); in set_path() 315 pp->cp_value.cpv_ptr = pap; in set_path() 361 fmd_conf_path_t *pap = pp->cp_value.cpv_ptr; in del_lst() local 365 for (i = 0; i < pap->cpa_argc; i++) { in del_lst() 366 if (strcmp(pap->cpa_argv[i], value) == 0) in del_lst() 370 if (i == pap->cpa_argc) in del_lst() [all …]
|
H A D | fmd.c | 370 fmd_conf_path_t *pap; in fmd_create() local 481 (void) fmd_conf_getprop(dp->d_conf, "conf_path", &pap); in fmd_create() 484 for (i = 0; i < pap->cpa_argc; i++) { in fmd_create() 486 "%s/%s", pap->cpa_argv[i], name); in fmd_create() 820 fmd_conf_path_t *pap; in fmd_run() local 998 (void) fmd_conf_getprop(dp->d_conf, "plugin.path", &pap); in fmd_run() 999 fmd_modhash_loadall(dp->d_mod_hash, pap, &fmd_rtld_ops, ".so"); in fmd_run() 1001 (void) fmd_conf_getprop(dp->d_conf, "agent.path", &pap); in fmd_run() 1002 fmd_modhash_loadall(dp->d_mod_hash, pap, &fmd_proc_ops, NULL); in fmd_run()
|
H A D | fmd_api.c | 360 const fmd_conf_path_t *pap; in fmd_hdl_register() local 481 (void) fmd_conf_getprop(mp->mod_conf, FMD_PROP_DICTIONARIES, &pap); in fmd_hdl_register() 482 if (pap->cpa_argc == 0 && mp->mod_ops == &fmd_bltin_ops) in fmd_hdl_register() 483 (void) fmd_conf_getprop(fmd.d_conf, "self.dict", &pap); in fmd_hdl_register() 485 for (i = 0; i < pap->cpa_argc; i++) { in fmd_hdl_register() 486 if (fmd_module_dc_opendict(mp, pap->cpa_argv[i]) != 0) { in fmd_hdl_register() 488 "failed to open dictionary %s", pap->cpa_argv[i]); in fmd_hdl_register() 520 (void) fmd_conf_getprop(mp->mod_conf, FMD_PROP_SUBSCRIPTIONS, &pap); in fmd_hdl_register() 522 for (i = 0; i < pap->cpa_argc; i++) { in fmd_hdl_register() 523 fmd_dispq_insert(fmd.d_disp, mp->mod_queue, pap->cpa_argv[i]); in fmd_hdl_register() [all …]
|
/titanic_41/usr/src/uts/i86pc/vm/ |
H A D | hat_kdi.c | 150 kdi_vtop(uintptr_t va, uint64_t *pap) in kdi_vtop() argument 171 *pap = pfn_to_pa(pfn) + (vaddr & MMU_PAGEOFFSET); in kdi_vtop() 180 *pap = pfn_to_pa(CPU->cpu_current_hat->hat_htable->ht_pfn); in kdi_vtop() 182 *pap = getcr3() & MMU_PAGEMASK; in kdi_vtop() 186 *pap += index << mmu.pte_size_shift; in kdi_vtop() 188 if (kdi_pread((caddr_t)&pte, mmu.pte_size, *pap, &len) != 0) in kdi_vtop() 194 *pap = kdi_mtop(pte & PT_PADDR_LGPG); in kdi_vtop() 197 *pap = kdi_mtop(pte & PT_PADDR); in kdi_vtop() 202 *pap += va & LEVEL_OFFSET(level); in kdi_vtop()
|
/titanic_41/usr/src/lib/libresolv2/common/irs/ |
H A D | getprotoent.c | 100 char **pap; in getprotobyname_p() local 107 for (pap = net_data->pr_last->p_aliases; pap && *pap; pap++) in getprotobyname_p() 108 if (!strcmp(name, *pap)) in getprotobyname_p()
|
/titanic_41/usr/src/uts/sfmmu/vm/ |
H A D | hat_kdi.c | 41 kdi_vtop(uintptr_t va, uint64_t *pap) in kdi_vtop() argument 51 *pap = (TTE_TO_PFN((caddr_t)va, &tte) << MMU_PAGESHIFT) | in kdi_vtop()
|
/titanic_41/usr/src/psm/stand/cpr/sparcv9/sun4u/ |
H A D | bitmap.c | 422 pphav_t *pap; in cb_get_physavail() local 456 scnt = len / sizeof (*pap); in cb_get_physavail() 485 pap = (pphav_t *)cb_physavail + scnt - 1; in cb_get_physavail() 486 for (; scnt--; pap--, arp--) { in cb_get_physavail() 487 pages = mmu_btop(pap->size); in cb_get_physavail() 488 arp->low = ADDR_TO_PN(pap->base); in cb_get_physavail()
|
/titanic_41/usr/src/cmd/mdb/sun4u/modules/unix/ |
H A D | sfmmu.c | 143 sfmmu_vtop_common(struct as *asp, uintptr_t addr, physaddr_t *pap) in sfmmu_vtop_common() argument 170 ret = sfmmu_vtop_impl(addr, hatp, mhatp, pap); in sfmmu_vtop_common() 177 physaddr_t *pap) in sfmmu_vtop_impl() argument 324 *pap = (start_pfn << MMU_PAGESHIFT) + in sfmmu_vtop_impl() 326 pfn = *pap >> MMU_PAGESHIFT; in sfmmu_vtop_impl() 470 platform_vtop(uintptr_t addr, struct as *asp, physaddr_t *pap) in platform_vtop() argument 482 if ((rv = sfmmu_vtop_common(asp, addr, pap)) == 0) { in platform_vtop()
|
/titanic_41/usr/src/uts/intel/io/intel_nb5000/ |
H A D | dimm_addr.c | 118 inb_unumtopa(void *arg, mc_unum_t *unump, nvlist_t *nvl, uint64_t *pap) in inb_unumtopa() argument 142 *pap = pa; in inb_unumtopa() 157 *pap = pa; in inb_unumtopa()
|
/titanic_41/usr/src/cmd/cmd-inet/etc/ppp/ |
H A D | myisp.tmpl | 28 # pap-secrets file and rename the template files: 40 # /etc/ppp/pap-secrets, and /etc/ppp/chap-secrets are all considered 46 remotename myisp # name of the ISP; for pap-secrets
|
H A D | Makefile | 29 ETCPROGROOT= pap-secrets chap-secrets
|
/titanic_41/usr/src/cmd/rcap/rcapd/ |
H A D | rcapd_scanner.c | 240 prasmap_t *pap; in advance_prpageheader_cur_nextmapping() local 258 pap = (prasmap_t *)pcp->pr_pdaddr; in advance_prpageheader_cur_nextmapping() 260 pcp->pr_npage = pap->pr_npage; in advance_prpageheader_cur_nextmapping() 261 pcp->pr_pagesize = pap->pr_pagesize; in advance_prpageheader_cur_nextmapping() 262 pcp->pr_addr = pap->pr_vaddr; in advance_prpageheader_cur_nextmapping() 263 pcp->pr_pdaddr = pap + 1; in advance_prpageheader_cur_nextmapping() 269 if ((pap->pr_mflags ^ (MA_SHARED | MA_READ | MA_WRITE | MA_EXEC | in advance_prpageheader_cur_nextmapping() 270 MA_ANON)) == 0 && pap->pr_npage == 1) { in advance_prpageheader_cur_nextmapping()
|
/titanic_41/usr/src/cmd/mdb/sparc/kmdb/ |
H A D | kmdb_promif_isadep.c | 200 kmdb_prom_translate_virt(uintptr_t virt, physaddr_t *pap) in kmdb_prom_translate_virt() argument 214 *pap = pa + off; in kmdb_prom_translate_virt()
|
/titanic_41/usr/src/uts/common/io/scsi/adapters/smrt/ |
H A D | smrt_commands.c | 71 void **vap, uint32_t *pap) in smrt_contig_alloc() argument 115 *pap = smdma->smdma_dma_cookies[0].dmac_address; in smrt_contig_alloc() 121 *pap = 0; in smrt_contig_alloc()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/pppoe/ |
H A D | pppoed.h | 44 ppptun_atype *pap, uint32_t *outp, void **srvp);
|
/titanic_41/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_kdi.c | 230 kmdb_kdi_vtop(uintptr_t va, physaddr_t *pap) in kmdb_kdi_vtop() argument 240 if ((err = mdb.m_kdi->kdi_vtop(va, pap)) != 0) in kmdb_kdi_vtop()
|
/titanic_41/usr/src/uts/i86pc/os/ |
H A D | cmi.c | 868 cmi_mc_unumtopa(mc_unum_t *up, nvlist_t *nvl, uint64_t *pap) in cmi_mc_unumtopa() argument 885 up, nvl, pap)); in cmi_mc_unumtopa() 898 "asru-" FM_FMRI_HC_SPECIFIC_PHYSADDR, pap) == 0 || in cmi_mc_unumtopa() 900 pap) == 0)) { in cmi_mc_unumtopa() 908 rv = mcops->cmi_mc_unumtopa(cmi_hdl_getmcdata(hdl), up, nvl, pap); in cmi_mc_unumtopa()
|
/titanic_41/usr/src/cmd/mdb/i86pc/modules/unix/ |
H A D | i86mmu.c | 58 platform_vtop(uintptr_t addr, struct as *asp, physaddr_t *pap) in platform_vtop() argument 68 return (do_va2pa(addr, asp, 0, pap, NULL)); in platform_vtop() 562 do_va2pa(uintptr_t addr, struct as *asp, int print_level, physaddr_t *pap, in do_va2pa() argument 643 if (pap != NULL) in do_va2pa() 644 *pap = paddr; in do_va2pa()
|
/titanic_41/usr/src/uts/sun4u/serengeti/io/ |
H A D | sbdp_cpu.c | 695 uint64_t *pap; in sbdp_get_cpu_sram_addr() local 708 pap = map->pa; in sbdp_get_cpu_sram_addr() 716 *pap = 0; in sbdp_get_cpu_sram_addr() 726 *pap = SBDP_CPU_SRAM_ADDR + offset; in sbdp_get_cpu_sram_addr()
|