/haiku/src/system/kernel/arch/m68k/paging/040/ |
H A D | M68KVMTranslationMap040.cpp | 215 TRACE("M68KVMTranslationMap040::Map: entry pa 0x%lx va 0x%lx\n", pa, va); 339 // the entry was not present and the TLB doesn't cache those entries. 409 // accessed flags was set, since only then the entry could have 475 // accessed flags was set, since only then the entry could have been 480 // NOTE: Between clearing the page table entry and Flush() other 483 // entry. We can obviously lose a modified flag in this case, with the 570 // accessed flags was set, since only then the entry could have 685 "has no page root entry", page, area, address); 698 "has no page dir entry", page, area, address); 716 "has no page table entry", pag 800 page_table_entry entry = pt[index]; local 868 page_table_entry entry = pt[index]; local [all...] |
/haiku/src/system/kernel/events/ |
H A D | wait_for_objects.cpp | 773 select_sync_pool_entry *entry = it.Next(); local 774 if (entry->sync == sync) 775 return entry; 786 // check, whether the entry does already exist 787 select_sync_pool_entry *entry = find_select_sync_pool_entry(pool, sync); local 788 if (!entry) { 789 entry = new (std::nothrow) select_sync_pool_entry; 790 if (!entry) 793 entry->sync = sync; 794 entry 844 select_sync_pool_entry *entry = it.Next(); local 895 select_sync_pool_entry *entry = it.Next(); local [all...] |
/haiku/src/tests/add-ons/kernel/network/ |
H A D | userland_modules.cpp | 266 BEntry entry; local 279 entry.SetTo(&ai.ref); 280 entry.GetPath(&path); 299 while (dir->GetNextEntry(&entry) == B_OK) { 300 entry.GetPath(&path); 303 if (entry.IsDirectory()) { 315 if (entry.IsFile() || entry.IsSymLink()) { 621 BEntry entry; local 644 entry [all...] |
/haiku/src/build/libbe/storage/ |
H A D | Entry.cpp | 43 \brief A filesystem entry represented as a name in a concrete directory. 52 For example, if the directory in which the entry resides (or a 82 \param dev the device on which the entry's parent directory resides 83 \param dir the directory in which the entry resides 84 \param name the leaf name of the entry, which is not required to exist 122 the entry. May be \c NULL. 189 \brief The device id of the storage device on which the entry resides 195 \brief The inode number of the directory in which the entry resides 200 \brief The leaf name of the entry 208 hierarchy. Each location (or entry) i 310 BEntry(const BEntry &entry) argument [all...] |
/haiku/src/kits/storage/ |
H A D | Entry.cpp | 162 BEntry::BEntry(const BEntry& entry) argument 168 *this = entry; 310 status_t BEntry::GetParent(BEntry* entry) const 315 if (entry == NULL) 332 // init the entry 333 entry->Unset(); 334 entry->fDirFd = parentFD; 335 entry->fCStatus = entry->_SetName(leafName); 336 if (entry [all...] |
H A D | Node.cpp | 116 BNode::BNode(const BEntry* entry) argument 123 (void)SetTo(entry); 180 BNode::SetTo(const BEntry* entry) argument 182 if (entry == NULL) { 187 return _SetTo(entry->fDirFd, entry->fName, false); 323 struct dirent* entry = longEntry.dirent(); local 324 ssize_t result = _kern_read_dir(fAttrFd, entry, sizeof(longEntry), 1); 331 strlcpy(buffer, entry->d_name, B_ATTR_NAME_LENGTH);
|
/haiku/src/system/kernel/arch/arm/paging/32bit/ |
H A D | ARMVMTranslationMap32Bit.cpp | 160 TRACE("map_tmap: entry pa 0x%lx va 0x%lx\n", pa, va); 219 // the entry was not present and the TLB doesn't cache those entries. 269 // accessed flags was set, since only then the entry could have 324 // accessed flags was set, since only then the entry could 376 // accessed flags was set, since only then the entry could have been 381 // NOTE: Between clearing the page table entry and Flush() other 384 // entry. We can obviously lose a modified flag in this case, with the 449 // accessed flags was set, since only then the entry could have 563 "has no page dir entry", page, area, address); 580 "has no page table entry", pag 646 page_table_entry entry = pt[VADDR_TO_PTENT(va)]; local 681 page_table_entry entry = pt[VADDR_TO_PTENT(va)]; local 727 page_table_entry entry = pt[index]; local [all...] |
/haiku/src/add-ons/kernel/file_systems/btrfs/ |
H A D | Inode.cpp | 458 btrfs_entry entry; local 459 entry.key.SetObjectID(fID); 460 entry.key.SetType(BTRFS_KEY_TYPE_INODE_REF); 461 entry.key.SetOffset(parent->ID()); 462 entry.SetSize(inodeRef->Length()); 464 status_t status = tree->InsertEntries(transaction, path, &entry, 485 entry.key.SetObjectID(parent->ID()); 486 entry.key.SetType(BTRFS_KEY_TYPE_DIR_ITEM); 487 entry.key.SetOffset(hash); 488 entry [all...] |
/haiku/src/kits/print/ |
H A D | Printer.cpp | 50 BPrinter::BPrinter(const BEntry& entry)
argument 53 SetTo(entry);
91 BPrinter::SetTo(const BEntry& entry)
argument 94 entry.GetRef(&fPrinterEntryRef);
123 BEntry entry;
local 124 directory.GetEntry(&entry);
125 entry.GetRef(&fPrinterEntryRef);
|
/haiku/src/kits/package/ |
H A D | PackageRoster.cpp | 137 status_t operator()(const BEntry& entry) argument 140 status_t result = entry.GetName(name); 365 BEntry entry(path->Path(), true); 366 if (!entry.Exists()) { 387 BEntry entry; 388 while (directory.GetNextEntry(&entry, true) == B_OK) { 389 if ((result = visitor(entry)) != B_OK)
|
/haiku/src/tools/locale/ |
H A D | DefaultCatalog.cpp | 83 given entry-ref (which usually is an app- or add-on-file). 289 CatMap::Entry entry; local 291 entry = iter.Next(); 293 res = archive.AddString("c:ostr", entry.key.fString.String()); 295 res = archive.AddString("c:ctxt", entry.key.fContext.String()); 297 res = archive.AddString("c:comt", entry.key.fComment.String()); 299 res = archive.AddInt32("c:hash", entry.key.fHashVal); 301 res = archive.AddString("c:tstr", entry.value.String());
|
/haiku/src/system/boot/loader/ |
H A D | package_support.cpp | 218 while (dirent* entry = readdir(administrativeDir)) { 219 if (strncmp(entry->d_name, "state_", 6) == 0) { 220 TRACE(" old state directory \"%s\"\n", entry->d_name); 221 _AddState(entry->d_name); 309 while (dirent* entry = readdir(dir)) { 311 if (is_system_package(entry->d_name)) { 312 state->SetSystemPackage(entry->d_name);
|
/haiku/src/kits/tracker/ |
H A D | FSUtils.h | 86 kSkip, // do not replace, go to next entry 87 kReplace, // remove entry before copying new one 214 status_t FSSetPoseLocation(BEntry* entry, BPoint point); 218 status_t FSGetOriginalPath(BEntry* entry, BPath* path); 243 status_t FSGetParentVirtualDirectoryAware(const BEntry& entry, entry_ref& _ref); 244 status_t FSGetParentVirtualDirectoryAware(const BEntry& entry, BEntry& _entry); 245 status_t FSGetParentVirtualDirectoryAware(const BEntry& entry, BNode& _node); 262 bool ConfirmChangeIfWellKnownDirectory(const BEntry* entry, 271 bool CheckDevicesEqual(const entry_ref* entry, const Model* targetModel);
|
H A D | IconCache.h | 78 kDisabled = 0x10, // inactive nav menu entry 148 // to some other entry that does 159 const SharedCacheEntry* entry); 161 IconCacheEntry* entry); 282 void SetAliasFor(IconCacheEntry* entry, 284 IconCacheEntry* ResolveIfAlias(IconCacheEntry* entry) const; 327 // special cache entry that has to be deleted explicitly 350 // used by permanent NodeIconCache entries, when an entry gets deleted 391 // used by permanent NodeIconCache entries, when an entry gets 468 LazyBitmapAllocator* lazyBitmap, IconCacheEntry* entry); [all...] |
H A D | VirtualDirectoryPoseView.cpp | 207 // Iterate through the directory and generate an entry-created message 208 // for each entry. 214 struct dirent* entry = longEntry.dirent(); local 215 while (directory.GetNextDirents(entry, sizeof(longEntry), 1) == 1) { 216 if (strcmp(entry->d_name, ".") != 0 217 && strcmp(entry->d_name, "..") != 0) { 219 node_ref(entry->d_dev, entry->d_ino), 220 NotOwningEntryRef(entry->d_pdev, entry [all...] |
/haiku/src/system/boot/platform/efi/arch/arm/ |
H A D | arch_mmu.cpp | 163 map_range_to_new_area(efi_memory_descriptor *entry, uint32_t flags) argument 165 uint64_t size = entry->NumberOfPages * B_PAGE_SIZE; 166 entry->VirtualStart = map_range_to_new_area(entry->PhysicalStart, size, flags); 262 efi_memory_descriptor* entry = local 264 if ((entry->Attribute & EFI_MEMORY_RUNTIME) != 0) { 265 map_range_to_new_area(entry,
|
/haiku/src/tools/fs_shell/ |
H A D | fssh.cpp | 424 // stat the entry 454 // stat the entry 461 fprintf(stderr, "Error: Cannot make dir, entry \"%s\" is in the way.\n", 520 static fssh_status_t remove_entry(int dir, const char *entry, bool recursive, 540 fssh_dirent *entry = (fssh_dirent*)buffer; local 541 while ((numRead = _kern_read_dir(dir, entry, sizeof(buffer), 1)) > 0) { 543 if (strcmp(entry->d_name, ".") == 0 || strcmp(entry->d_name, "..") == 0) 546 error = remove_entry(dir, entry->d_name, true, force); 565 remove_entry(int dir, const char *entry, boo argument 613 move_entry(int dir, const char *entry, int targetDir, const char* target, bool force) argument 974 fssh_dirent* entry = (fssh_dirent*)buffer; local 1219 fssh_dirent* entry = (fssh_dirent*)buffer; local [all...] |
/haiku/src/system/kernel/ |
H A D | module.cpp | 146 struct entry { struct in namespace:Module 151 struct hash_entry : entry { 162 typedef entry* KeyType; 165 size_t Hash(ValueType* entry) const 166 { return HashKey(entry); } 167 ValueType*& GetLink(ValueType* entry) const 168 { return entry->hash_link; } 175 bool Compare(KeyType key, ValueType* entry) const 177 return key->device == entry->device 178 && key->node == entry 1318 struct entry entry = {device, node}; local 1329 hash_entry* entry = fNodes.Lookup(&key); local 1353 struct hash_entry* entry = new(std::nothrow) hash_entry; local 1587 hash_entry* entry = fNodes.Lookup(&key); local [all...] |
/haiku/src/tests/add-ons/kernel/kernelland_emu/ |
H A D | module.cpp | 191 BEntry entry; local 192 if (entry.SetTo(path) == B_OK && entry.Exists()) { 612 BEntry entry; local 613 while (dir.GetNextEntry(&entry) == B_OK) { 614 if (entry.IsFile()) { 617 if (entry.GetPath(&path) == B_OK 626 } else if (entry.IsDirectory()) { 628 if (subdir.SetTo(&entry) == B_OK) 671 BEntry entry; local [all...] |
/haiku/src/servers/print/ |
H A D | PrintServerApp.cpp | 52 /*! Main entry point of print_server. 233 PrintServerApp::EntryCreated(node_ref* node, entry_ref* entry) argument 235 BEntry printer(entry); 289 BEntry entry; 290 while(dir.GetNextEntry(&entry) == B_OK) { 291 if (!entry.IsDirectory()) 294 BDirectory node(&entry); 437 BEntry entry; local 438 if (printer.GetEntry(&entry) == B_OK) 439 entry [all...] |
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | index.c | 52 * ntfs_index_entry_mark_dirty - mark an index entry dirty 53 * @ictx: ntfs index context describing the index entry 55 * Mark the index entry described by the index entry context @ictx dirty. 57 * If the index entry is in the index root attribute, simply mark the inode 61 * If the index entry is in an index block belonging to the index allocation 146 if (!icx->bad_index && !icx->entry) 200 * Get the subnode vcn to which the index entry refers. 229 * Find the last entry in the index block 345 * Insert @ie index entry a 1803 INDEX_ENTRY *ie_succ, *ie, *entry = icx->entry; local 2040 INDEX_ENTRY *entry; local 2080 INDEX_ENTRY *entry; local [all...] |
/haiku/src/kits/debugger/dwarf/ |
H A D | AttributeClasses.cpp | 253 const attribute_name_info_entry& entry = kAttributeNameInfos[i]; local 254 if (entry.value <= DW_AT_loclists_base) 255 sAttributeNameInfos[entry.value] = entry; 258 + (entry.value - DW_AT_call_site_value)] = entry; 263 const attribute_info_entry& entry = kAttributeFormInfos[i]; local 264 sAttributeFormInfos[entry.value] = entry;
|
/haiku/src/add-ons/media/media-add-ons/esound_sink/ |
H A D | ESDSinkAddOn.cpp | 240 BEntry entry; 242 while(root.GetNextEntry(&entry) > B_ERROR) { 244 if(entry.IsDirectory()) { 245 RecursiveScan(rootPath, &entry); 248 entry.GetPath(&path);
|
/haiku/src/tools/restest/ |
H A D | restest.cpp | 182 BEntry entry(filename, true); 183 status_t error = entry.InitCheck(); 186 if (!entry.Exists() || !entry.IsFile()) 188 entry.Unset();
|
/haiku/src/tests/kits/storage/testapps/ |
H A D | PathMonitorTest2.cpp | 310 BEntry entry; local 311 FATAL_IF_ERROR(entry.SetTo(fromPath), 313 FATAL_IF_ERROR(entry.GetRef(&fFromEntryRef), 427 BEntry entry; local 428 FATAL_IF_ERROR(entry.SetTo(path), "Failed to init BEntry for \"%s\"", 430 FATAL_IF_ERROR(entry.GetRef(&fEntryRef), 432 FATAL_IF_ERROR(entry.GetNodeRef(&fNodeRef), 523 BEntry entry; local 524 FATAL_IF_ERROR(entry.SetTo(kTestBasePath), 525 "Failed to init entry t 624 BEntry entry; local 745 _RemoveRecursively(BEntry& entry) argument [all...] |