Lines Matching defs:neigh
250 struct ipoib_neigh *neigh;
465 void ipoib_neigh_dtor(struct ipoib_neigh *neigh);
466 static inline void ipoib_neigh_put(struct ipoib_neigh *neigh)
468 if (atomic_dec_and_test(&neigh->refcnt))
469 ipoib_neigh_dtor(neigh);
474 void ipoib_neigh_free(struct ipoib_neigh *neigh);
638 static inline int ipoib_cm_up(struct ipoib_neigh *neigh)
641 return test_bit(IPOIB_FLAG_OPER_UP, &neigh->cm->flags);
644 static inline struct ipoib_cm_tx *ipoib_cm_get(struct ipoib_neigh *neigh)
646 return neigh->cm;
649 static inline void ipoib_cm_set(struct ipoib_neigh *neigh, struct ipoib_cm_tx *tx)
651 neigh->cm = tx;
673 struct ipoib_neigh *neigh);
695 static inline int ipoib_cm_up(struct ipoib_neigh *neigh)
701 static inline struct ipoib_cm_tx *ipoib_cm_get(struct ipoib_neigh *neigh)
706 static inline void ipoib_cm_set(struct ipoib_neigh *neigh, struct ipoib_cm_tx *tx)
752 struct ipoib_neigh *neigh)