Searched refs:DBCNODE (Results 1 – 2 of 2) sorted by relevance
/third_party/iowow/src/kv/ |
D | iwkv_internal.h | 176 typedef struct DBCNODE { struct 184 } DBCNODE; argument 189 static_assert(DBCNODE_VNUM_SZ >= offsetof(DBCNODE, lk) + IW_VNUMBUFSZ, 191 static_assert(DBCNODE_STR_SZ >= offsetof(DBCNODE, lk) + SBLK_LKLEN, 201 DBCNODE *nodes; /**< Sorted nodes array */
|
D | iwkv.c | 2760 const DBCNODE *cn1 = v1, *cn2 = v2; in _dbcache_cmp_nodes() 2875 if (offsetof(DBCNODE, lk) + sblk->lkl > nsize) { in _dbcache_fill_lw() 2882 DBCNODE cn = { in _dbcache_fill_lw() 2892 DBCNODE *nn = realloc(c->nodes, c->asize); in _dbcache_fill_lw() 2901 memcpy(wp, &cn, offsetof(DBCNODE, lk)); in _dbcache_fill_lw() 2902 wp += offsetof(DBCNODE, lk); in _dbcache_fill_lw() 2915 DBCNODE *n; in _dbcache_get() 2916 alignas(DBCNODE) uint8_t dbcbuf[255]; in _dbcache_get() 2930 if (sizeof(DBCNODE) + lxksiz <= sizeof(dbcbuf)) { in _dbcache_get() 2931 n = (DBCNODE *) dbcbuf; in _dbcache_get() [all …]
|