Searched refs:mapping (Results 1 - 25 of 32) sorted by path

12

/haiku/src/add-ons/accelerants/radeon/
H A Dinternal_tv_out.c22 // 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 Dtheatre_out.c21 // 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/add-ons/kernel/file_systems/ntfs/libntfs/
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[]);
H A Dsecurity.h39 * item in the mapping list
143 struct MAPPING *mapping[MAPCOUNT]; member in struct:SECURITY_CONTEXT
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.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 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...]
/haiku/src/apps/cortex/Persistence/
H A DXML.cpp289 // 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
H A DXML.h185 // 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
/haiku/src/bin/
H A Dlogger.cpp26 struct mapping { struct
31 static mapping sPriorities[] = {
47 static mapping sFacilities[] = {
66 lookup_mapping(struct mapping* mappings, const char *string)
/haiku/src/kits/debugger/settings/
H A DTeamFileManagerSettings.cpp67 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/system/kernel/vm/
H A DVMTranslationMap.cpp119 /*! 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/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/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/system/
H A Dsyscalls.h453 uint32 mapping, bool unmapAddressRange, int fd,
/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/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...]
/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/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/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/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/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/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...]

Completed in 188 milliseconds

12