Lines Matching refs:unpcb

88 #include <sys/unpcb.h>
161 static void unp_detach(struct unpcb *);
162 static int unp_bind(struct unpcb *, struct sockaddr *, proc_t);
164 static void unp_disconnect(struct unpcb *);
165 static void unp_shutdown(struct unpcb *);
166 static void unp_drop(struct unpcb *, int);
173 static int unp_listen(struct unpcb *, proc_t);
174 static void unpcb_to_compat(struct unpcb *, struct unpcb_compat *);
183 struct unpcb *unp = sotounpcb(so);
202 struct unpcb *unp = sotounpcb(so);
215 struct unpcb *unp = sotounpcb(so);
242 struct unpcb *unp = sotounpcb(so);
252 struct unpcb *unp = sotounpcb(so);
268 struct unpcb *unp = sotounpcb(so);
284 struct unpcb *unp = sotounpcb(so1);
297 struct unpcb *unp = sotounpcb(so);
310 struct unpcb *unp = sotounpcb(so);
325 struct unpcb *unp = sotounpcb(so);
335 struct unpcb *unp = sotounpcb(so);
351 struct unpcb *unp = sotounpcb(so);
417 struct unpcb *unp = sotounpcb(so);
602 struct unpcb *unp = sotounpcb(so);
648 struct unpcb *unp = sotounpcb(so);
664 struct unpcb *unp = sotounpcb(so);
687 struct unpcb *unp = sotounpcb(so);
771 struct unpcb *unp;
791 unp = (struct unpcb *)zalloc(unp_zone);
832 unp_detach(struct unpcb *unp)
863 struct unpcb *unp2 = NULL;
882 /* Now we are sure that any unpcb socket disconnect is not happening */
922 struct unpcb *unp,
1037 struct unpcb *unp, *unp2, *unp3;
1263 struct unpcb *unp = sotounpcb(so);
1264 struct unpcb *unp2;
1340 unp_disconnect(struct unpcb *unp)
1342 struct unpcb *unp2 = NULL;
1404 if ((((struct unpcb *)waitso->so_pcb)->unp_flags & UNP_DONTDISCONNECT) != 0) {
1475 * unpcb_to_compat copies specific bits of a unpcb to a unpcb_compat format.
1479 unpcb_to_compat(struct unpcb *up, struct unpcb_compat *cp)
1523 struct unpcb *unp, **unp_list;
1573 MALLOC(unp_list, struct unpcb **, n * sizeof (*unp_list),
1647 struct unpcb *unp, **unp_list;
1697 MALLOC(unp_list, struct unpcb **, n * sizeof (*unp_list),
1790 unp_shutdown(struct unpcb *unp)
1803 unp_drop(struct unpcb *unp, int errno)
1888 unp_zone = zinit(sizeof (struct unpcb),
1889 (nmbclusters * sizeof (struct unpcb)), 4096, "unpzone");
2228 unp_listen(struct unpcb *unp, proc_t p)
2313 lck_mtx_lock(&((struct unpcb *)so->so_pcb)->unp_mtx);
2336 struct unpcb *unp = sotounpcb(so);
2350 mutex_held = &((struct unpcb *)so->so_pcb)->unp_mtx;
2378 struct unpcb *unp = (struct unpcb *)so->so_pcb;