| /f-stack/app/redis-5.0.5/src/ |
| H A D | notify.c | 97 void notifyKeyspaceEvent(int type, char *event, robj *key, int dbid) { in notifyKeyspaceEvent() argument 107 moduleNotifyKeyspaceEvent(type, event, key, dbid); in notifyKeyspaceEvent() 117 len = ll2string(buf,sizeof(buf),dbid); in notifyKeyspaceEvent() 129 if (len == -1) len = ll2string(buf,sizeof(buf),dbid); in notifyKeyspaceEvent()
|
| H A D | evict.c | 58 int dbid; /* Key DB number. */ member 148 ep[j].dbid = 0; in evictionPoolAlloc() 162 void evictionPoolPopulate(int dbid, dict *sampledict, dict *keydict, struct evictionPoolEntry *pool… in evictionPoolPopulate() argument 255 pool[k].dbid = dbid; in evictionPoolPopulate() 503 bestdbid = pool[k].dbid; in freeMemoryIfNeeded() 506 de = dictFind(server.db[pool[k].dbid].dict, in freeMemoryIfNeeded() 509 de = dictFind(server.db[pool[k].dbid].expires, in freeMemoryIfNeeded()
|
| H A D | expire.c | 299 int dbid = 0; in expireSlaveKeys() local 300 while(dbids && dbid < server.dbnum) { in expireSlaveKeys() 302 redisDb *db = server.db+dbid; in expireSlaveKeys() 307 activeExpireCycleTryExpire(server.db+dbid,expire,start)) in expireSlaveKeys() 318 new_dbids |= (uint64_t)1 << dbid; in expireSlaveKeys() 321 dbid++; in expireSlaveKeys()
|
| H A D | redis-check-rdb.c | 180 uint64_t dbid; in redis_check_rdb() local 243 if ((dbid = rdbLoadLen(&rdb,NULL)) == RDB_LENERR) in redis_check_rdb() 245 rdbCheckInfo("Selecting DB ID %d", dbid); in redis_check_rdb()
|
| H A D | multi.c | 316 void touchWatchedKeysOnFlush(int dbid) { in touchWatchedKeysOnFlush() argument 331 if (dbid == -1 || wk->db->id == dbid) { in touchWatchedKeysOnFlush()
|
| H A D | server.c | 746 void tryResizeHashTables(int dbid) { in tryResizeHashTables() argument 747 if (htNeedsResize(server.db[dbid].dict)) in tryResizeHashTables() 748 dictResize(server.db[dbid].dict); in tryResizeHashTables() 749 if (htNeedsResize(server.db[dbid].expires)) in tryResizeHashTables() 750 dictResize(server.db[dbid].expires); in tryResizeHashTables() 760 int incrementallyRehash(int dbid) { in incrementallyRehash() argument 762 if (dictIsRehashing(server.db[dbid].dict)) { in incrementallyRehash() 763 dictRehashMilliseconds(server.db[dbid].dict,1); in incrementallyRehash() 767 if (dictIsRehashing(server.db[dbid].expires)) { in incrementallyRehash() 2261 op->dbid = dbid; in redisOpArrayAppend() [all …]
|
| H A D | db.c | 399 void signalFlushedDb(int dbid) { in signalFlushedDb() argument 400 touchWatchedKeysOnFlush(dbid); in signalFlushedDb() 923 long long dbid, expire; in moveCommand() local 934 if (getLongLongFromObject(c->argv[2],&dbid) == C_ERR || in moveCommand() 935 dbid < INT_MIN || dbid > INT_MAX || in moveCommand() 936 selectDb(c,dbid) == C_ERR) in moveCommand()
|
| H A D | debug.c | 570 long dbid; in debugCommand() local 574 if (getLongFromObjectOrReply(c, c->argv[2], &dbid, NULL) != C_OK) in debugCommand() 576 if (dbid < 0 || dbid >= server.dbnum) { in debugCommand() 582 dictGetStats(buf,sizeof(buf),server.db[dbid].dict); in debugCommand() 586 dictGetStats(buf,sizeof(buf),server.db[dbid].expires); in debugCommand()
|
| H A D | server.h | 839 int argc, dbid, target; member 882 size_t dbid; member 1413 void moduleNotifyKeyspaceEvent(int type, const char *event, robj *key, int dbid); 1523 void touchWatchedKeysOnFlush(int dbid); 1720 void propagate(struct redisCommand *cmd, int dbid, robj **argv, int argc, int flags); 1721 void alsoPropagate(struct redisCommand *cmd, int dbid, robj **argv, int argc, int target); 1804 void notifyKeyspaceEvent(int type, char *event, robj *key, int dbid); 1849 void signalFlushedDb(int dbid);
|
| H A D | module.c | 228 int dbid; /* Database number selected by the original client. */ member 3627 bc->dbid = c->db->id; in RM_BlockClient() 3868 selectDb(ctx->client,bc->dbid); in RM_GetThreadSafeContext() 3970 void moduleNotifyKeyspaceEvent(int type, const char *event, robj *key, int dbid) { in moduleNotifyKeyspaceEvent() argument 3989 selectDb(ctx.client, dbid); in moduleNotifyKeyspaceEvent() 4298 int dbid; /* Database number selected by the original client. */ member 4325 selectDb(ctx.client, timer->dbid); in moduleTimerHandler() 4350 timer->dbid = ctx->client->db->id; in RM_CreateTimer()
|
| H A D | rdb.c | 1852 uint64_t dbid; in rdbLoadRio() local 1913 if ((dbid = rdbLoadLen(rdb,NULL)) == RDB_LENERR) goto eoferr; in rdbLoadRio() 1914 if (dbid >= (unsigned)server.dbnum) { in rdbLoadRio() 1921 db = server.db+dbid; in rdbLoadRio()
|
| H A D | replication.c | 1079 void replicationCreateMasterClient(int fd, int dbid) { in replicationCreateMasterClient() argument 1091 if (dbid != -1) selectDb(server.master,dbid); in replicationCreateMasterClient()
|
| H A D | object.c | 1047 mh->db[mh->num_dbs].dbid = j; in getMemoryOverheadData() 1369 snprintf(dbname,sizeof(dbname),"db.%zd",mh->db[j].dbid); in memoryCommand()
|
| H A D | cluster.c | 5067 long dbid; in migrateCommand() local 5112 getLongFromObjectOrReply(c,c->argv[4],&dbid,NULL) != C_OK) in migrateCommand() 5161 int select = cs->last_dbid != dbid; /* Should we emit SELECT? */ in migrateCommand() 5165 serverAssertWithInfo(c,NULL,rioWriteBulkLongLong(&cmd,dbid)); in migrateCommand() 5342 cs->last_dbid = dbid; in migrateCommand()
|
| /f-stack/dpdk/drivers/net/ionic/ |
| H A D | ionic_if.h | 1859 __le16 dbid; member
|