Lines Matching full:index
24 * UDS index will store fewer names than normal but will otherwise continue to work. The data
27 * A client must first create an index session to interact with an index. Once created, the session
29 * and save any associated index.
49 * to determine whether an entry exists without changing the internal state of the index.
52 * generally not necessary, because the index will automatically discard its oldest entries once it
80 /* Create a new index. */
83 /* Load an existing index and try to recover if necessary. */
86 /* Load an existing index, but only if it was saved cleanly. */
106 /* Flag indicating that the index has one less chapter than usual */
134 /* The maximum allowable size of the index on storage */
136 /* The offset where the index should start */
140 /* Whether the index should include sparse chapters */
142 /* A 64-bit nonce to validate the index */
144 /* The number of threads used to process index requests */
151 * These statistics capture characteristics of the current index, including resource usage and
152 * requests processed since the index was opened.
155 /* The total number of records stored in the index */
157 /* An estimate of the index's memory usage, in bytes */
159 /* The number of collisions recorded in the volume index */
161 /* The number of entries discarded from the index since startup */
175 * The number of post calls that found an existing entry in the dense portion of the index
179 * The number of post calls that found an existing entry in the sparse portion of the index
201 /* The index page entry has been found */
205 /* The record is not in the index */
209 /* The record was found in the dense part of the index */
211 /* The record was found in the sparse part of the index */
215 /* Zone message requests are used to communicate between index zones. */
219 /* Add a chapter to the sparse chapter index cache */
248 /* The index session that will manage this request */
257 /* True if the record name had an existing entry in the index */
266 /* The region of the index containing the record name */
280 /* A pointer to the index processing this request */
281 struct uds_index *index;
285 /* A session is required for most index operations. */
288 /* Destroying an index session also closes and saves the associated index. */
292 * Create or open an index with an existing session. This operation fails if the index session is
293 * suspended, or if there is already an open index.
300 * Wait until all callbacks for index operations are complete, and prevent new index operations
301 * from starting. New index operations will fail with EBUSY until the session is resumed. Also
302 * optionally saves the index.
307 * Allow new index operations for an index, whether it was suspended or not. If the index is
308 * suspended and the supplied block device differs from the current backing store, the index will
314 /* Wait until all outstanding index operations are complete. */
317 /* Close an index. This operation fails if the index session is suspended. */
320 /* Get index statistics since the last time the index was opened. */