Home
last modified time | relevance | path

Searched refs:force_flag (Results 1 – 12 of 12) sorted by relevance

/illumos-gate/usr/src/cmd/modload/
H A Dupdate_drv.c46 unload_drv(char *driver_name, int force_flag, int verbose_flag) in unload_drv() argument
54 if (force_flag == 0) { /* no force flag */ in unload_drv()
88 int force_flag = 0; /* -f option */ in main() local
132 force_flag++; in main()
242 if (force_flag == 0) { /* no force flag */ in main()
254 if (force_flag == 0) { /* no force flag */ in main()
334 if ((force_flag == 0) && ((error = in main()
450 if (rval == ERROR && (force_flag == 0)) { in main()
460 if (error != NOERR && (force_flag == 0)) { in main()
479 if (force_flag) in main()
[all …]
H A Dadd_drv.c103 int force_flag = 0; in main() local
141 force_flag++; in main()
367 if (!force_flag) { in main()
373 print_drv_conflict_info(force_flag); in main()
381 print_drv_conflict_info(force_flag); in main()
/illumos-gate/usr/src/lib/storage/liba5k/common/
H A Dlhot.c703 online_dev(struct dlist *dl_head, int force_flag) in online_dev() argument
708 (void) g_online_drive(dl->multipath, force_flag); in online_dev()
729 int force_flag, int verbose_flag) in l_offline_photon() argument
762 (void) online_dev(dl_head, force_flag); in l_offline_photon()
770 (void) online_dev(dl_head, force_flag); in l_offline_photon()
782 (void) online_dev(dl_head, force_flag); in l_offline_photon()
787 force_flag)) != 0) { in l_offline_photon()
791 (void) online_dev(dl_head, force_flag); in l_offline_photon()
806 (void) online_dev(dl_head, force_flag); in l_offline_photon()
814 (void) online_dev(dl_head, force_flag); in l_offline_photon()
[all …]
H A Ddiag.c209 int front_flag, int force_flag, int verbose) in l_bp_bypass_enable() argument
231 if (!force_flag && bypass_flag) { in l_bp_bypass_enable()
399 int force_flag, int port_a_flag, int verbose) in l_dev_bypass_enable() argument
552 if ((!(force_flag | path_struct->ib_path_flag)) && in l_dev_bypass_enable()
H A Dmon.c799 int power_off_flag, int verbose, int force_flag) in l_dev_pwr_up_down() argument
887 if (power_off_flag && !force_flag) { in l_dev_pwr_up_down()
993 int verbose, int force_flag) in l_pho_pwr_up_down() argument
1014 if (power_off_flag && !force_flag) { in l_pho_pwr_up_down()
/illumos-gate/usr/src/cmd/luxadm/
H A Dhotplug.c192 h_get_fcdev_state(char *fc_dev, char *path_phys, int force_flag, in h_get_fcdev_state() argument
225 if (!force_flag) { in h_get_fcdev_state()
333 int *busy_flag, int force_flag, int verbose_flag) in h_chk_dev_busy() argument
340 force_flag, verbose_flag)) != 0) { in h_chk_dev_busy()
350 force_flag); in h_chk_dev_busy()
354 force_flag)) != 0) { in h_chk_dev_busy()
361 (void) g_online_drive(hotplug_dev->dlhead, force_flag); in h_chk_dev_busy()
485 hotplug(int todo, char **argv, int verbose_flag, int force_flag) in hotplug() argument
709 path_phys, force_flag, in hotplug()
774 if (!force_flag) { in hotplug()
[all …]
H A Dx86_adm.c468 int hotplug_e(int todo, char **argv, int verbose_flag, int force_flag) { in hotplug_e() argument
482 int hotplug(int todo, char **argv, int verbose_flag, int force_flag) { in hotplug() argument
H A Dfchba.c2031 fchba_hotplug_e(int todo, char **argv, int verbose_flag, int force_flag) in fchba_hotplug_e() argument
2061 force_flag ? 0 : DC_EXCL)) == NULL) { in fchba_hotplug_e()
/illumos-gate/usr/src/lib/storage/libg_fc/common/
H A Dhot.c347 g_offline_drive(struct dlist *dl, int force_flag) in g_offline_drive() argument
357 force_flag ? 0 : DC_EXCL)) == NULL) { in g_offline_drive()
366 if ((devctl_device_offline(devhdl) != 0) && !force_flag) { in g_offline_drive()
390 g_online_drive(struct dlist *dl, int force_flag) in g_online_drive() argument
397 force_flag ? 0 : DC_EXCL)) != NULL) { in g_online_drive()
/illumos-gate/usr/src/uts/common/io/rsm/
H A Drsm.c1999 rsmseg_close(rsmseg_t *seg, int force_flag) in rsmseg_close() argument
2008 if (!force_flag && (seg->s_hdr.rsmrc_type == in rsmseg_close()
2033 if (e != RSM_SUCCESS && force_flag == 1) in rsmseg_close()
2103 if (force_flag) { in rsmseg_close()
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevfsadm.c516 int force_flag = FALSE; in parse_args() local
634 force_flag = TRUE; in parse_args()
713 if (force_flag) in parse_args()
/illumos-gate/usr/src/uts/common/os/
H A Dsunmdi.c8288 flush_vhcache(mdi_vhci_config_t *vhc, int force_flag) in flush_vhcache() argument
8300 if (force_flag == 0 && !i_ddi_io_initialized()) in flush_vhcache()