Searched refs:dd_loc (Results 1 – 16 of 16) sorted by relevance
66 dp = (dirent_t *)(uintptr_t)&dirp->dd_buf[dirp->dd_loc]; in readdir()67 saveloc = dirp->dd_loc; /* save for possible EOF */ in readdir()68 dirp->dd_loc += (int)dp->d_reclen; in readdir()70 if (dirp->dd_loc >= dirp->dd_size) in readdir()71 dirp->dd_loc = dirp->dd_size = 0; in readdir()77 dirp->dd_loc = saveloc; /* so save for telldir */ in readdir()81 return ((dirent_t *)(uintptr_t)&dirp->dd_buf[dirp->dd_loc]); in readdir()97 dp64 = (dirent64_t *)(uintptr_t)&dirp->dd_buf[dirp->dd_loc]; in readdir64()108 saveloc = dirp->dd_loc; /* save for possible EOF */ in readdir64()109 dirp->dd_loc += (int)dp64->d_reclen; in readdir64()[all …]
64 dp = (dirent_t *)(uintptr_t)&dirp->dd_buf[dirp->dd_loc]; in readdir_r()65 saveloc = dirp->dd_loc; /* save for possible EOF */ in readdir_r()66 dirp->dd_loc += (int)dp->d_reclen; in readdir_r()69 if (dirp->dd_loc >= dirp->dd_size) in readdir_r()70 dirp->dd_loc = dirp->dd_size = 0; in readdir_r()76 dirp->dd_loc = saveloc; /* so save for telldir */ in readdir_r()86 dp = (dirent_t *)(uintptr_t)&dirp->dd_buf[dirp->dd_loc]; in readdir_r()109 dp64 = (dirent64_t *)(uintptr_t)&dirp->dd_buf[dirp->dd_loc]; in readdir64_r()120 saveloc = dirp->dd_loc; /* save for possible EOF */ in readdir64_r()121 dirp->dd_loc += (int)dp64->d_reclen; in readdir64_r()[all …]
59 dp = (dirent_t *)(uintptr_t)&dirp->dd_buf[dirp->dd_loc]; in seekdir()63 dirp->dd_loc = 0; in seekdir()92 dp64 = (dirent64_t *)(uintptr_t)&dirp->dd_buf[dirp->dd_loc]; in seekdir64()106 dirp->dd_loc = 0; in seekdir64()
62 dp = (dirent_t *)(uintptr_t)(&dirp->dd_buf[dirp->dd_loc]); in telldir()86 dp64 = (dirent64_t *)(uintptr_t)(&dirp->dd_buf[dirp->dd_loc]); in telldir64()
72 dirp->dd_loc = 0; in fdopendir()
64 dp = (struct dirent64 *)&dirp->dd_buf[dirp->dd_loc]; in internal_readdir()65 saveloc = dirp->dd_loc; /* save for possible EOF */ in internal_readdir()66 dirp->dd_loc += dp->d_reclen; in internal_readdir()68 if (dirp->dd_loc >= dirp->dd_size) in internal_readdir()69 dirp->dd_loc = dirp->dd_size = 0; in internal_readdir()75 dirp->dd_loc = saveloc; /* EOF so save for telldir */ in internal_readdir()79 dp = (struct dirent64 *)&dirp->dd_buf[dirp->dd_loc]; in internal_readdir()
46 if (dirp->dd_loc >= dirp->dd_size)49 dirp->dd_loc = 0;53 dp = (struct dirent*)((char*)dirp->dd_buf + dirp->dd_loc);55 dirp->dd_loc += dp->d_reclen;
40 return(lseek(dirp->dd_fd, 0L, SEEK_CUR) + (long)dirp->dd_loc);
49 dirp->dd_loc = dirp->dd_size = 0;
79 dirp->dd_loc = dirp->dd_size = 0; /* refill needed */
131 int dd_loc; /* offset in block */ \
512 dp->dd_loc = 0; in rst_initdirfile()559 return ((pos - tdirp->dd_size) + tdirp->dd_loc); in rst_telldir()580 sdirp->dd_loc = loc & (DIRBLKSIZ - 1); in rst_seekdir()581 if (sdirp->dd_loc != 0) in rst_seekdir()594 if (rdirp->dd_loc == 0) { in rst_readdir()603 if (rdirp->dd_loc >= rdirp->dd_size) { in rst_readdir()604 rdirp->dd_loc = 0; in rst_readdir()608 dp = (struct direct *)(rdirp->dd_buf + rdirp->dd_loc); in rst_readdir()610 (long)dp->d_reclen > (DIRBLKSIZ + 1 - rdirp->dd_loc)) { in rst_readdir()616 rdirp->dd_loc += dp->d_reclen; in rst_readdir()
159 off64_t dd_loc; member
129 int dd_loc; member
121 int dd_loc; member
55 int dd_loc; /* offset in block */ member