Home
last modified time | relevance | path

Searched refs:addressSpec (Results 1 – 16 of 16) sorted by relevance

/haiku/src/system/kernel/vm/
H A DVMUserAddressSpace.cpp56 is_base_address_spec(uint32 addressSpec) in is_base_address_spec() argument
58 return addressSpec == B_BASE_ADDRESS in is_base_address_spec()
59 || addressSpec == B_RANDOMIZED_BASE_ADDRESS; in is_base_address_spec()
71 align_address(addr_t address, size_t alignment, uint32 addressSpec, in align_address() argument
74 if (is_base_address_spec(addressSpec)) in align_address()
411 VMUserAddressSpace::_IsRandomized(uint32 addressSpec) const in _IsRandomized()
414 && (addressSpec == B_RANDOMIZED_ANY_ADDRESS in _IsRandomized()
415 || addressSpec == B_RANDOMIZED_BASE_ADDRESS); in _IsRandomized()
519 uint32 addressSpec, size_t alignment, VMUserArea* area, in _InsertAreaSlot() argument
524 this, start, size, end, addressSpec, area)); in _InsertAreaSlot()
[all …]
H A DVMUserAddressSpace.h58 inline bool _IsRandomized(uint32 addressSpec) const;
66 addr_t end, uint32 addressSpec,
H A Dvm.cpp1540 vm_reserve_address_range(team_id team, void** _address, uint32 addressSpec, in vm_reserve_address_range() argument
1552 addressRestrictions.address_specification = addressSpec; in vm_reserve_address_range()
1944 uint32 addressSpec, addr_t size, uint32 protection, in vm_map_physical_memory() argument
1954 addressSpec, size, protection, physicalAddress)); in vm_map_physical_memory()
1982 addressRestrictions.address_specification = addressSpec & ~B_MEMORY_TYPE_MASK; in vm_map_physical_memory()
1995 uint32 memoryType = addressSpec & B_MEMORY_TYPE_MASK; in vm_map_physical_memory()
2059 uint32 addressSpec, addr_t* _size, uint32 protection, in vm_map_physical_memory_vecs() argument
2065 addressSpec, _size, protection, vecs, vecCount)); in vm_map_physical_memory_vecs()
2068 || (addressSpec & B_MEMORY_TYPE_MASK) != 0) { in vm_map_physical_memory_vecs()
2102 addressRestrictions.address_specification = addressSpec & ~B_MEMORY_TYPE_MASK; in vm_map_physical_memory_vecs()
[all …]
H A DVMKernelAddressSpace.h84 size_t alignment, uint32 addressSpec,
H A DVMKernelAddressSpace.cpp699 size_t alignment, uint32 addressSpec, bool allowReservedRange, in _FindFreeRange() argument
705 addressSpec, allowReservedRange); in _FindFreeRange()
707 switch (addressSpec) { in _FindFreeRange()
728 addressSpec = B_ANY_ADDRESS; in _FindFreeRange()
/haiku/headers/private/kernel/vm/
H A Dvm.h81 area_id transfer_area(area_id id, void** _address, uint32 addressSpec,
95 uint32 addressSpec, addr_t size, uint32 flags);
102 uint32 addressSpec, addr_t size, uint32 protection,
105 void** _address, uint32 addressSpec, addr_t* _size, uint32 protection,
108 uint32 addressSpec, addr_t size, uint32 protection, uint32 mapping,
113 uint32 addressSpec, addr_t size, uint32 flags);
115 uint32 addressSpec, area_id sourceID);
117 uint32 addressSpec, uint32 protection, uint32 mapping,
163 area_id _user_create_area(const char *name, void **address, uint32 addressSpec,
167 area_id _user_map_file(const char *uname, void **uaddress, uint32 addressSpec,
[all …]
/haiku/src/tests/system/kernel/
H A Dreserved_areas_test.cpp44 uint32 addressSpec = B_ANY_ADDRESS; in area_creator() local
52 addressSpec = status == B_OK ? B_EXACT_ADDRESS : B_BASE_ADDRESS; in area_creator()
53 printf("\naddress spec = %lx, base %p (status %s)\n", addressSpec, in area_creator()
58 &base, addressSpec, B_PAGE_SIZE * 4, B_NO_LOCK, in area_creator()
/haiku/src/system/libroot/os/
H A Darea.c15 create_area(const char *name, void **address, uint32 addressSpec, size_t size, in create_area() argument
20 return _kern_create_area(name, address, addressSpec, size, lock, protection); in create_area()
25 clone_area(const char *name, void **address, uint32 addressSpec, in clone_area() argument
30 return _kern_clone_area(name, address, addressSpec, protection, sourceArea); in clone_area()
/haiku/src/system/libroot/posix/sys/
H A Dmman.cpp119 uint32 addressSpec; in mmap() local
121 addressSpec = B_EXACT_ADDRESS; in mmap()
123 addressSpec = B_BASE_ADDRESS; in mmap()
125 addressSpec = B_RANDOMIZED_ANY_ADDRESS; in mmap()
150 area_id area = _kern_map_file(areaName, &address, addressSpec, in mmap()
/haiku/src/kits/app/
H A DServerMemoryAllocator.cpp77 uint32 addressSpec = B_ANY_ADDRESS; in AddArea() local
87 addressSpec = status == B_OK ? B_EXACT_ADDRESS : B_BASE_ADDRESS; in AddArea()
92 ? "server read-only memory" : "server_memory", &base, addressSpec, in AddArea()
H A DMessage.cpp76 uint32 addressSpec, team_id target);
/haiku/headers/private/system/
H A Dsyscalls.h433 uint32 addressSpec, size_t size, uint32 lock,
443 uint32 addressSpec, team_id target);
447 uint32 addressSpec, uint32 protection,
450 uint32 addressSpec, addr_t size);
454 uint32 addressSpec, size_t size, uint32 protection,
/haiku/headers/os/kernel/
H A DOS.h101 uint32 addressSpec, size_t size, uint32 lock,
104 uint32 addressSpec, uint32 protection, area_id source);
/haiku/src/system/kernel/
H A Delf.cpp1938 uint32 addressSpec = B_RANDOMIZED_BASE_ADDRESS; in elf_load_user_image() local
1972 addressSpec, fileUpperBound, in elf_load_user_image()
2028 addressSpec, segmentSize, in elf_load_user_image()
2045 if (addressSpec != B_EXACT_ADDRESS) { in elf_load_user_image()
2046 addressSpec = B_EXACT_ADDRESS; in elf_load_user_image()
H A Dteam.cpp1403 uint32 addressSpec; in create_team_user_data() local
1407 addressSpec = B_EXACT_ADDRESS; in create_team_user_data()
1410 addressSpec = B_RANDOMIZED_BASE_ADDRESS; in create_team_user_data()
1413 status_t result = vm_reserve_address_range(team->id, &address, addressSpec, in create_team_user_data()
/haiku/src/build/libbe/app/
H A DMessage.cpp69 uint32 addressSpec, team_id target);