Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/libc/port/gen/
H A Dfdopendir.c52 private_DIR *pdirp = lmalloc(sizeof (*pdirp)); in fdopendir() local
53 DIR *dirp = (DIR *)pdirp; in fdopendir()
58 if (pdirp == NULL || buf == NULL) in fdopendir()
76 (void) mutex_init(&pdirp->dd_lock, USYNC_THREAD, NULL); in fdopendir()
80 if (pdirp != NULL) in fdopendir()
81 lfree(pdirp, sizeof (*pdirp)); in fdopendir()
H A Dreaddir_r.c60 private_DIR *pdirp = (private_DIR *)dirp; in readdir_r() local
64 lmutex_lock(&pdirp->dd_lock); in readdir_r()
79 lmutex_unlock(&pdirp->dd_lock); in readdir_r()
83 lmutex_unlock(&pdirp->dd_lock); in readdir_r()
90 lmutex_unlock(&pdirp->dd_lock); in readdir_r()
105 private_DIR *pdirp = (private_DIR *)(uintptr_t)dirp; in readdir64_r() local
109 lmutex_lock(&pdirp->dd_lock); in readdir64_r()
134 lmutex_unlock(&pdirp->dd_lock); in readdir64_r()
138 lmutex_unlock(&pdirp->dd_lock); in readdir64_r()
146 lmutex_unlock(&pdirp->dd_lock); in readdir64_r()
H A Dtelldir.c57 private_DIR *pdirp = (private_DIR *)dirp; in telldir() local
61 lmutex_lock(&pdirp->dd_lock); in telldir()
67 lmutex_unlock(&pdirp->dd_lock); in telldir()
81 private_DIR *pdirp = (private_DIR *)(uintptr_t)dirp; in telldir64() local
85 lmutex_lock(&pdirp->dd_lock); in telldir64()
101 lmutex_unlock(&pdirp->dd_lock); in telldir64()
H A Dseekdir.c55 private_DIR *pdirp = (private_DIR *)dirp; in seekdir() local
59 lmutex_lock(&pdirp->dd_lock); in seekdir()
75 lmutex_unlock(&pdirp->dd_lock); in seekdir()
88 private_DIR *pdirp = (private_DIR *)(uintptr_t)dirp; in seekdir64() local
92 lmutex_lock(&pdirp->dd_lock); in seekdir64()
118 lmutex_unlock(&pdirp->dd_lock); in seekdir64()
H A Dclosedir.c51 private_DIR *pdirp = (private_DIR *)(uintptr_t)dirp; in closedir() local
54 (void) mutex_destroy(&pdirp->dd_lock); in closedir()
56 lfree(pdirp, sizeof (*pdirp)); in closedir()
/titanic_44/usr/src/cmd/fs.d/ufs/fsck/
H A Dpass3.c329 struct dinode *dp, *pdirp; in pass3acheck() local
360 pdirp = ginode(idesc->id_number); in pass3acheck()
361 dirtype = (pdirp->di_mode & IFMT); in pass3acheck()
H A Dpass2.c403 struct dinode *dp, *pdirp, *attrdirp; in pass2check() local
888 pdirp = ginode(idesc->id_number); in pass2check()
889 pdirtype = (pdirp->di_mode & IFMT); in pass2check()
1003 pdirp = ginode( in pass2check()
1005 if (pdirp->di_oeftflag in pass2check()
1007 pdirp->di_oeftflag = 0; in pass2check()