Searched refs:mapping (Results 1 - 25 of 32) sorted by last modified time

12

/haiku/src/servers/app/font/
H A DGlobalFontManager.cpp330 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/vm/
H A Dvm.cpp279 int protection, int protectionMax, int mapping, uint32 flags,
564 vm_page_mapping* mapping = (vm_page_mapping*)object_cache_alloc( local
568 if (mapping == NULL)
571 mapping->page = page;
572 mapping->area = area;
579 // insert mapping into lists
583 page->mappings.Add(mapping);
584 area->mappings.Add(mapping);
1053 int protectionMax, int mapping,
1088 if (mapping !
1051 map_backing_store(VMAddressSpace* addressSpace, VMCache* cache, off_t offset, const char* areaName, addr_t size, int wiring, int protection, int protectionMax, int mapping, uint32 flags, const virtual_address_restrictions* addressRestrictions, bool kernel, VMArea** _area, void** _virtualAddress) argument
2143 _vm_map_file(team_id team, const char* name, void** _address, uint32 addressSpec, size_t size, uint32 protection, uint32 mapping, bool unmapAddressRange, int fd, off_t offset, bool kernel) argument
2300 vm_map_file(team_id aid, const char* name, void** address, uint32 addressSpec, addr_t size, uint32 protection, uint32 mapping, bool unmapAddressRange, int fd, off_t offset) argument
2348 vm_clone_area(team_id team, const char* name, void** address, uint32 addressSpec, uint32 protection, uint32 mapping, area_id sourceID, bool kernel) argument
3076 vm_page_mapping* mapping; local
3106 vm_page_mapping* mapping; local
3142 vm_page_mapping* mapping; local
3653 vm_page_mapping* mapping = iterator.Next(); local
6714 _user_map_file(const char* userName, void** userAddress, uint32 addressSpec, size_t size, uint32 protection, uint32 mapping, bool unmapAddressRange, int fd, off_t offset) argument
[all...]
H A Dvm_page.cpp790 vm_page_mapping* mapping; local
791 while ((mapping = iterator.Next()) != NULL) {
798 kprintf("%" B_PRId32 " (%s)", mapping->area->id, mapping->area->name);
799 mapping = mapping->page_link.next;
982 vm_page_mapping *mapping; local
983 while ((mapping = iterator.Next()) != NULL) {
984 kprintf(" %p (%" B_PRId32 ")\n", mapping->area, mapping
[all...]
/haiku/src/system/kernel/arch/riscv64/
H A DRISCV64VMTranslationMap.cpp99 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/headers/private/system/
H A Dsyscalls.h453 uint32 mapping, bool unmapAddressRange, int fd,
/haiku/src/system/kernel/arch/arm/paging/32bit/
H A DARMVMTranslationMap32Bit.cpp132 // 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/system/libroot/posix/sys/
H A Dmman.cpp101 // 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/system/kernel/arch/x86/paging/pae/
H A DX86VMTranslationMapPAE.cpp293 // 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/src/add-ons/accelerants/intel_extreme/
H A Dmode.cpp459 d. [DevCPT] Configure DPLL SEL to set the DPLL to transcoder mapping and enable DPLL to the
/haiku/src/add-ons/kernel/file_systems/ntfs/
H A Dlowntfs.c80 scx->mapping[MAPUSERS] = NULL;
81 scx->mapping[MAPGROUPS] = NULL;
87 return (scx->mapping[MAPUSERS] != (struct MAPPING*)NULL);
127 withusermapping = scx && (scx->mapping[MAPUSERS] != (struct MAPPING*)NULL);
671 if (!security.mapping[MAPUSERS])
739 if (security.mapping[MAPUSERS]) {
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dxattrs.c236 * 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 Dsecurity.c1150 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 Dacls.c335 * 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...]
H A Dsecurity.h39 * item in the mapping list
143 struct MAPPING *mapping[MAPCOUNT]; member in struct:SECURITY_CONTEXT
H A Dacls.h34 #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[]);
/haiku/src/system/kernel/arch/x86/paging/64bit/
H A DX86VMTranslationMap64Bit.cpp453 // 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/system/kernel/arch/x86/paging/32bit/
H A DX86VMTranslationMap32Bit.cpp115 // 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/ppc/paging/classic/
H A DPPCVMTranslationMapClassic.cpp185 // 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 DPPCVMTranslationMap460.cpp185 // 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 DM68KVMTranslationMap040.cpp170 // 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/preferences/input/
H A DInputMouse.cpp199 int32 mapping = B_MOUSE_BUTTON(index + 1); local
200 fSettings->SetMapping(button, mapping);
H A DMouseView.cpp68 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
/haiku/headers/private/kernel/vm/
H A Dvm.h109 uint32 addressSpec, addr_t size, uint32 protection, uint32 mapping,
118 uint32 addressSpec, uint32 protection, uint32 mapping,
168 size_t size, uint32 protection, uint32 mapping,
/haiku/headers/private/kernel/platform/efi/protocol/
H A Dpci-root-bridge-io.h90 efi_physical_addr* device_addr, void** mapping) EFIAPI;
93 void* mapping) EFIAPI;
/haiku/src/kits/app/
H A DServerMemoryAllocator.cpp51 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...]

Completed in 164 milliseconds

12