Searched refs:n_disks (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw2plus/fcal_leds/ |
H A D | fc_led_parse.c | 44 static int get_mask(str *p_str, int n_disks, int *p_intarray); 286 if (dtls->n_disks != 0) { in act_n_disks() 290 dtls->n_disks = strtoul(*p_str, p_str, 0); in act_n_disks() 295 if (dtls->n_disks < 1) { in act_n_disks() 299 dtls->presence = calloc(dtls->n_disks, sizeof (int)); in act_n_disks() 302 dtls->faults = calloc(dtls->n_disks, sizeof (int)); in act_n_disks() 305 dtls->disk_detected = calloc(dtls->n_disks, sizeof (int)); in act_n_disks() 308 dtls->disk_ready = calloc(dtls->n_disks, sizeof (int)); in act_n_disks() 311 dtls->disk_prev = calloc(dtls->n_disks, sizeof (int)); in act_n_disks() 314 dtls->led_test_end = calloc(dtls->n_disks, sizeof (int)); in act_n_disks() [all …]
|
H A D | fcal_leds_thread.c | 278 int *newStatus = malloc(dtls->n_disks * sizeof (int)); in get_drv_info() 282 for (i = 0; i < dtls->n_disks; i++) { in get_drv_info() 289 if ((t >= 0) && (t < dtls->n_disks)) { in get_drv_info() 295 if ((t >= 0) && (t < dtls->n_disks)) { in get_drv_info() 339 for (i = 0; i < dtls->n_disks; i++) { in get_drv_info() 424 for (disk = 0; disk < dtls->n_disks; disk++) { in is_led_test() 444 for (disk = 0; disk < dtls->n_disks; disk++) { in set_clr_led() 517 for (diskNo = 0; diskNo < dtls->n_disks; diskNo++) { in retry_led() 635 for (c = 0; c < dtls->n_disks; c++) { in fcal_leds_thread() 647 for (c = 0; c < dtls->n_disks; c++) { in fcal_leds_thread() [all …]
|
H A D | fcal_leds.c | 190 for (disk = 0; disk < dtls->n_disks; disk++) { in read_led_state() 198 if (disk == dtls->n_disks) in read_led_state() 273 for (d = 0; d < dtls->n_disks; d++) { in add_led_refs() 373 for (d = 0; d < dtls->n_disks; d++) { in delete_led_refs() 387 for (d = 0; d < dtls->n_disks; d++) { in delete_led_refs() 623 for (diskNo = 0; diskNo < g_led_dtls->n_disks; in fcal_leds_fini() 662 for (c = 0; c < g_led_dtls->n_disks; c++) { in fcal_leds_fini()
|
H A D | fcal_leds.h | 246 int n_disks; /* number of fcal disks */ member
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | inuse_vxvm.c | 349 int n_disks; in load_vxvm() local 351 n_disks = (vxdl_libvxvm_get_disks)(pnp, MAX_DISKS_DG, pathp); in load_vxvm() 353 if (n_disks >= 0) { in load_vxvm() 358 for (j = 0; j < n_disks; j++) { in load_vxvm()
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/mpxu/frudr/ |
H A D | piclfrudr.c | 2501 int n_disks = 0, do_raid = 0, err = 0; in disk_leds_thread() local 2569 n_disks = N_ENTS_DISKS; in disk_leds_thread() 2576 n_disks = N_CHALUPA_DISKS; in disk_leds_thread() 2581 n_disks = N_EN19_DISKS; in disk_leds_thread() 2588 n_disks = (sys_platform == PLAT_SEATTLE1U) ? in disk_leds_thread() 2612 n_disks = N_BOSTON_DISKS; in disk_leds_thread() 2617 n_disks = (sys_platform == PLAT_EN19) ? in disk_leds_thread() 2625 for (i = 0; i < n_disks; i++) { in disk_leds_thread() 2636 for (i = 0; i < n_disks; i++) { in disk_leds_thread()
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw8/frutree/ |
H A D | piclfrutree.c | 3997 int n_disks = N_DISKS; in disk_leds_thread() local 4020 for (i = 0; i < n_disks; i++) { in disk_leds_thread() 4033 for (i = 0; i < n_disks; i++) { in disk_leds_thread()
|