Lines Matching refs:unp_flags
411 if (--unp->unp_pairbusy == 0 && (unp->unp_flags & UNP_WAITING) != 0) { in unp_pcb_lock_peer()
412 unp->unp_flags &= ~UNP_WAITING; in unp_pcb_lock_peer()
608 if (unp->unp_flags & UNP_BINDING) { in uipc_bindat()
612 unp->unp_flags |= UNP_BINDING; in uipc_bindat()
680 unp->unp_flags &= ~UNP_BINDING; in uipc_bindat()
690 unp->unp_flags &= ~UNP_BINDING; in uipc_bindat()
771 if (unp->unp_vnode != NULL || (unp->unp_flags & UNP_BINDING) != 0) in uipc_chmod()
922 if (unp->unp_conn != NULL || (unp->unp_flags & UNP_CONNECTING) != 0) in uipc_listen()
1151 if (unp2->unp_flags & UNP_WANTCRED_MASK) { in uipc_sosend_stream_or_seqpacket()
1157 unp_addsockcred(td, &cmc, unp2->unp_flags); in uipc_sosend_stream_or_seqpacket()
1158 unp2->unp_flags &= ~UNP_WANTCRED_ONESHOT; in uipc_sosend_stream_or_seqpacket()
2025 if (unp2->unp_flags & UNP_WANTCRED_MASK) in uipc_sosend_dgram()
2026 unp_addsockcred(td, &cmc, unp2->unp_flags); in uipc_sosend_dgram()
2720 if (unp->unp_flags & UNP_HAVEPC) in uipc_ctloutput()
2735 optval = unp->unp_flags & UNP_WANTCRED_ONESHOT ? 1 : 0; in uipc_ctloutput()
2741 optval = unp->unp_flags & UNP_WANTCRED_ALWAYS ? 1 : 0; in uipc_ctloutput()
2763 if ((unp->unp_flags & (exclusive)) != 0) { \ in uipc_ctloutput()
2768 unp->unp_flags |= (bit); \ in uipc_ctloutput()
2770 unp->unp_flags &= ~(bit); \ in uipc_ctloutput()
2857 else if ((unp->unp_flags & UNP_CONNECTING) != 0) { in unp_connectat()
2865 unp->unp_flags |= UNP_WAITING; in unp_connectat()
2871 unp->unp_flags |= UNP_CONNECTING; in unp_connectat()
2963 KASSERT((unp->unp_flags & UNP_CONNECTING) != 0, in unp_connectat()
2965 unp->unp_flags &= ~UNP_CONNECTING; in unp_connectat()
2984 KASSERT((unp->unp_flags & UNP_CONNECTING) != 0, in unp_connectat()
2986 unp->unp_flags &= ~UNP_CONNECTING; in unp_connectat()
3004 client_unp->unp_flags |= UNP_HAVEPC; in unp_copy_peercred()
3008 server_unp->unp_flags |= UNP_HAVEPC; in unp_copy_peercred()
3009 client_unp->unp_flags |= (listen_unp->unp_flags & UNP_WANTCRED_MASK); in unp_copy_peercred()
4486 db_print_unpflags(int unp_flags) in db_print_unpflags() argument
4491 if (unp_flags & UNP_HAVEPC) { in db_print_unpflags()
4495 if (unp_flags & UNP_WANTCRED_ALWAYS) { in db_print_unpflags()
4499 if (unp_flags & UNP_WANTCRED_ONESHOT) { in db_print_unpflags()
4503 if (unp_flags & UNP_CONNECTING) { in db_print_unpflags()
4507 if (unp_flags & UNP_BINDING) { in db_print_unpflags()
4575 db_printf("unp_flags: %x (", unp->unp_flags); in DB_SHOW_COMMAND()
4576 db_print_unpflags(unp->unp_flags); in DB_SHOW_COMMAND()