Home
last modified time | relevance | path

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

/freebsd-14.2/sys/sys/
H A Dunpcb.h75 LIST_HEAD(unp_head, unpcb);
77 struct unpcb { struct
80 struct unpcb *unp_conn; /* (p) connected socket */ argument
90 LIST_ENTRY(unpcb) unp_reflink; /* (l) link in unp_refs list */ argument
91 LIST_ENTRY(unpcb) unp_link; /* (g) glue on list of all PCBs */
98 LIST_ENTRY(unpcb) unp_dead; /* (g) link in dead list */ argument
131 #define sotounpcb(so) ((struct unpcb *)((so)->so_pcb))
184 unp_copy_peercred(struct thread *td, struct unpcb *client_unp,
185 struct unpcb *server_unp, struct unpcb *listen_unp);
H A Dvnode.h151 struct unpcb *v_unpcb; /* v unix domain net (VSOCK) */
/freebsd-14.2/sys/kern/
H A Duipc_usrreq.c295 static void unp_disconnect(struct unpcb *unp, struct unpcb *unp2);
346 unp_pcb_lock_pair(struct unpcb *unp, struct unpcb *unp2) in unp_pcb_lock_pair()
363 unp_pcb_unlock_pair(struct unpcb *unp, struct unpcb *unp2) in unp_pcb_unlock_pair()
379 struct unpcb *unp2; in unp_pcb_lock_peer()
470 struct unpcb *unp; in uipc_attach()
551 struct unpcb *unp; in uipc_bindat()
856 struct unpcb *unp; in uipc_listen()
1691 struct unpcb *unp; in uipc_sense()
1705 struct unpcb *unp; in uipc_shutdown()
2041 struct unpcb *server_unp, struct unpcb *listen_unp) in unp_copy_peercred()
[all …]
H A Dsys_socket.c364 struct unpcb *unpcb; in soo_fill_kinfo() local
395 unpcb = (struct unpcb *)(so->so_pcb); in soo_fill_kinfo()
396 if (unpcb->unp_conn) { in soo_fill_kinfo()
398 (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.c617 struct unpcb *unp, *unp2; in kern_socketpair()
/freebsd-14.2/usr.bin/netstat/
H A Dunix.c105 struct unpcb *unp, unp0, unp_conn; in pcblist_kvm()
/freebsd-14.2/lib/libprocstat/
H A Dlibprocstat.c1480 struct unpcb unpcb; in procstat_get_socket_info_kvm() local
1550 if (kvm_read(kd, (u_long)s.so_pcb, (char *)&unpcb, in procstat_get_socket_info_kvm()
1551 sizeof(struct unpcb)) != sizeof(struct unpcb)){ in procstat_get_socket_info_kvm()
1554 } else if (unpcb.unp_conn) { in procstat_get_socket_info_kvm()
1557 sock->unp_conn = (uintptr_t)unpcb.unp_conn; in procstat_get_socket_info_kvm()
/freebsd-14.2/tools/build/test-includes/
H A Dbadfiles.inc140 sys/unpcb.h \