Searched refs:refcount (Results 1 – 11 of 11) sorted by relevance
5 assert {[r object refcount a] > 1}12 assert {[r object refcount a] > 1}21 assert {[r object refcount a] == 1}22 assert {[r object refcount b] == 1}
44 o->refcount = 1; in createObject()67 o->refcount = 1; in createEmbeddedStringObject()298 o->refcount++; in incrRefCount()302 if (o->refcount <= 0) serverPanic("decrRefCount against refcount <= 0"); in decrRefCount()303 if (o->refcount == 1) { in decrRefCount()314 o->refcount--; in decrRefCount()338 obj->refcount = 0; in resetRefCount()380 if (o->refcount > 1) return o; in tryObjectEncoding()716 addReplyLongLong(c,o->refcount); in objectCommand()
405 (void*)val, val->refcount, in debugCommand()588 j, arg, c->argv[j]->refcount); in _serverAssertPrintClientInfo()595 serverLog(LL_WARNING,"Object refcount: %d", o->refcount); in serverLogObjectDebugInfo()
137 int refcount; /* Number of sentinelRedisInstance owners. */ member932 link->refcount = 1; in createInstanceLink()976 serverAssert(link->refcount > 0); in releaseInstanceLink()977 link->refcount--; in releaseInstanceLink()978 if (link->refcount != 0) { in releaseInstanceLink()1024 if (ri->link->refcount > 1) return C_ERR; /* Already shared. */ in sentinelTryConnectionSharing()1041 match->link->refcount++; in sentinelTryConnectionSharing()2577 SENTINEL_MAX_PENDING_COMMANDS * ri->link->refcount) return; in sentinelSendPeriodicCommands()2684 addReplyBulkLongLong(c,ri->link->refcount); in addReplySentinelRedisInstance()
357 if (o && o->refcount == 1 && o->encoding == OBJ_ENCODING_INT && in incrDecrCommand()
467 int refcount; member482 _var.refcount = 1; \
267 if (o->refcount != 1 || o->encoding != OBJ_ENCODING_RAW) { in dbUnshareStringValue()
201 if (cur->refcount > 1) { in dupLastObjectIfNeeded()
602 o->refcount == 1 && in luaRedisGenericCommand()
60 assert {[r object refcount foo] > 1}63 assert {[r object refcount foo] > 1}65 assert {[r object refcount foo] == 1}71 assert {[r object refcount foo] == 1}
1474 | Fix GEORADIUS STORE/DIST refcount after backport to 3.2.