Home | History | Annotate | Download | only in dist

Lines Matching full:chunk

1257 ** point to an integer (type int) containing the new chunk-size to use
14899 ** Maximum size (in Mem3Blocks) of a "small" chunk.
14910 ** A memory allocation (also called a "chunk") consists of two or
14914 ** A chunk is two or more blocks that is either checked out or
14917 ** The u.hdr.size4x&1 bit is true if the chunk is checked out and
14918 ** false if the chunk is on the freelist. The u.hdr.size4x&2 bit
14919 ** is true if the previous chunk is checked out and false if the
14920 ** previous chunk is free. The u.hdr.prevSize field is the size of
14921 ** the previous chunk in blocks if the previous chunk is on the
14922 ** freelist. If the previous chunk is checked out, then
14923 ** u.hdr.prevSize can be part of the data for that chunk and should
14926 ** We often identify a chunk by its index in mem3.aPool[]. When
14927 ** this is done, the chunk index refers to the second block of
14928 ** the chunk. In this way, the first chunk has an index of 1.
14929 ** A chunk index of 0 means "no such chunk" and is the equivalent
14937 ** The second block of a chunk is user data if the chunk is checked
14938 ** out. If a chunk is checked out, the user data may extend into
14939 ** the u.hdr.prevSize value of the following chunk.
14945 u32 prevSize; /* Size of previous chunk in Mem3Block elements */
14946 u32 size4x; /* 4x the size of current chunk in Mem3Block elements */
14949 u32 next; /* Index in mem3.aPool[] of next free chunk */
14950 u32 prev; /* Index in mem3.aPool[] of previous free chunk */
14985 ** iMaster is the index of the master chunk. Most new allocations
14986 ** occur off of this chunk. szMaster is the size (in Mem3Blocks)
14987 ** of the current master. iMaster is 0 if there is not master chunk.
14988 ** The master chunk is not in either the aiHash[] or aiSmall[].
15005 ** Unlink the chunk at mem3.aPool[i] from list it is currently
15025 ** Unlink the chunk at index i from
15045 ** Link the chunk at mem3.aPool[i] so that is on the list rooted
15059 ** Link the chunk at index i into either the appropriate
15060 ** small chunk list, or into the large chunk hash table.
15109 ** Chunk i is a free chunk that has been unlinked. Adjust its
15111 ** user portion of the chunk.
15127 ** Carve a piece off of the end of the mem3.iMaster free chunk.
15128 ** Return a pointer to the new allocation. Or, if the master chunk
15168 ** If it sees a chunk that is larger than mem3.iMaster, it replaces
15169 ** the current mem3.iMaster with the new larger chunk. In order for
15170 ** this mem3.iMaster replacement to work, the master chunk must be
15173 ** chunk before invoking this routine, then must unlink the (possibly
15174 ** changed) master chunk once this routine has finished.
15231 ** chunk table or in the large chunk hash table. This is
15252 ** of the master chunk. This step usually works if step 1 fails.
15261 ** chunks. Recompute the master chunk as the largest free chunk.
15263 ** of the end of the master chunk. This step happens very
15312 /* Try to expand the master using the newly freed chunk */
15619 int next; /* Index of next free chunk */
15620 int prev; /* Index of previous free chunk */
15694 ** Unlink the chunk at mem5.aPool[i] from list it is currently
15716 ** Link the chunk at mem5.aPool[i] so that is on the iLogsize
26070 /* If the user has configured a chunk-size for this file, truncate the
26140 ** If the user has configured a chunk-size for this file, it could be
29741 int szChunk; /* Chunk size configured by FCNTL_CHUNK_SIZE */
30422 /* If the user has configured a chunk-size for this file, truncate the
34336 ** The number of rowset entries per allocation chunk.
34357 struct RowSetChunk *pNextChunk; /* Next chunk on list of them all */
34367 struct RowSetChunk *pChunk; /* List of all chunk allocations */
37471 ** chunk of the journal contains zero pages to be rolled back. But
37472 ** when doing a ROLLBACK and the nRec==0 chunk is the last chunk in
43379 volatile u32 *page0; /* Chunk of wal-index containing header */
67243 FileChunk *pNext; /* Next chunk in the journal */
67244 u8 zChunk[JOURNAL_CHUNKSIZE]; /* Content of this chunk */
67253 FileChunk *pChunk; /* Specific chunk into which cursor points */
67262 FileChunk *pFirst; /* Head of in-memory chunk-list */
67338 /* New chunk is required to extend the file. */