Lines Matching defs:todo

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