Home | History | Annotate | Download | only in Support

Lines Matching refs:mFD

36   : mFD(-1),
73 mFD = ::open(mName.c_str(), mOpenFlags, 0644);
74 if (mFD > 0) {
89 // Check the file integrity by examining whether the inode referring to the mFD
93 // Get the file status of file descriptor mFD.
95 if (::fstat(mFD, &fd_stat) == 0) {
130 if ((mFD < 0) || hasError()) {
154 if (::flock(mFD, lock_operation) == 0) {
156 // Here we got a lock but we need to check whether the mFD still
158 // check may failed when another process deleted the original file mFD
198 if (mFD < 0) {
203 if (::flock(mFD, LOCK_UN) == 0) {
215 if (mFD < 0 || hasError()) {
225 if (!map->create(NULL, mFD, pOffset, pLength, pIsReadOnly)) {
235 if (mFD < 0 || hasError()) {
241 if (::fstat(mFD, &file_stat) == 0) {
253 if ((mFD < 0) || hasError()) {
258 off_t result = ::lseek(mFD, pOffset, SEEK_SET);
269 if ((mFD < 0) || hasError()) {
274 off_t result = ::lseek(mFD, 0, SEEK_CUR);
289 if (mFD > 0) {
290 ::close(mFD);
291 mFD = -1;