Home
last modified time | relevance | path

Searched refs:unpcb (Results 1 – 9 of 9) sorted by relevance

/freebsd/sys/sys/
H A Dunpcb.h73 LIST_HEAD(unp_head, unpcb);
75 struct unpcb { struct
78 struct unpcb *unp_conn; /* (p) connected socket */ argument
88 LIST_ENTRY(unpcb) unp_reflink; /* (l) link in unp_refs list */ argument
89 LIST_ENTRY(unpcb) unp_link; /* (g) glue on list of all PCBs */
97 LIST_ENTRY(unpcb) unp_dead; /* (g) link in dead list */ argument
128 #define sotounpcb(so) ((struct unpcb *)((so)->so_pcb))
181 unp_copy_peercred(struct thread *td, struct unpcb *client_unp,
182 struct unpcb *server_unp, struct unpcb *listen_unp);
H A Dvnode.h155 struct unpcb *v_unpcb; /* v unix domain net (VSOCK) */
/freebsd/sys/kern/
H A Duipc_usrreq.c39 * an associated struct unpcb (UNIX protocol control block). Stream sockets
92 #include <sys/unpcb.h>
202 * - per-unpcb mutexes
216 * The unpcb lock (unp_mtx) protects the most commonly referenced fields in the
217 * unpcb. This includes the unp_conn field, which either links two connected
224 * UNIX domain sockets each have an unpcb hung off of their so_pcb pointer,
228 * this is always true during operations performed on a socket. Each unpcb
233 * to the unpcb is held. Typically, this reference will be from the socket,
234 * or from another unpcb when the referring unpcb'
4603 DB_SHOW_COMMAND(unpcb,db_show_unpcb) DB_SHOW_COMMAND() argument
[all...]
H A Dsys_socket.c395 struct unpcb *unpcb; in soo_fill_kinfo() local
423 unpcb = (struct unpcb *)(so->so_pcb); in soo_fill_kinfo()
424 if (unpcb->unp_conn) { in soo_fill_kinfo()
426 (uintptr_t)unpcb->unp_conn; in soo_fill_kinfo()
H A Dvnode_if.src732 IN struct unpcb *unpcb;
740 OUT struct unpcb **unpcb;
H A Duipc_syscalls.c608 struct unpcb *unp, *unp2; in kern_socketpair()
/freebsd/usr.bin/netstat/
H A Dunix.c98 struct unpcb *unp, unp0, unp_conn; in pcblist_kvm()
/freebsd/lib/libprocstat/
H A Dlibprocstat.c1481 struct unpcb unpcb; in procstat_get_socket_info_kvm() local
1538 if (kvm_read(kd, (u_long)s.so_pcb, (char *)&unpcb, in procstat_get_socket_info_kvm()
1539 sizeof(struct unpcb)) != sizeof(struct unpcb)){ in procstat_get_socket_info_kvm()
1542 } else if (unpcb.unp_conn) { in procstat_get_socket_info_kvm()
1543 sock->unp_conn = (uintptr_t)unpcb.unp_conn; in procstat_get_socket_info_kvm()
/freebsd/tools/build/test-includes/
H A Dbadfiles.inc128 sys/unpcb.h \