Lines Matching defs:neigh
234 struct ipoib_neigh *neigh;
434 void ipoib_neigh_dtor(struct ipoib_neigh *neigh);
435 static inline void ipoib_neigh_put(struct ipoib_neigh *neigh)
437 if (atomic_dec_and_test(&neigh->refcnt))
438 ipoib_neigh_dtor(neigh);
443 void ipoib_neigh_free(struct ipoib_neigh *neigh);
570 static inline int ipoib_cm_up(struct ipoib_neigh *neigh)
573 return test_bit(IPOIB_FLAG_OPER_UP, &neigh->cm->flags);
576 static inline struct ipoib_cm_tx *ipoib_cm_get(struct ipoib_neigh *neigh)
578 return neigh->cm;
581 static inline void ipoib_cm_set(struct ipoib_neigh *neigh, struct ipoib_cm_tx *tx)
583 neigh->cm = tx;
605 struct ipoib_neigh *neigh);
627 static inline int ipoib_cm_up(struct ipoib_neigh *neigh)
633 static inline struct ipoib_cm_tx *ipoib_cm_get(struct ipoib_neigh *neigh)
638 static inline void ipoib_cm_set(struct ipoib_neigh *neigh, struct ipoib_cm_tx *tx)
684 struct ipoib_neigh *neigh)