}
/* Call with the ln_api_mutex held */
-int
-lnet_get_peer_list(__u32 *countp, __u32 *sizep, lnet_process_id_t __user *ids)
+int lnet_get_peer_list(u32 *countp, u32 *sizep, struct lnet_process_id __user *ids)
{
- lnet_process_id_t id;
+ struct lnet_process_id id;
struct lnet_peer_table *ptable;
struct lnet_peer *lp;
__u32 count = 0;
* Called with lnet_res_lock(cpt) held. The cpt is the
* lnet_cpt_of_cookie() of the md handle cookie.
*/
-static void lnet_discovery_event_handler(lnet_event_t *event)
+static void lnet_discovery_event_handler(struct lnet_event *event)
{
struct lnet_peer *lp = event->md.user_ptr;
struct lnet_ping_buffer *pbuf;
static int
lnet_peer_set_primary_data(struct lnet_peer *lp, struct lnet_ping_buffer *pbuf)
{
- lnet_handle_md_t mdh;
+ struct lnet_handle_md mdh;
/* Queue lp for discovery, and force it on the request queue. */
lnet_net_lock(LNET_LOCK_EX);
static int lnet_peer_ping_failed(struct lnet_peer *lp)
__must_hold(&lp->lp_lock)
{
- lnet_handle_md_t mdh;
+ struct lnet_handle_md mdh;
int rc;
mdh = lp->lp_ping_mdh;
static int lnet_peer_send_ping(struct lnet_peer *lp)
__must_hold(&lp->lp_lock)
{
- lnet_md_t md = { NULL };
- lnet_process_id_t id;
+ struct lnet_md md = { NULL };
+ struct lnet_process_id id;
struct lnet_ping_buffer *pbuf;
int nnis;
int rc;
static int lnet_peer_push_failed(struct lnet_peer *lp)
__must_hold(&lp->lp_lock)
{
- lnet_handle_md_t mdh;
+ struct lnet_handle_md mdh;
int rc;
mdh = lp->lp_push_mdh;
__must_hold(&lp->lp_lock)
{
struct lnet_ping_buffer *pbuf;
- lnet_process_id_t id;
- lnet_md_t md;
+ struct lnet_process_id id;
+ struct lnet_md md;
int cpt;
int rc;