Home
last modified time | relevance | path

Searched refs:asp (Results 1 – 25 of 41) sorted by relevance

12

/titanic_41/usr/src/lib/libnsl/rpc/
H A Dsvc_auth.c105 struct authsvc *asp; in __gss_authenticate() local
132 for (asp = Auths; asp; asp = asp->next) { in __gss_authenticate()
133 if (asp->flavor == cred_flavor) { in __gss_authenticate()
136 as = (*asp->handler)(rqst, msg); in __gss_authenticate()
182 struct authsvc *asp; in svc_auth_reg() local
196 for (asp = Auths; asp; asp = asp->next) { in svc_auth_reg()
197 if (asp->flavor == cred_flavor) { in svc_auth_reg()
205 asp = malloc(sizeof (*asp)); in svc_auth_reg()
206 if (asp == NULL) { in svc_auth_reg()
210 asp->flavor = cred_flavor; in svc_auth_reg()
[all …]
/titanic_41/usr/src/uts/sun4u/sunfire/io/
H A Dac_del.c220 struct ac_soft_state *asp = pkt->softsp; in ac_del_bank_add_span() local
227 INTLV0(*asp->ac_memctl) : INTLV1(*asp->ac_memctl); in ac_del_bank_add_span()
236 *asp->ac_memdecode0 : *asp->ac_memdecode1; in ac_del_bank_add_span()
289 struct ac_soft_state *asp = (struct ac_soft_state *)(del->ac_softsp); in ac_del_bank_add_cage() local
294 decode = (bank == Bank0) ? *asp->ac_memdecode0 : *asp->ac_memdecode1; in ac_del_bank_add_cage()
382 struct ac_soft_state *asp = (struct ac_soft_state *)(del->ac_softsp); in ac_bank_write_pattern() local
388 decode = (bank == Bank0) ? *asp->ac_memdecode0 : *asp->ac_memdecode1; in ac_bank_write_pattern()
457 struct ac_soft_state *asp; in ac_del_memory() local
488 asp = pkt->softsp; in ac_del_memory()
503 mem_info = &asp->bank[pkt->bank]; in ac_del_memory()
[all …]
H A Dac_add.c111 struct ac_soft_state *asp = pkt->softsp; in ac_add_bank() local
118 INTLV0(*asp->ac_memctl) : INTLV1(*asp->ac_memctl); in ac_add_bank()
127 *asp->ac_memdecode0 : *asp->ac_memdecode1; in ac_add_bank()
132 mem_info = &asp->bank[pkt->bank]; in ac_add_bank()
/titanic_41/usr/src/cmd/mdb/sun4u/modules/unix/
H A Dsfmmu.c82 struct as *asp = NULL; in sfmmu_vtop() local
113 asp = (struct as *)sym.st_value; in sfmmu_vtop()
117 asp = (struct as *)mdb_strtoull(asnmp); in sfmmu_vtop()
119 SFMMU_VTOP_DBG_DBG("asp=0x%p\n", asp); in sfmmu_vtop()
122 if (asp == 0) { in sfmmu_vtop()
127 if ((ret = sfmmu_vtop_common(asp, addr, &paddr)) == -1L) { in sfmmu_vtop()
134 "%llr", asp, addr, paddr); in sfmmu_vtop()
143 sfmmu_vtop_common(struct as *asp, uintptr_t addr, physaddr_t *pap) in sfmmu_vtop_common() argument
152 if (mdb_vread(masp, sizeof (mas), (uintptr_t)asp) == -1) { in sfmmu_vtop_common()
153 mdb_warn("couldn't read as at %p\n", asp); in sfmmu_vtop_common()
[all …]
/titanic_41/usr/src/lib/libast/common/comp/
H A Dmemset.c33 memset(void* asp, register int c, register size_t n)
35 register char* sp = (char*)asp;
39 return(asp);
H A Dmemchr.c38 memchr(const void* asp, register int c, size_t n)
40 register const char* sp = (char*)asp;
/titanic_41/usr/src/cmd/rcm_daemon/common/
H A Dttymux_rcm.c758 ttymux_assoc_t *asp; in probe_dependencies() local
785 asp = (ttymux_assoc_t *)links.ttymux_assocs; in probe_dependencies()
791 for (; cnt--; asp++) { in probe_dependencies()
793 asp->ttymux_udev, asp->ttymux_ldev, in probe_dependencies()
794 major(asp->ttymux_udev), minor(asp->ttymux_udev), in probe_dependencies()
795 major(asp->ttymux_ldev), minor(asp->ttymux_ldev))); in probe_dependencies()
801 if (asp->ttymux_ldev == NODEV) { in probe_dependencies()
804 if (asp->ttymux_path == NULL || in probe_dependencies()
805 *asp->ttymux_path != '/') in probe_dependencies()
809 asp->ttymux_path) > sizeof (buf)) in probe_dependencies()
[all …]
/titanic_41/usr/src/common/net/dhcp/
H A Doctet.c84 hexascii_to_octet(const char *asp, uint_t alen, void *bufp, uint_t *blen) in hexascii_to_octet() argument
90 if (asp == NULL || bufp == NULL || blen == NULL) in hexascii_to_octet()
97 for (tp = asp, u_tp = (uchar_t *)bufp, i = 0; i < k; i++, u_tp++) { in hexascii_to_octet()
/titanic_41/usr/src/uts/sun4/io/efcode/
H A Dfc_physio.c64 struct as *asp; in fc_physio_setup() local
76 asp = procp->p_as; in fc_physio_setup()
95 error = as_pagelock(asp, &pplist, io_base, io_len, S_WRITE); in fc_physio_setup()
/titanic_41/usr/src/lib/cfgadm_plugins/ac/common/
H A Dmema.c528 set_present_bits(mema_disabled_t *dp, ac_stat_t *asp) in set_present_bits() argument
530 if (asp->ostate == SYSC_CFGA_OSTATE_CONFIGURED) in set_present_bits()
540 ac_stat_t *asp, in prom_do_options() argument
549 set_present_bits(&disab, asp); in prom_do_options()
1292 info_set(ac_stat_t *asp, mema_bank_t *bkp, cfga_info_t info) in info_set() argument
1310 if (asp->real_size == 0) { in info_set()
1315 if ((n = asp->real_size) >= 1024) { in info_set()
1322 if (asp->rstate == SYSC_CFGA_RSTATE_CONNECTED && in info_set()
1323 asp->ostate == SYSC_CFGA_OSTATE_CONFIGURED && in info_set()
1324 asp->use_size != asp->real_size) { in info_set()
[all …]
/titanic_41/usr/src/uts/common/os/
H A Dvm_subr.c136 struct as *asp; in default_physio() local
171 asp = procp->p_as; in default_physio()
174 asp = &kas; in default_physio()
237 error = as_pagelock(asp, &pplist, a, in default_physio()
266 as_pageunlock(asp, pplist, a, c, in default_physio()
/titanic_41/usr/src/uts/i86pc/os/
H A Dppage.c89 i86_va_map(caddr_t vaddr, struct as *asp, caddr_t kaddr) in i86_va_map() argument
93 pfnum = hat_getpfnum(asp->a_hat, vaddr); in i86_va_map()
/titanic_41/usr/src/uts/common/xen/io/
H A Dxpvtap.c60 static int xpvtap_segmap(dev_t dev, off_t off, struct as *asp, caddr_t *addrp,
491 xpvtap_segmap(dev_t dev, off_t off, struct as *asp, caddr_t *addrp, in xpvtap_segmap() argument
522 e = devmap_setup(dev, (offset_t)off, asp, addrp, (size_t)len, in xpvtap_segmap()
542 ASSERT(asp == state->bt_map.um_as); in xpvtap_segmap()
543 as_rangelock(asp); in xpvtap_segmap()
547 as_rangeunlock(asp); in xpvtap_segmap()
552 (void) as_unmap(asp, *addrp, len); in xpvtap_segmap()
557 e = as_map(asp, *addrp, len, segmf_create, &a); in xpvtap_segmap()
559 as_rangeunlock(asp); in xpvtap_segmap()
562 as_rangeunlock(asp); in xpvtap_segmap()
[all …]
/titanic_41/usr/src/uts/sun4u/io/
H A Dzuluvm.c830 zuluvm_find_proc(zuluvm_state_t *zdev, struct as *asp) in zuluvm_find_proc() argument
835 tnf_opaque, asp, asp); in zuluvm_find_proc()
837 if (ZULU_HAT2AS(p->zhat) == asp) { in zuluvm_find_proc()
919 struct as *asp = ZULUVM_GET_AS; in zuluvm_dma_add_proc() local
925 proc = zuluvm_find_proc(zdev, asp); in zuluvm_dma_add_proc()
928 proc->zhat = zulu_hat_proc_attach(asp, zdev); in zuluvm_dma_add_proc()
946 (void) as_add_callback(asp, zuluvm_as_free, proc, in zuluvm_dma_add_proc()
1058 struct as *asp = ZULUVM_GET_AS; in zuluvm_dma_alloc_ctx() local
1063 if (asp == NULL) { in zuluvm_dma_alloc_ctx()
1101 proc = zuluvm_find_proc(zdev, asp); in zuluvm_dma_alloc_ctx()
/titanic_41/usr/src/uts/i86pc/io/pciex/
H A Dnpe.c709 struct attachspec *asp; in npe_ctlops() local
797 asp = (struct attachspec *)arg; in npe_ctlops()
798 if ((asp->when == DDI_POST) && (asp->result == DDI_SUCCESS)) { in npe_ctlops()
799 pf_init(rdip, (void *)pci_p->pci_fm_ibc, asp->cmd); in npe_ctlops()
804 if (asp->cmd == DDI_RESUME && asp->when == DDI_PRE && in npe_ctlops()
/titanic_41/usr/src/cmd/ipf/tools/
H A Dipfstat.c1653 static void showauthstates(asp) in showauthstates() argument
1654 fr_authstat_t *asp; in showauthstates()
1660 (unsigned long long) asp->fas_hits,
1661 (unsigned long long) asp->fas_miss);
1663 printf("Authorisation hits: %ld\tmisses %ld\n", asp->fas_hits,
1664 asp->fas_miss);
1667 asp->fas_nospace, asp->fas_added, asp->fas_sendfail,
1668 asp->fas_sendok);
1670 asp->fas_queok, asp->fas_quefail, asp->fas_expire);
1672 frap = asp->fas_faelist;
/titanic_41/usr/src/cmd/mdb/i86pc/modules/unix/
H A Di86mmu.c58 platform_vtop(uintptr_t addr, struct as *asp, physaddr_t *pap) in platform_vtop() argument
60 if (asp == NULL) in platform_vtop()
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
577 if (asp != NULL) { in do_va2pa()
578 if (mdb_vread(&as, sizeof (as), (uintptr_t)asp) == -1) { in do_va2pa()
/titanic_41/usr/src/uts/intel/io/pci/
H A Dpci_pci.c483 struct attachspec *asp; in ppb_ctlops() local
516 asp = (struct attachspec *)arg; in ppb_ctlops()
518 (asp->when == DDI_POST) && (asp->result == DDI_SUCCESS)) in ppb_ctlops()
519 pf_init(rdip, (void *)ppb->ppb_fm_ibc, asp->cmd); in ppb_ctlops()
521 if (asp->cmd == DDI_RESUME && asp->when == DDI_PRE) in ppb_ctlops()
/titanic_41/usr/src/uts/i86pc/io/pci/
H A Dpci.c542 struct attachspec *asp; in pci_ctlops() local
629 asp = (struct attachspec *)arg; in pci_ctlops()
630 if (asp->cmd == DDI_RESUME && asp->when == DDI_PRE) in pci_ctlops()
/titanic_41/usr/src/ucbcmd/sed/
H A Dsed1.c311 char *place(asp, al1, al2) in place() argument
312 char *asp, *al1, *al2; in place()
316 sp = asp;
/titanic_41/usr/src/uts/common/sys/
H A Dddidevmap.h79 struct as *asp; /* as ptr for use by ddi_umem_unlock */ member
H A Ddevops.h101 int (*cb_segmap)(dev_t dev, off_t off, struct as *asp,
/titanic_41/usr/src/cmd/mdb/common/mdb/
H A Dmdb_kvm.c793 struct as *asp; in kt_vtop() local
805 asp = kt->k_as; in kt_vtop()
808 asp = (struct as *)as; in kt_vtop()
811 if ((pa = kt->k_kb_ops->kb_vtop(kt->k_cookie, asp, va)) != -1ULL) { in kt_vtop()
822 if ((fptr != NULL) && ((*fptr)(va, asp, pap) == 0)) in kt_vtop()
/titanic_41/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_kvm.c277 struct as *asp; in kmt_vtop() local
286 if ((asp = (struct as *)kmt_read_kas(t)) == NULL) in kmt_vtop()
290 asp = (struct as *)as; in kmt_vtop()
293 if (asp != (struct as *)kmt_read_kas(t)) in kmt_vtop()
307 if ((fptr != NULL) && ((*fptr)(va, asp, pap) == 0)) in kmt_vtop()
/titanic_41/usr/src/uts/i86pc/io/
H A Drootnex.c355 extern void i86_va_map(caddr_t vaddr, struct as *asp, caddr_t kaddr);
2541 struct as *asp; in rootnex_get_as() local
2546 asp = dmao->dmao_obj.virt_obj.v_as; in rootnex_get_as()
2547 if (asp == NULL) in rootnex_get_as()
2548 asp = &kas; in rootnex_get_as()
2551 asp = NULL; in rootnex_get_as()
2554 return (asp); in rootnex_get_as()

12