Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/cdrw/
H A Ddumpinfo.c57 if (check_device(target, CHECK_DEVICE_NOT_READY)) { in info()
58 (void) check_device(target, CHECK_NO_MEDIA | in info()
60 (void) check_device(target, CHECK_DEVICE_NOT_READY | in info()
118 if (!check_device(target, CHECK_MEDIA_IS_NOT_BLANK)) { in info()
H A Dmain.c403 (void) check_device(target, CHECK_TYPE_NOT_CDROM|EXIT_IF_CHECK_FAILED); in main()
405 if (check_device(target, CHECK_NO_MEDIA) == 0) { in main()
408 if (check_device(target, CHECK_DEVICE_NOT_READY) == 0) in main()
468 (void) check_device(target, CHECK_NO_MEDIA | in main()
472 if (!check_device(target, CHECK_MEDIA_IS_NOT_BLANK)) in main()
H A Dblank.c74 (void) check_device(target, CHECK_TYPE_NOT_CDROM | CHECK_NO_MEDIA | in blank()
76 (void) check_device(target, CHECK_DEVICE_NOT_READY | in blank()
253 if (check_device(target, CHECK_MEDIA_IS_NOT_BLANK)) { in blank()
H A Dcopycd.c203 (void) check_device(target, in copy_cd()
226 (void) check_device(src, CHECK_TYPE_NOT_CDROM | CHECK_NO_MEDIA | in copy_cd()
312 (device_type != DVD_PLUS_W) && (!check_device(target, in copy_cd()
370 ((device_type == DVD_PLUS_W)? check_device(target, CHECK_NO_MEDIA): in copy_cd()
371 check_device(target, CHECK_NO_MEDIA|CHECK_MEDIA_IS_NOT_BLANK))); in copy_cd()
H A Dwrite_image.c51 (void) check_device(target, CHECK_DEVICE_NOT_READY | in write_image()
55 (void) check_device(target, CHECK_DEVICE_NOT_READY | in write_image()
H A Ddevice.h76 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.c98 (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.c298 (void) check_device(target, CHECK_NO_MEDIA | CHECK_DEVICE_NOT_READY | in extract_audio()
/illumos-gate/usr/src/test/nvme-tests/cmd/
H A Dnon-destructive.ksh49 function check_device function
82 check_device
/illumos-gate/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);
/illumos-gate/usr/src/cmd/ttymon/
H A Dtmextern.h152 extern int check_device(char *);
H A Dtmutil.c55 check_device(char *device) in check_device() function
H A Dttyadm.c185 if (check_device(ptr->p_device) != 0) in main()
H A Dtmpmtab.c753 if (check_device(p->p_device) != 0) in check_pmtab()
/illumos-gate/usr/src/cmd/rmformat/
H A Drmf_misc.c108 int check_device(device_t *dev, int cond);
1204 if (check_device(t_dev, in find_device()
1207 } else if (check_device(t_dev, in find_device()
1210 } else if (check_device(t_dev, in find_device()
1392 check_device(device_t *dev, int cond) in check_device() function
/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_vdev.c258 check_device(const char *path, boolean_t force, boolean_t isspare) in check_device() function
1195 ret = check_device(path, force, isspare); in is_device_in_use()
/illumos-gate/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 …]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dbuiltins.c853 if (! *device || ! check_device (device)) in device_func()