Lines Matching refs:ugc

357 	ufm_ioc_getcaps_t ugc = { 0 };  in do_negative_ioctl_tests()  local
405 ugc.ufmg_version = 0; in do_negative_ioctl_tests()
406 (void) strlcpy(ugc.ufmg_devpath, UFMTEST_DEV, MAXPATHLEN); in do_negative_ioctl_tests()
407 if (try_ioctl(tst_state->ufts_ufm_fd, UFM_IOC_GETCAPS, &ugc, in do_negative_ioctl_tests()
416 ugc.ufmg_version = 999; in do_negative_ioctl_tests()
417 (void) strlcpy(ugc.ufmg_devpath, UFMTEST_DEV, MAXPATHLEN); in do_negative_ioctl_tests()
418 if (try_ioctl(tst_state->ufts_ufm_fd, UFM_IOC_GETCAPS, &ugc, in do_negative_ioctl_tests()
432 ugc.ufmg_version = DDI_UFM_CURRENT_VERSION; in do_negative_ioctl_tests()
433 ugc.ufmg_devpath[0] = '\0'; in do_negative_ioctl_tests()
434 if (try_ioctl(tst_state->ufts_ufm_fd, UFM_IOC_GETCAPS, &ugc, in do_negative_ioctl_tests()
443 (void) strlcpy(ugc.ufmg_devpath, "/usr/bin/ls", MAXPATHLEN); in do_negative_ioctl_tests()
444 if (try_ioctl(tst_state->ufts_ufm_fd, UFM_IOC_GETCAPS, &ugc, in do_negative_ioctl_tests()
453 (void) strlcpy(ugc.ufmg_devpath, "/dev/stdout", MAXPATHLEN); in do_negative_ioctl_tests()
454 if (try_ioctl(tst_state->ufts_ufm_fd, UFM_IOC_GETCAPS, &ugc, in do_negative_ioctl_tests()
463 (void) strncpy(ugc.ufmg_devpath, no_nul, MAXPATHLEN); in do_negative_ioctl_tests()
464 if (try_ioctl(tst_state->ufts_ufm_fd, UFM_IOC_GETCAPS, &ugc, in do_negative_ioctl_tests()
473 (void) strlcpy(ugc.ufmg_devpath, (char *)not_ascii, MAXPATHLEN); in do_negative_ioctl_tests()
474 if (try_ioctl(tst_state->ufts_ufm_fd, UFM_IOC_GETCAPS, &ugc, in do_negative_ioctl_tests()
722 ufm_ioc_getcaps_t ugc = { 0 }; in do_negative_callback_tests() local
770 ugc.ufmg_version = DDI_UFM_CURRENT_VERSION; in do_negative_callback_tests()
771 (void) strlcpy(ugc.ufmg_devpath, UFMTEST_DEV, MAXPATHLEN); in do_negative_callback_tests()
772 if (try_ioctl(tst_state->ufts_ufm_fd, UFM_IOC_GETCAPS, &ugc, in do_negative_callback_tests()