Home
last modified time | relevance | path

Searched refs:raddr (Results 1 – 25 of 54) sorted by relevance

123

/titanic_41/usr/src/uts/common/vm/
H A Dvm_as.c875 caddr_t raddr; /* rounded down addr */ in as_fault() local
942 raddr = (caddr_t)((uintptr_t)addr & (uintptr_t)PAGEMASK); in as_fault()
944 (size_t)raddr; in as_fault()
953 if (as == &kas && segkmap && segkmap->s_base <= raddr && in as_fault()
954 raddr + size < segkmap->s_base + segkmap->s_size) { in as_fault()
980 seg = as_segat(as, raddr); in as_fault()
991 addrsav = raddr; in as_fault()
994 for (; rsize != 0; rsize -= ssize, raddr += ssize) { in as_fault()
995 if (raddr >= seg->s_base + seg->s_size) { in as_fault()
997 if (seg == NULL || raddr != seg->s_base) { in as_fault()
[all …]
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dmk_faddr.c42 …_make_fulladdr(krb5_context context, krb5_address *kaddr, krb5_address *kport, krb5_address *raddr) in krb5_make_fulladdr() argument
51 raddr->length = kaddr->length + kport->length + (4 * sizeof(krb5_int32)); in krb5_make_fulladdr()
52 if (!(raddr->contents = (krb5_octet *)malloc(raddr->length))) in krb5_make_fulladdr()
55 raddr->addrtype = ADDRTYPE_ADDRPORT; in krb5_make_fulladdr()
56 marshal = raddr->contents; in krb5_make_fulladdr()
H A Dgenaddrs.c82 krb5_address * raddr; in krb5_auth_con_genaddrs() local
119 raddr = &raddrs.addr; in krb5_auth_con_genaddrs()
127 raddr = NULL; in krb5_auth_con_genaddrs()
131 if (!(retval = krb5_auth_con_setaddrs(context, auth_context, laddr, raddr))) in krb5_auth_con_genaddrs()
/titanic_41/usr/src/uts/common/io/nxge/
H A Dnxge_hcall.s95 uint64_t raddr, uint64_t size)
101 uint64_t *raddr, uint64_t *size)
107 uint64_t raddr, uint64_t size)
113 uint64_t *raddr, uint64_t *size)
127 uint64_t raddr, uint64_t size)
133 uint64_t *raddr, uint64_t *size)
139 uint64_t raddr, uint64_t size)
145 uint64_t *raddr, uint64_t *size)
196 uint64_t raddr, uint64_t size)
202 uint64_t *raddr, uint64_t *size)
[all …]
/titanic_41/usr/src/lib/libnsl/rpc/
H A Drpc_soc.c76 clnt_com_create(struct sockaddr_in *raddr, rpcprog_t prog, rpcvers_t vers, in clnt_com_create() argument
105 if (raddr->sin_port == 0) { in clnt_com_create()
112 sport = pmap_getport(raddr, prog, vers, proto); in clnt_com_create()
117 raddr->sin_port = htons(sport); in clnt_com_create()
124 bindaddr.buf = (char *)raddr; in clnt_com_create()
157 clntudp_bufcreate(struct sockaddr_in *raddr, rpcprog_t prog, rpcvers_t vers, in clntudp_bufcreate() argument
162 cl = clnt_com_create(raddr, prog, vers, sockp, sendsz, recvsz, "udp"); in clntudp_bufcreate()
170 clntudp_create(struct sockaddr_in *raddr, rpcprog_t program, rpcvers_t version, in clntudp_create() argument
173 return (clntudp_bufcreate(raddr, program, version, wait, sockp, in clntudp_create()
178 clnttcp_create(struct sockaddr_in *raddr, rpcprog_t prog, rpcvers_t vers, in clnttcp_create() argument
[all …]
H A Dclnt_bcast.c127 struct netbuf raddr; /* Remote address */ in rpc_broadcast_exp() member
205 ((fdlist[fdlistno].raddr.buf = malloc(addrlen)) == NULL)) { in rpc_broadcast_exp()
210 fdlist[fdlistno].raddr.maxlen = addrlen; in rpc_broadcast_exp()
211 fdlist[fdlistno].raddr.len = addrlen; in rpc_broadcast_exp()
220 free(fdlist[fdlistno].raddr.buf); in rpc_broadcast_exp()
233 free(fdlist[fdlistno].raddr.buf); in rpc_broadcast_exp()
491 t_rdata.addr = fdlist[i].raddr; in rpc_broadcast_exp()
620 free(fdlist[i].raddr.buf); in rpc_broadcast_exp()
/titanic_41/usr/src/stand/lib/fs/nfs/
H A Dclnt_budp.c111 clntbudp_bufcreate(raddr, program, version, wait, sockp, sendsz, recvsz) in clntbudp_bufcreate() argument
112 struct sockaddr_in *raddr; in clntbudp_bufcreate()
142 if (raddr->sin_port == 0) {
145 &(rpc_createerr.cf_stat), raddr, NULL)) == 0) {
148 raddr->sin_port = htons(port);
152 cu->cu_raddr = *raddr;
214 clntbudp_create(raddr, program, version, wait, sockp) in clntbudp_create() argument
215 struct sockaddr_in *raddr; in clntbudp_create()
222 return (clntbudp_bufcreate(raddr, program, version, wait, sockp,
H A Dclnt.h196 extern CLIENT *clntbudp_create(struct sockaddr_in *raddr, rpcprog_t program,
199 extern CLIENT *clntbudp_bufcreate(struct sockaddr_in *raddr, rpcprog_t program,
216 extern CLIENT *clntbtcp_create(struct sockaddr_in *raddr, rpcprog_t program,
H A Dclnt_btcp.c115 struct sockaddr_in *raddr, in clntbtcp_create() argument
147 if (raddr->sin_port == 0) { in clntbtcp_create()
150 &(rpc_createerr.cf_stat), raddr, NULL)) == 0) { in clntbtcp_create()
153 raddr->sin_port = htons(port); in clntbtcp_create()
188 if (connect(*sockp, (struct sockaddr *)raddr, in clntbtcp_create()
228 ct->ct_raddr = *raddr; in clntbtcp_create()
/titanic_41/usr/src/uts/common/io/dmfe/
H A Ddmfe_mii.c48 dmfe_read_eeprom(dmfe_t *dmfep, uint16_t raddr, uint8_t *ptr, int cnt) in dmfe_read_eeprom() argument
55 ASSERT((raddr % 2) == 0); in dmfe_read_eeprom()
57 ASSERT(((raddr + cnt) / 2) < (HIGH_ADDRESS_BIT << 1)); in dmfe_read_eeprom()
59 raddr /= 2; /* make it a word address */ in dmfe_read_eeprom()
93 value = (bit & raddr) ? DATA_IN : 0; in dmfe_read_eeprom()
132 raddr++; in dmfe_read_eeprom()
/titanic_41/usr/src/cmd/mdb/intel/modules/i40e/
H A Di40e.c69 uintptr_t raddr = (uintptr_t)i40e.i40e_switch_rsrcs + in i40e_switch_rsrcs_dcmd() local
73 if (mdb_vread(&rsrc, sizeof (i40e_switch_rsrc_t), raddr) != in i40e_switch_rsrcs_dcmd()
76 i, raddr); in i40e_switch_rsrcs_dcmd()
/titanic_41/usr/src/ucblib/librpcsoc/
H A Dclnt_tcp.c110 clnttcp_create(raddr, prog, vers, sockp, sendsz, recvsz) in clnttcp_create() argument
111 struct sockaddr_in *raddr; in clnttcp_create()
142 if (raddr->sin_port == 0) {
144 if ((port = pmap_getport(raddr, prog, vers, IPPROTO_TCP))
150 raddr->sin_port = htons(port);
160 (connect(*sockp, (struct sockaddr *)raddr,
161 sizeof (*raddr)) < 0)) {
178 ct->ct_addr = *raddr;
H A Dclnt_udp.c114 clntudp_bufcreate(raddr, program, version, wait, sockp, sendsz, recvsz) in clntudp_bufcreate() argument
115 struct sockaddr_in *raddr; in clntudp_bufcreate()
147 if (raddr->sin_port == 0) {
150 pmap_getport(raddr, program, version, IPPROTO_UDP)) == 0) {
153 raddr->sin_port = htons(port);
157 cu->cu_raddr = *raddr;
204 clntudp_create(raddr, program, version, wait, sockp) in clntudp_create() argument
205 struct sockaddr_in *raddr; in clntudp_create()
212 return (clntudp_bufcreate(raddr, program, version, wait, sockp,
/titanic_41/usr/src/uts/common/os/
H A Dfbio.c71 caddr_t raddr; in fbread() local
87 raddr = (caddr_t)((uintptr_t)(addr + o) & ~pgoff); in fbread()
89 (uintptr_t)raddr; in fbread()
91 err = segmap_fault(kas.a_hat, segkmap, raddr, rsize, F_SOFTLOCK, rw); in fbread()
/titanic_41/usr/src/uts/sun4v/io/
H A Dldc_shm.c74 caddr_t *raddr);
355 uintptr_t raddr, ra_aligned; in i_ldc_mem_bind_handle() local
568 raddr = va_to_pa((void *)addr); in i_ldc_mem_bind_handle()
569 ra_aligned = ((uintptr_t)raddr & pg_mask); in i_ldc_mem_bind_handle()
604 memseg->pages[i].raddr = raddr; in i_ldc_mem_bind_handle()
622 ldcp->id, addr, index, raddr, psize, poffset); in i_ldc_mem_bind_handle()
647 memseg->raddr = memseg->pages[0].raddr; in i_ldc_mem_bind_handle()
846 minfo->raddr = mhdl->memseg->raddr; in ldc_mem_info()
1242 uint8_t mtype, uint8_t perm, caddr_t *vaddr, caddr_t *raddr) in ldc_mem_map() argument
1252 vaddr, raddr)); in ldc_mem_map()
[all …]
/titanic_41/usr/src/uts/common/io/ib/clients/iser/
H A Diser.c367 iser_path_exists(idm_sockaddr_t *laddr, idm_sockaddr_t *raddr) in iser_path_exists() argument
374 iser_ib_conv_sockaddr2ibtaddr(raddr, &remote_ip); in iser_path_exists()
388 iser_channel_alloc(idm_sockaddr_t *laddr, idm_sockaddr_t *raddr) in iser_channel_alloc() argument
392 iser_ib_conv_sockaddr2ibtaddr(raddr, &remote_ip); in iser_channel_alloc()
/titanic_41/usr/src/uts/common/rpc/
H A Dclnt_rdma.c205 clnt_rdma_kcreate(char *proto, void *handle, struct netbuf *raddr, int family, in clnt_rdma_kcreate() argument
271 p->cku_srcaddr.buf = kmem_zalloc(raddr->maxlen, KM_SLEEP); in clnt_rdma_kcreate()
272 p->cku_srcaddr.maxlen = raddr->maxlen; in clnt_rdma_kcreate()
274 p->cku_addr.buf = kmem_zalloc(raddr->maxlen, KM_SLEEP); in clnt_rdma_kcreate()
275 p->cku_addr.maxlen = raddr->maxlen; in clnt_rdma_kcreate()
276 p->cku_addr.len = raddr->len; in clnt_rdma_kcreate()
277 bcopy(raddr->buf, p->cku_addr.buf, raddr->len); in clnt_rdma_kcreate()
295 clnt_rdma_kinit(CLIENT *h, char *proto, void *handle, struct netbuf *raddr, in clnt_rdma_kinit() argument
326 if (p->cku_addr.maxlen < raddr->len) { in clnt_rdma_kinit()
329 p->cku_addr.buf = kmem_zalloc(raddr->maxlen, KM_SLEEP); in clnt_rdma_kinit()
[all …]
/titanic_41/usr/src/cmd/mdb/common/modules/ipc/
H A Dipc.c485 uintptr_t raddr; in ipckeyid() local
498 result = fp(addr, val, &raddr); in ipckeyid()
501 mdb_printf("%lx", raddr); in ipckeyid()
523 uintptr_t svcptr, raddr; in ds_ptr() local
539 result = kflag ? ipckey_impl(svcptr, addr, &raddr) : in ds_ptr()
540 ipcid_impl(svcptr, addr, &raddr); in ds_ptr()
543 mdb_printf("%lx", raddr); in ds_ptr()
/titanic_41/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_netbios_name.c483 addr_entry_t *raddr; in smb_name_buf_from_packet() local
581 raddr = &nrr[i].name->addr_list; in smb_name_buf_from_packet()
583 &raddr->sin.sin_addr.s_addr, in smb_name_buf_from_packet()
1327 addr_entry_t *raddr; in smb_send_name_query_response() local
1357 raddr = &entry->addr_list; in smb_send_name_query_response()
1364 ret_addr = LE_32(raddr->sin.sin_addr.s_addr); in smb_send_name_query_response()
1371 raddr = raddr->forw; in smb_send_name_query_response()
1372 } while (raddr != &entry->addr_list); in smb_send_name_query_response()
1585 addr_entry_t *raddr; in smb_name_Bnode_delete_name() local
1602 raddr = &name->addr_list; in smb_name_Bnode_delete_name()
[all …]
/titanic_41/usr/src/uts/common/sys/ib/clients/iser/
H A Diser.h203 boolean_t iser_path_exists(idm_sockaddr_t *laddr, idm_sockaddr_t *raddr);
205 iser_chan_t *iser_channel_alloc(idm_sockaddr_t *laddr, idm_sockaddr_t *raddr);
/titanic_41/usr/src/uts/sun4v/sys/
H A Dhypervisor_api.h358 extern uint64_t hv_mmu_fault_area_conf(void *raddr);
430 uint64_t cookie, uint64_t raddr, uint64_t length, uint64_t *lengthp);
432 uint64_t *raddr, uint64_t *perm);
433 extern uint64_t hv_ldc_unmap(uint64_t raddr);
H A Dldc.h156 uintptr_t raddr; /* base RA */ member
197 caddr_t *raddr);
/titanic_41/usr/src/uts/common/io/
H A Dksyms.c185 char *addr, *raddr; in ksyms_mapin() local
191 raddr = addr; in ksyms_mapin()
195 if (copyout(list->buf, raddr, sz)) { in ksyms_mapin()
200 raddr += sz; in ksyms_mapin()
/titanic_41/usr/src/lib/libslp/javalib/com/sun/slp/
H A DTransact.java1234 InetAddress raddr = dprecv.getAddress(); in transactConvergeMsg() local
1235 rply = internalize(dis, raddr); in transactConvergeMsg()
1237 if (!filterRply(msg, rply, raddr)) { in transactConvergeMsg()
1246 if (!addPreviousResponder(msg, raddr)) { in transactConvergeMsg()
1257 rply = transactTCPMsg(raddr, msg, false); in transactConvergeMsg()
/titanic_41/usr/src/uts/i86pc/os/
H A Dddi_impl.c1412 size_t *addr, *raddr, rsize; in kalloca() local
1446 raddr = vmem_alloc(vmp, rsize, in kalloca()
1451 raddr = kmem_cache_alloc(cp, (cansleep) ? KM_SLEEP : in kalloca()
1455 if (raddr == NULL) { in kalloca()
1472 raddr = kmem_cache_alloc(cp, KM_NOSLEEP); in kalloca()
1473 if (raddr) in kalloca()
1480 raddr = kmem_cache_alloc(cp, KM_NOSLEEP); in kalloca()
1481 if (raddr) in kalloca()
1489 ASSERT(!P2BOUNDARY((uintptr_t)raddr, rsize, PAGESIZE) || in kalloca()
1492 addr = (size_t *)P2ROUNDUP((uintptr_t)raddr + hdrsize, align); in kalloca()
[all …]

123