Lines Matching defs:list

58 /* uu_list repval list pool */
109 * Create the repval list pool.
192 destroy_rep_val_list(uu_list_t *list)
194 if (list != NULL) {
195 empty_rep_val_list(list);
196 uu_list_destroy(list);
201 find_rep_val(uu_list_t *list, int64_t val)
205 for (rv = uu_list_first(list); rv != NULL;
206 rv = uu_list_next(list, rv)) {
214 add_rep_val(uu_list_t *list, int64_t val)
224 (void) uu_list_insert_after(list, NULL, rv);
230 remove_rep_val(uu_list_t *list, int64_t val)
234 if ((rv = find_rep_val(list, val)) != NULL) {
235 uu_list_remove(list, rv);
242 empty_rep_val_list(uu_list_t *list)
247 while ((rv = uu_list_teardown(list, &cookie)) != NULL) {
255 get_single_rep_val(uu_list_t *list)
257 rep_val_t *rv = uu_list_first(list);
264 set_single_rep_val(uu_list_t *list, int64_t val)
266 rep_val_t *rv = uu_list_first(list);
269 if (add_rep_val(list, val) == -1)
280 * in add_tr_entry_values() in the list 'vals'.
299 * are stored in the list for later cleanup by remove_tr_entry_values.
331 * Stores the values contained in the list 'vals' into the property 'prop_name'
412 * group and adds them to the value list 'list'.
422 _retrieve_rep_vals(uu_list_t *list, const char *fmri, const char *prop_name)
432 if (add_rep_val(list, *ip) == -1) {
433 empty_rep_val_list(list);
440 empty_rep_val_list(list);
450 * Writes the repository values in the vals list to
546 * in the list are written to a temp file and then
550 /* Write all values in list to file */
627 * Adds/removes a contract id to/from the cached list kept in the instance.
628 * Then the cached list is written to a file named "ctid" in a directory
629 * based on the fmri. Cached list is written to a file due to scalability
652 * ctids in the list being written to a temp file and then
691 /* Write all values in list to file */
704 * If sig !=0, iterate over all contracts in the cached list of contract
769 * - temporary list to be traversed (uup)
770 * - cached list that can be modified if adoption of
810 * work later, so remove the id from our list