Home
last modified time | relevance | path

Searched refs:MAXMEMORY_FLAG_LFU (Results 1 – 5 of 5) sorted by relevance

/f-stack/app/redis-5.0.5/src/
H A Devict.c189 } else if (server.maxmemory_policy & MAXMEMORY_FLAG_LFU) { in evictionPoolPopulate()
478 if (server.maxmemory_policy & (MAXMEMORY_FLAG_LRU|MAXMEMORY_FLAG_LFU) || in freeMemoryIfNeeded()
H A Dobject.c50 if (server.maxmemory_policy & MAXMEMORY_FLAG_LFU) { in createObject()
92 if (server.maxmemory_policy & MAXMEMORY_FLAG_LFU) { in createEmbeddedStringObject()
1207 if (server.maxmemory_policy & MAXMEMORY_FLAG_LFU) { in objectSetLRUOrLFU()
1273 if (server.maxmemory_policy & MAXMEMORY_FLAG_LFU) { in objectCommand()
1281 if (!(server.maxmemory_policy & MAXMEMORY_FLAG_LFU)) { in objectCommand()
H A Dserver.h384 #define MAXMEMORY_FLAG_LFU (1<<1) macro
387 (MAXMEMORY_FLAG_LRU|MAXMEMORY_FLAG_LFU)
390 #define MAXMEMORY_VOLATILE_LFU ((1<<8)|MAXMEMORY_FLAG_LFU)
394 #define MAXMEMORY_ALLKEYS_LFU ((5<<8)|MAXMEMORY_FLAG_LFU|MAXMEMORY_FLAG_ALLKEYS)
H A Ddb.c67 if (server.maxmemory_policy & MAXMEMORY_FLAG_LFU) { in lookupKey()
195 if (server.maxmemory_policy & MAXMEMORY_FLAG_LFU) { in dbOverwrite()
H A Drdb.c1010 int savelfu = server.maxmemory_policy & MAXMEMORY_FLAG_LFU; in rdbSaveKeyValuePair()