/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/ |
H A D | tst.provregex2.ksh | 46 all: main altlib.so 54 altlib.so: altlib.o 55 cc -z defs -G -o altlib.so altlib.o -lc 86 if ((alt = dlopen("./altlib.so", RTLD_LAZY | RTLD_LOCAL)) 88 printf("dlopen of altlib.so failed: %s\n", dlerror()); 93 printf("failed to lookup 'go' in altlib.so\n");
|
/freebsd-10.0-release/contrib/gdb/gdb/ |
H A D | solist.h | 75 void (*relocate_section_addresses) (struct so_list *so, 80 void (*free_so) (struct so_list *so); 110 void free_so (struct so_list *so);
|
H A D | somsolib.c | 122 * We do the indirection as soon as we read it, so from then 278 som_solib_add_solib_objfile (struct so_list *so, char *name, int from_tty, argument 284 so->objfile = symbol_file_add (name, from_tty, NULL, 0, OBJF_SHARED); 285 so->abfd = so->objfile->obfd; 288 so I do my own right here. */ 289 for (s = so->objfile->sections; s < so->objfile->sections_end; s++) 291 flagword aflag = bfd_get_section_flags(so->abfd, s->the_bfd_section); 294 s->addr += so 332 som_solib_load_symbols(struct so_list *so, char *name, int from_tty, CORE_ADDR text_addr, struct target_ops *target) argument 1490 struct so_list *so = so_list_head; local 1621 so_lib_thread_start_addr(struct so_list *so) argument [all...] |
H A D | solib-sunos.c | 50 rather than void *, so that we may use byte offsets to find the 73 configured to handle 64-bit targets, so CORE_ADDR is 64 bits. We 98 LM_ADDR (struct so_list *so) argument 103 return (CORE_ADDR) extract_signed_integer (so->lm_info->lm + lm_addr_offset, 108 LM_NEXT (struct so_list *so) argument 114 return extract_unsigned_integer (so->lm_info->lm + lm_next_offset, 119 LM_NAME (struct so_list *so) argument 125 return extract_unsigned_integer (so->lm_info->lm + lm_name_offset, 315 /* It is a version that we can deal with, so read in the secondary 538 it contains only the unrelocated offset of the function, so w 868 sunos_free_so(struct so_list *so) argument 875 sunos_relocate_section_addresses(struct so_list *so, struct section_table *sec) argument [all...] |
/freebsd-10.0-release/sys/netgraph/bluetooth/include/ |
H A D | ng_btsocket_sco.h | 69 struct socket *so; /* Pointer to socket */ member in struct:ng_btsocket_sco_pcb 97 #define so2sco_pcb(so) \ 98 ((struct ng_btsocket_sco_pcb *)((so)->so_pcb))
|
/freebsd-10.0-release/tools/tools/netmap/ |
H A D | Makefile | 6 PROGS = pkt-gen bridge vale-ctl testpcap libnetmap.so 23 testpcap: pcap.c libnetmap.so 26 libnetmap.so: pcap.c nm_util.c
|
/freebsd-10.0-release/sys/kern/ |
H A D | uipc_usrreq.c | 203 * pointer is an invariant, so no lock is required to dereference the so_pcb 279 static int unp_connect2(struct socket *so, struct socket *so2, int); 345 uipc_abort(struct socket *so) argument 349 unp = sotounpcb(so); 365 uipc_accept(struct socket *so, struct sockaddr **nam) argument 374 unp = sotounpcb(so); 394 uipc_attach(struct socket *so, int proto, struct thread *td) argument 400 KASSERT(so->so_pcb == NULL, ("uipc_attach: so_pcb != NULL")); 401 if (so->so_snd.sb_hiwat == 0 || so 459 uipc_bindat(int fd, struct socket *so, struct sockaddr *nam, struct thread *td) argument 570 uipc_bind(struct socket *so, struct sockaddr *nam, struct thread *td) argument 577 uipc_connect(struct socket *so, struct sockaddr *nam, struct thread *td) argument 589 uipc_connectat(int fd, struct socket *so, struct sockaddr *nam, struct thread *td) argument 602 uipc_close(struct socket *so) argument 642 uipc_detach(struct socket *so) argument 706 uipc_disconnect(struct socket *so) argument 727 uipc_listen(struct socket *so, int backlog, struct thread *td) argument 754 uipc_peeraddr(struct socket *so, struct sockaddr **nam) argument 787 uipc_rcvd(struct socket *so, int flags) argument 834 uipc_send(struct socket *so, int flags, struct mbuf *m, struct sockaddr *nam, struct mbuf *control, struct thread *td) argument 1043 uipc_sense(struct socket *so, struct stat *sb) argument 1070 uipc_shutdown(struct socket *so) argument 1087 uipc_sockaddr(struct socket *so, struct sockaddr **nam) argument 1173 uipc_ctloutput(struct socket *so, struct sockopt *sopt) argument 1267 unp_connect(struct socket *so, struct sockaddr *nam, struct thread *td) argument 1274 unp_connectat(int fd, struct socket *so, struct sockaddr *nam, struct thread *td) argument 1428 unp_connect2(struct socket *so, struct socket *so2, int req) argument 1472 struct socket *so; local 1654 struct socket *so; local 1671 struct socket *so = unp->unp_socket; local 2050 struct socket *so; local 2168 struct socket *so; local 2286 struct socket *so; local 2363 struct socket *so; local [all...] |
/freebsd-10.0-release/sys/netinet6/ |
H A D | sctp6_usrreq.c | 264 /* Clear any time so NO RTT is being done */ 289 struct socket *so; local 344 so = SCTP_INP_SO(inp); 347 SCTP_SOCKET_LOCK(so, 1); 353 SCTP_SOCKET_UNLOCK(so, 1); 526 sctp6_abort(struct socket *so) argument 531 inp = (struct sctp_inpcb *)so->so_pcb; 548 SOCK_LOCK(so); 549 SCTP_SB_CLEAR(so->so_snd); 554 SCTP_SB_CLEAR(so 568 sctp6_attach(struct socket *so, int proto SCTP_UNUSED, struct thread *p SCTP_UNUSED) argument 613 sctp6_bind(struct socket *so, struct sockaddr *addr, struct thread *p) argument 712 sctp6_close(struct socket *so) argument 721 sctp6_disconnect(struct socket *so) argument 733 sctp6_send(struct socket *so, int flags, struct mbuf *m, struct sockaddr *addr, struct mbuf *control, struct thread *p) argument 837 sctp6_connect(struct socket *so, struct sockaddr *addr, struct thread *p) argument 986 sctp6_getaddr(struct socket *so, struct sockaddr **addr) argument 1084 sctp6_peeraddr(struct socket *so, struct sockaddr **addr) argument 1144 sctp6_in6getaddr(struct socket *so, struct sockaddr **nam) argument 1181 sctp6_getpeeraddr(struct socket *so, struct sockaddr **nam) argument [all...] |
H A D | udp6_usrreq.c | 132 static void udp6_detach(struct socket *so); 138 struct socket *so; local 163 so = inp->inp_socket; 164 SOCKBUF_LOCK(&so->so_rcv); 165 if (sbappendaddr_locked(&so->so_rcv, (struct sockaddr *)fromsa, n, 167 SOCKBUF_UNLOCK(&so->so_rcv); 173 sorwakeup_locked(so); 272 * here. We need udphdr for IPsec processing so we do that 627 * applications do not behave as it should, so we need a 734 * so w 814 udp6_abort(struct socket *so) argument 843 udp6_attach(struct socket *so, int proto, struct thread *td) argument 889 udp6_bind(struct socket *so, struct sockaddr *nam, struct thread *td) argument 932 udp6_close(struct socket *so) argument 960 udp6_connect(struct socket *so, struct sockaddr *nam, struct thread *td) argument 1021 udp6_detach(struct socket *so) argument 1040 udp6_disconnect(struct socket *so) argument 1078 udp6_send(struct socket *so, int flags, struct mbuf *m, struct sockaddr *addr, struct mbuf *control, struct thread *td) argument [all...] |
/freebsd-10.0-release/sys/geom/bde/ |
H A D | g_bde_crypt.c | 257 * zone boundaries and lock sectors, so that we end up with a sequence of 298 wp->so = zone * kp->zone_width + zoff; 299 wp->so += kp->keyoffset; 300 wp->so %= kp->media_width; 301 if (wp->so + wp->length > kp->media_width) 302 wp->length = kp->media_width - wp->so; 303 wp->so += kp->sector0; 319 if (wp->so >= ko) { 321 wp->so += kp->sectorsize; 322 } else if ((wp->so [all...] |
/freebsd-10.0-release/sys/netipx/ |
H A D | spx_reass.c | 133 struct socket *so = cb->s_ipxpcb->ipxp_socket; local 252 SOCKBUF_LOCK(&so->so_snd); 253 while ((m = so->so_snd.sb_mb) != NULL) { 255 sbdroprecord_locked(&so->so_snd); 259 sowwakeup_locked(so); 303 /*struct socket *so = cb->s_ipxpcb->ipxp_socket; 304 if (so->so_state && SS_NOFDREF) { 322 * We have already seen this packet, so drop. 362 sohasoutofband(so); 367 SOCKBUF_LOCK(&so [all...] |
H A D | ipx_pcb.h | 114 #define sotoipxpcb(so) ((struct ipxpcb *)((so)->so_pcb)) 123 int ipx_pcballoc(struct socket *so, struct ipxpcbhead *head,
|
/freebsd-10.0-release/sys/rpc/ |
H A D | svc_vc.c | 95 static SVCXPRT *svc_vc_create_conn(SVCPOOL *pool, struct socket *so, 98 static int svc_vc_soupcall(struct socket *so, void *arg, int waitflag); 142 svc_vc_create(SVCPOOL *pool, struct socket *so, size_t sendsize, argument 149 SOCK_LOCK(so); 150 if (so->so_state & (SS_ISCONNECTED|SS_ISDISCONNECTED)) { 151 SOCK_UNLOCK(so); 152 error = so->so_proto->pr_usrreqs->pru_peeraddr(so, &sa); 155 xprt = svc_vc_create_conn(pool, so, sa); 159 SOCK_UNLOCK(so); 197 svc_vc_create_conn(SVCPOOL *pool, struct socket *so, struct sockaddr *raddr) argument 312 struct socket *so; local 364 struct socket *so = NULL; local 908 svc_vc_soupcall(struct socket *so, void *arg, int waitflag) argument [all...] |
H A D | svc_dg.c | 73 static int svc_dg_soupcall(struct socket *so, void *arg, int waitflag); 98 svc_dg_create(SVCPOOL *pool, struct socket *so, size_t sendsize, argument 106 if (!__rpc_socket2sockinfo(so, &si)) { 123 xprt->xp_socket = so; 128 CURVNET_SET(so->so_vnet); 129 error = so->so_proto->pr_usrreqs->pru_sockaddr(so, &sa); 139 SOCKBUF_LOCK(&so->so_rcv); 140 soupcall_set(so, SO_RCV, svc_dg_soupcall, xprt); 141 SOCKBUF_UNLOCK(&so 301 svc_dg_soupcall(struct socket *so, void *arg, int waitflag) argument [all...] |
H A D | clnt_vc.c | 97 static int clnt_vc_soupcall(struct socket *so, void *arg, int waitflag); 119 * The rpc/vc package does buffering similar to stdio, so the client 129 struct socket *so, /* open file descriptor */ 159 if ((so->so_state & (SS_ISCONNECTED|SS_ISCONFIRMING)) == 0) { 160 error = soconnect(so, raddr, curthread); 161 SOCK_LOCK(so); 166 while ((so->so_state & SS_ISCONNECTING) 167 && so->so_error == 0) { 168 error = msleep(&so->so_timeo, SOCK_MTX(so), 128 clnt_vc_create( struct socket *so, struct sockaddr *raddr, const rpcprog_t prog, const rpcvers_t vers, size_t sendsz, size_t recvsz, int intrflag) argument 790 struct socket *so = NULL; local 843 clnt_vc_soupcall(struct socket *so, void *arg, int waitflag) argument [all...] |
/freebsd-10.0-release/contrib/ipfilter/ipsend/ |
H A D | ipsopt.c | 67 struct ipopt_names *so; local 69 for (so = secnames; so->on_name; so++) 70 if (!strcasecmp(slevel, so->on_name)) 73 if (!so->on_name) { 77 return so->on_value;
|
/freebsd-10.0-release/tools/tools/syscall_timing/ |
H A D | syscall_timing.c | 119 * This is process-local, but can change, so will require a 195 uintmax_t i, so; local 197 so = socket(int_arg, SOCK_STREAM, 0); 198 if (so < 0) 200 close(so); 205 so = socket(int_arg, SOCK_STREAM, 0); 206 if (so == -1) 208 close(so); 217 uintmax_t i, so; local 219 so 240 int so[2]; local 263 int so[2]; local [all...] |
/freebsd-10.0-release/sys/dev/cxgb/ulp/tom/ |
H A D | cxgb_cpl_io.c | 350 make_tx_data_wr(struct socket *so, struct tx_data_wr *req, int len, argument 353 struct tcpcb *tp = so_sototcpcb(so); 358 snd = so_sockbuf_snd(so); 424 t3_push_frames(struct socket *so, int req_completion) argument 426 struct tcpcb *tp = so_sototcpcb(so); 440 snd = so_sockbuf_snd(so); 451 so, curthread)) 500 make_tx_data_wr(so, wr, bytes, sndptr); 529 make_tx_data_wr(so, wr, bytes, sndptr); 591 struct socket *so local 636 struct socket *so = inp_inpcbtosocket(inp); local 657 struct socket *so = inp->inp_socket; local 734 select_rcv_wnd(struct socket *so) argument 767 offload_socket(struct socket *so, struct toepcb *toep) argument 802 undo_offload_socket(struct socket *so) argument 834 calc_opt0h(struct socket *so, int mtu_idx, int rscale, struct l2t_entry *e) argument 856 calc_opt0l(struct socket *so, int rcv_bufsize) argument 949 t3_connect(struct toedev *tod, struct socket *so, struct rtentry *rt, struct sockaddr *nam) argument 1057 struct socket *so = inp->inp_socket; local 1116 struct socket *so; local 1222 struct socket *so; local 1285 struct socket *so; local 1477 struct socket *so; local 1568 make_established(struct socket *so, uint32_t cpl_iss, uint32_t cpl_irs, uint16_t cpl_tcpopt) argument 1657 struct socket *so; local 1709 struct socket *so; local [all...] |
/freebsd-10.0-release/sys/dev/cxgbe/iw_cxgbe/ |
H A D | cm.c | 64 #define TOEPCB(so) ((struct toepcb *)(so_sototcpcb((so))->t_toe)) 116 static int c4iw_so_upcall(struct socket *so, void *arg, int waitflag); 163 if (epc->so) 179 struct socket *so = ep->com.so; local 180 struct inpcb *inp = sotoinpcb(so); 189 log(LOG_ERR, "%s: connection not offloaded (so %p, ep %p)\n", 190 __func__, so, ep); 193 toep = TOEPCB(so); 227 struct socket *so = epc->so; local 563 struct socket *so = epc->so; local 632 struct socket *so; local 705 c4iw_so_upcall(struct socket *so, void *arg, int waitflag) argument 731 struct socket *so = ep->com.so; local 2157 struct socket *so = cm_id->so; local 2395 struct socket *so = inp_inpcbtosocket(toep->inp); local [all...] |
/freebsd-10.0-release/sys/netinet/ |
H A D | tcp_timewait.c | 115 * Max out at half the ephemeral port range so that TIME_WAIT 202 struct socket *so; local 285 so = inp->inp_socket; 286 soisdisconnected(so); 287 tw->tw_cred = crhold(so->so_cred); 288 SOCK_LOCK(so); 289 tw->tw_so_options = so->so_options; 290 SOCK_UNLOCK(so); 302 KASSERT(so->so_state & SS_PROTOREF, 307 SOCK_LOCK(so); 446 struct socket *so; local [all...] |
/freebsd-10.0-release/sys/dev/streams/ |
H A D | streams.c | 192 struct socket *so; local 251 error = socreate(family, &so, type, protocol, td->td_ucred, td); 258 finit(fp, FREAD | FWRITE, DTYPE_SOCKET, so, &svr4_netops); 267 st->s_family = so->so_proto->pr_domain->dom_family; 271 so->so_emuldata = st; 336 struct socket *so; local 341 so = fp->f_data; 342 return so->so_emuldata; 348 struct socket *so = fp->f_data; local 353 free(so [all...] |
/freebsd-10.0-release/sys/fs/nfsclient/ |
H A D | nfs_clkrpc.c | 173 struct socket *so; local 177 so = fp->f_data; 180 error = soreserve(so, siz, siz); 185 * Steal the socket from userland so that it doesn't close 188 if (so->so_type == SOCK_DGRAM) 189 xprt = svc_dg_create(nfscbd_pool, so, 0, 0); 191 xprt = svc_vc_create(nfscbd_pool, so, 0, 0);
|
/freebsd-10.0-release/tools/tools/nanobsd/rescue/ |
H A D | common | 43 if [ \! -f ld-elf32.so.1 ]; then 44 ln -s ld-elf.so.1 ld-elf32.so.1
|
/freebsd-10.0-release/sys/ofed/include/rdma/ |
H A D | iw_cm.h | 66 struct socket *so; member in struct:iw_cm_event 102 struct socket *so; member in struct:iw_cm_id 144 struct iw_cm_id *iw_create_cm_id(struct ib_device *device, struct socket *so,
|
/freebsd-10.0-release/sys/dev/iscsi/ |
H A D | icl.c | 109 struct socket *so; local 113 so = ic->ic_socket; 119 error = soreceive(so, NULL, &uio, &m, NULL, &flags); 513 struct socket *so; local 518 so = ic->ic_socket; 658 struct socket *so; local 660 so = ic->ic_socket; 666 KASSERT(so != NULL, ("NULL socket")); 672 if (so->so_error != 0) { 674 "dropping connection", so 714 struct socket *so; local 747 icl_soupcall_receive(struct socket *so, void *arg, int waitflag) argument 762 struct socket *so; local 827 struct socket *so; local 899 icl_soupcall_send(struct socket *so, void *arg, int waitflag) argument 1090 struct socket *so; local 1222 icl_conn_handoff_sock(struct icl_conn *ic, struct socket *so) argument [all...] |