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.h156 struct unpcb *v_unpcb; /* v unix domain net (VSOCK) */
/freebsd/sys/kern/
H A Duipc_usrreq.c297 static void unp_disconnect(struct unpcb *unp, struct unpcb *unp2);
299 static void unp_drop(struct unpcb *);
317 unp_pcb_hold(struct unpcb *unp) in unp_pcb_hold()
326 unp_pcb_rele(struct unpcb *unp) in unp_pcb_rele()
341 unp_pcb_rele_notlast(struct unpcb *unp) in unp_pcb_rele_notlast()
350 unp_pcb_lock_pair(struct unpcb *unp, struct unpcb *unp2) in unp_pcb_lock_pair()
367 unp_pcb_unlock_pair(struct unpcb *unp, struct unpcb *unp2) in unp_pcb_unlock_pair()
380 static struct unpcb *
381 unp_pcb_lock_peer(struct unpcb *unp) in unp_pcb_lock_peer()
383 struct unpcb *unp2; in unp_pcb_lock_peer()
[all …]
H A Dsys_socket.c383 struct unpcb *unpcb; in soo_fill_kinfo() local
411 unpcb = (struct unpcb *)(so->so_pcb); in soo_fill_kinfo()
412 if (unpcb->unp_conn) { in soo_fill_kinfo()
414 (uintptr_t)unpcb->unp_conn; in soo_fill_kinfo()
H A Dvnode_if.src731 IN struct unpcb *unpcb;
739 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.inc130 sys/unpcb.h \