Searched refs:dirent32 (Results 1 – 2 of 2) sorted by relevance
/linux-2.4.37.9/arch/mips64/kernel/ |
D | linux32.c | 555 struct dirent32 { struct 563 xlate_dirent(void *dirent64, void *dirent32, long n) in xlate_dirent() argument 567 struct dirent32 *dirp32; in xlate_dirent() 572 dirp32 = (struct dirent32 *)(dirent32 + off); in xlate_dirent() 585 sys32_getdents(unsigned int fd, void * dirent32, unsigned int count) in sys32_getdents() argument 590 dirent64 = (void *)((unsigned long)(dirent32 + (sizeof(long) - 1)) & ~(sizeof(long) - 1)); in sys32_getdents() 591 if ((n = sys_getdents(fd, dirent64, count - (dirent64 - dirent32))) < 0) in sys32_getdents() 593 xlate_dirent(dirent64, dirent32, n); in sys32_getdents() 600 sys32_readdir(unsigned int fd, void * dirent32, unsigned int count) in sys32_readdir() argument 607 xlate_dirent(&dirent64, dirent32, dirent64.d_reclen); in sys32_readdir()
|
/linux-2.4.37.9/arch/x86_64/ia32/ |
D | ia32_ioctl.c | 2903 struct dirent32 { struct 2910 #define VFAT_IOCTL_READDIR_BOTH32 _IOR('r', 1, struct dirent32 [2]) argument 2911 #define VFAT_IOCTL_READDIR_SHORT32 _IOR('r', 2, struct dirent32 [2]) 2913 static int put_dirent32(struct dirent *src, struct dirent32 *dst) in put_dirent32() 2934 ret |= put_dirent32(&d[0], (struct dirent32 *)ptr); in vfat_ioctl32() 2935 ret |= put_dirent32(&d[1], ((struct dirent32 *)ptr) + 1); in vfat_ioctl32()
|