diff options
Diffstat (limited to 'net/rds/iw.h')
-rw-r--r-- | net/rds/iw.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/net/rds/iw.h b/net/rds/iw.h index 0ddda34f2a1c..70eb948f42f4 100644 --- a/net/rds/iw.h +++ b/net/rds/iw.h | |||
@@ -294,9 +294,17 @@ void rds_iw_cm_connect_complete(struct rds_connection *conn, | |||
294 | 294 | ||
295 | /* ib_rdma.c */ | 295 | /* ib_rdma.c */ |
296 | int rds_iw_update_cm_id(struct rds_iw_device *rds_iwdev, struct rdma_cm_id *cm_id); | 296 | int rds_iw_update_cm_id(struct rds_iw_device *rds_iwdev, struct rdma_cm_id *cm_id); |
297 | int rds_iw_add_conn(struct rds_iw_device *rds_iwdev, struct rds_connection *conn); | 297 | void rds_iw_add_conn(struct rds_iw_device *rds_iwdev, struct rds_connection *conn); |
298 | void rds_iw_remove_nodev_conns(void); | 298 | void rds_iw_remove_conn(struct rds_iw_device *rds_iwdev, struct rds_connection *conn); |
299 | void rds_iw_remove_conns(struct rds_iw_device *rds_iwdev); | 299 | void __rds_iw_destroy_conns(struct list_head *list, spinlock_t *list_lock); |
300 | static inline void rds_iw_destroy_nodev_conns(void) | ||
301 | { | ||
302 | __rds_iw_destroy_conns(&iw_nodev_conns, &iw_nodev_conns_lock); | ||
303 | } | ||
304 | static inline void rds_iw_destroy_conns(struct rds_iw_device *rds_iwdev) | ||
305 | { | ||
306 | __rds_iw_destroy_conns(&rds_iwdev->conn_list, &rds_iwdev->spinlock); | ||
307 | } | ||
300 | struct rds_iw_mr_pool *rds_iw_create_mr_pool(struct rds_iw_device *); | 308 | struct rds_iw_mr_pool *rds_iw_create_mr_pool(struct rds_iw_device *); |
301 | void rds_iw_get_mr_info(struct rds_iw_device *rds_iwdev, struct rds_info_rdma_connection *iinfo); | 309 | void rds_iw_get_mr_info(struct rds_iw_device *rds_iwdev, struct rds_info_rdma_connection *iinfo); |
302 | void rds_iw_destroy_mr_pool(struct rds_iw_mr_pool *); | 310 | void rds_iw_destroy_mr_pool(struct rds_iw_mr_pool *); |