Home
last modified time | relevance | path

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

/third_party/ntfs-3g/libntfs-3g/
Dunix_io.c67 #define DEV_FD(dev) (*(int *)dev->d_private)
134 dev->d_private = ntfs_malloc(sizeof(int)); in ntfs_device_unix_io_open()
135 if (!dev->d_private) in ntfs_device_unix_io_open()
143 *(int*)dev->d_private = open(dev->d_name, flags); in ntfs_device_unix_io_open()
144 if (*(int*)dev->d_private == -1) { in ntfs_device_unix_io_open()
189 free(dev->d_private); in ntfs_device_unix_io_open()
190 dev->d_private = NULL; in ntfs_device_unix_io_open()
229 free(dev->d_private); in ntfs_device_unix_io_close()
230 dev->d_private = NULL; in ntfs_device_unix_io_close()
Dwin32_io.c1261 dev->d_private = (win32_fd*)ntfs_malloc(sizeof(win32_fd)); in ntfs_device_win32_open()
1262 memcpy(dev->d_private, &fd, sizeof(win32_fd)); in ntfs_device_win32_open()
1286 win32_fd *fd = (win32_fd *)dev->d_private; in ntfs_device_win32_seek()
1446 win32_fd *fd = (win32_fd *)dev->d_private; in ntfs_device_win32_read()
1532 win32_fd *fd = (win32_fd *)dev->d_private; in ntfs_device_win32_close()
1582 win32_fd *fd = (win32_fd *)dev->d_private; in ntfs_device_win32_sync()
1639 win32_fd *fd = (win32_fd *)dev->d_private; in ntfs_device_win32_write()
1770 win32_fd *fd = (win32_fd *)dev->d_private; in ntfs_device_win32_stat()
1813 win32_fd *fd = (win32_fd *)dev->d_private; in ntfs_win32_hdio_getgeo()
1835 win32_fd *fd = (win32_fd *)dev->d_private; in ntfs_win32_blksszget()
[all …]
Ddevice.c134 dev->d_private = priv_data; in ntfs_device_alloc()
/third_party/ntfs-3g/include/ntfs-3g/
Ddevice.h87 void *d_private; /* Private data used by the member