Lines Matching defs:unp_flags

405 	if (--unp->unp_pairbusy == 0 && (unp->unp_flags & UNP_WAITING) != 0) {
406 unp->unp_flags &= ~UNP_WAITING;
558 if (unp->unp_flags & UNP_BINDING) {
562 unp->unp_flags |= UNP_BINDING;
630 unp->unp_flags &= ~UNP_BINDING;
640 unp->unp_flags &= ~UNP_BINDING;
721 if (unp->unp_vnode != NULL || (unp->unp_flags & UNP_BINDING) != 0)
867 if (unp->unp_conn != NULL || (unp->unp_flags & UNP_CONNECTING) != 0)
1014 if (unp2->unp_flags & UNP_WANTCRED_MASK) {
1020 control = unp_addsockcred(td, control, unp2->unp_flags, NULL,
1022 unp2->unp_flags &= ~UNP_WANTCRED_ONESHOT;
1251 if (unp2->unp_flags & UNP_WANTCRED_MASK)
1252 c = unp_addsockcred(td, c, unp2->unp_flags, &clast, &ctl,
1796 if (unp->unp_flags & UNP_HAVEPC)
1811 optval = unp->unp_flags & UNP_WANTCRED_ONESHOT ? 1 : 0;
1817 optval = unp->unp_flags & UNP_WANTCRED_ALWAYS ? 1 : 0;
1839 if ((unp->unp_flags & (exclusive)) != 0) { \
1844 unp->unp_flags |= (bit); \
1846 unp->unp_flags &= ~(bit); \
1933 else if ((unp->unp_flags & UNP_CONNECTING) != 0) {
1941 unp->unp_flags |= UNP_WAITING;
1947 unp->unp_flags |= UNP_CONNECTING;
2033 KASSERT((unp->unp_flags & UNP_CONNECTING) != 0,
2035 unp->unp_flags &= ~UNP_CONNECTING;
2054 KASSERT((unp->unp_flags & UNP_CONNECTING) != 0,
2056 unp->unp_flags &= ~UNP_CONNECTING;
2074 client_unp->unp_flags |= UNP_HAVEPC;
2078 server_unp->unp_flags |= UNP_HAVEPC;
2079 client_unp->unp_flags |= (listen_unp->unp_flags & UNP_WANTCRED_MASK);
3502 db_print_unpflags(int unp_flags)
3507 if (unp_flags & UNP_HAVEPC) {
3511 if (unp_flags & UNP_WANTCRED_ALWAYS) {
3515 if (unp_flags & UNP_WANTCRED_ONESHOT) {
3519 if (unp_flags & UNP_CONNECTING) {
3523 if (unp_flags & UNP_BINDING) {
3591 db_printf("unp_flags: %x (", unp->unp_flags);
3592 db_print_unpflags(unp->unp_flags);