Lines Matching defs:flags

1063 	MPASS(sc->flags & FW_OK);
1069 if (sc->flags & MASTER_PF) {
1140 pi->flags |= FIXED_IFMEDIA;
1315 sc->flags |= CHK_MBOX_ACCESS;
1376 if (sc->flags & FW_OK)
1460 sc->flags &= ~CHK_MBOX_ACCESS;
1461 if (sc->flags & FULL_INIT_DONE) {
1462 if (!(sc->flags & IS_VF))
1478 if ((sc->flags & (IS_VF | FW_OK)) == FW_OK)
1496 if (sc->flags & FULL_INIT_DONE)
1499 if ((sc->flags & (IS_VF | FW_OK)) == FW_OK)
1737 if (pi->flags & HAS_TRACEQ) {
1783 if (vi->flags & VI_INIT_DONE) {
1808 * ifp/vi flags may change here but we'll just do what our local
1809 * copy of the flags indicates and then update the driver owned
1810 * ifp/vi flags (in a synch-op and with the port lock held) to
1923 rxq->iq.flags |= IQ_LRO_ENABLED;
1925 rxq->iq.flags &= ~IQ_LRO_ENABLED;
2047 if (vi->flags & VI_INIT_DONE) {
2050 txq->eq.flags |= EQ_QFLUSH;
2057 txq->eq.flags &= ~EQ_QFLUSH;
2097 if (vi->flags & VI_INIT_DONE) {
2122 if (pi->nvi > 1 || sc->flags & IS_VF)
2162 if (vi->flags & VI_INIT_DONE) {
2544 sc->flags |= ADAP_ERR;
2547 sc->flags |= ADAP_ERR;
2790 alloc_atid_tab(struct tid_info *t, int flags)
2798 M_ZERO | flags);
3501 if ((sc->flags & FW_OK) == 0) {
3565 rc = sc->flags & FW_OK ? 0 : ENOENT;
3578 rc = sc->flags & FW_OK ? 0 : EINVAL;
3658 MPASS(be32toh(card_fw->flags) & FW_HDR_FLAGS_RESET_HALT);
3659 sc->flags |= FW_OK; /* The firmware responded to the FW_HELLO. */
3662 sc->flags |= MASTER_PF;
3692 if (rc != 0 && sc->flags & FW_OK) {
3694 sc->flags &= ~FW_OK;
3939 MPASS(sc->flags & MASTER_PF);
4547 if (pi->flags & FIXED_IFMEDIA)
4714 if (!(sc->flags & IS_VF) || rc != FW_EPERM)
4739 update_mac_settings(struct ifnet *ifp, int flags)
4748 KASSERT(flags, ("%s: not told what to update.", __func__));
4750 if (flags & XGMAC_MTU)
4753 if (flags & XGMAC_PROMISC)
4756 if (flags & XGMAC_ALLMULTI)
4759 if (flags & XGMAC_VLANEX)
4762 if (flags & (XGMAC_MTU|XGMAC_PROMISC|XGMAC_ALLMULTI|XGMAC_VLANEX)) {
4766 if_printf(ifp, "set_rxmode (%x) failed: %d\n", flags,
4772 if (flags & XGMAC_UCADDR) {
4788 if (flags & XGMAC_MCADDRS) {
4858 begin_synchronized_op(struct adapter *sc, struct vi_info *vi, int flags,
4865 if (flags & SLEEP_OK)
4888 if (!(flags & SLEEP_OK)) {
4893 if (mtx_sleep(&sc->flags, &sc->sc_lock, pri, wmesg, 0)) {
4904 sc->last_op_flags = flags;
4908 if (!(flags & HOLD_LOCK) || rc)
4925 wakeup(&sc->flags);
4927 mtx_sleep(&sc->flags, &sc->sc_lock, 0, "t4detach", 0);
4941 end_synchronized_op(struct adapter *sc, int flags)
4944 if (flags & LOCK_HELD)
4951 wakeup(&sc->flags);
4969 if (!(sc->flags & FULL_INIT_DONE) &&
4973 if (!(vi->flags & VI_INIT_DONE) &&
5003 txq->eq.flags |= EQ_ENABLED;
5015 pi->flags |= HAS_TRACEQ;
5022 if (pi->nvi > 1 || sc->flags & IS_VF)
5050 if (!(vi->flags & VI_INIT_DONE)) {
5054 "vi->flags 0x%016lx, if_flags 0x%08x, "
5055 "if_drv_flags 0x%08x\n", vi->flags, ifp->if_flags,
5076 txq->eq.flags &= ~EQ_ENABLED;
5081 if (pi->nvi > 1 || sc->flags & IS_VF)
5138 if (sc->flags & IS_VF)
5146 if (!(sc->flags & IS_VF)) {
5260 KASSERT((sc->flags & FULL_INIT_DONE) == 0,
5291 if (!(sc->flags & IS_VF))
5293 sc->flags |= FULL_INIT_DONE;
5315 sc->flags &= ~FULL_INIT_DONE;
5400 KASSERT((vi->flags & VI_INIT_DONE) == 0,
5404 vi->flags |= VI_SYSCTL_CTX;
5505 vi->flags |= VI_INIT_DONE;
5529 if (vi->flags & VI_INIT_DONE) {
5534 if (IS_MAIN_VI(vi) && !(sc->flags & IS_VF))
5563 vi->flags &= ~VI_INIT_DONE;
5578 MPASS((eq->flags & EQ_ENABLED) == 0);
5619 fl->flags |= FL_DOOMED;
5624 KASSERT((fl->flags & FL_STARVING) == 0,
5701 if (sc->flags & IS_VF) {
5758 if (!(vi->flags & VI_INIT_DONE))
5891 &sc->debug_flags, 0, "flags to enable runtime debugging");
5899 if (sc->flags & IS_VF)
6424 if (sc->flags & IS_VF)
6446 SYSCTL_ADD_PROC(ctx, children2, OID_AUTO, "flags",
6447 CTLTYPE_STRING | CTLFLAG_RD, tc_flags, (uintptr_t)&tc->flags,
6448 sysctl_bitfield_8b, "A", "flags");
6791 if (vi->flags & VI_INIT_DONE)
6821 if (vi->flags & VI_INIT_DONE)
6851 if (vi->flags & VI_INIT_DONE)
7322 sbuf_cim_la(struct adapter *sc, struct sbuf *sb, int flags)
7331 MPASS(flags == M_WAITOK || flags == M_NOWAIT);
7333 M_ZERO | flags);
7643 sbuf_devlog(struct adapter *sc, struct sbuf *sb, int flags)
7653 MPASS(flags == M_WAITOK || flags == M_NOWAIT);
7654 buf = malloc(dparams->size, M_CXGBE, M_ZERO | flags);
9404 if (vi->flags & VI_INIT_DONE)
9430 if (sc->flags & FW_OK) {
9463 if (sc->flags & FULL_INIT_DONE &&
9849 KASSERT((pi->flags & FIXED_IFMEDIA) == 0,
10026 if (vi->flags & VI_INIT_DONE)
10044 if (vi->flags & VI_INIT_DONE) {
10158 if (!(vi->flags & VI_INIT_DONE)) {
10163 if (!(pi->vi[0].flags & VI_INIT_DONE)) {
10277 if (!(sc->flags & FULL_INIT_DONE)) {