Lines Matching refs:match
1028 sentinelRedisInstance *master = dictGetVal(de), *match; in sentinelTryConnectionSharing() local
1032 match = getSentinelRedisInstanceByAddrAndRunID(master->sentinels, in sentinelTryConnectionSharing()
1034 if (match == NULL) continue; /* No match. */ in sentinelTryConnectionSharing()
1035 if (match == ri) continue; /* Should never happen but... safer. */ in sentinelTryConnectionSharing()
1040 ri->link = match->link; in sentinelTryConnectionSharing()
1041 match->link->refcount++; in sentinelTryConnectionSharing()
1062 sentinelRedisInstance *master = dictGetVal(de), *match; in sentinelUpdateSentinelAddressInAllMasters() local
1063 match = getSentinelRedisInstanceByAddrAndRunID(master->sentinels, in sentinelUpdateSentinelAddressInAllMasters()
1067 if (match == NULL) continue; in sentinelUpdateSentinelAddressInAllMasters()
1070 if (match->link->cc != NULL) in sentinelUpdateSentinelAddressInAllMasters()
1071 instanceLinkCloseConnection(match->link,match->link->cc); in sentinelUpdateSentinelAddressInAllMasters()
1072 if (match->link->pc != NULL) in sentinelUpdateSentinelAddressInAllMasters()
1073 instanceLinkCloseConnection(match->link,match->link->pc); in sentinelUpdateSentinelAddressInAllMasters()
1075 if (match == ri) continue; /* Address already updated for it. */ in sentinelUpdateSentinelAddressInAllMasters()
1079 releaseSentinelAddr(match->addr); in sentinelUpdateSentinelAddressInAllMasters()
1080 match->addr = dupSentinelAddr(ri->addr); in sentinelUpdateSentinelAddressInAllMasters()