Lines Matching refs:lkl
1461 sblk->lkl = 0; in _sblk_create_v1()
1582 sblk->lkl = 0; in _sblk_at2()
1613 memcpy(&sblk->lkl, rp++, 1); in _sblk_at2()
1614 if (sblk->lkl > db->iwkv->pklen) { in _sblk_at2()
1645 memcpy(sblk->lk, rp, (size_t) sblk->lkl); in _sblk_at2()
1653 sblk->lkl = 0; in _sblk_at2()
1711 assert(sblk->lkl <= lx->db->iwkv->pklen); in _sblk_sync_mm()
1716 memcpy(wp++, &sblk->lkl, 1); in _sblk_sync_mm()
1731 memcpy(wp, sblk->lk, (size_t) sblk->lkl); in _sblk_sync_mm()
1892 sblk->lkl = MIN(db->iwkv->pklen, ksize); in _sblk_addkv2()
1899 memcpy(wp, key->data, sblk->lkl - (ksize - key->size)); in _sblk_addkv2()
1957 sblk->lkl = MIN(db->iwkv->pklen, ksize); in _sblk_addkv()
1964 memcpy(wp, key->data, sblk->lkl - (ksize - key->size)); in _sblk_addkv()
2070 sblk->lkl = MIN(db->iwkv->pklen, klen); in _sblk_rmkv()
2071 memcpy(sblk->lk, kbuf, sblk->lkl); in _sblk_rmkv()
2082 sblk->lkl = 0; in _sblk_rmkv()
2120 uint8_t lkl = sblk->lkl; in _lx_sblk_cmp_key() local
2132 || ksize < lkl in _lx_sblk_cmp_key()
2134 res = _cmp_keys(dbflg, sblk->lk, lkl, key); in _lx_sblk_cmp_key()
2136 res = _cmp_keys_prefix(dbflg, sblk->lk, lkl, key); in _lx_sblk_cmp_key()
2762 uint32_t kl1 = cn1->lkl, kl2 = cn2->lkl; in _dbcache_cmp_nodes()
2875 if (offsetof(DBCNODE, lk) + sblk->lkl > nsize) { in _dbcache_fill_lw()
2883 .lkl = sblk->lkl, in _dbcache_fill_lw()
2903 memcpy(wp, sblk->lk, sblk->lkl); in _dbcache_fill_lw()
2941 n->lkl = 0; in _dbcache_get()
2978 assert(sizeof(*cache) + sblk->lkl <= sizeof(dbcbuf)); in _dbcache_put_lw()
2990 n->lkl = sblk->lkl; in _dbcache_put_lw()
2995 memcpy((uint8_t *) n + offsetof(DBCNODE, lk), sblk->lk, sblk->lkl); in _dbcache_put_lw()
3066 n->lkl = sblk->lkl; in _dbcache_update_lw()
3069 memcpy((uint8_t *) n + offsetof(DBCNODE, lk), sblk->lk, sblk->lkl); in _dbcache_update_lw()