Lines Matching refs:run
44 bool Contains(block_run *run)
46 return ContainsKey((void *)run);
49 bool Put(block_run &run)
55 memcpy(value,&run,sizeof(block_run));
64 static uint32 BlockRunHash(const block_run *run)
66 return run->allocation_group << 16 | run->start;
97 block_run run;
98 while (directory->GetNextEntry(name,&run) >= B_OK)
103 gHashtable.Put(run);
108 Inode *inode = Inode::Factory(&disk,run);
119 name,run.allocation_group,run.start);
154 block_run run = disk.ToBlockRun(offset);
155 if (!gHashtable.Contains(&run))
157 printf(" inode at (%ld, %d), offset %lld, doesn't exist!",run.allocation_group,run.start,offset);
198 block_run *run = NULL;
201 while (gHashtable.GetNextEntry((void **)&run) == B_OK)
203 runs[index++] = *run;
365 checkIndex(Disk &disk,char *attribute,block_run &run,bool collect)
367 Directory *index = (Directory *)Inode::Factory(&disk,run);
502 block_run run;
510 while (indices->GetNextEntry(name,&run) >= B_OK)
511 checkIndex(disk,name,run,false);
513 else if (indices->FindEntry(attribute,&run) == B_OK)
514 checkIndex(disk,attribute,run,true);