Lines Matching defs:list

78  * slices is the list of modified slices on the disk
87 * modified_disks is a list of moddisk_t structs
307 * results - pointer to a list of resulting volumes
319 * Resulting volumes are appended to the results list.
394 * results - pointer to a list of resulting volumes
402 * Resulting volumes are appended to the results list.
439 * results - pointer to the list of composed result volumes
491 * devices - a list of devconfig_t devices
565 * SIDEEFFECTS: adds an entry to the _modified_disks list which tracks
572 * PURPOSE: Adds the input disk to the list of those that have been
598 /* already in list */
611 /* add to list of modified disks */
632 * INPUT: devs - pointer to a list of composed volumes
634 * SIDEEFFECT: updates the module global list _modified_disks
639 * PURPOSE: Helper to maintain the list of disks to be added to the
642 * Iterates the input list of devices and determines which
644 * list, it is added.
691 * INPUT: devices - pointer to a list of devices
703 * Updates the list of _modified_disks by examining the input
704 * list of composed devices.
707 * for each disk in the list, the list of disks is then attached
720 dlist_t *list = NULL;
723 /* add modified disks to disk set's component list */
724 list = devconfig_get_components(diskset);
756 list = dlist_append(item, list, AT_TAIL);
767 /* move moddisk's slice list to disk set comp list */
768 list = dlist_append(moddisk->slices, list, AT_TAIL);
774 devconfig_set_components(diskset, list);
776 dlist_free_items(list, NULL);
788 * PURPOSE: cleanup the module global list of disks that need
815 * INPUT: mod_disks - a list of moddisk_t structs
817 * OUTPUT: mod_disks - the list of moddisk_t structs updated with
823 * PURPOSE: Helper to create a list of devconfig_t structs
827 * Iterates the list of slices to be removed and
829 * in the list that is on any of the input modified
872 /* add to the moddisk's list of slices */
892 * INPUT: mod_disks - a list of moddisk_t structs
894 * OUTPUT: mod_disks - the list of moddisk_t structs updated with
900 * PURPOSE: Helper to create a list of devconfig_t structs
904 * Iterates the list of modified slices and creates a
905 * devconfig_t component for each slice in the list
963 /* add to the moddisk's list of slices */
1039 * results - pointer to a list of composed results
1077 * FUNCTION: add_to_hsp_list(dlist_t* list)
1078 * INPUT: devs - pointer to a list of composed volumes
1080 * SIDEEFFECT: updates the module global list _hsp_devices
1085 * PURPOSE: Helper to update the list of devices which need HSP spares.
1087 * Iterates the input list of devices and adds them them to the
1088 * module provate list of devices needing spares.
1092 dlist_t *list)
1097 for (iter = list; iter != NULL; iter = iter->next) {