Lines Matching full:index

23  * UDS index will store fewer names than normal but will otherwise continue to work. The data
26 * A client must first create an index session to interact with an index. Once created, the session
28 * and save any associated index.
48 * to determine whether an entry exists without changing the internal state of the index.
51 * generally not necessary, because the index will automatically discard its oldest entries once it
79 /* Create a new index. */
82 /* Load an existing index and try to recover if necessary. */
85 /* Load an existing index, but only if it was saved cleanly. */
105 /* Flag indicating that the index has one less chapter than usual */
133 /* The maximum allowable size of the index on storage */
135 /* The offset where the index should start */
139 /* Whether the index should include sparse chapters */
141 /* A 64-bit nonce to validate the index */
143 /* The number of threads used to process index requests */
150 * These statistics capture characteristics of the current index, including resource usage and
151 * requests processed since the index was opened.
154 /* The total number of records stored in the index */
156 /* An estimate of the index's memory usage, in bytes */
158 /* The number of collisions recorded in the volume index */
160 /* The number of entries discarded from the index since startup */
174 * The number of post calls that found an existing entry in the dense portion of the index
178 * The number of post calls that found an existing entry in the sparse portion of the index
200 /* The index page entry has been found */
204 /* The record is not in the index */
208 /* The record was found in the dense part of the index */
210 /* The record was found in the sparse part of the index */
214 /* Zone message requests are used to communicate between index zones. */
218 /* Add a chapter to the sparse chapter index cache */
247 /* The index session that will manage this request */
258 /* True if the record name had an existing entry in the index */
262 * The remaining fields are used internally and should not be altered by clients. The index
272 /* A pointer to the index processing this request */
273 struct uds_index *index; member
282 /* The region of the index containing the record name */
286 /* Compute the number of bytes needed to store an index. */
290 /* A session is required for most index operations. */
293 /* Destroying an index session also closes and saves the associated index. */
297 * Create or open an index with an existing session. This operation fails if the index session is
298 * suspended, or if there is already an open index.
305 * Wait until all callbacks for index operations are complete, and prevent new index operations
306 * from starting. New index operations will fail with EBUSY until the session is resumed. Also
307 * optionally saves the index.
312 * Allow new index operations for an index, whether it was suspended or not. If the index is
313 * suspended and the supplied block device differs from the current backing store, the index will
319 /* Wait until all outstanding index operations are complete. */
322 /* Close an index. This operation fails if the index session is suspended. */
325 /* Get index statistics since the last time the index was opened. */