Lines Matching refs:refcount
46 o->refcount = 1; in createObject()
70 serverAssert(o->refcount == 1); in makeObjectShared()
71 o->refcount = OBJ_SHARED_REFCOUNT; in makeObjectShared()
91 o->refcount = 1; in createEmbeddedStringObject()
350 if (o->refcount != OBJ_SHARED_REFCOUNT) o->refcount++; in incrRefCount()
354 if (o->refcount == 1) { in decrRefCount()
367 if (o->refcount <= 0) serverPanic("decrRefCount against refcount <= 0"); in decrRefCount()
368 if (o->refcount != OBJ_SHARED_REFCOUNT) o->refcount--; in decrRefCount()
392 obj->refcount = 0; in resetRefCount()
450 if (o->refcount > 1) return o; in tryObjectEncoding()
1265 addReplyLongLong(c,o->refcount); in objectCommand()