timewait_info     272 drivers/infiniband/core/cm.c 	struct cm_timewait_info *timewait_info;
timewait_info     722 drivers/infiniband/core/cm.c 						     *timewait_info)
timewait_info     727 drivers/infiniband/core/cm.c 	__be64 remote_ca_guid = timewait_info->remote_ca_guid;
timewait_info     728 drivers/infiniband/core/cm.c 	__be32 remote_id = timewait_info->work.remote_id;
timewait_info     745 drivers/infiniband/core/cm.c 	timewait_info->inserted_remote_id = 1;
timewait_info     746 drivers/infiniband/core/cm.c 	rb_link_node(&timewait_info->remote_id_node, parent, link);
timewait_info     747 drivers/infiniband/core/cm.c 	rb_insert_color(&timewait_info->remote_id_node, &cm.remote_id_table);
timewait_info     755 drivers/infiniband/core/cm.c 	struct cm_timewait_info *timewait_info;
timewait_info     758 drivers/infiniband/core/cm.c 		timewait_info = rb_entry(node, struct cm_timewait_info,
timewait_info     760 drivers/infiniband/core/cm.c 		if (be32_lt(remote_id, timewait_info->work.remote_id))
timewait_info     762 drivers/infiniband/core/cm.c 		else if (be32_gt(remote_id, timewait_info->work.remote_id))
timewait_info     764 drivers/infiniband/core/cm.c 		else if (be64_lt(remote_ca_guid, timewait_info->remote_ca_guid))
timewait_info     766 drivers/infiniband/core/cm.c 		else if (be64_gt(remote_ca_guid, timewait_info->remote_ca_guid))
timewait_info     769 drivers/infiniband/core/cm.c 			return timewait_info;
timewait_info     775 drivers/infiniband/core/cm.c 						      *timewait_info)
timewait_info     780 drivers/infiniband/core/cm.c 	__be64 remote_ca_guid = timewait_info->remote_ca_guid;
timewait_info     781 drivers/infiniband/core/cm.c 	__be32 remote_qpn = timewait_info->remote_qpn;
timewait_info     798 drivers/infiniband/core/cm.c 	timewait_info->inserted_remote_qp = 1;
timewait_info     799 drivers/infiniband/core/cm.c 	rb_link_node(&timewait_info->remote_qp_node, parent, link);
timewait_info     800 drivers/infiniband/core/cm.c 	rb_insert_color(&timewait_info->remote_qp_node, &cm.remote_qp_table);
timewait_info     934 drivers/infiniband/core/cm.c static void cm_cleanup_timewait(struct cm_timewait_info *timewait_info)
timewait_info     936 drivers/infiniband/core/cm.c 	if (timewait_info->inserted_remote_id) {
timewait_info     937 drivers/infiniband/core/cm.c 		rb_erase(&timewait_info->remote_id_node, &cm.remote_id_table);
timewait_info     938 drivers/infiniband/core/cm.c 		timewait_info->inserted_remote_id = 0;
timewait_info     941 drivers/infiniband/core/cm.c 	if (timewait_info->inserted_remote_qp) {
timewait_info     942 drivers/infiniband/core/cm.c 		rb_erase(&timewait_info->remote_qp_node, &cm.remote_qp_table);
timewait_info     943 drivers/infiniband/core/cm.c 		timewait_info->inserted_remote_qp = 0;
timewait_info     949 drivers/infiniband/core/cm.c 	struct cm_timewait_info *timewait_info;
timewait_info     951 drivers/infiniband/core/cm.c 	timewait_info = kzalloc(sizeof *timewait_info, GFP_KERNEL);
timewait_info     952 drivers/infiniband/core/cm.c 	if (!timewait_info)
timewait_info     955 drivers/infiniband/core/cm.c 	timewait_info->work.local_id = local_id;
timewait_info     956 drivers/infiniband/core/cm.c 	INIT_DELAYED_WORK(&timewait_info->work.work, cm_work_handler);
timewait_info     957 drivers/infiniband/core/cm.c 	timewait_info->work.cm_event.event = IB_CM_TIMEWAIT_EXIT;
timewait_info     958 drivers/infiniband/core/cm.c 	return timewait_info;
timewait_info     972 drivers/infiniband/core/cm.c 	cm_cleanup_timewait(cm_id_priv->timewait_info);
timewait_info     973 drivers/infiniband/core/cm.c 	list_add_tail(&cm_id_priv->timewait_info->list, &cm.timewait_list);
timewait_info     987 drivers/infiniband/core/cm.c 		queue_delayed_work(cm.wq, &cm_id_priv->timewait_info->work.work,
timewait_info     991 drivers/infiniband/core/cm.c 	cm_id_priv->timewait_info = NULL;
timewait_info     999 drivers/infiniband/core/cm.c 	if (cm_id_priv->timewait_info) {
timewait_info    1001 drivers/infiniband/core/cm.c 		cm_cleanup_timewait(cm_id_priv->timewait_info);
timewait_info    1003 drivers/infiniband/core/cm.c 		kfree(cm_id_priv->timewait_info);
timewait_info    1004 drivers/infiniband/core/cm.c 		cm_id_priv->timewait_info = NULL;
timewait_info    1426 drivers/infiniband/core/cm.c 	cm_id_priv->timewait_info = cm_create_timewait_info(cm_id_priv->
timewait_info    1428 drivers/infiniband/core/cm.c 	if (IS_ERR(cm_id_priv->timewait_info)) {
timewait_info    1429 drivers/infiniband/core/cm.c 		ret = PTR_ERR(cm_id_priv->timewait_info);
timewait_info    1483 drivers/infiniband/core/cm.c error1:	kfree(cm_id_priv->timewait_info);
timewait_info    1844 drivers/infiniband/core/cm.c 	struct cm_timewait_info *timewait_info;
timewait_info    1852 drivers/infiniband/core/cm.c 	timewait_info = cm_insert_remote_id(cm_id_priv->timewait_info);
timewait_info    1853 drivers/infiniband/core/cm.c 	if (timewait_info) {
timewait_info    1854 drivers/infiniband/core/cm.c 		cur_cm_id_priv = cm_get_id(timewait_info->work.local_id,
timewait_info    1855 drivers/infiniband/core/cm.c 					   timewait_info->work.remote_id);
timewait_info    1865 drivers/infiniband/core/cm.c 	timewait_info = cm_insert_remote_qpn(cm_id_priv->timewait_info);
timewait_info    1866 drivers/infiniband/core/cm.c 	if (timewait_info) {
timewait_info    1867 drivers/infiniband/core/cm.c 		cm_cleanup_timewait(cm_id_priv->timewait_info);
timewait_info    1868 drivers/infiniband/core/cm.c 		cur_cm_id_priv = cm_get_id(timewait_info->work.local_id,
timewait_info    1869 drivers/infiniband/core/cm.c 					   timewait_info->work.remote_id);
timewait_info    1887 drivers/infiniband/core/cm.c 		cm_cleanup_timewait(cm_id_priv->timewait_info);
timewait_info    1953 drivers/infiniband/core/cm.c 	cm_id_priv->timewait_info = cm_create_timewait_info(cm_id_priv->
timewait_info    1955 drivers/infiniband/core/cm.c 	if (IS_ERR(cm_id_priv->timewait_info)) {
timewait_info    1956 drivers/infiniband/core/cm.c 		ret = PTR_ERR(cm_id_priv->timewait_info);
timewait_info    1959 drivers/infiniband/core/cm.c 	cm_id_priv->timewait_info->work.remote_id = req_msg->local_comm_id;
timewait_info    1960 drivers/infiniband/core/cm.c 	cm_id_priv->timewait_info->remote_ca_guid = req_msg->local_ca_guid;
timewait_info    1961 drivers/infiniband/core/cm.c 	cm_id_priv->timewait_info->remote_qpn = cm_req_get_local_qpn(req_msg);
timewait_info    2054 drivers/infiniband/core/cm.c 	kfree(cm_id_priv->timewait_info);
timewait_info    2278 drivers/infiniband/core/cm.c 	struct cm_timewait_info *timewait_info;
timewait_info    2306 drivers/infiniband/core/cm.c 	cm_id_priv->timewait_info->work.remote_id = rep_msg->local_comm_id;
timewait_info    2307 drivers/infiniband/core/cm.c 	cm_id_priv->timewait_info->remote_ca_guid = rep_msg->local_ca_guid;
timewait_info    2308 drivers/infiniband/core/cm.c 	cm_id_priv->timewait_info->remote_qpn = cm_rep_get_qpn(rep_msg, cm_id_priv->qp_type);
timewait_info    2312 drivers/infiniband/core/cm.c 	if (cm_insert_remote_id(cm_id_priv->timewait_info)) {
timewait_info    2321 drivers/infiniband/core/cm.c 	timewait_info = cm_insert_remote_qpn(cm_id_priv->timewait_info);
timewait_info    2322 drivers/infiniband/core/cm.c 	if (timewait_info) {
timewait_info    2323 drivers/infiniband/core/cm.c 		rb_erase(&cm_id_priv->timewait_info->remote_id_node,
timewait_info    2325 drivers/infiniband/core/cm.c 		cm_id_priv->timewait_info->inserted_remote_id = 0;
timewait_info    2326 drivers/infiniband/core/cm.c 		cur_cm_id_priv = cm_get_id(timewait_info->work.local_id,
timewait_info    2327 drivers/infiniband/core/cm.c 					   timewait_info->work.remote_id);
timewait_info    2807 drivers/infiniband/core/cm.c 	struct cm_timewait_info *timewait_info;
timewait_info    2815 drivers/infiniband/core/cm.c 		timewait_info = cm_find_remote_id( *((__be64 *) rej_msg->ari),
timewait_info    2817 drivers/infiniband/core/cm.c 		if (!timewait_info) {
timewait_info    2822 drivers/infiniband/core/cm.c 				cm_local_id(timewait_info->work.local_id));
timewait_info    3429 drivers/infiniband/core/cm.c 	struct cm_timewait_info *timewait_info;
timewait_info    3433 drivers/infiniband/core/cm.c 	timewait_info = (struct cm_timewait_info *)work;
timewait_info    3435 drivers/infiniband/core/cm.c 	list_del(&timewait_info->list);
timewait_info    3438 drivers/infiniband/core/cm.c 	cm_id_priv = cm_acquire_id(timewait_info->work.local_id,
timewait_info    3439 drivers/infiniband/core/cm.c 				   timewait_info->work.remote_id);
timewait_info    3445 drivers/infiniband/core/cm.c 	    cm_id_priv->remote_qpn != timewait_info->remote_qpn) {
timewait_info    4511 drivers/infiniband/core/cm.c 	struct cm_timewait_info *timewait_info, *tmp;
timewait_info    4514 drivers/infiniband/core/cm.c 	list_for_each_entry(timewait_info, &cm.timewait_list, list)
timewait_info    4515 drivers/infiniband/core/cm.c 		cancel_delayed_work(&timewait_info->work.work);
timewait_info    4521 drivers/infiniband/core/cm.c 	list_for_each_entry_safe(timewait_info, tmp, &cm.timewait_list, list) {
timewait_info    4522 drivers/infiniband/core/cm.c 		list_del(&timewait_info->list);
timewait_info    4523 drivers/infiniband/core/cm.c 		kfree(timewait_info);