Searched refs:LSM_MIN (Results 1 – 7 of 7) sorted by relevance
| /sqlite-3.40.0/ext/lsm1/ |
| H A D | lsm_log.c | 628 int n = LSM_MIN(200, nPad-2); in logFlush() 882 int nCopy = LSM_MIN(nAvail, nReq); in logReaderBlob()
|
| H A D | lsm_tree.c | 270 res = memcmp(p1, p2, LSM_MIN(n1, n2)); in treeKeycmp() 371 int n = LSM_MIN(nAvail, nReq-nLoad); in treeShmkey() 761 nAlloc = LSM_MIN((LSM_SHM_CHUNK_SIZE-iWrite), (u32)nRem); in newTreeKey()
|
| H A D | lsm_file.c | 1300 nRead = (int)LSM_MIN(iEob - iOff, nData); in fsReadData() 2405 nMap = LSM_MIN(pFS->nMapLimit, (i64)iFrom * pFS->nBlocksize); in lsmFsMoveBlock() 2497 nWrite = LSM_MIN(nData, nSpace); in fsAppendData()
|
| H A D | lsmInt.h | 990 #define LSM_MIN(x,y) ((x)>(y) ? (y) : (x)) macro
|
| H A D | lsm_main.c | 58 res = memcmp(p1, p2, LSM_MIN(n1, n2)); in xCmp()
|
| H A D | lsm_sorted.c | 445 int nCopy = LSM_MIN(nRem, iEnd-i); in sortedReadData() 3797 return LSM_MIN(((nKey * 4) / nPgsz), 3); in keyszToSkip() 3895 nCopy = LSM_MIN(nRem, SEGMENT_EOF(nData, nRec) - iOff); in mergeWorkerData() 5210 nMax = (int)LSM_MIN(nMax, (pDb->nAutockpt/nPgsz) - (int)(nUnsync-nSync)); in doLsmSingleWork()
|
| H A D | lsm_shared.c | 807 iInUse = LSM_MIN(iInUse, pDb->pClient->iId); in lsmBlockAllocate()
|