Home
last modified time | relevance | path

Searched refs:pa (Results 1 – 25 of 207) sorted by relevance

123456789

/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_ndd.c62 ((vptr == eptr) || (rval < pa->minimum) || (rval > pa->maximum))
618 pa->old_value = pa->value; in hxge_param_set_mac()
622 if (pa->value != pa->old_value) { in hxge_param_set_mac()
662 pa->old_value = pa->value; in hxge_param_rx_intr_pkts()
693 pa->old_value = pa->value; in hxge_param_rx_intr_time()
873 pa->old_value = pa->value; in hxge_param_tcam_enable()
908 pa->old_value = pa->value; in hxge_param_set_ether_usr()
953 pa->old_value = pa->value; in hxge_param_set_ip_opt()
1023 pa->old_value = pa->value; in hxge_param_pfc_hash_init()
1062 pa->old_value = pa->value; in hxge_param_set_hxge_debug_flag()
[all …]
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_ndd.c1238 pa->old_value = pa->value; in nxge_param_set_mac()
1271 pa->old_value = pa->value; in nxge_param_rx_intr_pkts()
1299 pa->old_value = pa->value; in nxge_param_rx_intr_time()
1622 pa->old_value = pa->value; in nxge_param_tcam_enable()
1654 pa->old_value = pa->value; in nxge_param_hash_lookup_enable()
1686 pa->old_value = pa->value; in nxge_param_llc_snap_enable()
1722 pa->old_value = pa->value; in nxge_param_set_ether_usr()
1756 pa->old_value = pa->value; in nxge_param_set_ip_usr()
1806 pa->old_value = pa->value; in nxge_param_set_ip_opt()
1892 pa->old_value = pa->value; in nxge_param_fflp_hash_init()
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Dmultidata.c666 pa->pld_rptr != NULL && pa->pld_wptr != NULL && in pbuf_ref_valid()
667 pa->pld_wptr >= pa->pld_rptr && in pbuf_ref_valid()
691 pa++; in pbuf_ref_valid()
1401 kmem_free(pa, pa->pat_buflen); in mmd_destroy_pattbl()
1445 pai.len = pa->pat_buflen - sizeof (*pa); in mmd_copy_pattbl()
1482 pa = Q2PATTR(pa->pat_next); in mmd_find_pattr()
1486 return (pa == pa_head ? NULL : pa); in mmd_find_pattr()
1515 kmem_free(pa, pa->pat_buflen); in mmd_rempattr()
1544 ASSERT(pa->pat_buflen >= sizeof (*pa)); in mmd_getpattr()
1545 pai->len = pa->pat_buflen - sizeof (*pa); in mmd_getpattr()
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dpreauth.c138 krb5_pa_data ** pa; in krb5_obtain_padata() local
152 for (pa = preauth_to_use, size=0; *pa; pa++, size++) { in krb5_obtain_padata()
201 for (pa = preauth_to_use; *pa; pa++) { in krb5_obtain_padata()
244 krb5_pa_data ** pa; in krb5_process_padata() local
251 for (pa = as_reply->padata; *pa; pa++) { in krb5_process_padata()
283 krb5_pa_data * pa; in obtain_enc_ts_padata() local
310 pa->magic = KV5M_PA_DATA; in obtain_enc_ts_padata()
315 *out_padata = pa; in obtain_enc_ts_padata()
467 krb5_pa_data * pa; in obtain_sam_padata() local
565 pa->magic = KV5M_PA_DATA; in obtain_sam_padata()
[all …]
/illumos-gate/usr/src/cmd/fm/mcdecode/
H A Dmcdecode.c55 mcdecode_from_file(const char *file, uint64_t pa) in mcdecode_from_file() argument
107 if (!imc_decode_pa(&imc, pa, &dec)) { in mcdecode_from_file()
124 mcdecode_pa(const char *device, uint64_t pa) in mcdecode_pa() argument
130 ioc.mcei_pa = pa; in mcdecode_pa()
217 uint64_t pa = UINT64_MAX; in main() local
233 pa = (uint64_t)tmp; in main()
259 if (pa != UINT64_MAX && outfile != NULL) { in main()
263 if (pa == UINT64_MAX && outfile == NULL) { in main()
274 if (pa != UINT64_MAX) { in main()
276 mcdecode_from_file(infile, pa); in main()
[all …]
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo.c152 caddr_t pa; in di_init_impl() local
264 free(pa); in di_init_impl()
276 free(pa); in di_init_impl()
282 free(pa); in di_init_impl()
313 free(pa); in di_fini()
429 devnm = DI_DEVNM(pa + DI_ALL(pa)->devnames); in di_drv_first_node()
1034 caddr_t pa; in di_driver_name() local
1042 devnm = DI_DEVNM(pa + DI_ALL(pa)->devnames); in di_driver_name()
1054 caddr_t pa; in di_driver_ops() local
1062 devnm = DI_DEVNM(pa + DI_ALL(pa)->devnames); in di_driver_ops()
[all …]
/illumos-gate/usr/src/cmd/smbsrv/test-msgbuf/
H A Dtest_main.c49 char *pa = ascii; in hexdump() local
57 pa = ascii; in hexdump()
60 *pa++ = *buf; in hexdump()
62 *pa++ = '.'; in hexdump()
67 *pa++ = ' '; in hexdump()
71 *pa = '\0'; in hexdump()
77 *pa = '\0'; in hexdump()
/illumos-gate/usr/src/cmd/lp/model/netpr/
H A Dnet.c52 bsd_print(int sockfd, caddr_t pa, np_bsdjob_t * bsdjob) in bsd_print() argument
152 nw = write(sockfd, pa, ctr); in xfer_file()
181 pa += nw; in xfer_file()
198 caddr_t pa; in xfer_cfAfile() local
211 pa = cfAfile; in xfer_cfAfile()
222 nw = write(sockfd, pa, size); in xfer_cfAfile()
244 pa += nw; in xfer_cfAfile()
320 char * pa; in netpr_send_message() local
331 pa = buf; in netpr_send_message()
338 nw = write(nd, pa, ctr); in netpr_send_message()
[all …]
/illumos-gate/usr/src/common/mc/mc-amd/
H A Dmcamd_patounum.c58 uint64_t orig = pa; in iaddr_gen()
82 if (pa < base || pa > lim) { in iaddr_gen()
98 if (holesz != 0 && pa >= 0x100000000) { in iaddr_gen()
99 pa -= holesz; in iaddr_gen()
105 dramaddr = BITS(pa, 39, 0) - BITS(base, 39, 24); in iaddr_gen()
390 pa, pa & 0x8 ? "upper" : "lower"); in mc_whichdimm()
391 return (pa & 0x8 ? CSDIMM2 : CSDIMM1); in mc_whichdimm()
396 "a single DIMM\n", pa, valid_lo); in mc_whichdimm()
459 uint32_t SystemAddr = (uint32_t)(pa >> 8); in mc_bkdg_patounum()
632 if (iaddr_gen(hdl, mc, pa, &iaddr) < 0) in mc_patounum()
[all …]
H A Dmcamd_unumtopa.c47 uint64_t *pa) in mcamd_unumtopa() argument
113 if (mc_offset_to_pa(hdl, mc, dimm, unump->unum_offset, pa) < 0) { in mcamd_unumtopa()
121 *pa); in mcamd_unumtopa()
128 if (*pa >= 0x100000000 - holesz) in mcamd_unumtopa()
129 *pa += holesz; in mcamd_unumtopa()
132 holesz, *pa); in mcamd_unumtopa()
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_cb.c71 uint64_t pa = cb_ino_to_clr_pa(cb_p, ino); in cb_set_nintr_reg() local
75 cb_p->cb_pci_cmn_p->pci_common_id, ino, pa); in cb_set_nintr_reg()
77 stdphysio(pa, value); in cb_set_nintr_reg()
93 uint64_t reg, pa; in cb_enable_nintr() local
96 pa = cb_ino_to_map_pa(cb_p, ino); in cb_enable_nintr()
102 stdphysio(pa, reg); in cb_enable_nintr()
221 uint64_t pa; in cb_suspend() local
225 pa = cb_ino_to_map_pa(cb_p, ino); in cb_suspend()
226 cb_p->cb_imr_save[i] = lddphysio(pa); in cb_suspend()
235 uint64_t pa; in cb_resume() local
[all …]
/illumos-gate/usr/src/uts/intel/io/intel_nb5000/
H A Ddimm_addr.c88 inb_patounum(void *arg, uint64_t pa, uint8_t valid_hi, uint8_t valid_lo, in inb_patounum() argument
100 if (rp && pa >= rp->base && pa < rp->limit) in inb_patounum()
104 offset = pa - rp->base; in inb_patounum()
122 uint64_t pa; in inb_unumtopa() local
132 pa = dimm_getphys(unump->unum_mc, in inb_unumtopa()
137 if (pa >= MAXPHYS_ADDR) in inb_unumtopa()
142 *pap = pa; in inb_unumtopa()
153 pa = rp->base + (unump->unum_offset * rp->interleave); in inb_unumtopa()
155 if (rp->hole && pa >= rp->hole) in inb_unumtopa()
156 pa += rp->hole_size; in inb_unumtopa()
[all …]
/illumos-gate/usr/src/uts/sun4u/opl/io/pcicmu/
H A Dpcmu_cb.c84 pcb_p->pcb_pcmu_p->pcmu_id, ino, pa); in pcmu_cb_set_nintr_reg()
86 stdphysio(pa, value); in pcmu_cb_set_nintr_reg()
102 uint64_t reg, pa; in pcmu_cb_enable_nintr() local
107 pa = pcmu_cb_ino_to_map_pa(pcb_p, ino); in pcmu_cb_enable_nintr()
115 stdphysio(pa, reg); in pcmu_cb_enable_nintr()
127 "\tPA=%016llx data=%016llx\n", pa, reg); in pcmu_cb_enable_nintr()
261 uint64_t pa; in pcmu_cb_suspend() local
265 pa = pcmu_cb_ino_to_map_pa(pcb_p, ino); in pcmu_cb_suspend()
266 pcb_p->pcb_imr_save[i] = lddphysio(pa); in pcmu_cb_suspend()
275 uint64_t pa; in pcmu_cb_resume() local
[all …]
/illumos-gate/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/
H A Dcmd_oplerr.c63 uint64_t ubc_ue_log_reg, pa; in opl_ue_mem() local
78 (u_longlong_t)pa); in opl_ue_mem()
87 pa = (ubc_ue_log_reg & UBC_UE_ADR_MASK); in opl_ue_mem()
92 (u_longlong_t)pa); in opl_ue_mem()
121 cmd_page_fault(hdl, asru, fru, ep, pa); in opl_ue_mem()
279 uint64_t pa; in opl_scf_log() local
311 page = cmd_page_lookup(pa); in opl_scf_log()
327 pa, eadd[0], elog[0]); in opl_scf_log()
422 cmd_page_fault(hdl, asru, fru, ep, pa); in cmd_opl_mac_ce()
439 uint64_t pa; in cmd_opl_mac_common() local
[all …]
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_print.c1281 pa.pa_maxdepth = pa.pa_maxdepth - pa.pa_depth - 1; in print_array()
2303 printarg_t pa; in cmd_print() local
2384 pa.pa_realtgt = pa.pa_tgt; in cmd_print()
2391 pa.pa_nest = 0; in cmd_print()
2392 pa.pa_tab = 4; in cmd_print()
2397 pa.pa_depth = 0; in cmd_print()
2404 pa.pa_addr = 0; in cmd_print()
2414 pa.pa_tgt = pa.pa_immtgt; in cmd_print()
2958 printarg_t pa; in cmd_printf() local
2963 bzero(&pa, sizeof (pa)); in cmd_printf()
[all …]
/illumos-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/
H A Dcmd_page.c81 page_lookup_by_physaddr(uint64_t pa) in page_lookup_by_physaddr() argument
87 if (page->page_physbase == pa) in page_lookup_by_physaddr()
95 cmd_page_create(fmd_hdl_t *hdl, nvlist_t *modasru, uint64_t pa) in cmd_page_create() argument
100 pa = pa & cmd.cmd_pagemask; in cmd_page_create()
103 (u_longlong_t)pa); in cmd_page_create()
109 page->page_physbase = pa; in cmd_page_create()
112 "page_%llx", (u_longlong_t)pa); in cmd_page_create()
121 (u_longlong_t)pa); in cmd_page_create()
132 cmd_page_lookup(uint64_t pa) in cmd_page_lookup() argument
134 pa = pa & cmd.cmd_pagemask; in cmd_page_lookup()
[all …]
/illumos-gate/usr/src/uts/sun4u/opl/io/
H A Dmc-opl.c1185 uint64_t pa; in restart_patrol() local
1236 pa = roundup(pa + 1, mc_isolation_bsize); in restart_patrol()
1263 pa = roundup(pa + 1, PAGESIZE); in restart_patrol()
3162 MC_LOG("pa %lx, offset %lx\n", pa, pa - mcp->mc_start_address); in mc_inject_error()
3246 stphys(pa, data); in mc_inject_error()
3284 stphys(pa, data); in mc_inject_error()
3423 rv = ldphysio(pa); in mc_ldphysio()
3888 uint64_t pa; in mc_scf_log_event() local
3907 &pa)) != 0) { in mc_scf_log_event()
4025 uint64_t pa; in mc_ioctl_debug() local
[all …]
/illumos-gate/usr/src/cmd/fm/modules/sun4v/generic-mem/
H A Dgmem_page.c78 page_lookup_by_physaddr(uint64_t pa) in page_lookup_by_physaddr() argument
84 if (page->page_physbase == pa) in page_lookup_by_physaddr()
92 gmem_page_create(fmd_hdl_t *hdl, nvlist_t *modasru, uint64_t pa, in gmem_page_create() argument
98 pa = pa & gmem.gm_pagemask; in gmem_page_create()
101 (u_longlong_t)pa); in gmem_page_create()
107 page->page_physbase = pa; in gmem_page_create()
111 "page_%llx", (u_longlong_t)pa); in gmem_page_create()
136 (u_longlong_t)pa); in gmem_page_create()
148 gmem_page_lookup(uint64_t pa) in gmem_page_lookup() argument
150 pa = pa & gmem.gm_pagemask; in gmem_page_lookup()
[all …]
/illumos-gate/usr/src/uts/sparc/io/
H A Ddevfm_machdep.c40 uint64_t pa; in fm_get_paddr() local
67 if (nvlist_lookup_uint64(nvl, FM_FMRI_MEM_PHYSADDR, &pa) != in fm_get_paddr()
76 err = cpu_get_mem_addr(unum, serids[0], offset, &pa); in fm_get_paddr()
81 FM_FMRI_MEM_PHYSADDR, &pa) != 0) in fm_get_paddr()
88 *paddr = pa; in fm_get_paddr()
/illumos-gate/usr/src/boot/i386/gptzfsboot/
H A Dzfsboot.c740 if (pa.fd == -1) in probe_partition()
742 pa.devname = devname; in probe_partition()
753 close(pa.fd); in probe_partition()
758 close(pa.fd); in probe_partition()
793 struct probe_args pa; in probe_disk() local
797 pa.offset = 0; in probe_disk()
798 pa.devname = devname; in probe_disk()
800 if (pa.fd == -1) { in probe_disk()
806 ret = ioctl(pa.fd, DIOCGSECTORSIZE, &pa.secsz); in probe_disk()
808 table = ptable_open(&pa, mediasz / pa.secsz, pa.secsz, in probe_disk()
[all …]
/illumos-gate/usr/src/uts/sun4u/os/
H A Dmemscrub.c1046 ms_paddr_t pa; in memscrub_scan() local
1057 pa = src; in memscrub_scan()
1072 if (((pa & MMU_PAGEMASK4M) == pa) && in memscrub_scan()
1076 } else if (((pa & MMU_PAGEMASK512K) == pa) && in memscrub_scan()
1080 } else if (((pa & MMU_PAGEMASK64K) == pa) && in memscrub_scan()
1084 } else if ((pa & MMU_PAGEMASK) == pa) { in memscrub_scan()
1108 pfn = mmu_btop(pa); in memscrub_scan()
1135 (uint64_t)pa, va, psz); in memscrub_scan()
1155 ms_paddr_t paddr = pa; in memscrub_scan()
1189 pa += psz; in memscrub_scan()
[all …]
/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/
H A Dav1394_cfgrom.c306 av1394_cfgrom_parse_arg_t pa; in av1394_cfgrom_parse_rom() local
326 pa.pa_depth = 0; in av1394_cfgrom_parse_rom()
327 pa.pa_desc_entry = 0; in av1394_cfgrom_parse_rom()
328 pa.pa_parent_k = 0; in av1394_cfgrom_parse_rom()
329 pa.pa_addr = root_addr + 4; in av1394_cfgrom_parse_rom()
330 pa.pa_len = root_len; in av1394_cfgrom_parse_rom()
331 pa.pa_dir = &crp->cr_root_dir; in av1394_cfgrom_parse_rom()
352 av1394_cfgrom_parse_arg_t *pa) in av1394_cfgrom_parse_dir() argument
377 entry_addr = pa->pa_addr; in av1394_cfgrom_parse_dir()
378 for (i = 0; i < pa->pa_len; i++) { in av1394_cfgrom_parse_dir()
[all …]
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_print.c433 dt_printarg_t pa = *pap; in dt_print_array() local
435 pa.pa_depth = 0; in dt_print_array()
438 dt_print_member, &pa); in dt_print_array()
649 dt_printarg_t pa; in dtrace_print() local
697 pa.pa_dtp = dtp; in dtrace_print()
698 pa.pa_addr = addr; in dtrace_print()
699 pa.pa_ctfp = ctfp; in dtrace_print()
700 pa.pa_nest = 0; in dtrace_print()
701 pa.pa_depth = 0; in dtrace_print()
702 pa.pa_file = fp; in dtrace_print()
[all …]
/illumos-gate/usr/src/uts/i86pc/boot/
H A Dboot_mmu.c70 find_pte(uint64_t va, paddr_t *pa, uint_t level, uint_t probe_only) in find_pte() argument
76 if (pa) in find_pte()
77 *pa = 0; in find_pte()
121 if (pa) in find_pte()
122 *pa = table + index * pte_size; in find_pte()
/illumos-gate/usr/src/boot/common/
H A Ddisk.c108 struct print_args *pa, bsd; in ptable_print() local
116 pa = (struct print_args *)arg; in ptable_print()
125 if (pa->verbose) { in ptable_print()
140 dev.dd.d_dev = pa->dev->dd.d_dev; in ptable_print()
141 dev.dd.d_unit = pa->dev->dd.d_unit; in ptable_print()
148 pa->prefix, pname); in ptable_print()
151 bsd.verbose = pa->verbose; in ptable_print()
166 struct print_args pa; in disk_print() local
170 pa.dev = dev; in disk_print()
171 pa.prefix = prefix; in disk_print()
[all …]

123456789