Home
last modified time | relevance | path

Searched refs:check_device (Results 1 – 21 of 21) sorted by relevance

/titanic_41/usr/src/cmd/cdrw/
H A Ddumpinfo.c59 if (check_device(target, CHECK_DEVICE_NOT_READY)) { in info()
60 (void) check_device(target, CHECK_NO_MEDIA | in info()
62 (void) check_device(target, CHECK_DEVICE_NOT_READY | in info()
120 if (!check_device(target, CHECK_MEDIA_IS_NOT_BLANK)) { in info()
H A Dmain.c405 (void) check_device(target, CHECK_TYPE_NOT_CDROM|EXIT_IF_CHECK_FAILED); in main()
407 if (check_device(target, CHECK_NO_MEDIA) == 0) { in main()
410 if (check_device(target, CHECK_DEVICE_NOT_READY) == 0) in main()
470 (void) check_device(target, CHECK_NO_MEDIA | in main()
474 if (!check_device(target, CHECK_MEDIA_IS_NOT_BLANK)) in main()
H A Dblank.c76 (void) check_device(target, CHECK_TYPE_NOT_CDROM | CHECK_NO_MEDIA | in blank()
78 (void) check_device(target, CHECK_DEVICE_NOT_READY | in blank()
255 if (check_device(target, CHECK_MEDIA_IS_NOT_BLANK)) { in blank()
H A Dcopycd.c205 (void) check_device(target, in copy_cd()
228 (void) check_device(src, CHECK_TYPE_NOT_CDROM | CHECK_NO_MEDIA | in copy_cd()
314 (device_type != DVD_PLUS_W) && (!check_device(target, in copy_cd()
372 ((device_type == DVD_PLUS_W)? check_device(target, CHECK_NO_MEDIA): in copy_cd()
373 check_device(target, CHECK_NO_MEDIA|CHECK_MEDIA_IS_NOT_BLANK))); in copy_cd()
H A Dwrite_image.c53 (void) check_device(target, CHECK_DEVICE_NOT_READY | in write_image()
57 (void) check_device(target, CHECK_DEVICE_NOT_READY | in write_image()
H A Ddevice.h78 int check_device(cd_device *dev, int cond);
H A Dmisc_scsi.c763 if (check_device(dev, CHECK_NO_MEDIA) == 0) { in eject_media()
1065 check_device(target, CHECK_MEDIA_IS_NOT_BLANK) && in write_init()
1066 !check_device(target, CHECK_MEDIA_IS_NOT_ERASABLE) && in write_init()
1168 } else if (check_device(target, CHECK_MEDIA_IS_NOT_BLANK)) { in write_fini()
H A Dwrite_audio.c100 (void) check_device(target, CHECK_DEVICE_NOT_READY | in write_audio()
H A Ddevice.c593 is_writer = !(check_device(t_dev, CHECK_DEVICE_NOT_WRITABLE)); in scan_for_cd_device()
644 check_device(cd_device *dev, int cond) in check_device() function
H A Ddae.c300 (void) check_device(target, CHECK_NO_MEDIA | CHECK_DEVICE_NOT_READY | in extract_audio()
/titanic_41/usr/src/grub/grub-0.97/lib/
H A Ddevice.c443 check_device (const char *device) in check_device() function
699 if (check_device (name)) in init_device_map()
749 if (check_device (name)) in init_device_map()
769 if (check_device (name)) in init_device_map()
789 if (check_device (name)) in init_device_map()
818 if (check_device (name)) in init_device_map()
H A Ddevice.h37 extern int check_device (const char *device);
/titanic_41/usr/src/cmd/ttymon/
H A Dttyadm.c68 extern int check_device();
197 if (check_device(ptr->p_device) != 0) in main()
H A Dtmextern.h107 extern int check_device();
H A Dtmutil.c58 check_device(char *device) in check_device() function
H A Dtmpmtab.c762 if (check_device(p->p_device) != 0)
/titanic_41/usr/src/cmd/rmformat/
H A Drmf_misc.c108 int check_device(device_t *dev, int cond);
1202 if (check_device(t_dev, in find_device()
1205 } else if (check_device(t_dev, in find_device()
1208 } else if (check_device(t_dev, in find_device()
1390 check_device(device_t *dev, int cond) in check_device() function
/titanic_41/usr/src/cmd/zpool/
H A Dzpool_vdev.c256 check_device(const char *path, boolean_t force, boolean_t isspare) in check_device() function
1068 ret = check_device(path, force, isspare); in is_device_in_use()
/titanic_41/usr/src/cmd/rcm_daemon/common/
H A Dsvm_rcm.c209 static int check_device(deventry_t *deventry);
496 if (check_device(deventry) == REDUNDANT) { in svm_offline()
2955 check_device(deventry_t *deventry) in check_device() function
/titanic_41/usr/src/grub/grub-0.97/
H A DChangeLog954 * lib/device.c (check_device): If DEVICE is empty, just return
4320 (check_device): Likewise.
4332 (check_device): Likewise.
5143 (check_device) [__linux__] [CDROM_GET_CAPABILITY]: If ioctl for
5322 (check_device) [__linux__]: Skip the HDIO_GETGEO ioctl if the
5895 * grub/asmstub.c (check_device) [__linux__]: Check if DEVICE is
6111 nul_terminate before calling check_device.
6160 into the device map file even if check_device fails.
7443 * stage2/builtins.c (device_func) [GRUB_UTIL]: Use check_device
7445 * grub/asmstub.c (check_device): New function.
[all …]
/titanic_41/usr/src/grub/grub-0.97/stage2/
H A Dbuiltins.c850 if (! *device || ! check_device (device)) in device_func()