Lines Matching defs:pId
17287 SQLITE_PRIVATE int sqlite3OsClose(sqlite3_file *pId){
17289 if( pId->pMethods ){
17290 rc = pId->pMethods->xClose(pId);
17291 pId->pMethods = 0;
26647 struct vxworksFileId *pId; /* Unique file ID */
26671 /* This variable holds the process id (pid) from when the xRandomness()
27582 static void vxworksReleaseFileId(struct vxworksFileId *pId){
27584 assert( pId->nRef>0 );
27585 pId->nRef--;
27586 if( pId->nRef==0 ){
27588 for(pp=&vxworksFileList; *pp && *pp!=pId; pp = &((*pp)->pNext)){}
27589 assert( *pp==pId );
27590 *pp = pId->pNext;
27591 sqlite3_free(pId);
27697 struct vxworksFileId *pId; /* Unique file ID for vxworks. */
27942 fileId.pId = pFile->pId;
27974 return pFile->pInode!=0 && pFile->pId!=pFile->pInode->fileId.pId;
28187 OSTRACE(("LOCK %d %s was %s(%s,%d) pid=%d (unix)\n", pFile->h,
28216 /* If some thread using this PID has a lock via a different unixFile*
28226 /* If a SHARED lock is requested, and some thread using this PID already
28396 OSTRACE(("UNLOCK %d %d was %d(%d,%d) pid=%d (unix)\n", pFile->h, eFileLock,
28585 if( pFile->pId ){
28587 osUnlink(pFile->pId->zCanonicalName);
28589 vxworksReleaseFileId(pFile->pId);
28590 pFile->pId = 0;
28824 OSTRACE(("UNLOCK %d %d was %d pid=%d (dotlock)\n", pFile->h, eFileLock,
29042 OSTRACE(("UNLOCK %d %d was %d pid=%d (flock)\n", pFile->h, eFileLock,
29210 OSTRACE(("UNLOCK %d %d was %d pid=%d (sem)\n", pFile->h, eFileLock,
29423 OSTRACE(("LOCK %d %s was %s(%s,%d) pid=%d (afp)\n", pFile->h,
29451 /* If some thread using this PID has a lock via a different unixFile*
29461 /* If a SHARED lock is requested, and some thread using this PID already
29609 OSTRACE(("UNLOCK %d %d was %d(%d,%d) pid
31288 OSTRACE(("SHM-LOCK shmid-%d, pid-%d got %03x,%03x\n",
31888 ** Initialize the contents of the unixFile structure pointed to by pId.
31893 sqlite3_file *pId, /* Write to the unixFile structure here */
31898 unixFile *pNew = (unixFile *)pId;
31934 pNew->pId = vxworksFindFileId(zFilename);
31935 if( pNew->pId==0 ){
32041 pNew->pId->zCanonicalName);
32380 /* Detect a pid change and reset the PRNG. There is a race condition
33097 OSTRACE(("GETLOCKPATH failed %s errno=%d pid=%d\n",
33120 OSTRACE(("GETLOCKPATH proxy lock path=%s pid=%d\n", lPath, osGetpid(0)));
33146 "'%s' proxy lock path=%s pid=%d\n",
33156 OSTRACE(("CREATELOCKPATH proxy lock path=%s pid=%d\n", lockPath, osGetpid(0)));
33461 OSTRACE(("TAKECONCH %d for %s pid=%d\n", conchFile->h,
33671 OSTRACE(("RELEASECONCH %d for %s pid=%d\n", conchFile->h,
33814 OSTRACE(("TRANSPROXY %d for %s pid=%d\n", pFile->h,
36870 OSTRACE(("CLOSE pid=%lu, pFile=%p, file=%p\n",
36900 OSTRACE(("CLOSE pid=%lu, pFile=%p, file=%p, rc=%s\n",
36929 OSTRACE(("READ pid=%lu, pFile=%p, file=%p, buffer=%p, amount=%d, "
36939 OSTRACE(("READ-MMAP pid=%lu, pFile=%p, file=%p, rc=SQLITE_OK\n",
36954 OSTRACE(("READ pid=%lu, pFile=%p, file=%p, rc=SQLITE_FULL\n",
36969 OSTRACE(("READ pid=%lu, pFile=%p, file=%p, rc=SQLITE_IOERR_READ\n",
36978 OSTRACE(("READ pid=%lu, pFile=%p, file=%p, rc=SQLITE_IOERR_SHORT_READ\n",
36983 OSTRACE(("READ pid=%lu, pFile=%p, file=%p, rc=SQLITE_OK\n",
37007 OSTRACE(("WRITE pid=%lu, pFile=%p, file=%p, buffer=%p, amount=%d, "
37017 OSTRACE(("WRITE-MMAP pid=%lu, pFile=%p, file=%p, rc=SQLITE_OK\n",
37081 OSTRACE(("WRITE pid=%lu, pFile=%p, file=%p, rc=SQLITE_FULL\n",
37086 OSTRACE(("WRITE pid=%lu, pFile=%p, file=%p, rc=SQLITE_IOERR_WRITE\n",
37093 OSTRACE(("WRITE pid=%lu, pFile=%p, file=%p, rc=SQLITE_OK\n",
37108 OSTRACE(("TRUNCATE pid=%lu, pFile=%p, file=%p, size=%lld, lock=%d\n",
37141 OSTRACE(("TRUNCATE pid=%lu, pFile=%p, file=%p, rc=%s\n",
37187 OSTRACE(("SYNC pid=%lu, pFile=%p, file=%p, flags=%x, lock=%d\n",
37204 OSTRACE(("SYNC-NOP pid=%lu, pFile=%p, file=%p, rc=SQLITE_OK\n",
37211 OSTRACE(("SYNC-MMAP pid=%lu, pFile=%p, pMapRegion=%p, "
37216 OSTRACE(("SYNC-MMAP pid=%lu, pFile=%p, pMapRegion=%p, "
37227 OSTRACE(("SYNC pid=%lu, pFile=%p, file=%p, rc=SQLITE_OK\n",
37232 OSTRACE(("SYNC pid=%lu, pFile=%p, file=%p, rc=SQLITE_IOERR_FSYNC\n",
37949 OSTRACE(("SHM-PURGE pid=%lu, deleteFlag=%d\n",
37958 OSTRACE(("SHM-PURGE-UNMAP pid=%lu, region=%d, rc=%s\n",
37962 OSTRACE(("SHM-PURGE-CLOSE pid=%lu, region=%d, rc=%s\n",
38243 OSTRACE(("SHM-LOCK pid=%lu, id=%d, sharedMask=%03x, exclMask=%03x, rc=%s\n",
38366 OSTRACE(("SHM-MAP-CREATE pid=%lu, region=%d, size=%d, rc=%s\n",
38381 OSTRACE(("SHM-MAP-MAP pid=%lu, region=%d, offset=%d, size=%d, rc=%s\n",
38425 OSTRACE(("UNMAP-FILE pid=%lu, pFile=%p, hMap=%p, pMapRegion=%p, "
38432 OSTRACE(("UNMAP-FILE pid=%lu, pFile=%p, pMapRegion=%p, "
38445 OSTRACE(("UNMAP-FILE pid=%lu, pFile=%p, hMap=%p, rc=SQLITE_IOERR_MMAP\n",
38452 OSTRACE(("UNMAP-FILE pid=%lu, pFile=%p, rc=SQLITE_OK\n",
38478 OSTRACE(("MAP-FILE pid=%lu, pFile=%p, size=%lld\n",
38486 OSTRACE(("MAP-FILE pid=%lu, pFile=%p, rc=SQLITE_IOERR_FSTAT\n",
38525 OSTRACE(("MAP-FILE-CREATE pid=%lu, pFile=%p, rc=%s\n",
38543 OSTRACE(("MAP-FILE-MAP pid=%lu, pFile=%p, rc=%s\n",
38552 OSTRACE(("MAP-FILE pid=%lu, pFile=%p, rc=SQLITE_OK\n",
38576 OSTRACE(("FETCH pid=%lu, pFile=%p, offset=%lld, amount=%d, pp=%p\n",
38584 OSTRACE(("FETCH pid=%lu, pFile=%p, rc=%s\n",
38596 OSTRACE(("FETCH pid=%lu, pFile=%p, pp=%p, *pp=%p, rc=SQLITE_OK\n",
38623 OSTRACE(("UNFETCH pid=%lu, pFile=%p, offset=%lld, p=%p\n",
38639 OSTRACE(("UNFETCH pid=%lu, pFile=%p, rc=SQLITE_OK\n",
39798 DWORD pid = osGetCurrentProcessId();
39799 memcpy(&zBuf[n], &pid, sizeof(pid));
39800 n += sizeof(pid);
106133 Token *pId; /* Pointer to <id> token */
106149 iDb = sqlite3TwoPartName(pParse, pId1, pId2, &pId);
106160 zLeft = sqlite3NameFromToken(db, pId);