Lines Matching refs:todo
485 hotplug(int todo, char **argv, int verbose_flag, int force_flag) in hotplug() argument
525 if (todo == REMOVE_DEVICE) { in hotplug()
545 todo == REMOVE_DEVICE) { in hotplug()
670 if (todo == REPLACE_DEVICE) { in hotplug()
679 if ((todo == REMOVE_DEVICE) && in hotplug()
703 if ((todo == REMOVE_DEVICE) && in hotplug()
754 if (todo == REMOVE_DEVICE) { in hotplug()
827 if ((todo == INSERT_DEVICE) && in hotplug()
848 if ((todo == REMOVE_DEVICE) && (!force_flag)) { in hotplug()
879 if ((todo != INSERT_DEVICE) && (dtype != DTYPE_ESI)) { in hotplug()
909 if (todo == REMOVE_DEVICE && !force_flag && !reserve_flag) { in hotplug()
954 if ((h_print_list_warn(disk_list_head, todo, enc_type)) != 0) { in hotplug()
957 if ((err = h_pre_hotplug(&disk_list_head, wwn_list, todo, verbose_flag, in hotplug()
962 if (todo == REMOVE_DEVICE) { in hotplug()
974 todo, verbose_flag, force_flag, in hotplug()
1260 hotplug_e(int todo, char **argv, int verbose_flag, int force_flag) in hotplug_e() argument
1273 switch (todo) { in hotplug_e()
1305 switch (todo) { in hotplug_e()
1424 switch (todo) { in hotplug_e()
1525 WWN_list *wwn_list, int todo, in h_pre_hotplug_sena() argument
1575 switch (todo) { in h_pre_hotplug_sena()
1591 (SET_RQST_INSRT, 0, todo, in h_pre_hotplug_sena()
1607 (SET_DRV_ON, 0, todo, in h_pre_hotplug_sena()
1698 todo, ses_path, &l_state, f_r, in h_pre_hotplug_sena()
1725 WWN_list *wwn_list, int todo, in h_post_hotplug_sena() argument
1879 &code, todo, ses_path, &l_state, f_r, slot, in h_post_hotplug_sena()
1883 } else if (todo == REMOVE_DEVICE) { in h_post_hotplug_sena()
1903 } else if ((todo == INSERT_DEVICE) && in h_post_hotplug_sena()
1927 switch (todo) { in h_post_hotplug_sena()
2196 int todo, int verbose_flag) in h_post_remove_dev() argument
2430 WWN_list *wwn_list, int todo, in h_pre_hotplug() argument
2441 todo, verbose_flag, force_flag)) != 0) { in h_pre_hotplug()
2486 WWN_list *wwn_list, int todo, in h_post_hotplug() argument
2493 if (todo != INSERT_DEVICE) { in h_post_hotplug()
2502 if ((err = h_post_hotplug_sena(hotplug_dlist, wwn_list, todo, in h_post_hotplug()
2507 todo, verbose_flag)) != 0) in h_post_hotplug()
2775 h_print_list_warn(Hotplug_Devlist *disk_list_head, int todo, int enc_type) in h_print_list_warn() argument
2784 switch (todo) { in h_print_list_warn()
2853 if (todo == REMOVE_DEVICE) { in h_print_list_warn()