Lines Matching defs:pcbinfo
149 struct inpcbinfo *pcbinfo,
157 inp = in6_pcblookup_local(pcbinfo, laddr, lport_arg, wild_okay);
184 struct inpcbinfo *pcbinfo = inp->inp_pcbinfo;
195 lck_rw_lock_exclusive(pcbinfo->mtx);
199 lck_rw_done(pcbinfo->mtx);
207 lck_rw_done(pcbinfo->mtx);
214 lck_rw_done(pcbinfo->mtx);
237 lck_rw_done(pcbinfo->mtx);
252 lck_rw_done(pcbinfo->mtx);
265 lck_rw_done(pcbinfo->mtx);
272 t = in6_pcblookup_local_and_cleanup(pcbinfo,
282 lck_rw_done(pcbinfo->mtx);
291 t = in_pcblookup_local_and_cleanup(pcbinfo,
302 lck_rw_done(pcbinfo->mtx);
308 t = in6_pcblookup_local_and_cleanup(pcbinfo, &sin6->sin6_addr,
311 lck_rw_done(pcbinfo->mtx);
320 t = in_pcblookup_local_and_cleanup(pcbinfo, sin.sin_addr,
329 lck_rw_done(pcbinfo->mtx);
341 lck_rw_done(pcbinfo->mtx);
350 lck_rw_done(pcbinfo->mtx);
354 lck_rw_done(pcbinfo->mtx);
918 in6_pcbnotify(pcbinfo, dst, fport_arg, src, lport_arg, cmd, notify)
919 struct inpcbinfo *pcbinfo;
932 struct inpcbhead *head = pcbinfo->listhead;
964 lck_rw_lock_shared(pcbinfo->mtx);
1005 lck_rw_done(pcbinfo->mtx);
1012 in6_pcblookup_local(pcbinfo, laddr, lport_arg, wild_okay)
1013 struct inpcbinfo *pcbinfo;
1028 head = &pcbinfo->hashbase[INP_PCBHASH(INADDR_ANY, lport, 0,
1029 pcbinfo->hashmask)];
1056 porthash = &pcbinfo->porthashbase[INP_PCBPORTHASH(lport,
1057 pcbinfo->porthashmask)];
1198 struct inpcbinfo *pcbinfo,
1217 lck_rw_lock_shared(pcbinfo->mtx);
1222 head = &pcbinfo->hashbase[INP_PCBHASH(faddr->s6_addr32[3] /* XXX */,
1224 pcbinfo->hashmask)];
1236 lck_rw_done(pcbinfo->mtx);
1240 lck_rw_done(pcbinfo->mtx);
1248 head = &pcbinfo->hashbase[INP_PCBHASH(INADDR_ANY, lport, 0,
1249 pcbinfo->hashmask)];
1260 lck_rw_done(pcbinfo->mtx);
1264 lck_rw_done(pcbinfo->mtx);
1273 lck_rw_done(pcbinfo->mtx);
1277 lck_rw_done(pcbinfo->mtx);
1285 lck_rw_done(pcbinfo->mtx);