Lines Matching defs:index

51  * Update types: single-index and all are mutually exclusive; a count
75 key_build(const char *fmri, const ulong_t index)
79 key.d_index = index;
104 * If index corresponds to a resource we have previously seen and indexed,
110 resource_lookup_index_exact(const ulong_t index)
114 key = key_build(NULL, index);
119 * If index corresponds to a valid (that is, extant as of latest information
121 * Otherwise, return the data for the valid resource whose index is as close as
122 * possible to index but not lower. This preserves the lexicographical
126 resource_lookup_index_nextvalid(const ulong_t index)
131 key = key_build(NULL, index);
159 * A resource we haven't seen before. We're obligated to index
185 DEBUGMSGTL((MODNAME_STR, "index %lu is %s@%p\n", data->d_index,
222 * UCT_INDEX, updates will stop once the resource matching index has been
274 * for the use of index-only updates; therefore we always do a full
276 * index, the contexts can be queued by the handler instead.
467 * - First, frob the request to set all the index variables to correspond
481 ulong_t index;
484 * If we have no index, we must make one.
488 index = 1;
493 (uchar_t *)&index, sizeof (index));
503 DEBUGMSGTL((MODNAME_STR, "nextrsrc: built fake index:\n"));
508 index = *var->val.integer;
509 DEBUGMSGTL((MODNAME_STR, "nextrsrc: received index:\n"));
512 index++;
519 if ((data = resource_lookup_index_nextvalid(index)) == NULL) {
521 "index %lu; trying next column\n", index));
529 index = 1;
531 data = resource_lookup_index_nextvalid(index);
536 "index %lu; stopping\n", index));
606 * - If we have no index data, table_info->index_oid_len is 0.