Lines Matching refs:next_con
33 struct hmdfs_peer *next_con = NULL;
42 next_con = container_of(node, struct hmdfs_peer, list);
43 if (next_con->status == NODE_STAT_ONLINE)
45 current_dev_id = next_con->device_id;
46 next_con = NULL;
54 next_con = container_of(node, struct hmdfs_peer, list);
55 if (next_con->status == NODE_STAT_ONLINE)
57 current_dev_id = next_con->device_id;
58 next_con = NULL;
62 if (next_con)
63 peer_get(next_con);
65 return next_con;
72 struct hmdfs_peer *next_con = NULL;
99 next_con = get_next_con(file->f_inode->i_sb->s_fs_info, 0);
100 if (!next_con)
103 dev_id = next_con->device_id;
104 peer_put(next_con);