/illumos-gate/usr/src/uts/common/sys/ |
H A D | sunddi.h | 1344 ddi_dma_mem_free(ddi_acc_handle_t *hp);
|
H A D | ddi_implfuncs.h | 119 extern void impl_acc_hdl_init(ddi_acc_hdl_t *hp);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | sunddi.c | 946 hp->ah_dip = dip; in ddi_device_mapping_check() 949 hp->ah_len = 0; in ddi_device_mapping_check() 7093 if (hp->dmai_curcookie >= hp->dmai_ncookies) { in ddi_dma_nextcookie() 7095 hp); in ddi_dma_nextcookie() 7127 base = hp->dmai_cookie - hp->dmai_curcookie; in ddi_dma_cookie_iter() 7156 base = hp->dmai_cookie - hp->dmai_curcookie; in ddi_dma_cookie_get() 7168 hp); in ddi_dma_cookie_one() 7172 base = hp->dmai_cookie - hp->dmai_curcookie; in ddi_dma_cookie_one() 7317 ASSERT(hp); in ddi_regs_map_free() 7330 (void) ddi_map(hp->ah_dip, &mr, hp->ah_offset, in ddi_regs_map_free() [all …]
|
H A D | pcifm.c | 89 ddi_acc_hdl_t *hp = impl_acc_hdl_get(handle); in pci_config_check() local 92 if (!(DDI_FM_ACC_ERR_CAP(ddi_fm_capable(hp->ah_dip)))) in pci_config_check() 104 ddi_fm_ereport_post(hp->ah_dip, buf, de.fme_ena, in pci_config_check()
|
/illumos-gate/usr/src/lib/nsswitch/dns/common/ |
H A D | dns_common.c | 209 for (p = hp->h_addr_list; *p != 0; p++) { in ent2str() 211 if (p != hp->h_addr_list) { in ent2str() 217 if (hp->h_addrtype == AF_INET6) { in ent2str() 241 if (hp->h_name != NULL && *hp->h_name != '\0') { in ent2str() 242 if ((n = snprintf(s, l, " %s", hp->h_name)) >= l) in ent2str() 247 if (p == hp->h_addr_list) { in ent2str() 248 for (q = hp->h_aliases; q && *q; q++) { in ent2str() 406 HEADER *hp; in _nss_dns_gethost_withttl() local 597 hp = (HEADER *)&resbuf.h; in _nss_dns_gethost_withttl() 601 ancount = ntohs(hp->ancount); in _nss_dns_gethost_withttl() [all …]
|
H A D | gethostent.c | 74 struct hostent *hp; in _gethostbyaddr() local 76 hp = gethostbyaddr(addr, len, type); in _gethostbyaddr() 78 return (hp); in _gethostbyaddr() 84 struct hostent *hp; in _nss_dns_gethostbyname2() local 86 hp = gethostbyname2(name, AF_INET6); in _nss_dns_gethostbyname2() 88 return (hp); in _nss_dns_gethostbyname2() 94 struct hostent *hp; in _gethostbyname() local 96 hp = gethostbyname(name); in _gethostbyname() 98 return (hp); in _gethostbyname()
|
/illumos-gate/usr/src/uts/i86pc/io/dr/ |
H A D | dr_quiesce.c | 157 dr_get_sr_handle(dr_handle_t *hp) in dr_get_sr_handle() argument 162 srh->sr_dr_handlep = hp; in dr_get_sr_handle() 893 srh = dr_get_sr_handle(hp); in dr_pt_test_suspend() 896 if ((hp->h_err) && ((psmerr = hp->h_err->e_code) != 0)) { in dr_pt_test_suspend() 901 DR_GET_E_RSC(hp->h_err)); in dr_pt_test_suspend() 914 psmerr = hp->h_err ? hp->h_err->e_code : ESBD_NOERROR; in dr_pt_test_suspend() 918 DR_GET_E_RSC(hp->h_err)); in dr_pt_test_suspend() 923 DR_GET_E_RSC(hp->h_err)); in dr_pt_test_suspend() 928 DR_GET_E_RSC(hp->h_err)); in dr_pt_test_suspend() 933 DR_GET_E_RSC(hp->h_err)); in dr_pt_test_suspend() [all …]
|
H A D | dr_cpu.c | 254 dr_lock_status(hp->h_bd); in dr_pre_attach_cpu() 344 dr_unlock_status(hp->h_bd); in dr_post_attach_cpu() 369 devset = DR_DEVS_PRESENT(hp->h_bd); in dr_pre_release_cpu() 375 cix = dr_cpu_status(hp, devset, ds); in dr_pre_release_cpu() 417 if (dr_cmd_flags(hp) & SBD_FLAG_FORCE) in dr_pre_release_cpu() 474 _NOTE(ARGUNUSED(hp)) in dr_pre_detach_cpu() 486 dr_lock_status(hp->h_bd); in dr_pre_detach_cpu() 524 if (dr_cmd_flags(hp) & SBD_FLAG_FORCE) in dr_pre_detach_cpu() 551 dr_unlock_status(hp->h_bd); in dr_pre_detach_cpu() 594 dr_unlock_status(hp->h_bd); in dr_post_detach_cpu() [all …]
|
/illumos-gate/usr/src/uts/i86pc/sys/ |
H A D | dr.h | 59 #define DR_INTERNAL_ERROR(hp) \ argument 62 #define DR_OP_INTERNAL_ERROR(hp) \ argument 63 drerr_set_c(CE_WARN, &(hp)->h_err, \ 418 extern int dr_pre_attach_cpu(dr_handle_t *hp, 425 extern int dr_pre_detach_cpu(dr_handle_t *hp, 440 extern int dr_pre_attach_mem(dr_handle_t *hp, 449 extern int dr_pre_detach_mem(dr_handle_t *hp, 463 extern int dr_pre_attach_io(dr_handle_t *hp, 466 extern int dr_post_attach_io(dr_handle_t *hp, 470 extern int dr_pre_detach_io(dr_handle_t *hp, [all …]
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | sbd.c | 795 sbd_board_t *sbp = hp ? SBDH2BD(hp->h_sbd) : NULL; in sbd_get_devtype() 1455 hp->h_err = ep; in sbd_get_handle() 1467 return (hp); in sbd_get_handle() 1532 FREESTRUCT(hp->h_opts.copts, char, hp->h_opts.size); in sbd_release_handle() 1646 hp->h_opts.copts = GETSTRUCT(char, hp->h_opts.size); in sbd_copyin_ioarg() 1861 rv = sbd_copyin_ioarg(hp, hp->h_mode, cmd, in sbd_pre_op() 1997 (void) sbd_copyout_errs(hp->h_mode, hp->h_iap, in sbd_post_op() 4261 sbd_io_cnt(hp, devset) + sbd_mem_cnt(hp, devset); in sbd_get_ncm() 4263 error = sbd_copyout_ioarg(hp->h_mode, hp->h_cmd, cmdp, in sbd_get_ncm() 4306 ncm = sbd_cpu_cnt(hp, devset) + sbd_io_cnt(hp, devset) + in sbd_status() [all …]
|
/illumos-gate/usr/src/uts/sun4u/ngdr/sys/ |
H A D | dr.h | 77 #define DR_INTERNAL_ERROR(hp) \ argument 80 #define DR_OP_INTERNAL_ERROR(hp) \ argument 81 drerr_set_c(CE_WARN, &(hp)->h_err, \ 387 extern int dr_pre_attach_cpu(dr_handle_t *hp, 394 extern int dr_pre_detach_cpu(dr_handle_t *hp, 409 extern int dr_pre_attach_mem(dr_handle_t *hp, 418 extern int dr_pre_detach_mem(dr_handle_t *hp, 433 extern int dr_pre_attach_io(dr_handle_t *hp, 436 extern int dr_post_attach_io(dr_handle_t *hp, 440 extern int dr_pre_detach_io(dr_handle_t *hp, [all …]
|
/illumos-gate/usr/src/uts/sun4u/serengeti/io/ |
H A D | sbdp_quiesce.c | 94 int sbdp_test_suspend(sbdp_handle_t *hp); 863 sbdp_test_suspend(sbdp_handle_t *hp) argument 872 srh->sr_flags = hp->h_flags; 886 sbdp_passthru_test_quiesce(sbdp_handle_t *hp, void *arg) argument 890 return (sbdp_test_suspend(hp));
|
/illumos-gate/usr/src/uts/sun4v/io/px/ |
H A D | px_lib4v.c | 1552 ddi_acc_hdl_t *hp; in px_lib_map_vconfig() local 1667 if (hp) in px_lib_log_safeacc_err() 1764 if (hp) { in px_lib_ctlops_poke() 1766 (ddi_acc_handle_t)hp); in px_lib_ctlops_poke() 1796 if (hp) { in px_lib_ctlops_poke() 1807 if (hp) { in px_lib_ctlops_poke() 1809 (ddi_acc_handle_t)hp); in px_lib_ctlops_poke() 1852 if (hp) { in px_lib_ctlops_peek() 1876 if (hp == NULL) { in px_lib_ctlops_peek() 1887 if (hp) { in px_lib_ctlops_peek() [all …]
|
/illumos-gate/usr/src/uts/sun4u/ngdr/io/ |
H A D | dr_quiesce.c | 158 dr_get_sr_handle(dr_handle_t *hp) in dr_get_sr_handle() argument 163 srh->sr_dr_handlep = hp; in dr_get_sr_handle() 956 srh = dr_get_sr_handle(hp); in dr_pt_test_suspend() 959 if ((hp->h_err) && ((psmerr = hp->h_err->e_code) != 0)) { in dr_pt_test_suspend() 964 DR_GET_E_RSC(hp->h_err)); in dr_pt_test_suspend() 977 psmerr = hp->h_err ? hp->h_err->e_code : ESBD_NOERROR; in dr_pt_test_suspend() 981 DR_GET_E_RSC(hp->h_err)); in dr_pt_test_suspend() 986 DR_GET_E_RSC(hp->h_err)); in dr_pt_test_suspend() 991 DR_GET_E_RSC(hp->h_err)); in dr_pt_test_suspend() 996 DR_GET_E_RSC(hp->h_err)); in dr_pt_test_suspend() [all …]
|
H A D | dr_cpu.c | 313 dr_lock_status(hp->h_bd); in dr_pre_attach_cpu() 400 dr_unlock_status(hp->h_bd); in dr_post_attach_cpu() 425 devset = DR_DEVS_PRESENT(hp->h_bd); in dr_pre_release_cpu() 431 cix = dr_cpu_status(hp, devset, ds); in dr_pre_release_cpu() 470 if (dr_cmd_flags(hp) & SBD_FLAG_FORCE) in dr_pre_release_cpu() 527 _NOTE(ARGUNUSED(hp)) in dr_pre_detach_cpu() 541 dr_lock_status(hp->h_bd); in dr_pre_detach_cpu() 605 dr_unlock_status(hp->h_bd); in dr_pre_detach_cpu() 639 hp->h_ndi = 0; in dr_post_detach_cpu() 642 dr_unlock_status(hp->h_bd); in dr_post_detach_cpu() [all …]
|
/illumos-gate/usr/src/uts/common/io/hotplug/pcihp/ |
H A D | pcihp.c | 3675 ddi_acc_hdl_t *hp; in pcihp_config_setup() local 3759 hp = impl_acc_hdl_get(*handle); in pcihp_config_setup() 3761 if (ddi_peek16(*dip, (int16_t *)(hp->ah_addr), in pcihp_config_setup()
|
/illumos-gate/usr/src/uts/sun4/io/ |
H A D | pcicfg.c | 6739 ddi_acc_hdl_t *hp; in pcicfg_map_phys() local 6745 hp->ah_dip = dip; in pcicfg_map_phys() 6746 hp->ah_rnumber = 0; in pcicfg_map_phys() 6747 hp->ah_offset = 0; in pcicfg_map_phys() 6748 hp->ah_len = 0; in pcicfg_map_phys() 6756 mr.map_handlep = hp; in pcicfg_map_phys() 6775 ddi_acc_hdl_t *hp; in pcicfg_unmap_phys() local 6778 ASSERT(hp); in pcicfg_unmap_phys() 6785 mr.map_handlep = hp; in pcicfg_unmap_phys() 6788 (void) ddi_map(hp->ah_dip, &mr, hp->ah_offset, in pcicfg_unmap_phys() [all …]
|
/illumos-gate/usr/src/uts/common/pcmcia/nexus/ |
H A D | pcmcia.c | 4348 ddi_acc_hdl_t *hp; in pcmcia_map_reg() local 4409 hp = impl_acc_hdl_get(*handle); in pcmcia_map_reg() 4410 hp->ah_vers = VERS_ACCHDL; in pcmcia_map_reg() 4411 hp->ah_dip = dip != NULL ? dip : pdip; in pcmcia_map_reg() 4412 hp->ah_rnumber = rnum; in pcmcia_map_reg() 4413 hp->ah_offset = 0; in pcmcia_map_reg() 4414 hp->ah_len = ra->ra_len; in pcmcia_map_reg() 4415 hp->ah_acc = attr; in pcmcia_map_reg() 4425 mr.map_handlep = hp; in pcmcia_map_reg() 4433 hp->ah_addr = *base; in pcmcia_map_reg()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | devinfo.c | 3554 struct i_hp *hp; in di_gethpdata() local 3585 hp = kmem_zalloc(sizeof (i_hp_t), KM_SLEEP); in di_gethpdata() 3586 hp->hp_off = off; in di_gethpdata() 3587 hp->hp_child = hp_hdl->cn_info.cn_child; in di_gethpdata() 3588 list_insert_tail(&st->hp_list, hp); in di_gethpdata() 4263 struct di_hp *hp; in di_hotplug_children() local 4270 hp = DI_HP(di_mem_addr(st, hp_list_node->hp_off)); in di_hotplug_children() 4271 hp->hp_child = off; in di_hotplug_children()
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/ |
H A D | fcp.c | 2627 hp->rsvd = 0; in fcp_send_scsi_ioctl() 2632 hp->ro = 0; in fcp_send_scsi_ioctl() 3338 hp->rsvd = 0; in fcp_tgt_send_plogi() 3343 hp->ro = 0; in fcp_tgt_send_plogi() 5213 hp->rsvd = 0; in fcp_send_els() 5218 hp->ro = 0; in fcp_send_els() 6574 hp->rsvd = 0; in fcp_send_scsi() 6579 hp->ro = 0; in fcp_send_scsi() 11442 hp->rsvd = 0; in fcp_pkt_setup() 11450 hp->ro = 0; in fcp_pkt_setup() [all …]
|
/illumos-gate/usr/src/uts/sparc/ml/ |
H A D | sparc_ddi.S | 182 ld [%o0 + DMA_HANDLE_RFLAGS], %o4 ! hp->dmai_rflags; 191 ldn [%o0 + DMA_HANDLE_RDIP], %o1 ! dip = hp->dmai_rdip; 206 ldn [%o0 + DMA_HANDLE_RDIP], %o1 ! dip = hp->dmai_rdip;
|
/illumos-gate/usr/src/uts/sparc/v9/ml/ |
H A D | ddi_v9_asm.S | 685 ldn [%o0 + AHI_ERR], %o4 ! %o4 = hp->ahi_err 706 ldn [%o4 + ERR_ONTRAP], %o4 ! %o4 = hp->ahi_err->err_ontrap 718 ldn [%o4 + ERR_ONTRAP], %o4 ! %o4 = hp->ahi_err->err_ontrap 744 ldn [%o0 + AHI_ERR], %o4 ! %o4 = hp->ahi_err
|
/illumos-gate/usr/src/lib/libcfgadm/common/ |
H A D | config_admin.c | 1158 di_hp_t hp, in mklog_hp() argument 1490 di_hp_t hp, in load_lib_hp() argument 1505 di_hp_t hp, in load_lib_impl() argument 1689 di_hp_t hp, in find_lib_hp() argument 2067 di_hp_t hp, in check_ap_hp() argument 2085 di_hp_t hp, in check_ap_impl() argument 2215 di_hp_t hp, in check_ap_phys_hp() argument 2232 di_hp_t hp, in check_ap_phys_impl() argument 2566 di_hp_t hp; in do_list_common() local 2585 for (hp = DI_HP_NIL; (hp = di_hp_next(rnode, hp)) != DI_HP_NIL; ) { in do_list_common() [all …]
|
/illumos-gate/usr/src/lib/print/libpapi-common/common/ |
H A D | misc.c | 173 struct hostent *hp; in match_interfaces() local 182 hp = getipnodebyname(host, AF_INET6, AI_ALL|AI_V4MAPPED, &errnum); in match_interfaces() 183 if (hp != NULL) { in match_interfaces() 184 struct in6_addr **tmp = (struct in6_addr **)hp->h_addr_list; in match_interfaces()
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | caps | 68 ceol_standout_glitch xhp xs bool Standout not erased by overwriting (hp)
|