Lines Matching refs:flags
106 alloc_toepcb(struct vi_info *vi, int flags)
132 toep = malloc(len, M_CXGBE, M_ZERO | flags);
184 toep->flags |= TPF_INITIALIZED;
204 KASSERT(!(toep->flags & TPF_ATTACHED),
206 KASSERT(!(toep->flags & TPF_CPL_PENDING),
209 if (toep->flags & TPF_INITIALIZED) {
251 toep->flags |= TPF_ATTACHED;
296 toep->flags &= ~TPF_ATTACHED;
312 KASSERT(!(toep->flags & TPF_CPL_PENDING),
314 KASSERT(!(toep->flags & TPF_ATTACHED),
373 KASSERT(toep->flags & TPF_ATTACHED,
379 __func__, toep->tid, toep, toep->flags, inp,
384 toep->tid, tcpstates[tp->t_state], toep, toep->flags, inp,
392 toep->flags &= ~TPF_ATTACHED;
394 if (!(toep->flags & TPF_CPL_PENDING))
490 alloc_tcb_histent(struct adapter *sc, u_int tid, int flags)
494 MPASS(flags == M_NOWAIT || flags == M_WAITOK);
496 te = malloc(sizeof(*te), M_CXGBE, M_ZERO | flags);
694 device_printf(sc->dev, "tcb %u: flags 0x%016jx, state %u, "
978 KASSERT(toep->flags & TPF_CPL_PENDING,
982 __func__, toep->tid, toep, toep->flags, inp, inp->inp_flags);
987 need_wakeup = (toep->flags & TPF_WAITING_FOR_FINAL) != 0;
988 toep->flags &= ~(TPF_CPL_PENDING | TPF_WAITING_FOR_FINAL);
992 if (!(toep->flags & TPF_ATTACHED))
1433 alloc_tid_tab(struct tid_info *t, int flags)
1440 M_ZERO | flags);
1460 alloc_stid_tab(struct tid_info *t, int flags)
1467 M_ZERO | flags);