Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/io/disktest/
Dsfunc.c599 struct devinfo *my_devinfo = NULL; in get_vsiz() local
607 my_devinfo = (struct devinfo *)ALLOC(sizeof(struct devinfo)); in get_vsiz()
608 if (my_devinfo != NULL) { in get_vsiz()
609 memset(my_devinfo, 0, sizeof(struct devinfo)); in get_vsiz()
610 if (ioctl(fd, IOCINFO, my_devinfo) == -1) in get_vsiz()
613 if (my_devinfo->flags & DF_LGDSK) { in get_vsiz()
615 (unsigned long)my_devinfo->un.scdk64. in get_vsiz()
621 (unsigned long)my_devinfo->un.scdk64. in get_vsiz()
628 (unsigned long)my_devinfo->un.scdk.numblks; in get_vsiz()
634 FREE(my_devinfo); in get_vsiz()