Home | History | Annotate | Download | only in dist

Lines Matching full:inode

1090 ** sync operation only needs to flush data to mass storage.  Inode
1147 ** and not its inode needs to be synced.
22995 unixInodeInfo *pInode; /* Info about locks on this inode */
23479 ** the device number and the inode number. But this does not work on VxWorks.
23642 ** specific inode of the database file (the inode is determined by the
23644 ** and check for locks already existing on that inode. When locks are
23647 ** inode.
23649 ** (Aside: The use of inode numbers as unique IDs does not work on VxWorks.
23656 ** locks on the corresponding inode. There is one locking structure
23657 ** per inode, so if the same inode is opened twice, both unixFile structures
23674 ** maintains a count of the number of pending locks on tha inode.
23676 ** other unixFile open on the same inode that are holding locks, the call
23712 ino_t ino; /* Inode number */
23718 ** inode. Or, on LinuxThreads, there is one of these structures for
23719 ** each inode opened by each thread.
23721 ** A single inode can have multiple file descriptors, so each unixFile
23730 unixShmNode *pShmNode; /* Shared memory associated with this inode */
23914 /* On OS X on an msdos filesystem, the inode number is reported
23918 ** prior to accessing the inode number. The one byte written is
25918 ** to disk, not the inode. We only set dataOnly if the file size is
25919 ** unchanged since the file size is part of the inode. However,
25920 ** Ted Ts'o tells us that fdatasync() will also write the inode if the
25923 ** inode if the mtime or owner or other inode attributes have changed.
26466 unixInodeInfo *pInode; /* The inode of fd */
26695 unixShmNode *pShmNode = p->pShmNode; /* The underlying file iNode */
119273 ** RtreeNode.pNext. RtreeNode.iNode stores the depth of the sub-tree
119274 ** headed by the node (leaf nodes have RtreeNode.iNode==0).
119375 i64 iNode;
119512 ** Given a node number iNode, return the corresponding key to use
119515 static int nodeHash(i64 iNode){
119517 (iNode>>56) ^ (iNode>>48) ^ (iNode>>40) ^ (iNode>>32) ^
119518 (iNode>>24) ^ (iNode>>16) ^ (iNode>> 8) ^ (iNode>> 0)
119523 ** Search the node hash table for node iNode. If found, return a pointer
119526 static RtreeNode *nodeHashLookup(Rtree *pRtree, i64 iNode){
119528 for(p=pRtree->aHash[nodeHash(iNode)]; p && p->iNode!=iNode; p=p->pNext);
119538 iHash = nodeHash(pNode->iNode);
119548 if( pNode->iNode!=0 ){
119549 pp = &pRtree->aHash[nodeHash(pNode->iNode)];
119557 ** Allocate and return new r-tree node. Initially, (RtreeNode.iNode==0),
119582 i64 iNode, /* Node number to load */
119593 if( (pNode = nodeHashLookup(pRtree, iNode)) ){
119604 sqlite3_bind_int64(pRtree->pReadNode, 1, iNode);
119616 pNode->iNode = iNode;
119633 if( pNode && iNode==1 ){
119731 if( pNode->iNode ){
119732 sqlite3_bind_int64(p, 1, pNode->iNode);
119740 if( pNode->iNode==0 && rc==SQLITE_OK ){
119741 pNode->iNode = sqlite3_last_insert_rowid(pRtree->db);
119759 if( pNode->iNode==1 ){
120191 return nodeRowidIndex(pRtree, pParent, pNode->iNode, piIndex);
120291 i64 iNode = sqlite3_column_int64(pRtree->pReadRowid, 0);
120292 rc = nodeAcquire(pRtree, iNode, 0, ppLeaf);
120820 ** Write mapping (iRowid->iNode) to the <rtree>_rowid table.
120822 static int rowidWrite(Rtree *pRtree, sqlite3_int64 iRowid, sqlite3_int64 iNode){
120824 sqlite3_bind_int64(pRtree->pWriteRowid, 2, iNode);
120830 ** Write mapping (iNode->iPar) to the <rtree>_parent table.
120832 static int parentWrite(Rtree *pRtree, sqlite3_int64 iNode, sqlite3_int64 iPar){
120833 sqlite3_bind_int64(pRtree->pWriteParent, 1, iNode);
121304 return xSetMapping(pRtree, iRowid, pNode->iNode);
121344 if( pNode->iNode==1 ){
121375 || (0==pLeft->iNode && SQLITE_OK!=(rc = nodeWrite(pRtree, pLeft)))
121380 rightbbox.iRowid = pRight->iNode;
121381 leftbbox.iRowid = pLeft->iNode;
121383 if( pNode->iNode==1 ){
121414 if( pNode->iNode==1 ){
121456 while( rc==SQLITE_OK && pChild->iNode!=1 && pChild->pParent==0 ){
121458 sqlite3_bind_int64(pRtree->pReadParent, 1, pChild->iNode);
121462 i64 iNode; /* Node number of parent node */
121469 iNode = sqlite3_column_int64(pRtree->pReadParent, 0);
121470 for(pTest=pLeaf; pTest && pTest->iNode!=iNode; pTest=pTest->pParent);
121472 rc2 = nodeAcquire(pRtree, iNode, 0, &pChild->pParent);
121509 sqlite3_bind_int64(pRtree->pDeleteNode, 1, pNode->iNode);
121516 sqlite3_bind_int64(pRtree->pDeleteParent, 1, pNode->iNode);
121526 pNode->iNode = iHeight;
121547 box.iRowid = pNode->iNode;
121580 assert( pParent || pNode->iNode==1 );
121661 rc = rowidWrite(pRtree, p->iRowid, pNode->iNode);
121663 rc = parentWrite(pRtree, p->iRowid, pNode->iNode);
121671 /* Find a node to store this cell in. pNode->iNode currently contains
121712 if( iHeight<=pRtree->iReinsertHeight || pNode->iNode==1){
121725 rc = rowidWrite(pRtree, pCell->iRowid, pNode->iNode);
121727 rc = parentWrite(pRtree, pCell->iRowid, pNode->iNode);
121744 /* Find a node to store this cell in. pNode->iNode currently contains
121747 rc = ChooseLeaf(pRtree, &cell, pNode->iNode, &pInsert);
121750 rc = rtreeInsertCell(pRtree, pInsert, &cell, pNode->iNode);