Lines Matching defs:neigh
250 struct ipoib_neigh *neigh;
467 void ipoib_neigh_dtor(struct ipoib_neigh *neigh);
468 static inline void ipoib_neigh_put(struct ipoib_neigh *neigh)
470 if (refcount_dec_and_test(&neigh->refcnt))
471 ipoib_neigh_dtor(neigh);
476 void ipoib_neigh_free(struct ipoib_neigh *neigh);
642 static inline int ipoib_cm_up(struct ipoib_neigh *neigh)
645 return test_bit(IPOIB_FLAG_OPER_UP, &neigh->cm->flags);
648 static inline struct ipoib_cm_tx *ipoib_cm_get(struct ipoib_neigh *neigh)
650 return neigh->cm;
653 static inline void ipoib_cm_set(struct ipoib_neigh *neigh, struct ipoib_cm_tx *tx)
655 neigh->cm = tx;
677 struct ipoib_neigh *neigh);
697 static inline int ipoib_cm_up(struct ipoib_neigh *neigh)
703 static inline struct ipoib_cm_tx *ipoib_cm_get(struct ipoib_neigh *neigh)
708 static inline void ipoib_cm_set(struct ipoib_neigh *neigh, struct ipoib_cm_tx *tx)
754 struct ipoib_neigh *neigh)