/haiku/src/add-ons/kernel/file_systems/bfs/ |
H A D | bfs.h | 28 int32 allocation_group; member in struct:BFS::block_run 33 { return BFS_ENDIAN_TO_HOST_INT32(allocation_group); } 311 return allocation_group == run.allocation_group 320 return allocation_group != run.allocation_group 329 return allocation_group == 0 && start == 0 && length == 0; 337 return allocation_group == run.allocation_group 346 allocation_group [all...] |
H A D | Debug.cpp | 38 kprintf("%s(%d, %d, %d)\n", prefix, (int)run.allocation_group, run.start, 254 kprintf(" (%d, %d)", (int)run.allocation_group, run.start); 333 run.allocation_group = HOST_ENDIAN_TO_BFS_INT32(
|
H A D | Volume.cpp | 341 run.allocation_group = HOST_ENDIAN_TO_BFS_INT32(
|
H A D | BlockAllocator.cpp | 899 run.allocation_group = HOST_ENDIAN_TO_BFS_INT32(bestGroup);
|
H A D | kernel_interface.cpp | 811 ", %" B_PRIu16 ")\n", run.allocation_group, run.start,
|
/haiku/src/bin/bfs_tools/lib/ |
H A D | bfs.h | 21 int32 allocation_group; member in struct:block_run 199 return allocation_group == run.allocation_group 206 return allocation_group != run.allocation_group 213 return allocation_group == 0 && start == 0 && length == 0; 218 allocation_group = _group; 226 run.allocation_group = group;
|
H A D | Disk.cpp | 193 run.allocation_group = start >> fSuperBlock.ag_shift; 429 rootDir.inode_num.allocation_group = 8; 452 + BlockSize() - 1) / (BlockSize() * fValidBlockRun.allocation_group); 460 fSuperBlock.log_blocks.allocation_group = fLogStart / allocationGroupSize; 461 fSuperBlock.log_blocks.start = fLogStart - fSuperBlock.log_blocks.allocation_group * allocationGroupSize; 464 if (fLogStart != ((indexDir.inode_num.allocation_group 582 if (inode->inode_num.allocation_group > 0 612 if (inode->inode_num.allocation_group != 8 617 inode->inode_num.allocation_group,
|
H A D | Inode.cpp | 127 || fInode->parent.allocation_group > fDisk->SuperBlock()->num_ags 128 || fInode->parent.allocation_group < 0 132 || fInode->attributes.allocation_group > fDisk->SuperBlock()->num_ags 133 || fInode->attributes.allocation_group < 0 450 sub << "__recovered " << parent.allocation_group << ":" 691 //printf("find double indirect block: %ld,%d!\n",fInode->data.double_indirect.allocation_group,fInode->data.double_indirect.start); 702 //printf("\tlook for indirect block at %ld,%d\n",indirect[index].allocation_group,indirect[index].start); 711 //printf("\tfCurrent = %ld, fRunFileOffset = %lld, fRunBlockEnd = %lld, fRun = %ld,%d\n",fCurrent,fRunFileOffset,fRunBlockEnd,fRun.allocation_group,fRun.start); 740 //printf("reading from indirect block: %ld,%d\n",fRun.allocation_group,fRun.start); 741 //printf("### indirect-run[%ld] = (%ld,%d,%d), offset = %lld\n",fCurrent,fRun.allocation_group,fRu [all...] |
H A D | Disk.h | 64 off_t ToBlock(block_run run) const { return ((((off_t)run.allocation_group) << fSuperBlock.ag_shift) | (off_t)run.start); }
|
H A D | dump.cpp | 42 Print("%s(%" B_PRId32 ", %d, %d)%s\n", prefix, run.allocation_group, 271 Print(" (%" B_PRId32 ", %d)", run.allocation_group, run.start);
|
/haiku/src/bin/bfs_tools/ |
H A D | chkindex.cpp | 66 return run->allocation_group << 16 | run->start; 82 int cmp = (int)a->allocation_group - (int)b->allocation_group; 118 directory->Name(),directory->BlockRun().allocation_group,directory->BlockRun().start, 119 name,run.allocation_group,run.start); 157 printf(" inode at (%ld, %d), offset %lld, doesn't exist!",run.allocation_group,run.start,offset); 227 fprintf(stderr," inode at (%ld, %d) is corrupt!\n",runs[i].allocation_group,runs[i].start); 281 fprintf(stderr," inode at (%ld, %d) name \"%s\" is not in index!\n",runs[i].allocation_group,runs[i].start,inode->Name()); 301 fprintf(stderr," inode at (%ld, %d) name \"%s\" was obviously deleted, but the parent \"%s\" still contains it!\n",runs[i].allocation_group,runs[i].start,name,directory->Name()); 307 fprintf(stderr," inode at (%ld, %d) was obviously deleted, and the parent \"%s\" obviously doesn't contain it anymore!\n",runs[i].allocation_group,run [all...] |
H A D | bfswhich.cpp | 37 if (check.allocation_group == against.allocation_group 122 inode->BlockRun().allocation_group, inode->BlockRun().start, 172 directory->BlockRun().allocation_group,directory 174 name, run.allocation_group, run.start); 246 fprintf(stderr, "usage: %s <device> <allocation_group> <start>\n", 308 disk.Log().allocation_group, disk.Log().start,
|
H A D | recover.cpp | 123 return (run->allocation_group << 16) | run->start; 207 return a.allocation_group < b.allocation_group 208 || (a.allocation_group == b.allocation_group && a.start < b.start); 372 run.allocation_group, run.start, missing->Name(), name); 380 // printf("index directory (%ld, %d): \"%s\" is missing (%ld, %d, %d)\n",node->BlockRun().allocation_group,node->BlockRun().start,name,run.allocation_group,run.start,run.length); 382 // printf("index directory (%ld, %d): key is missing (%ld, %d, %d)\n",node->BlockRun().allocation_group,node->BlockRun().start,run.allocation_group,ru [all...] |
/haiku/src/system/boot/loader/file_systems/bfs/ |
H A D | bfs.cpp | 127 run.allocation_group = HOST_ENDIAN_TO_BFS_INT32(block >> fSuperBlock.AllocationGroupShift());
|
/haiku/src/tests/add-ons/kernel/file_systems/bfs/fragmenter/ |
H A D | fragmenter.cpp | 23 int32 allocation_group;
member in struct:block_run
|