Home | History | Annotate | Download | only in orig

Lines Matching defs:iNode

1104 ** sync operation only needs to flush data to mass storage.  Inode
1162 ** and not its inode needs to be synced.
25018 unixInodeInfo *pInode; /* Info about locks on this inode */
25769 ** the device number and the inode number. But this does not work on VxWorks.
25932 ** specific inode of the database file (the inode is determined by the
25934 ** and check for locks already existing on that inode. When locks are
25937 ** inode.
25939 ** (Aside: The use of inode numbers as unique IDs does not work on VxWorks.
25946 ** locks on the corresponding inode. There is one locking structure
25947 ** per inode, so if the same inode is opened twice, both unixFile structures
25964 ** maintains a count of the number of pending locks on tha inode.
25966 ** other unixFile open on the same inode that are holding locks, the call
26002 ino_t ino; /* Inode number */
26008 ** inode. Or, on LinuxThreads, there is one of these structures for
26009 ** each inode opened by each thread.
26011 ** A single inode can have multiple file descriptors, so each unixFile
26021 unixShmNode *pShmNode; /* Shared memory associated with this inode */
26211 /* On OS X on an msdos filesystem, the inode number is reported
26215 ** prior to accessing the inode number. The one byte written is
28241 ** to disk, not the inode. We only set dataOnly if the file size is
28242 ** unchanged since the file size is part of the inode. However,
28243 ** Ted Ts'o tells us that fdatasync() will also write the inode if the
28246 ** inode if the mtime or owner or other inode attributes have changed.
28885 unixInodeInfo *pInode; /* The inode of fd */
29150 unixShmNode *pShmNode = p->pShmNode; /* The underlying file iNode */
130270 ** RtreeNode.pNext. RtreeNode.iNode stores the depth of the sub-tree
130271 ** headed by the node (leaf nodes have RtreeNode.iNode==0).
130372 i64 iNode;
130509 ** Given a node number iNode, return the corresponding key to use
130512 static int nodeHash(i64 iNode){
130514 (iNode>>56) ^ (iNode>>48) ^ (iNode>>40) ^ (iNode>>32) ^
130515 (iNode>>24) ^ (iNode>>16) ^ (iNode>> 8) ^ (iNode>> 0)
130520 ** Search the node hash table for node iNode. If found, return a pointer
130523 static RtreeNode *nodeHashLookup(Rtree *pRtree, i64 iNode){
130525 for(p=pRtree->aHash[nodeHash(iNode)]; p && p->iNode!=iNode; p=p->pNext);
130535 iHash = nodeHash(pNode->iNode);
130545 if( pNode->iNode!=0 ){
130546 pp = &pRtree->aHash[nodeHash(pNode->iNode)];
130554 ** Allocate and return new r-tree node. Initially, (RtreeNode.iNode==0),
130579 i64 iNode, /* Node number to load */
130590 if( (pNode = nodeHashLookup(pRtree, iNode)) ){
130601 sqlite3_bind_int64(pRtree->pReadNode, 1, iNode);
130613 pNode->iNode = iNode;
130630 if( pNode && iNode==1 ){
130728 if( pNode->iNode ){
130729 sqlite3_bind_int64(p, 1, pNode->iNode);
130737 if( pNode->iNode==0 && rc==SQLITE_OK ){
130738 pNode->iNode = sqlite3_last_insert_rowid(pRtree->db);
130756 if( pNode->iNode==1 ){
131188 return nodeRowidIndex(pRtree, pParent, pNode->iNode, piIndex);
131288 i64 iNode = sqlite3_column_int64(pRtree->pReadRowid, 0);
131289 rc = nodeAcquire(pRtree, iNode, 0, ppLeaf);
131793 ** Write mapping (iRowid->iNode) to the <rtree>_rowid table.
131795 static int rowidWrite(Rtree *pRtree, sqlite3_int64 iRowid, sqlite3_int64 iNode){
131797 sqlite3_bind_int64(pRtree->pWriteRowid, 2, iNode);
131803 ** Write mapping (iNode->iPar) to the <rtree>_parent table.
131805 static int parentWrite(Rtree *pRtree, sqlite3_int64 iNode, sqlite3_int64 iPar){
131806 sqlite3_bind_int64(pRtree->pWriteParent, 1, iNode);
132277 return xSetMapping(pRtree, iRowid, pNode->iNode);
132317 if( pNode->iNode==1 ){
132348 || (0==pLeft->iNode && SQLITE_OK!=(rc = nodeWrite(pRtree, pLeft)))
132353 rightbbox.iRowid = pRight->iNode;
132354 leftbbox.iRowid = pLeft->iNode;
132356 if( pNode->iNode==1 ){
132387 if( pNode->iNode==1 ){
132429 while( rc==SQLITE_OK && pChild->iNode!=1 && pChild->pParent==0 ){
132431 sqlite3_bind_int64(pRtree->pReadParent, 1, pChild->iNode);
132435 i64 iNode; /* Node number of parent node */
132442 iNode = sqlite3_column_int64(pRtree->pReadParent, 0);
132443 for(pTest=pLeaf; pTest && pTest->iNode!=iNode; pTest=pTest->pParent);
132445 rc2 = nodeAcquire(pRtree, iNode, 0, &pChild->pParent);
132482 sqlite3_bind_int64(pRtree->pDeleteNode, 1, pNode->iNode);
132489 sqlite3_bind_int64(pRtree->pDeleteParent, 1, pNode->iNode);
132499 pNode->iNode = iHeight;
132520 box.iRowid = pNode->iNode;
132553 assert( pParent || pNode->iNode==1 );
132634 rc = rowidWrite(pRtree, p->iRowid, pNode->iNode);
132636 rc = parentWrite(pRtree, p->iRowid, pNode->iNode);
132644 /* Find a node to store this cell in. pNode->iNode currently contains
132685 if( iHeight<=pRtree->iReinsertHeight || pNode->iNode==1){
132698 rc = rowidWrite(pRtree, pCell->iRowid, pNode->iNode);
132700 rc = parentWrite(pRtree, pCell->iRowid, pNode->iNode);
132717 /* Find a node to store this cell in. pNode->iNode currently contains
132720 rc = ChooseLeaf(pRtree, &cell, (int)pNode->iNode, &pInsert);
132723 rc = rtreeInsertCell(pRtree, pInsert, &cell, (int)pNode->iNode);