/haiku/src/kits/app/ |
H A D | ServerMemoryAllocator.cpp | 51 area_mapping* mapping = (area_mapping*)fAreas.ItemAt(i); local 53 delete_area(mapping->local_area); 54 delete mapping; 70 area_mapping* mapping = new (std::nothrow) area_mapping; local 71 if (mapping == NULL || !fAreas.AddItem(mapping)) { 72 delete mapping; 91 mapping->local_area = clone_area(readOnly 95 if (mapping->local_area < B_OK) { 96 status = mapping 118 area_mapping* mapping = (area_mapping*)fAreas.ItemAt(i); local 137 area_mapping* mapping = (area_mapping*)fAreas.ItemAt(i); local [all...] |
/haiku/src/kits/debugger/settings/ |
H A D | TeamFileManagerSettings.cpp | 67 if (fValues.GetInfo("source:mapping", &type, &count) == B_OK) 78 BMessage mapping; local 79 if (mapping.AddString("source:path", sourcePath) != B_OK 80 || mapping.AddString("source:locatedpath", locatedPath) != B_OK 81 || fValues.AddMessage("source:mapping", &mapping) != B_OK) { 92 return fValues.RemoveData("source:mapping", index); 100 BMessage mapping; local 101 status_t error = fValues.FindMessage("source:mapping", index, &mapping); [all...] |
/haiku/src/add-ons/accelerants/radeon/ |
H A D | internal_tv_out.c | 22 // mapping of offset in impactv_regs to register address 91 accelerator_info *ai, impactv_regs *values, const register_mapping *mapping ) 95 for( ; mapping->address != 0 && mapping->offset != 0; ++mapping ) { 96 /*SHOW_FLOW( 2, "%x=%x", mapping->address, 97 *(uint32 *)((char *)(values) + mapping->offset) );*/ 99 OUTREG( regs, mapping->address, *(uint32 *)((char *)(values) + mapping->offset) ); 108 accelerator_info *ai, impactv_regs *values, const register_mapping *mapping ) [all...] |
H A D | theatre_out.c | 21 // mapping of offset in impactv_regs to register address 107 accelerator_info *ai, impactv_regs *values, const register_mapping *mapping ) 109 for( ; mapping->address != 0 || mapping->offset != 0; ++mapping ) { 110 Radeon_VIPWrite( ai, ai->si->theatre_channel, mapping->address, 111 *(uint32 *)((char *)(values) + mapping->offset) ); 113 /* SHOW_FLOW( 2, "%x=%x", mapping->address, 114 *(uint32 *)((char *)(values) + mapping->offset) );*/ 221 accelerator_info *ai, impactv_regs *values, const register_mapping *mapping ) [all...] |
/haiku/src/system/kernel/vm/ |
H A D | VMTranslationMap.cpp | 119 /*! Print mapping information for a virtual address. 153 Looks up the page, updates its flags, removes the page-area mapping, and 174 // remove the mapping object/decrement the wired_count of the page 175 vm_page_mapping* mapping = NULL; local 178 while ((mapping = iterator.Next()) != NULL) { 179 if (mapping->area == area) { 180 area->mappings.Remove(mapping); 181 page->mappings.Remove(mapping); 186 ASSERT_PRINT(mapping != NULL, "page: %p, page number: %#" 207 if (mapping ! 233 vm_page_mapping* mapping = NULL; local [all...] |
/haiku/src/bin/ |
H A D | logger.cpp | 26 struct mapping { struct 31 static mapping sPriorities[] = { 47 static mapping sFacilities[] = { 66 lookup_mapping(struct mapping* mappings, const char *string)
|
/haiku/src/system/kernel/arch/x86/paging/32bit/ |
H A D | X86VMTranslationMap32Bit.cpp | 115 // we already know the kernel pgdir mapping 241 // page mapping not valid 351 // page mapping not valid 451 // remove the mapping object/decrement the wired_count of the 454 vm_page_mapping* mapping = NULL; local 457 while ((mapping = iterator.Next()) != NULL) { 458 if (mapping->area == area) 462 ASSERT(mapping != NULL); 464 area->mappings.Remove(mapping); 465 page->mappings.Remove(mapping); [all...] |
/haiku/src/system/kernel/arch/x86/paging/64bit/ |
H A D | X86VMTranslationMap64Bit.cpp | 453 // remove the mapping object/decrement the wired_count of the 456 vm_page_mapping* mapping = NULL; local 459 while ((mapping = iterator.Next()) != NULL) { 460 if (mapping->area == area) 464 ASSERT(mapping != NULL); 466 area->mappings.Remove(mapping); 467 page->mappings.Remove(mapping); 468 queue.Add(mapping); 504 while (vm_page_mapping* mapping = queue.RemoveHead()) 505 object_cache_free(gPageMappingsObjectCache, mapping, freeFlag [all...] |
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | xattrs.c | 236 * Basic read from a user mapping file on another volume 246 * Read from a user mapping file on current NTFS partition 256 * Get a single mapping item from buffer 331 ntfs_log_early_error("Bad xattr mapping item, aborting\n"); 339 * Read xattr mapping file and split into their attribute. 344 * If an absolute path is provided, the mapping file is assumed 347 * If a relative path is provided, the mapping file is assumed 376 /* check no double mapping */ 384 ntfs_log_early_error("Conflicting xattr mapping ignored\n"); 410 struct XATTRMAPPING *mapping; local 459 ntfs_xattr_free_mapping(struct XATTRMAPPING *mapping) argument [all...] |
H A D | acls.h | 34 #define BUFSZ 1024 /* buffer size to read mapping file */ 35 #define MAPPINGFILE ".NTFS-3G/UserMapping" /* default mapping file */ 36 #define LINESZ 120 /* maximum useful size of a mapping line */ 102 * Struct to hold the input mapping file 160 struct MAPPING* const mapping[], 165 char *ntfs_build_descr_posix(struct MAPPING* const mapping[], 181 void ntfs_free_mapping(struct MAPPING *mapping[]);
|
H A D | security.c | 1150 user = scx->mapping[MAPUSERS]; 1383 group = scx->mapping[MAPGROUPS]; 1416 * a security_id only changes when user mapping is changed, which 1426 * reciprocal for some configuration of the user mapping data 2096 if (!scx->mapping[MAPUSERS]) 2115 gid = ntfs_find_group(scx->mapping[MAPGROUPS],gsid); 2118 pxdesc = ntfs_build_permissions_posix(scx->mapping,securattr, 2124 uid = ntfs_find_user(scx->mapping[MAPUSERS],usid); 2139 uid = ntfs_find_user(scx->mapping[MAPUSERS],usid); 2198 if (!scx->mapping[MAPUSER [all...] |
H A D | acls.c | 335 * mapping pattern. 357 * through an implicit mapping 391 * check whether part of mapping had to be 436 * the mapping file) 480 * the mapping file) 514 * No explicit mapping found, try implicit mapping 537 * No explicit mapping found, try implicit mapping 1609 const SID *usid, struct MAPPING* const mapping[], 1608 build_user_denials(ACL *pacl, const SID *usid, struct MAPPING* const mapping[], ACE_FLAGS flags, const struct POSIX_ACE *pxace, struct BUILD_CONTEXT *pset) argument 1770 build_user_grants(ACL *pacl, const SID *usid, struct MAPPING* const mapping[], ACE_FLAGS flags, const struct POSIX_ACE *pxace, struct BUILD_CONTEXT *pset) argument 1851 build_group_denials_grant(ACL *pacl, const SID *gsid, struct MAPPING* const mapping[], ACE_FLAGS flags, const struct POSIX_ACE *pxace, struct BUILD_CONTEXT *pset) argument 2106 buildacls_posix(struct MAPPING* const mapping[], char *secattr, int offs, const struct POSIX_SECURITY *pxdesc, int isdir, const SID *usid, const SID *gsid) argument 2757 ntfs_build_descr_posix(struct MAPPING* const mapping[], struct POSIX_SECURITY *pxdesc, int isdir, const SID *usid, const SID *gsid) argument 3626 find_tenant(struct MAPPING *const mapping[], const char *securattr) argument 3675 ntfs_build_permissions_posix( struct MAPPING *const mapping[], const char *securattr, const SID *usid, const SID *gsid, BOOL isdir) argument 4327 ntfs_free_mapping(struct MAPPING *mapping[]) argument 4373 struct MAPPING *mapping; local 4451 struct MAPPING *mapping; local [all...] |
/haiku/src/system/kernel/arch/arm/paging/32bit/ |
H A D | ARMVMTranslationMap32Bit.cpp | 132 // we already know the kernel pgdir mapping 256 // page mapping not valid 367 // page mapping not valid 468 // remove the mapping object/decrement the wired_count of the 471 vm_page_mapping* mapping = NULL; local 474 while ((mapping = iterator.Next()) != NULL) { 475 if (mapping->area == area) 479 ASSERT(mapping != NULL); 481 area->mappings.Remove(mapping); 482 page->mappings.Remove(mapping); [all...] |
/haiku/src/servers/app/font/ |
H A D | GlobalFontManager.cpp | 330 font_mapping* mapping = new (std::nothrow) font_mapping; local 331 if (mapping == NULL) 334 mapping->family = family; 335 mapping->style = style; 338 if (entry.GetRef(&mapping->ref) != B_OK 340 || !fMappings.AddItem(mapping)) 341 delete mapping; 381 font_mapping* mapping = fMappings.ItemAt(i); local 383 if (mapping->family == familyName) { 384 if (styleName != NULL && mapping [all...] |
/haiku/src/system/kernel/arch/riscv64/ |
H A D | RISCV64VMTranslationMap.cpp | 99 vm_page_mapping* mapping; local 100 while ((mapping = iterator.Next()) != NULL) { 107 dprintf("%" B_PRId32 " (%s)", mapping->area->id, mapping->area->name); 108 mapping = mapping->page_link.next; 485 // remove the mapping object/decrement the wired_count of the 488 vm_page_mapping* mapping = NULL; local 491 while ((mapping = iterator.Next()) != NULL) { 492 if (mapping [all...] |
/haiku/src/preferences/input/ |
H A D | MouseView.cpp | 68 getMappingNumber(uint32 mapping) argument 70 if (mapping == 0) 74 for (i = 0; mapping != 1; i++) 75 mapping >>= 1; 203 int32 mapping = fSettings.Mapping(button); local 204 BMenuItem* item = menu.ItemAt(getMappingNumber(mapping)); 284 // draw mapping number centered over the button
|
H A D | InputMouse.cpp | 199 int32 mapping = B_MOUSE_BUTTON(index + 1); local 200 fSettings->SetMapping(button, mapping);
|
/haiku/src/system/kernel/arch/ppc/paging/classic/ |
H A D | PPCVMTranslationMapClassic.cpp | 185 // mapping. Two VSID bases are reserved for the kernel: 0 and 8. The 186 // latter one for mapping the kernel address space (0x80000000...), the 251 // we already know the kernel pgdir mapping 526 // page mapping not valid 711 // page mapping not valid 814 // remove the mapping object/decrement the wired_count of the 817 vm_page_mapping* mapping = NULL; 820 while ((mapping = iterator.Next()) != NULL) { 821 if (mapping->area == area) 825 ASSERT(mapping ! [all...] |
/haiku/src/system/kernel/arch/ppc/paging/460/ |
H A D | PPCVMTranslationMap460.cpp | 185 // mapping. Two VSID bases are reserved for the kernel: 0 and 8. The 186 // latter one for mapping the kernel address space (0x80000000...), the 251 // we already know the kernel pgdir mapping 526 // page mapping not valid 711 // page mapping not valid 814 // remove the mapping object/decrement the wired_count of the 817 vm_page_mapping* mapping = NULL; 820 while ((mapping = iterator.Next()) != NULL) { 821 if (mapping->area == area) 825 ASSERT(mapping ! [all...] |
/haiku/src/system/kernel/arch/m68k/paging/040/ |
H A D | M68KVMTranslationMap040.cpp | 170 // we already know the kernel pgdir mapping 397 // page mapping not valid 467 // page mapping not valid 589 // remove the mapping object/decrement the wired_count of the 592 vm_page_mapping* mapping = NULL; local 595 while ((mapping = iterator.Next()) != NULL) { 596 if (mapping->area == area) 600 ASSERT(mapping != NULL); 602 area->mappings.Remove(mapping); 603 page->mappings.Remove(mapping); [all...] |
/haiku/src/system/kernel/arch/x86/paging/pae/ |
H A D | X86VMTranslationMapPAE.cpp | 293 // we already know the kernel pgdir mapping 473 // page mapping not valid 593 // page mapping not valid 698 // remove the mapping object/decrement the wired_count of the 701 vm_page_mapping* mapping = NULL; local 704 while ((mapping = iterator.Next()) != NULL) { 705 if (mapping->area == area) 709 ASSERT(mapping != NULL); 711 area->mappings.Remove(mapping); 712 page->mappings.Remove(mapping); [all...] |
/haiku/headers/private/kernel/platform/efi/protocol/ |
H A D | pci-root-bridge-io.h | 90 efi_physical_addr* device_addr, void** mapping) EFIAPI; 93 void* mapping) EFIAPI;
|
/haiku/src/system/libroot/posix/sys/ |
H A D | mman.cpp | 101 // check anonymous mapping 115 // translate mapping, address specification, and protection 116 int mapping = (flags & MAP_SHARED) != 0 local 151 length, areaProtection, mapping, true, fd, offset);
|
/haiku/src/apps/cortex/Persistence/ |
H A D | XML.h | 185 // The DocumentType takes ownership of the given mapping 186 // object. If a mapping for the element already exists, 190 XMLElementMapping* mapping); 192 // returns 0 if no mapping found for the given element
|
H A D | XML.cpp | 289 // The DocumentType takes ownership of the given mapping 290 // object. If a mapping for the element already exists, 294 XMLElementMapping* mapping) { 296 pair<mapping_set::iterator, bool> ret = m_mappingSet.insert(mapping); 298 delete mapping; 293 addMapping( XMLElementMapping* mapping) argument
|