Searched refs:n_disks (Results 1 – 7 of 7) sorted by relevance
/titanic_41/usr/src/cmd/picl/plugins/sun4u/lw2plus/fcal_leds/ |
H A D | fc_led_parse.c | 46 static int get_mask(str *p_str, int n_disks, int *p_intarray); 288 if (dtls->n_disks != 0) { in act_n_disks() 292 dtls->n_disks = strtoul(*p_str, p_str, 0); in act_n_disks() 297 if (dtls->n_disks < 1) { in act_n_disks() 301 dtls->presence = calloc(dtls->n_disks, sizeof (int)); in act_n_disks() 304 dtls->faults = calloc(dtls->n_disks, sizeof (int)); in act_n_disks() 307 dtls->disk_detected = calloc(dtls->n_disks, sizeof (int)); in act_n_disks() 310 dtls->disk_ready = calloc(dtls->n_disks, sizeof (int)); in act_n_disks() 313 dtls->disk_prev = calloc(dtls->n_disks, sizeof (int)); in act_n_disks() 316 dtls->led_test_end = calloc(dtls->n_disks, sizeof (int)); in act_n_disks() [all …]
|
H A D | fcal_leds_thread.c | 280 int *newStatus = malloc(dtls->n_disks * sizeof (int)); in get_drv_info() 284 for (i = 0; i < dtls->n_disks; i++) { in get_drv_info() 291 if ((t >= 0) && (t < dtls->n_disks)) { in get_drv_info() 297 if ((t >= 0) && (t < dtls->n_disks)) { in get_drv_info() 341 for (i = 0; i < dtls->n_disks; i++) { in get_drv_info() 426 for (disk = 0; disk < dtls->n_disks; disk++) { in is_led_test() 446 for (disk = 0; disk < dtls->n_disks; disk++) { in set_clr_led() 519 for (diskNo = 0; diskNo < dtls->n_disks; diskNo++) { in retry_led() 637 for (c = 0; c < dtls->n_disks; c++) { in fcal_leds_thread() 649 for (c = 0; c < dtls->n_disks; c++) { in fcal_leds_thread() [all …]
|
H A D | fcal_leds.c | 192 for (disk = 0; disk < dtls->n_disks; disk++) { in read_led_state() 200 if (disk == dtls->n_disks) in read_led_state() 275 for (d = 0; d < dtls->n_disks; d++) { in add_led_refs() 375 for (d = 0; d < dtls->n_disks; d++) { in delete_led_refs() 389 for (d = 0; d < dtls->n_disks; d++) { in delete_led_refs() 625 for (diskNo = 0; diskNo < g_led_dtls->n_disks; in fcal_leds_fini() 664 for (c = 0; c < g_led_dtls->n_disks; c++) { in fcal_leds_fini()
|
H A D | fcal_leds.h | 248 int n_disks; /* number of fcal disks */ member
|
/titanic_41/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()
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/mpxu/frudr/ |
H A D | piclfrudr.c | 2501 int n_disks = 0, in disk_leds_thread() local 2571 n_disks = N_ENTS_DISKS; in disk_leds_thread() 2578 n_disks = N_CHALUPA_DISKS; in disk_leds_thread() 2583 n_disks = N_EN19_DISKS; in disk_leds_thread() 2590 n_disks = (sys_platform == PLAT_SEATTLE1U) ? in disk_leds_thread() 2614 n_disks = N_BOSTON_DISKS; in disk_leds_thread() 2619 n_disks = (sys_platform == PLAT_EN19) ? in disk_leds_thread() 2627 for (i = 0; i < n_disks; i++) { in disk_leds_thread() 2638 for (i = 0; i < n_disks; i++) { in disk_leds_thread()
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/lw8/frutree/ |
H A D | piclfrutree.c | 3999 int n_disks = N_DISKS; in disk_leds_thread() local 4022 for (i = 0; i < n_disks; i++) { in disk_leds_thread() 4035 for (i = 0; i < n_disks; i++) { in disk_leds_thread()
|