Home
last modified time | relevance | path

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

/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dunix_io.c67 #define DEV_FD(dev) (*(int *)dev->d_private) macro
157 r = ioctl(DEV_FD(dev), BLKROGET, &state); in ntfs_device_unix_io_open()
160 if (close(DEV_FD(dev))) in ntfs_device_unix_io_open()
177 if (fcntl(DEV_FD(dev), F_SETLK, &flk)) { in ntfs_device_unix_io_open()
181 if (close(DEV_FD(dev))) in ntfs_device_unix_io_open()
213 if (ntfs_fsync(DEV_FD(dev))) { in ntfs_device_unix_io_close()
222 if (fcntl(DEV_FD(dev), F_SETLK, &flk)) in ntfs_device_unix_io_close()
224 if (close(DEV_FD(dev))) { in ntfs_device_unix_io_close()
247 return lseek(DEV_FD(dev), offset, whence); in ntfs_device_unix_io_seek()
263 return read(DEV_FD(dev), buf, count); in ntfs_device_unix_io_read()
[all …]