Lines Matching refs:pszDevice
108 sal_Char pszDevice[PATH_MAX]; member
535 pHandle->pszDevice[0] = '\0'; in osl_newVolumeDeviceHandleImpl()
625 strncpy( pHandle->pszDevice, aMountEnt.mnt_special, len ); in osl_isFloppyDrive()
626 pHandle->pszDevice[len] = '\0'; in osl_isFloppyDrive()
631 memset(pHandle->pszDevice, 0, sizeof(pHandle->pszDevice)); in osl_isFloppyDrive()
632 …strncpy(pHandle->pszDevice, aMountEnt.mnt_special, sizeof(pHandle->pszDevice) - 1); … in osl_isFloppyDrive()
665 snprintf(pszCmd, sizeof(pszCmd), "eject -q %s > /dev/null 2>&1", pHandle->pszDevice); in osl_mountFloppy()
681 … if ( 0 == strncmp( pHandle->pszDevice, aMountEnt.mnt_special, strlen(pHandle->pszDevice) ) ) in osl_mountFloppy()
722 snprintf(pszCmd, sizeof(pszCmd), "eject %s > /dev/null 2>&1", pHandle->pszDevice); in osl_unmountFloppy()
741 … if ( 0 == strncmp( pHandle->pszDevice, aMountEnt.mnt_special, strlen(pHandle->pszDevice) ) ) in osl_unmountFloppy()
864 …snprintf(pszCmd, sizeof(pszCmd), "%s %s %s %s",pszSuDo,pszMountProg,pItem->pszDevice,pItem->pszMou… in osl_mountFloppy()
1052 memset(pItem->pszDevice, 0, sizeof(pItem->pszDevice)); in osl_getFloppyMountEntry()
1053 strncpy(pItem->pszDevice, pMountEnt->mnt_fsname, sizeof(pItem->pszDevice) - 1); in osl_getFloppyMountEntry()
1073 && strcmp (aItem.pszDevice, pDevice->pszDevice) == 0) in osl_isFloppyMounted()
1146 fprintf(stderr,"Device : '%s'\n",pItem->pszDevice); in osl_printFloppyHandle()