Lines Matching refs:pId
17287 SQLITE_PRIVATE int sqlite3OsClose(sqlite3_file *pId){
17289 if( pId->pMethods ){
17290 rc = pId->pMethods->xClose(pId);
17291 pId->pMethods = 0;
26640 struct vxworksFileId *pId; /* Unique file ID */
26664 /* This variable holds the process id (pid) from when the xRandomness()
27564 static void vxworksReleaseFileId(struct vxworksFileId *pId){
27566 assert( pId->nRef>0 );
27567 pId->nRef--;
27568 if( pId->nRef==0 ){
27570 for(pp=&vxworksFileList; *pp && *pp!=pId; pp = &((*pp)->pNext)){}
27571 assert( *pp==pId );
27572 *pp = pId->pNext;
27573 sqlite3_free(pId);
27679 struct vxworksFileId *pId; /* Unique file ID for vxworks. */
27924 fileId.pId = pFile->pId;
27956 return pFile->pInode!=0 && pFile->pId!=pFile->pInode->fileId.pId;
28169 OSTRACE(("LOCK %d %s was %s(%s,%d) pid=%d (unix)\n", pFile->h,
28198 /* If some thread using this PID has a lock via a different unixFile*
28208 /* If a SHARED lock is requested, and some thread using this PID already
28378 OSTRACE(("UNLOCK %d %d was %d(%d,%d) pid=%d (unix)\n", pFile->h, eFileLock,
28567 if( pFile->pId ){
28569 osUnlink(pFile->pId->zCanonicalName);
28571 vxworksReleaseFileId(pFile->pId);
28572 pFile->pId = 0;
28806 OSTRACE(("UNLOCK %d %d was %d pid=%d (dotlock)\n", pFile->h, eFileLock,
29024 OSTRACE(("UNLOCK %d %d was %d pid=%d (flock)\n", pFile->h, eFileLock,
29192 OSTRACE(("UNLOCK %d %d was %d pid=%d (sem)\n", pFile->h, eFileLock,
29405 OSTRACE(("LOCK %d %s was %s(%s,%d) pid=%d (afp)\n", pFile->h,
29433 /* If some thread using this PID has a lock via a different unixFile*
29443 /* If a SHARED lock is requested, and some thread using this PID already
29591 OSTRACE(("UNLOCK %d %d was %d(%d,%d) pid=%d (afp)\n", pFile->h, eFileLock,
31270 OSTRACE(("SHM-LOCK shmid-%d, pid-%d got %03x,%03x\n",
31870 ** Initialize the contents of the unixFile structure pointed to by pId.
31875 sqlite3_file *pId, /* Write to the unixFile structure here */
31880 unixFile *pNew = (unixFile *)pId;
31916 pNew->pId = vxworksFindFileId(zFilename);
31917 if( pNew->pId==0 ){
32023 pNew->pId->zCanonicalName);
32362 /* Detect a pid change and reset the PRNG. There is a race condition
33079 OSTRACE(("GETLOCKPATH failed %s errno=%d pid=%d\n",
33102 OSTRACE(("GETLOCKPATH proxy lock path=%s pid=%d\n", lPath, osGetpid(0)));
33128 "'%s' proxy lock path=%s pid=%d\n",
33138 OSTRACE(("CREATELOCKPATH proxy lock path=%s pid=%d\n", lockPath, osGetpid(0)));
33443 OSTRACE(("TAKECONCH %d for %s pid=%d\n", conchFile->h,
33653 OSTRACE(("RELEASECONCH %d for %s pid=%d\n", conchFile->h,
33796 OSTRACE(("TRANSPROXY %d for %s pid=%d\n", pFile->h,
36852 OSTRACE(("CLOSE pid=%lu, pFile=%p, file=%p\n",
36882 OSTRACE(("CLOSE pid=%lu, pFile=%p, file=%p, rc=%s\n",
36911 OSTRACE(("READ pid=%lu, pFile=%p, file=%p, buffer=%p, amount=%d, "
36921 OSTRACE(("READ-MMAP pid=%lu, pFile=%p, file=%p, rc=SQLITE_OK\n",
36936 OSTRACE(("READ pid=%lu, pFile=%p, file=%p, rc=SQLITE_FULL\n",
36951 OSTRACE(("READ pid=%lu, pFile=%p, file=%p, rc=SQLITE_IOERR_READ\n",
36960 OSTRACE(("READ pid=%lu, pFile=%p, file=%p, rc=SQLITE_IOERR_SHORT_READ\n",
36965 OSTRACE(("READ pid=%lu, pFile=%p, file=%p, rc=SQLITE_OK\n",
36989 OSTRACE(("WRITE pid=%lu, pFile=%p, file=%p, buffer=%p, amount=%d, "
36999 OSTRACE(("WRITE-MMAP pid=%lu, pFile=%p, file=%p, rc=SQLITE_OK\n",
37063 OSTRACE(("WRITE pid=%lu, pFile=%p, file=%p, rc=SQLITE_FULL\n",
37068 OSTRACE(("WRITE pid=%lu, pFile=%p, file=%p, rc=SQLITE_IOERR_WRITE\n",
37075 OSTRACE(("WRITE pid=%lu, pFile=%p, file=%p, rc=SQLITE_OK\n",
37090 OSTRACE(("TRUNCATE pid=%lu, pFile=%p, file=%p, size=%lld, lock=%d\n",
37123 OSTRACE(("TRUNCATE pid=%lu, pFile=%p, file=%p, rc=%s\n",
37169 OSTRACE(("SYNC pid=%lu, pFile=%p, file=%p, flags=%x, lock=%d\n",
37186 OSTRACE(("SYNC-NOP pid=%lu, pFile=%p, file=%p, rc=SQLITE_OK\n",
37193 OSTRACE(("SYNC-MMAP pid=%lu, pFile=%p, pMapRegion=%p, "
37198 OSTRACE(("SYNC-MMAP pid=%lu, pFile=%p, pMapRegion=%p, "
37209 OSTRACE(("SYNC pid=%lu, pFile=%p, file=%p, rc=SQLITE_OK\n",
37214 OSTRACE(("SYNC pid=%lu, pFile=%p, file=%p, rc=SQLITE_IOERR_FSYNC\n",
37931 OSTRACE(("SHM-PURGE pid=%lu, deleteFlag=%d\n",
37940 OSTRACE(("SHM-PURGE-UNMAP pid=%lu, region=%d, rc=%s\n",
37944 OSTRACE(("SHM-PURGE-CLOSE pid=%lu, region=%d, rc=%s\n",
38225 OSTRACE(("SHM-LOCK pid=%lu, id=%d, sharedMask=%03x, exclMask=%03x, rc=%s\n",
38348 OSTRACE(("SHM-MAP-CREATE pid=%lu, region=%d, size=%d, rc=%s\n",
38363 OSTRACE(("SHM-MAP-MAP pid=%lu, region=%d, offset=%d, size=%d, rc=%s\n",
38407 OSTRACE(("UNMAP-FILE pid=%lu, pFile=%p, hMap=%p, pMapRegion=%p, "
38414 OSTRACE(("UNMAP-FILE pid=%lu, pFile=%p, pMapRegion=%p, "
38427 OSTRACE(("UNMAP-FILE pid=%lu, pFile=%p, hMap=%p, rc=SQLITE_IOERR_MMAP\n",
38434 OSTRACE(("UNMAP-FILE pid=%lu, pFile=%p, rc=SQLITE_OK\n",
38460 OSTRACE(("MAP-FILE pid=%lu, pFile=%p, size=%lld\n",
38468 OSTRACE(("MAP-FILE pid=%lu, pFile=%p, rc=SQLITE_IOERR_FSTAT\n",
38507 OSTRACE(("MAP-FILE-CREATE pid=%lu, pFile=%p, rc=%s\n",
38525 OSTRACE(("MAP-FILE-MAP pid=%lu, pFile=%p, rc=%s\n",
38534 OSTRACE(("MAP-FILE pid=%lu, pFile=%p, rc=SQLITE_OK\n",
38558 OSTRACE(("FETCH pid=%lu, pFile=%p, offset=%lld, amount=%d, pp=%p\n",
38566 OSTRACE(("FETCH pid=%lu, pFile=%p, rc=%s\n",
38578 OSTRACE(("FETCH pid=%lu, pFile=%p, pp=%p, *pp=%p, rc=SQLITE_OK\n",
38605 OSTRACE(("UNFETCH pid=%lu, pFile=%p, offset=%lld, p=%p\n",
38621 OSTRACE(("UNFETCH pid=%lu, pFile=%p, rc=SQLITE_OK\n",
39780 DWORD pid = osGetCurrentProcessId();
39781 memcpy(&zBuf[n], &pid, sizeof(pid));
39782 n += sizeof(pid);
106115 Token *pId; /* Pointer to <id> token */
106131 iDb = sqlite3TwoPartName(pParse, pId1, pId2, &pId);
106142 zLeft = sqlite3NameFromToken(db, pId);