Lines Matching refs:neigh
250 struct ipoib_neigh *neigh; member
464 void ipoib_neigh_dtor(struct ipoib_neigh *neigh);
465 static inline void ipoib_neigh_put(struct ipoib_neigh *neigh) in ipoib_neigh_put() argument
467 if (refcount_dec_and_test(&neigh->refcnt)) in ipoib_neigh_put()
468 ipoib_neigh_dtor(neigh); in ipoib_neigh_put()
473 void ipoib_neigh_free(struct ipoib_neigh *neigh);
637 static inline int ipoib_cm_up(struct ipoib_neigh *neigh) in ipoib_cm_up() argument
640 return test_bit(IPOIB_FLAG_OPER_UP, &neigh->cm->flags); in ipoib_cm_up()
643 static inline struct ipoib_cm_tx *ipoib_cm_get(struct ipoib_neigh *neigh) in ipoib_cm_get() argument
645 return neigh->cm; in ipoib_cm_get()
648 static inline void ipoib_cm_set(struct ipoib_neigh *neigh, struct ipoib_cm_tx *tx) in ipoib_cm_set() argument
650 neigh->cm = tx; in ipoib_cm_set()
672 struct ipoib_neigh *neigh);
692 static inline int ipoib_cm_up(struct ipoib_neigh *neigh) in ipoib_cm_up() argument
698 static inline struct ipoib_cm_tx *ipoib_cm_get(struct ipoib_neigh *neigh) in ipoib_cm_get() argument
703 static inline void ipoib_cm_set(struct ipoib_neigh *neigh, struct ipoib_cm_tx *tx) in ipoib_cm_set() argument
749 struct ipoib_neigh *neigh) in ipoib_cm_create_tx() argument