Searched refs:controllers (Results 1 - 9 of 9) sorted by relevance

/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dbus.c141 /* There are no stat types defined for controllers */
222 descriptor_t **controllers; local
229 for (cnt = 0; bp->controllers[cnt]; cnt++);
232 controllers = (descriptor_t **)calloc(cnt + 1, sizeof (descriptor_t *));
233 if (controllers == NULL) {
238 for (i = 0; bp->controllers[i]; i++) {
239 controllers[i] = cache_get_desc(DM_CONTROLLER, bp->controllers[i],
242 cache_free_descriptors(controllers);
246 controllers[
[all...]
H A Dcontroller.c140 descriptor_t **controllers; local
144 controllers = cache_get_descriptors(DM_CONTROLLER, errp);
149 for (i = 0; controllers[i]; i++) {
150 if (libdiskmgt_str_eq(name, controllers[i]->p.controller->name)) {
151 controller = controllers[i];
154 cache_free_descriptor(controllers[i]);
157 free(controllers);
183 /* There are no stat types defined for controllers */
H A Dpath.c252 descriptor_t **controllers; local
259 controllers = (descriptor_t **)calloc(2, sizeof (descriptor_t *));
260 if (controllers == NULL) {
267 controllers[i++] = cache_get_desc(DM_CONTROLLER,
270 cache_free_descriptors(controllers);
275 controllers[i] = NULL;
278 return (controllers);
H A Dfindevs.c137 * disks, controllers and paths on the system. This model is returned in the
217 (void ***)&bp->controllers) != 0) {
281 bp->controllers = (controller_t **)calloc(1, sizeof (controller_t *));
282 if (bp->controllers == NULL) {
287 bp->controllers[0] = NULL;
290 if (add_ptr2array(cp, (void ***)&bp->controllers) != 0) {
480 * Add other controllers for multipath disks.
683 for (i = 0; diskp->controllers[i]; i++) {
684 if (cp == diskp->controllers[i]) {
697 if (add_ptr2array(cp, (void ***)&diskp->controllers) !
[all...]
H A Ddisks_private.h77 struct controller_info **controllers; member in struct:bus_info
100 controller_t **controllers; member in struct:disk
H A Dcache.c94 * basically the information about the drives, aliases, devpaths, controllers
109 * walk which represent the drives and controllers. This is the second level
112 * When we update the second level of the cache (the drives and controllers)
144 * corresponding object. For objects we cache (controllers, paths & drives)
194 free(bp->controllers);
266 free(dp->controllers);
546 /* clear any ptrs from controllers to this drive */
547 if (dp->controllers != NULL) {
548 for (i = 0; dp->controllers[i]; i++) {
549 clr_ctrl_disk_ptr(dp->controllers[
[all...]
H A Ddrive.c779 descriptor_t **controllers; local
785 for (cnt = 0; diskp->controllers[cnt]; cnt++);
788 controllers = (descriptor_t **)calloc(cnt + 1, sizeof (descriptor_t *));
789 if (controllers == NULL) {
794 for (i = 0; diskp->controllers[i]; i++) {
795 controllers[i] = cache_get_desc(DM_CONTROLLER,
796 diskp->controllers[i], NULL, NULL, errp);
798 cache_free_descriptors(controllers);
803 controllers[i] = NULL;
806 return (controllers);
[all...]
/illumos-gate/usr/src/uts/sparc/ml/
H A Dfd_asm.s73 ! Traverse the list of controllers until we find the first
78 set fdctlrs, Fdc ! load list of controllers
93 ! no more controllers
/illumos-gate/usr/src/uts/sun4u/starcat/ml/
H A Ddrmach_asm.s460 ! ming the Safari Configuration Register of I/O controllers.

Completed in 56 milliseconds